



/**************************************container principal****************************************/
.container{
    width: 80vw;
    height: 100vh;
    margin-left: 20vw;
    gap: 3vw;
    overflow: hidden;
    display: flex;
}

.container > div{
    width: calc(50% - 3vw);
}










/**************************************CONTAINER IMAGE****************************************/

.container1_1{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
}








/**************************************IMAGES****************************************/

.images{
    margin-top: 10vh;
    width: 100%;
    height: 89vh;
    position: relative;
    overflow: hidden;
}

.images div{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 100%; /* Départ hors de la vue */
    transition: all 1s ease-in-out; /* Animation de transition fluide */
    opacity: 0;
}

.images div:nth-child(1){
    background: url("../gallerie/contact/2D3A1229.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(2){
    background: url("../gallerie/contact/bcdf_studio_2023_alak_studio_chaptal-21.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(3){
    background: url("../gallerie/contact/DSC01433.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(4){
    background: url("../gallerie/contact/bcdf_studio_2024_alak_studio_paul_doumer-49.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(5){
    background: url("../gallerie/contact/bcdf_studio_alak_studio_legendre-31.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(6){
    background: url("../gallerie/contact/bcdf_studio_alak_studio_legendre-47.webp") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(7){
    background: url("../gallerie/contact/DSC01528.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.images div:nth-child(8){
    background: url("../gallerie/contact/bcdf_studio_2023_alak_studio_chaptal-25.webp") no-repeat;
    background-position: center;
    background-size: cover;
}



/**************************************CONTAINER TEXTE + FORM****************************************/

.container1_3{
    margin-top: 10vh;
    width: 100%;
    height: 89vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
    position: relative;
}






/**************************************TEXTE****************************************/
.container p{
    color: #111;
    font-size: 1vw;
    font-weight: 200;
    width: 100%;
    text-align: justify;
}


















/**************************************FORMULAIRE****************************************/
form{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2vh;
}

form > div{
    display: flex;
    flex-direction: column;
}

form label{
    color: #111;
    font-size: 1vw;
    font-weight: 200;
}

.lieu_surface{
    display: flex;
    flex-direction: initial;
    gap: 2vw;
}

.lieu_surface div{
    display: flex;
    flex-direction: column;
    flex: 1;
}





form label span{
    font-weight: 700;
}

form input{
    border-radius: 0;
    border: none;
    font-size: 1.1vw;
    color: #111;
    padding-left: 5px;
    padding-top: 2px;
    padding-right: 2px;
    background-color: rgba(255, 255, 255, .8);
}

form textarea{
    border-radius: 0;
    border: none;
    font-size: 1.1vw;
    color: #111;
    padding: 5px;
    height: 13vh;
    background-color: rgba(255, 255, 255, .8);
}

form textarea:focus, form input:focus{
    outline: none;
}

form button{
    border: 1px solid white;
    cursor: pointer;
    border-radius: 0;
    background-color: white;
    color: #111;
    font-size: 1.2vw;
    font-weight: 500;
    padding: 4px;
    transition: all .3s ease-in-out;
}

form button:hover{
    background-color: #111;
    color: white;
}

input[type="file"]::file-selector-button {
    background:none;
    border: none;
    color: #111;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1vw;
    font-weight: 200;
}

input[type="file"]::placeholder {
    font-size: 1vw;
    font-weight: 200;
}






@media (orientation: portrait) {
    .deux_traits_menu_mobile{
        border-color: darkgray;
    }

    .container{
        width: 100vw;
        margin: 0;
        margin-top: 8vh;
        display: flex;
        flex-direction: column;
        height: 111vh !important;
    }

    .container1_1{
        width: 100vw !important;
        height: auto !important;
        display: flex;
        justify-content: baseline;
        align-items: baseline;
    }

    .images{
        margin: 0;
        width: 100%;
        height: 40vh;
        position: relative;
        overflow: hidden;
    }

    .container1_2_mobile{
        display: flex !important;
        flex-direction: column;
        margin-left: 4vh;
    }

    .container1_2_mobile h1{
        font-size: 5vw;
    }

    .container1_2_mobile p{
        font-size: 3vw;
        margin-top: 1vh;
    }

    .container1_2_mobile .reseaux{
        margin-top: 1vh;
        display: flex;
        gap: 3vw;
    }

    .container1_2_mobile .reseaux a{
        font-size: 5vw;
        color: darkgray;
    }

    .container1_3{
        margin-top: 0;
        width: 100vw !important;
        height: 89vh;
        display: flex;
        flex-direction: initial;
        justify-content: initial;
        align-items: initial;
        gap: 5vh;
        position: relative;
    }
    

    .container1_3 p{
        display: none;
    }

    /**************************************FORMULAIRE****************************************/
    form{
        width: 80% !important;
        display: flex;
        flex-direction: column;
        justify-content: initial;
        gap: 2vh;
        margin-left: 4vh;
        margin-top: 2vh;
    }

    form > div{
        display: flex;
        flex-direction: column;
    }

    form label{
        color: #111;
        font-size: 3vw;
        font-weight: 200;
        
    }

    .lieu_surface{
        display: flex;
        flex-direction: initial;
        gap: 2vw;
    }

    .lieu_surface div{
        display: flex;
        flex-direction: column;
        flex: 1;
    }





    form label span{
        font-weight: 700;
    }

    form input{
        border-radius: 0;
        border: none;
        font-size: 3vw;
        color: #111;
        padding-left: 5px;padding-top: 2px;padding-right: 2px;
        background-color: transparent !important;
        border-bottom: 1pt solid black;
        height: 2vh;
    }

    form textarea{
        border-radius: 0;
        border: none;
        font-size: 1.1vw;
        color: #111;
        padding: 5px;
        height: 13vh;
        background-color: rgba(255, 255, 255, .8);
    }

    form textarea:focus, form input:focus{
        outline: none;
    }

    form button{
        border: 1px solid white;
        cursor: pointer;
        border-radius: 0;
        background-color: white;
        color: #111;
        font-size: 3.2vw;
        font-weight: 500;
        padding: 4px;
        transition: all .3s ease-in-out;
    }

    form button:hover{
        background-color: #111;
        color: white;
    }

    input[type="file"]::file-selector-button {
        background:none;
        border: none;
        color: #111;
        text-decoration: underline;
        cursor: pointer;
        font-size: 1vw;
        font-weight: 200;
    }

    input[type="file"]::placeholder {
        font-size: 2vw;
        font-weight: 200;
    }
}