@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    font-weight: 500;
    background-color: #fff;
}

header {
    font-family: "Inter", sans-serif;
    background-color: #0d0d0d;
}

header nav ul li a {
    color: #fff;
}

.footerCtnerCol ul li a[href="../Contact/Contact.php"] {
    color: #dfb246;
}

.contact {
    position: relative;
    padding: 180px 80px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

/*.contact img {
    width: 120%;
}*/

.contact img {
    position: absolute;
    left: -30px;
    top: 0;
    z-index: -1;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.contact .content {
    width: 800px;
    max-width: 800px;
    padding: 20px 0;
    text-align: center;
    position: relative;
    background-color: #fff;
}

.contact .content h2 {
    z-index: 10;
    position: relative;
    font-size: 36px;
    font-weight: 700;
    color: #dfb246;
}


@media (max-width: 654px) {
    .contact .content h2 {
        content: "Nous \A Contacter";
        white-space: pre;
    }
}

/*.contact .content p {
    z-index: 10;
    font-weight: 500;
    padding-top: 10px;
    color: #000;
}*/



.container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
}

.container .contactInfo {
    border: 3px solid #000;
    border-radius: 15px;
    background-color: #fff;
    width: 30%;
    display: flex;
    flex-direction: column;
}

.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    padding-left: 20px;
    display: flex;
}

.container .contactInfo .box p {
    font-weight: 400;
}

.container .contactInfo .box .icone {
    min-width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #000;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}

.icone i {
    color: #000;
}

.container .contactInfo .box .texte {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #000;
    flex-direction: column;
    font-weight: 300;
}

.box p a {
    color: #000;
}

.container .contactInfo .box .texte h3 a,
.container .contactInfo .box .texte h3 {
    font-weight: 600;
    color: #dfb246;
}


.box .texte .Adresse h3,
.box .texte .pAdresse p {
    cursor: pointer;
}


/*.contactInfo .box .texte .Adresse h3::before {
    content: attr(data-text);
    position: absolute;
    z-index: -1;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-shadow: 1px 1px #000,
        2px 2px #000,
        3px 3px #000;
}

.contactInfo .box .texte .pAdresse p::before {
    content: "18 Rue Saint-Géry, \A Valenciennes, Nord, \A 59300";
    white-space: pre;
    position: absolute;
    z-index: -1;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-shadow: 1px 1px #000,
        2px 2px #000,
        3px 3px #000;
}

.contactInfo .box .texte .Telephone h3::before {
    content: attr(data-text);
    position: absolute;
    z-index: -1;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-shadow: 1px 1px #000,
        2px 2px #000,
        3px 3px #000;
}

.contactInfo .box .texte .pTelephone p::before {
    content: attr(data-text);
    position: absolute;
    z-index: -1;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-shadow: 1px 1px #000,
        2px 2px #000,
        3px 3px #000;
}

.contactInfo .box .texte .Mail h3::before {
    content: attr(data-text);
    position: absolute;
    z-index: -1;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-shadow: 1px 1px #000,
        2px 2px #000,
        3px 3px #000;
}

.contactInfo .box .texte .pMail p::before {
    content: attr(data-text);
    position: absolute;
    z-index: -1;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    text-shadow: 1px 1px #000,
        2px 2px #000,
        3px 3px #000;
}*/


.contactForme {
    width: 40%;
    padding: 40px;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 15px;
}

.contactForme h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.contactForme .inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForme .inputBox input,
.contactForme .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForme .inputBox :empty+label {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}

.contactForme .inputBox input:focus+label,
.contactForme .inputBox textarea:focus+label {
    color: #666;
    font-size: 12px;
    transform: translateY(-20px);
}

.contactForme .inputBox input:not(:placeholder-shown)+label,
.contactForme .inputBox textarea:not(:placeholder-shown)+label {
    color: red;
    font-size: 12px;
    transform: translateY(-20px);
}

.contactForme .inputBox input:valid+label,
.contactForme .inputBox textarea:valid+label {
    color: #dfb246;
    font-size: 12px;
    transform: translateY(-20px);
}


.contactForme .form-control {
    cursor: pointer;
    width: 100%;
}


.contactForme .inputBox input[type="submit"] {
    width: 100px;
    background-color: #fff;
    color: #dfb246;
    border: 2px solid #dfb246;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    margin-left: 20px;
    font-size: 18px;
    transition: 0.5s ease;
}

.contactForme .inputBox input[type="submit"]:hover,
.contactForme .inputBox input[type="submit"]:focus,
.contactForme .inputBox input[type="submit"]:focus-visible {
    background-color: #dfb246;
    color: #fff;
    transition: 0.5s ease;
}

#popup-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10100;
    display: none;
}

#popup-overlay.open {
    display: block !important;
}

.popup-exit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20000;
}

.politique {
    display: inline-block;
    margin-top: 5px;
    position: relative;
    text-align: center;

}

.politique input {
    margin-right: 5px;
}

.politique a {
    color: #dfb246;
    cursor: pointer;
}

.politique a:hover {
    text-decoration: underline;
}

/*.clause {
    margin: 0 150px 40px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid #000;
    border-radius: 15px;
}

.clause h2 {
    color: #dfb246;
}

.clause p {
    margin-top: 20px;
}*/

@media (max-width:1400px) {
    .contactInfo .box .texte .pMail p {
        width: 50%;
        content: "chezvousvalenciennes @gmail.com";
    }
}

@media (max-width: 991px) {
    .contact {
        padding: 180px 50px;
    }

    .container {
        flex-direction: column;
    }

    .container .contactInfo {
        margin-bottom: 40px;
    }

    .container .contactInfo {
        width: 100%;
    }

    .contactForme {
        width: 60%;
    }
}

@media (max-width: 680px) {
    .contactForme {
        width: 100%;
    }
}