* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    overflow-y: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.326), rgba(15, 23, 43, .1)),  url(../img/bg-hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    
}

body::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

nav {
    padding: 5px 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 10;
    background-color: #FFED00;
    height: 10%;
}

nav h2 {
    color: #1C9852;
}

nav .about {
    color:#1C9852;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

section {
    position: relative;
    height: 90%;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    color: #FFF;
}

section .top {
    display: flex;
    height: 90%;
}


section .top > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

section #info {
    padding: 0 80px;
}

section #info h1 {
    font-size: 2rem;
    margin: 2rem 0;
}

section #info a {
    background-color: #FFED00;
    color: #1C9852;
    width: max-content;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #1C9852;
    border-radius: 5px;
}

section .top #carte {
    align-items: center;
}

section .top #carte img {
    width: 40%;

}

section .bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 10%;
}


.secion{
    text-align: center;
    color: rgb(0, 0, 0);
    background-color: #FFF;
    width: 100%;
}

/* Style pour la div parent */
.container {
    display: flex;
    justify-content: space-between;
}

/* Style pour les trois divs internes */
.section {
    flex: 1;
    height: 5px;
    padding:5px;
    
}

/* Couleurs de fond pour chaque section */
.section:nth-child(1) {
    background-color: #1C9852;
}

.section:nth-child(2) {
    background-color: #FFED00;
}

.section:nth-child(3) {
    background-color: rgba(234, 12, 12, 0.944);
}
    

@media all and (max-width: 764px) {
    section .top > div:first-child {
        width: 100%;
    }

    section .top > div:last-child {
        width: 0;
        display: none;
    }

    section #info h1 {
        margin: 8px 0;
    }

    nav h2 {
        display: none;
    }

    section #info {
        padding: 0 20px;
    }

    nav {
        padding: 5px 8px;
        display: flex;
        justify-content: space-between;
    }

}