/*/----RESET ---/*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style-type: none;
}



/*-----------------------------------*/
/*-----         RECURRENT       -----*/
/*-----------------------------------*/



h1,
h2,
h3,
h4,
h5,
h6,
p {

    text-align: center;
    color: black;
}

h1 {
    color: white;
    font-size: clamp(25px, 8vw, 85px);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    white-space: nowrap;
    text-shadow: 4px 3px 5px rgba(0, 0, 0, 0.6);
  


}

h2 {
    color: white;
    font-size: clamp(18px, 7vw, 65px);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 4vh auto;
    text-shadow: 4px 3px 5px rgba(0, 0, 0, 0.6);
    animation: titre;
    animation-duration: 8s;
    
}

h3 {
    color: #1A2B4F;
    font-size: clamp(25px, 1.5vw, 60px);
    margin-top: 2vh;
    text-decoration: underline;
  
}

.sepa {
    width: 100vw;
    max-width: 100%;
    height: 6px;
}

.galeriemobile {
    display: none;
}



/*-----------------------------------*/
/*-----           header        -----*/
/*-----------------------------------*/


.menu {
    position: relative;
    width: 100vw;
    max-width: 100%;
}

.menu article {
    background-image: url(img/fondecran.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    height: 100vh;
}

.logo>img {
    width: clamp(120px, 16vw, 800px);
    max-width: 100%;
    height: auto;
}

.menu .navbar {
    margin-right: 0;
    margin-left: auto;
}

.menu .navbar ul {
    background-color: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 6vh;
    width: 84vw;
    max-width: 100%;
}



.menu .navbar ul a {
    font-size: clamp(16px, 1.3vw, 40px);
    font-weight: 900;
    color: #1A2B4F;
    transition: .3s ease-in-out;
}

.menu .navbar ul a:hover {
    text-shadow: 4px 3px 5px rgba(0, 0, 0, 0.6);
}


.menu h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.menu .menuburger {
    width: 35px;
    position: absolute;
    top: 3vh;
    right: 3vh;
    display: none;
}

/*-----------------------------------*/
/*-----            main         -----*/
/*-----------------------------------*/

.restaurant {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 100vh;
    background-color: #1A2B4F;
    flex-direction: column;
}

.imgmobil {
    display: none;
}

.carousel {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 50vw;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);
}

.image-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
}

.buttons-container {
    display: flex;
    justify-content: space-between;
}

button {
    border: none;
    background-color: white;
    color: #1A2B4F;
    font-size: clamp(18px, 1.5vw, 60px);
    cursor: pointer;
    padding: 0.5rem;
    width: 49.5%;
}

button:hover {
    opacity: 0.9;
}

button:focus {
    outline: none;
}

img {
    object-fit: cover;
    height: auto;
    width: 50vw;
}

.carte {
    background-image: url(img/Logos/pattern.png);
    background-color: #1a2b4f67;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
}

.carte .reverse {
    display: flex;
    flex-direction: row-reverse;
}

.carte article {
    margin: auto;
    display: flex;
    background-color: white;
    width: auto;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);
}

.carte article p {
    display: flex;
    width: 40vw;
    padding: 4vh 4vw;
}

.carte article img {
    width: clamp(150px, 30vw, 1900px);
    height: auto;
    transition: all .5s ease-in-out;
}

.carte article img:hover {
    transform: scale(1.3);
}

.carte article>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}





/* gallerie */



.container {
    background-image: url(img/Logos/patternblc.png);
    position: relative;
    background-color: #18191b;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.container .mySlides {
    justify-content: center;
    margin-top: 6vh;
}

.mySlides img {
    box-shadow: 1px 1px 3px 5px rgba(175, 177, 181, 0.75);
    -webkit-box-shadow: 1px 1px 3px 5px rgba(175, 177, 181, 0.75);
    -moz-box-shadow: 1px 1px 3px 5px rgba(175, 177, 181, 0.75);
}


.cursor {
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}


.next {
    right: 15vw;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 15vw;
}


.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.numbertext {
    color: white;
    font-size: 7vw;
    font-weight: bold;
    padding: 8px 12px;
    position: absolute;
    top: 20;
}

.galerie {
    height: 100vh;

}


.caption-container {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 28px 16px;
    color: white;

}

#caption {
    background-color: #425248;
    width: 30vw;
    line-height: 4.5vh;
    border: 2px solid;
    border-radius: 15px;
    white-space: nowrap;
}



.galerie .caption-container>p {
    font-size: clamp(25px, 2vw, 75px);
    color: white;
}

.row {

    margin-bottom: 1vh;
}

.row:after {
    content: "";
    display: table;
    clear: both;

}

.column {
    float: left;
    width: 16.66%;
}

.demo {
    filter: grayscale(1);
    /* opacity: 0.6; */
}

.active,
.demo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/*-----------------------------------*/
/*-----           footer        -----*/
/*-----------------------------------*/

footer section {
    /* margin-top: 2vh; */
    height: 30vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: 8px solid;
    border-color: #18191b;
}

footer section img {
    width: 20vw;
}

footer section div {
    /* background-color: aqua; */
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

}

footer section div p {
    padding: 2vh;
    font-size: clamp(16px, 1vw, 65px);
}

footer section div img {
    width: clamp(75px, 8vw, 480px);
}




/*-----------------------------------*/
/*-----     Scroll To Top       -----*/
/*-----------------------------------*/

.scrollToTopBtn {
    background-color: #171a27;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    line-height: 48px;
    width: clamp(36px, 3vw, 85px);

    /* place it at the bottom right corner */
    position: fixed;
    bottom: 6vh;
    right: 20px;
    /* keep it at the top of everything else */
    z-index: 75;
    /* hide with opacity */
    opacity: 0;
    /* also add a translate effect */
    transform: translateY(150px);
    /* and a transition */
    transition: all 0.5s ease;
}

.showBtn {
    opacity: 1;
    transform: translateY(0);
}

/*-----------------------------------*/
/*-----        Animations       -----*/
/*-----------------------------------*/
@keyframes titre{
    0%{
        opacity: 0;
        transform: scale(0.1);
        
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}



/*-----------------------------------*/
/*-----        Responsive       -----*/
/*-----------------------------------*/


@media screen and (max-width:1200px) {
    .menu .navbar ul a {
        font-size: clamp(26px, 1.5vw, 40px);
    }

    .restaurant {
        height: auto;
        padding-bottom: 5vh;
    }

    .carousel {
        display: none;
    }

    .imgmobil {
        display: grid;
    }

    .imgmobil img {
        width: 75vw;
        margin-top: 3vh;
    }

    .carte {
        height: auto;
        padding: 5vh 0 5vh;
    }

    .carte article {
        display: flex;
        width: 85vw;
        align-items: center;
    }

    .carte article p {
        width: 70vw;
    }

    .carte article,
    .carte .reverse {
        flex-direction: column;
        padding: 0 0 2vh;
    }

    .carte article img {
        width: 80vw;
    }

    .carte article img:hover {
        transform: scale(1);
    }

    .menu .menuburger {
        display: block;
        background: none;
    }

    .menu .navbar {
        margin-left: -100%;
    }

    .menu .navlink ul {
        width: 100vw;
        max-width: 100%;
        height: 100vh;
        z-index: 5;
    }

    .navlink.mobile-menu {
        margin-left: 0;
    }

    .navlink {
        position: absolute;
        width: 100vw;
        max-width: 100%;
        height: 100vh;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all .5s;
    }

    .navlink ul {
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .navbar .navlink ul li {
        margin: 30px 0;
    }

    .navbar .menuburger {
        display: block;
        background: none;
        color: #1A2B4F
    }

    .row {
        display: none;
    }

    .next {
        right: 5vw;
    }

    .prev {
        left: 5vw
    }

    .galerie {
        display: none;
    }

    .galeriemobile {
        background-image: url(img/Logos/patternblc.png);
        background-color: #18191b;
        display: flex;
        flex-direction: column;
    }

    .galeriemobile img {
        width: 80vw;
        margin: 3vh auto;
        box-shadow: 1px 1px 3px 5px rgba(175, 177, 181, 0.75);
        -webkit-box-shadow: 1px 1px 3px 5px rgba(175, 177, 181, 0.75);
        -moz-box-shadow: 1px 1px 3px 5px rgba(175, 177, 181, 0.75);
    }

}

@media screen and (max-width: 900px) {
    footer section {
        flex-direction: column;
        height: auto;
    }

    footer section .logofooter {
        margin-top: 2.5vh;
    }

    footer section div p {
        white-space: nowrap;
        width: 60vw;
        padding: 1vh;
        margin: 0;
    }
}