@font-face {
    font-family: "Medieval Sharp";
    src: url("Fonts/MedievalSharp-Book.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:target{
    scroll-margin-top: 100px;
}

body{
    margin: 8px;
    overflow-x: hidden;
}

body::before{
    background: url("Images/WhatsApp Image 2024-08-16 à 18.05.35_e745f811.jpg") no-repeat center center / cover; /* IMG-20250824-WA0004 WhatsApp Image 2024-07-03 à 21.35.35_72a6e289  */
    filter: opacity(.5);
    position: fixed;
    content: "";
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
}

h1{
    font-family: 'Medieval Sharp', sans-serif;
}

button{
    font-family: "Medieval Sharp";
    color: white;
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    margin-block: 0px 15px;

    --hover-color: rgba(0, 0, 0, 0.4);
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}
button:hover{
    transform: scale(1.1);
    background-color: var(--hover-color);
    color: white;
}

.items{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.items .arrow{
    display: flex;
    width: 100px;
    height: 30px;
    margin: 25px 10px 5px 10px
}

.centered {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.hide{
    display: none;
}

.carousel{
    display: flex;
}

.logo{
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid black;
    border-radius: 10px;
    width: 100px;
    height: 100px;
    margin: 10px 30px;
    transition: background-color .2s, transform .2s;
}

.logo:hover{
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.top{
    width: 100%;
    color: white;
    background: linear-gradient(105deg, rgba(0, 0, 0, .75) 50%, rgba(0, 0, 63, .75));
    border-radius: 15px;
}

.top .buttons-container{
    margin-left: auto;
}

.top .buttons-container button{
    --hover-color: rgb(80, 80, 80);
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    width: 100px;
    height: 60px;
    margin: 10px 10px 0px 0px;
    border-radius: 15px;
}
.top .buttons-container button:hover{
    transform: scale(1.1);
    background-color: var(--hover-color);
}

.top .drop-down-menu button{
    --hover-color: rgb(80, 80, 80);
    background-color: rgba(128, 128, 128, 0.3);
    border: 1px solid black;
    height: 35px;
    width: 80%;
    margin: 5px;
    border-radius: 15px;
}
.top .drop-down-menu button:hover{
    transform: scale(1.1);
    background-color: var(--hover-color);
}

.top .drop-down-menu>button{
    --hover-color: rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.3);
    border-color: black;
    height: 25px;
    width: calc(100% - 10px);
    transition: color 0.3s, background-color 0.3s, transform 0.3s, width .3s;
}
.top .drop-down-menu>button:hover{
    transform: scaleY(1.1);
    width: 100%;
    background-color: var(--hover-color);
}

.top .medailles-container{
    display: flex;
    margin: auto;
}

.medaille{
    padding-inline: 5px;
}

.medaille>img{
    height: 80px;
    width: auto;
    transition: transform .2s;
}
.medaille>img:hover{
    transform: scale(1.05);
}

.medaille>p{
    pointer-events: none;
    position: absolute;
    opacity: 0;
    transition: opacity .6s, transform .3s cubic-bezier(.8, 1.5, 1, 1);
    padding: 5px 10px;
    margin-top: 0px;
    transform: scaleX(0);
    z-index: 1;
}

.banner{
    width: 95%;
    margin-top: 50px;
}

.banner img{
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
    border-radius: 50px;
    border: 2px solid black;
}

.section {
    background: linear-gradient(350deg, rgba(0, 0, 0, .6), rgba(0, 0, 50, .6), rgba(0, 0, 0, .6));
    border: 2px solid black;
    color: white;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    margin-top: 50px;
    padding-bottom: 10px;
}

.section h1{
    background-color: rgba(0, 0, 0, .35);
    border: 2px solid black;
    border-radius: 10px;
    padding: 5px 0px;
    width: 90%;
}

.events{
    transition: height 1s ease;
}

.events .container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 300px;
}

.events img{
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    border: 2px solid black;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 1s cubic-bezier(.65, -.7, .35, 1.7);
}

img.start-right{
    transform: translateX(100vw);
    transform: translateX(100dvw);
}
img.start-left{
    transform: translateX(-100vw);
    transform: translateX(-100dvw);
}

img.enter{
    transform: translateX(0);
}

img.exit-right{
    transform: translateX(-100vw);
    transform: translateX(-100dvw);
}
img.exit-left{
    transform: translateX(100vw);
    transform: translateX(100dvw);
}

.events h2{
    background-color: rgba(20, 20, 20, 0.4);
    border: 2px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    max-width: calc(88% - 20px);
    width: 500px;
    margin-bottom: 8px;

    transition: transform .5s cubic-bezier(.5, 2.5, .01, 1), opacity .3s;
}
.events h2.exit{
    transform: scale(.8);
    opacity: 0;
}

.events .event-date{
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    padding: 5px 25px;
    max-width: calc(80% - 50px);
    width: 300px;
    
    transition: opacity .3s;
}
.events .event-date.exit{
    opacity: 0;
}

.events .arrow{
    margin-top: 5px;
}

.beer{
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    border-radius: 20px;
    padding-inline: 15px;
    margin: 0px 10px 20px 10px;
    width: 300px;
    max-width: 100%;
}

.beer img{
    width: 80%;
    height: 150px;
    object-fit: cover;
    border: 1px solid black;
    border-radius: 5px;
}

.beer .beer-color{
    border-radius: 20px;
    width: 70%;
    height: 20px;
    margin-top: 7px;
    opacity: .7;
}

.beer h2{
    background-color: rgba(20, 20, 20, 0.4);
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    margin-bottom: 8px;
}

.beer .name{
    margin-top: 10px;
    width: 90%;
}

.text{
    font-family: "Medieval Sharp";
    background-color: rgba(64, 64, 64, .4);
    border: 2px solid black;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
}

.beer .arrow{
    margin: 10px 10px 7px 10px
}

.dispenser{
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    border-radius: 20px;
    padding-inline: 15px;
    margin: 0px 10px 20px 10px;
    width: 300px;
    max-width: 100%;
}

.dispenser h2{
    background-color: rgba(20, 20, 20, 0.4);
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    margin-bottom: 8px
}

.dispenser img{
    border: 1px solid black;
    border-radius: 5px;
    width: 80%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 8px
}

.beer-dispensers button{
    margin-top: 10px;
}

.carousel{
    width: 100%;
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    justify-content: center;
}

@media(max-width: 900px){
    .carousel>div:not(:first-child){
        display: none;
    }
}

.sell-point{
    max-width: 100%;
    width: 200px;
    height: 300px;
    background-color: rgba(128, 128, 128, .4);
    border: 2px solid black;
    border-radius: 20px;
    padding: 15px;
    margin: 0px 10px 20px 10px;
}

.sell-point .img-container{
    border: 2px solid black;
    border-radius: 10px;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.sell-point img{
    width: 100%;
    height: 100%;
}

.sell-point h2{
    align-items: center;
    justify-content: center;
    background-color: rgba(64, 64, 64, .4);
    border: 2px solid black;
    border-radius: 10px;
    width: 90%;
    padding: 5px 10px;
}

.interview{
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    border-radius: 20px;
    max-width: 100%;
    width: 300px;
    padding: 0px 5px 5px 5px;
    margin: 0px 10px 10px 10px;
}

.interview .img-container{
    border: 1px solid black;
    width: 90%;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 5px;
    overflow: hidden;
}

.interview h2{
    background-color: rgba(20, 20, 20, 0.4);
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    margin-bottom: 8px
}

.img-container img{
    width: 100%;
    height: 100%;
    transition: transform .3s;
}
.img-container img:hover{
    transform: scale(1.1);
}

.bottom{
    background: linear-gradient(105deg, rgba(0, 0, 63, .75), rgba(0, 0, 0, .75) 50%);
    color: white;
    text-align: center;
    margin-top: 100px;
    width: 100%;
    border-radius: 15px;
    padding-block: 20px;
}

.bottom .title{
    font-family: "Medieval Sharp";
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid black;
    border-radius: 15px;
    width: 300px;
    height: auto;
    padding: 10px;
    margin: 10px;
}

.bottom .item{
    background-color: rgba(128, 128, 128, .3);
    border: 2px solid black;
    border-radius: 15px;
    max-width: 250px;
    height: auto;
    padding: 10px;
    margin: 3px;
}

.bottom p{
    width: 250px;
}

.bottom .social-media{
    overflow: hidden;
    position: relative;
    width: 56px;
    height: 56px;
    padding: 0;
    margin-inline: 5px;
}

.bottom .social-media>a{
    position: absolute;
    opacity: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    transition: transform .3s, opacity .3s;
}
.bottom .social-media>a:hover{
    transform: scale(1.1);
    opacity: 1;
}

.bottom a>img{
    width: 100%;
    height: 100%;
}

.bottom .social-media>img{
    width: 40px;
    height: 40px;
    padding: 8px;
    transition: transform 0.3s;
}

/* Computer */
@media (min-width: 769px){
    .top .drop-down-menu{
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px){
    .not-on-mobile{
        display: none;
    }

    .banner{
        width: 90%;
        margin-top: 20px;
    }

    .banner img{
        border-radius: 20px;
    }

    .events .container{
        height: 200px;
    }
}