@font-face { 
    font-family: 'LokiCola';
    src: url('fonts/LOKICOLA.TTF');
    font-weight: normal;
    font-style: normal;
} 
@font-face {
    font-family: 'CocaCola';
    src: url('fonts/COCACOLA.TTF');
    font-weight: normal;
    font-style: normal;
} 
body, html{
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(90deg,
    #dddddd,
    #ffffff,
    #dddddd);
}

.maintitle {
    display: flex;
    white-space: nowrap;
    max-height: 10vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: lightgrey;
    margin: 0;
    padding-top: 4vh;
    padding-bottom: 4vh;
    font-size: calc(5vw + 5vh);
    text-align: center;
    user-select: none;
    font-family: CocaCola;
    font-weight: 100;
    color: black;
    text-decoration: none;
    background-color: #ffffff00;
}
.maintitle:hover{
    cursor: pointer;
}
.mainmenu {
    margin: 0;
    width: 100%;
    max-height: 8vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ffffff00;
}
.mainmenubutton {
    margin: 1vw;
    margin-bottom: 5vh;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    width: 20vw;
    height: auto;
    font-size: calc(1vw + 1vh);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 15px;
    background: #dddddd55;
    color: black;
    border-top: 3px solid #FFFFFF75;
    border-left: 3px solid #FFFFFF75;
    box-shadow: 5px 5px 12px #00000045;
    transition : transform 0.3s ease;
}
.mainmenubutton:hover {
    background: #dddddd;
    transform: scale(1.08);
}
.active {
    background: #ff888855;
}
.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100px;
    flex: 1;
    align-items: center;
    justify-content: start;
    overflow: hidden scroll;
}
.frontwheel, .backwheel{
    width: 8vh;
    height: 8vh;
    background-size: contain; /* Adapte l'image pour qu'elle soit complètement visible */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-position: center;
    border-radius: 50%;
    animation: wheel-turn 5s linear infinite;
    margin : 4vw;
}
.frontwheel {
    background-image: url("images/frontwheel.png");
}
.backwheel {
    background-image: url("images/backwheel.png");
}
@keyframes wheel-turn {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}