@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 */

#contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#contact-section p {
    padding: 0 20%;
    text-align: justify
}

#contact-section h2 {
    align-self: center;
    text-decoration: underline;
}

.contact-main {
    display: inline-flex;
    width: 100%;
    height: 50vh;
    justify-content: center;
    flex-direction: row;
    padding: auto 10%;
    align-items: center;
    background: url("../ressources/images/background2.jpg"), #00000050;
    background-blend-mode: color;
}

.google-map {
    border-radius: 25px;
}

.contact-main .socials {
    flex-direction: row;
}

.contact-main div {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 80%;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
    font-size: 1.2em;
    color: aliceblue;
}


/* 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 */
    .contact-main {
        width: 100%;
        height: 50vh;
        padding: auto 10%;
        align-items: center;
    }

    .contact-main .socials {
        flex-direction: row;
    }

    .contact-main div {
        padding-bottom: 15px;
        font-size: 1.2em;
        color: aliceblue;
    }
    
    /* 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 */
    .contact-main {
        width: 100%;
        height: 50vh;
        padding: auto 10%;
        align-items: center;
    }

    .contact-main .socials {
        flex-direction: row;
        height: fit-content;
    }

    .contact-main div {
        width: 45%;
        padding-bottom: 15px;
        font-size: 1.1em;
        color: aliceblue;
    }

    .contact-main div h2{
        font-size: 100%;
    }


    /* 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 */

    .contact-main {
        height: 80vh;
        flex-direction: column;
        padding: 15px auto;
    }

    /* 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;
    }


}