.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: fixed;
    z-index: -3;
    width: 100vw;
    color: var(--white);
}
.transition {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    fill: var(--darkmenu);
}
.menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*opacity: 0;*/
    pointer-events: none;
    z-index: 97;
    transition: opacity 0.5s ease;
}
.crossmenu {
    position: absolute;
    right: var(--7);
    width: 36px;
    top: -50%;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crossmenu svg {
    width: 100%;
    height: 100%;
    fill: var(--white);
    transition: filter 0.4s ease-in-out;
}

.crossmenu:hover svg {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.crossmenu:hover {
    scale: 1.5 !important;
    transform: rotate(90deg) !important;
}

.menudisplacement {
    position: absolute;
    top: var(--8);
    margin-right: var(--5);
    margin-left: var(--5);
    margin-bottom: var(--4);
    width: calc(100% - 2*var(--5));
    height: calc(100% - var(--8) - var(--4));
    display: flex;
    justify-content: space-between;
}
.leftmenu{
    top: 0;
    left: 0;
    width: calc(100% - 40% - 3*var(--5));
    height: 100%;
}
.rightmenu{
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 60% - var(--5));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mainmenu{
    margin-left: calc(var(--5) - 5rem);
    margin-right: var(--5);
}
.menulink{
    font-size: 3rem;
    padding: 2rem;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    font-family: Swiss721, sans-serif;
    &:hover .linelink{
        width: 50%;
    }
    &:hover .txtlink{
    }
}
.txtlink{
    transition: 0.2s all;
    margin-left: 3rem;
}

.linelink{
    background: linear-gradient(90deg, transparent, var(--white));
    border-radius: 50%;
    height: 1px;
    width: 0;
    transition: width 0.3s ease-in-out;
}
.linemenu {
    background-color: var(--darklinemenu);
    flex: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    height: 0;
    width: 1px;
    z-index: 5;
}
.linemenu1 {
    left: var(--5);
}
.linemenu2 {
    left: calc(100% - (100% - 2*var(--5))*0.4 + var(--5));
}
.secondarymanu {
    font-family: 'IBM Plex Mono', sans-serif;
    display: grid;
    grid-template-columns: 6px auto auto; /* Première colonne 12px, les deux autres auto */
    grid-template-rows: repeat(3, auto);   /* 3 lignes de hauteur automatique */
    gap: var(--6); /* Espace général pour les lignes */
    grid-column-gap: 6px; /* Espacement plus petit entre la première et la deuxième colonne */
    margin-left: var(--5);
    margin-right: var(--5);
    margin-bottom: var(--5);
    line-height: 1.2rem;
}


.gridmenu{
    display: flex;
    flex-direction: column; /* Align content vertically */
}
.gridmenu:nth-child(3n){
    color: var(--grey);
}
.square {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.containsquare{
    background-color: var(--white);
    height: 0.6rem;
    width: 100%;
    animation: clignotesquare 1.25s infinite cubic-bezier(0.65, 0, 0.35, 1); /* Quadratic-like easing */
}

@keyframes clignotesquare {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    60% {
        opacity: 0;
    }
    80%{
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}
.topmenu{
    position: absolute;
    top: var(--6);
    right: 0;
    width: calc((100% - 2*var(--5))*0.4 - var(--5));
}
.datemenu{
    font-family: 'Swiss721', sans-serif;
    display: flex;
    flex-direction: row;
}
.hourmenu{
    font-weight: 10;
    margin-left: 0.5rem;
}
.locmenu{
    margin-left: 0.5rem;
    color: var(--grey);
}
.tickhourmenu{
    border-radius: 50%;
    width: 0.4rem;
    height: 0.4rem;
    margin-top: 0.2rem;
    transform: translateY(50%);
    background-color: var(--white);
    animation: clignotesquare 1.25s infinite cubic-bezier(0.65, 0, 0.35, 1); /* Quadratic-like easing */
}
.dotgrid{
    width: 100%;
    height: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, 20px);
    position: relative;
    gap: 20px;
}

.dot-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

.dot {
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}


@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(6);
        opacity: 0;
    }
}

.dot-wave {
    animation: wave 0.6s forwards; /* Animation de vague */
}
#dotCanvas{
    width: 100%;
    height: 90%;
    display: block;
}

@media (max-width: 480px) {

}
@media (max-width: 767px) {
}
@media (max-width: 991px) {
    .leftmenu{
        display: none;
    }
    .linemenu2{
        display: none;
    }
    .rightmenu{
        width: 100% !important;
    }
    .topmenu{
        width: 100% !important;
    }
    .datemenu{
        margin-left: calc(var(--5) + 0.5rem) !important;
    }
    .secondarymanu{
        margin-right: 0 !important;
    }
    .mainmenu{
        margin-right: 0 !important;
    }
    .menulink{
        padding-right: 0 !important;
    }
}
@media (max-width: 1199px) {
}
@media (max-width: 1599px) {

}