:root {
    --background-color: #FFF;
    --font-family: "Glacial Light", sans-serif;
    --orange: #FF4D00;
    --body-text-color: #323232;
    --gray: #414141;
    --white: #FFFFFF;
    --title-font: 'Grand Cru Light', serif;
    --body-text-size-sm: 1rem;
    --body-text-size-md: 1.6rem;
}

@font-face {
    font-family: 'Grand Cru Light';
    src: url('/fonts/GrandCru-LightS.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Glacial Light';
    src: url('/fonts/GlacialIndifference-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Glacial Bold';
    src: url('/fonts/GlacialIndifference-Bold.otf') format('opentype');
}

@import url('https://fonts.googleapis.com/css2?family=Yaldevi:wght@200..700&display=swap');

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}  

body {
    background-color: var(--background-color);
    font-family: "Glacial Light", sans-serif;
    margin: 0;
    padding: 0;
    height: auto;
    background-color: #fdfdfd;
}

html,
body {
    height: 100%;
    margin: 0;
}

[data-scroll-container] {
    height: 100%;
}

main {
    position: relative;
    z-index: 1;
}

.hidden {
    display: none;
}

strong {
    font-weight: 900;
}

a {
    text-decoration: none;
}

.section {
    background-color: #fdfdfd;
}

.underline-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.underline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: currentColor;
    /* ou une couleur spécifique */
    transition: width 0.3s ease;
}

.underline-link:hover::after {
    width: 100%;
}

h1 {
    font-size: 2.2rem;
    padding-top: 0;
    margin: 0;
    font-weight: 900;
    color: var(--body-text-color);
    font-family: var(--title-font);
    width: 100%;
    line-height: 1.5;
}

h2,
h3 {
    font-family: var(--title-font);
    font-weight: 500;
    margin: 0;
}

a,
span,
p {
    font-weight: 200;
    font-size: var(--body-text-size-sm);
}

.back-to-top {
    position: fixed;
    height: 70px;
    width: 70px;
    bottom: 20px;
    right: 20px;
    background-color: rgba(35, 35, 35);
    color: white;
    padding: 10px;
    border-radius: 100%;
    cursor: pointer;
    z-index: 1000;
    border: 0;
    visibility: hidden;
    /* Masqué par défaut */
    opacity: 0;
    /* Transparent par défaut */
    transform: translateY(100px);
    /* Décalé vers le haut */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s, bottom 0.8s ease;
}

.back-to-top-hover-footer {
    bottom: 13vh;
}

.back-to-top-active {
    visibility: visible;
    /* Visible */
    opacity: 1;
    /* Complètement opaque */
    transform: translateY(0);
    /* Retourne à sa position initiale */
}

#icon-back-to-top {
    font-size: 40px;
    font-weight: bolder;
}

.toggle-nav-wrapper {
    background-color: transparent;
    cursor: pointer;
    right: 10px;
    top: 0px;
    z-index: 10000;
    color: var(--white);
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: var(--title-font);
    font-weight: 700;
    font-size: 1.5rem;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 7vh;
    padding: 10px 0;
    letter-spacing: 0px;
}

.toggle-nav-wrapper>span {
    display: none;
}

.toggle-nav {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
   
    transform: rotate(0deg);
    transition: transform 0.8s ease;
    

    fill: var(--white);
}

.toggle-nav-active {
    transform: rotate(90deg);
    transition: transform 0.8s ease;
}

.navbar-toggler-icon {
    fill: var(--white);
}

.toggle-nav-active>svg {
    fill: var(--white);
}

.navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(255, 77, 0, 0.8);
    z-index: 1000;
    flex-direction: column;
    visibility: hidden;
    /* Masqué par défaut */
    opacity: 0;
    /* Transparent par défaut */
    transform: translateX(500px);
    /* Décalé vers le haut */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.navbar-deployed {
    visibility: visible;
    /* Visible */
    opacity: 1;
    /* Complètement opaque */
    transform: translateX(0);
    /* Retourne à sa position initiale */
}

.navbar>ul {
    padding: 7vh 5vw;

}

.navbar>ul>li {
    height: 8vh;
    text-decoration: none;
    padding-top: 7vh;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.navbar>ul>li>a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.7rem;
    text-align: end;
    font-family: "Glacial Bold";
}


@media (min-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    span {
        font-size: var(--body-text-size-md);
    }
}

@media (min-width: 1025px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }
    .toggle-nav-wrapper>span {
    display: block;
}
}

@media (min-width: 1500px) {
    h1 {
        font-size: 4rem;
    }
}