/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&display=swap');

:root{
    --cayo_perico_1:#F7E59C;
    --cayo_perico_2:#EE9D2B;
    --blanc: #fff;
    --gris: #171717;

}

/* custom scrollbar */
::-webkit-scrollbar{
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb{
    border-radius: 5vh;
    background-color: var(--cayo_perico_1);
}

::selection {
    background-color: rgba(210, 126, 66, 0.5);
}


* {
    transition: all 100ms;

    margin: 0;
    padding: 0;
    font-family: "Merienda", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


body {
    background: var(--gris);
    height: fit-content;
    font-family: Roboto;

    /* -webkit-user-select: none; 
    -ms-user-select: none;
    user-select: none; */

}



hr {
    margin: 1rem 0;
    border: 2px solid var(--blanc);
}


a {
    text-decoration: none;  
    color: black;
}

body { 
    background: url(../../assets/background_oldpage.png) no-repeat center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.underline {
    text-decoration: underline;
}

.return_home {
    position: fixed;
    top: 2vh;
    left: 2vh;
    cursor: pointer;
}

.return_home img {
    height: 2rem;
    animation: moveHorizontal 2s ease-in-out infinite;
}

.return_home img:hover {
    transform: scale(1.2);
    height: 3rem;
}

@keyframes moveHorizontal {
    0%, 100% {
      transform: translateX(0); /* Position initiale */
    }
    50% {
      transform: translateX(20px); /* Se déplace à droite */
    }
  }


#intranet:hover, #penal:hover, #partners:hover {
    cursor: pointer;
    .title_card {
        text-decoration: black wavy underline;
    }
}
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2vh;
}

.title {
    font-size: 6.0vh;
    font-weight: 800;

}

.title_description {
    font-size: 2.0vh;
}

.page_category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 5vh;
}

.category_cards {
    display: flex;;
    flex-wrap: nowrap;
    flex-flow: wrap row;
    justify-content: space-between;
    width: 80%;
    gap: 10vh;
}

.card {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 20vw;
}


.card .title_card {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 3.5vh;
}

.card .title_description {
    font-weight: 500;
    font-size: 2.3vh;
}

.local_mayo {
    height: 80vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.78);
}

