@import url("global.css");

.ocean-back {
    background-color: darkslategray;
    color: aliceblue;
}

#title-header {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 20vh;
    align-items: center;
    justify-content: center;
    background: url("../ressources/images/a-propos_page/header_img.JPEG"), #00000080;
    background-blend-mode: color;
    color: aliceblue;
    background-position: 0 40%;
    background-size: 100%;
    gap: 30%;
}

#title-header div h1 {
    margin: 5px;
}

#title-header .logo-nom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
}

.logo-nom h1 {
    text-decoration: none;
}

/* Sections */

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.about-div {
    display: flex;
    flex-direction: row;
    width: 70%;
    height: fit-content;
    text-align: justify;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin: 50px auto;
    font-size: 1vw;
}

.about-div img {
    width: 30%;
    object-fit: cover;
    border-radius: 5px;
}

.mobile-about-photo2 {
    display: none;
}

/* Mentions Légals */

#mentions-legals-section {
    width: 100%;
}

#mentions-legals-section div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: white;
    color: black;
    width: 70%;
    border-radius: 5px;
    padding: 25px 0;
}

#mentions-legals-section div p {
    width: 75%;
    padding: 0 10%;
    text-align: justify;
}

#mentions-legals-section a {
    text-decoration: none;
    background-color: var(--button-back);
    color: white;
    padding: 10px 15px;
    font-size: 1.2em;
    border-radius: 5px;
    border: solid var(--button-border);
}

#mentions-legals-section a:hover {
    background-color: var(--button-back-hover);
    border: solid var(--button-border-hover);
}

#mentions-legals-section a:active {
    background-color: var(--button-back-active);
    border: solid var(--button-border-active);
}

/* Footer */

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 9%;
    padding: 3% 0;
    background-color: rgb(238, 238, 238);
}

.socials {
    display: flex;
    flex-direction: row;
    gap: 30px;
    
}

.socials a img{
    width: 40px;
}

/* RESPONSIVE SI LARGEUR ECRAN >= 800 pixels */

@media screen and (min-width: 800px){
    
    #title-header div h1 {
        font-size: 3em;
    }

    #title-header div p {
        font-size: 1.1em;
    }

    #title-header div img {
        width: 100px;
    }

    /* Sections */

    section {
        padding: 50px 0;
    }

    .about-div {
        width: 70%;
        gap: 5%;
        margin: 50px auto;
        font-size: 1.15vw;
    }

    .about-div img {
        width: 30%;
        object-fit: cover;
        border-radius: 5px;
    }

    /* Mentions Légals */

    #mentions-legals-section div {
        width: 70%;
        border-radius: 5px;
        padding: 25px 0;
    }

    #mentions-legals-section div p {
        width: 75%;
        padding: 0 10%;
    }

    #mentions-legals-section a {
        padding: 10px 15px;
        font-size: 1.2em;
        border-radius: 5px;
    }

    /* Footer */

    footer {
        gap: 9%;
        padding: 3% 0;
    }

    .socials {
        gap: 30px;
        
    }

    .socials a img{
        width: 40px;
    }

}

/* RESPONSIVE SI LARGEUR ECRAN > 600 pixels < 800 pixels */
@media screen and (max-width: 800px) and (min-width: 600px){
    
    #title-header div h1 {
        font-size: 2.5em;
    }

    #title-header div p {
        font-size: 1em;
    }

    #title-header div img {
        width: 100px;
    }

    /* Sections */

    section {
        padding: 50px 0;
    }

    .about-div {
        width: 80%;
        gap: 3%;
        margin: 25px auto;
        font-size: 1.4vw;
    }

    .about-div img {
        width: 50%;
        object-fit: cover;
        border-radius: 5px;
    }

    /* Mentions Légals */

    #mentions-legals-section div {
        width: 80%;
        border-radius: 5px;
        padding: 25px 0;
    }

    #mentions-legals-section div h1 {
        font-size: 1.3em;
    }

    #mentions-legals-section div h2 {
        font-size: 1.1em;
    }

    #mentions-legals-section div p {
        width: 75%;
        padding: 0 10%;
        font-size: 0.8em;
    }

    #mentions-legals-section a {
        padding: 10px 15px;
        font-size: 1em;
        border-radius: 5px;
    }


    /* Footer */

    footer {
        gap: 3%;
        padding: 3% 0;
    }

    .google-map {
        width: 300px;
        height: 200px;
    }

    footer p {
        font-size: 1.5vw;
        overflow: hidden;
    }

    .socials {
        gap: 10px;
        
    }

    .socials a img{
        width: 30px;
    }

}

/* RESPONSIVE SI LARGEUR ECRAN < 600 pixels */
@media screen and (max-width: 600px){
    

    #title-header div h1 {
        font-size: 2em;
    }

    #title-header div p {
        font-size: 0.8em;
    }

    #title-header div img {
        width: 75px;
    }

    /* Sections */

    section {
        padding: 50px 0;
    }

    .about-div {
        flex-direction: column-reverse;
        width: 80%;
        gap: 25px;
        margin: 50px auto;
        font-size: 4vw;
    }

    .about-div img {
        width: 80%;
        object-fit: cover;
        border-radius: 5px;
    }
    
    .mobile-about-photo2 {
        display: block;
    }

    .about-photo2 {
        display: none;
    }
    /* Mentions Légals */

    #mentions-legals-section div {
        width: 80%;
        border-radius: 5px;
        padding: 25px 0;
    }

    #mentions-legals-section div h1 {
        font-size: 1.3em;
    }

    #mentions-legals-section div h2 {
        font-size: 1.1em;
    }

    #mentions-legals-section div p {
        width: 75%;
        padding: 0 10%;
        font-size: 0.7em;
    }

    #mentions-legals-section a {
        padding: 10px 15px;
        font-size: 0.9em;
        border-radius: 5px;
    }



    /* Footer */

    footer {
        flex-direction: column;
        gap: 25px;
        padding: 5% 0;
        height: fit-content;
    }

    .google-map {
        width: 250px;
        height: 150px;
    }

    footer p {
        font-size: 3vw;
        overflow: hidden;
    }

    .socials {
        gap: 30px;
        
    }

    .socials a img{
        width: 40px;
    }


}