@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;1,600&display=swap');

:root {
    --red: rgb(121, 0, 0);
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    /* border: 1px solid red; */
    font-family: 'Poppins', sans-serif;
}

body {
    position: relative;
    background-color: rgb(4, 4, 4);
    overflow-x: hidden !important;
    max-width: 100%;
}


p,
a {
    color: white;
    line-height: 1.6em;
}

section {
    margin-top: 4em;
    position: relative;

    /* display: flex;
    align-items: center;
    justify-content: center; */
}

h1,
h2,
h3 {
    margin: 0em 0em 2rem 0em !important;
    font-weight: 600 !important;
    color: white;
    text-transform: uppercase;
}

h2 {
    font-size: 2em !important;
}

.lock-scroll {
    overflow: hidden;
    position: fixed;
}

/* ---------------------HEADER ---------------------------------- */

.logo {
    font-weight: 600;
    margin: 0 !important;
}

#burger {
    display: none;
    transform: scaleX(-1)
}

#scrollmenu {
    position: fixed;
    top: 0px;
    transform: translate(100%);
    z-index: 2;
    width: 100vw;
    height: 100vh;

    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 150px;

    transition: 0.3s ease-in-out;
}

#scrollmenu a {
    margin: 1em 0em;
    font-size: 2em;
    text-transform: uppercase;
}

#scrollmenu a:hover {
    background-color: var(--red);
}

#croix::after {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
}


.header {
    z-index: 1;
    top: 0px;
    position: fixed;
    width: 100%;
    background-color: rgb(4, 4, 4);
    height: 8vh;
    padding: 0em 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    text-transform: uppercase;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 30%;
    min-width: 400px;
    background-color: transparent;
}

.navbar a:hover {
    background: linear-gradient(to bottom, var(--red), var(--red)) no-repeat 0 0;
    background-size: 100% 25px;
    background-position: 0 12px;

    animation: 0.3s backgroundgrowFromLeft;
}


/* --------------------- FIN HEADER ---------------------------------- */

.scroll-box {
    overflow: auto;
}

.scroll-box::-webkit-scrollbar {

    display: none;
}


/* ------------- MY FLEXBOX -------------- */
.flexbox {
    display: flex;
    scroll-snap-type: x mandatory;

}

.space-between {
    justify-content: space-between;
}

/* ----------------------------------------- */


#name {
    display: inline-block;
    font-size: 64px !important;

    background: linear-gradient(to bottom, var(--red), var(--red)) no-repeat 0 0;
    background-size: 0% 25px;
    background-position: 0 35px;


    animation: 0.3s 1s backgroundgrowFromLeft normal forwards;
}

/* .back-line {
    position: relative;

    display: inline-block;
    height: 20px;
} */



/* .back-line::before {
    content: '';
    z-index: -1;
    position: absolute;
    bottom: -40px;
    background-color: rgb(187, 0, 0);
    display: inline-block;
    height: 20px;
    width: 100%;

    animation: 1s ease-out 0s 1 growFromLeft;
} */


/* --------------- BOUTTONS ------------- */

button {
    font-size: 1.2em;
    margin-right: 1.5em;
    height: 100%;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 0.7em 1.5em;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;

    transition: 0.3s ease-out;
}

button:hover {
    background-color: rgb(130, 130, 130);
    border: 2px solid rgb(130, 130, 130);
}

.button-logo {
    width: 50px;
    height: auto;
    aspect-ratio: 1/1;
    padding: 0.5em;
}

/* ---------------FIN BOUTTONS ------------- */

#landing-img {
    border-radius: 10px;
    width: 100%;
    /* max-height: 350px; */
    object-fit: cover;
}

#landing-section {
    padding-bottom: 2em;
}

#arrow-down {
    position: absolute;
    left: 50%;
    bottom: 0px;

    width: 30px;
    transform: rotate(90deg) translate(-0%, 50%);

}

#arrow-down:hover {
    animation: 0.3s ease-in slideOutIn;
}



.glass-container {
    width: 100%;

    padding: clamp(2em, 3%, 3em) 7%;
    border-radius: 12px;
    background-color: rgb(255, 255, 255);
}

.glass-container .row {
    margin-bottom: 5em;
}

#footer {
    margin-top: 10%;
    border-top-right-radius: 50px !important;
    border-top-left-radius: 50px !important;


}

.glass-morphism {
    background: rgba(123, 123, 123, 0.2);
    box-shadow: 0 8px 32px 0 rgba(126, 28, 28, 0.37);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media screen and (max-width:1000px) {
    #landing-section {
        margin-top: 6em;
    }

    .navbar {
        display: none;
    }

    #burger {
        display: block;
    }

    .glass-container {
        padding: clamp(2em, 3%, 3em) 0px;
    }

}

@media screen and (min-width:1000px) {
    section {
        margin-bottom: 10em !important;
    }

    .header {
        position: relative;
    }

    #landing-section {
        display: flex;
        align-items: center;
        height: 90vh;
    }
}

/****** scrollbar ******/

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

/* Track */
::-webkit-scrollbar-track {
    background: #dd090900;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #45040400;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@keyframes growFromLeft {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes backgroundgrowFromLeft {
    0% {
        background-size: 0% 25px;
    }

    100% {
        background-size: 100% 25px;
    }
}

@keyframes slideOutIn {
    0% {
        transform: translateY(0) rotate(90deg) translate(-0%, 50%);
    }

    50% {
        transform: translateY(30%) rotate(90deg) translate(-0%, 50%);
    }

    100% {
        transform: translateY(0) rotate(90deg) translate(-0%, 50%);
    }
}