@import "compass";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter";
}

:root {
    --jaune : #faa834;
    --bleu : #002240;
}

.nav {
    width: 100%;
    height: 90px;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
    justify-content: space-between;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: fixed;
    top: 0;
    z-index: 10;
}


#contact {
    margin-top: 150px;
    padding: 100px 0;
}

#contact .row {
    color: #fff;
    max-width: 1100px;
    margin: 0px auto;
    display: flex;
    align-items: center;
    background-color: rgba(0, 34, 64, 0.9);
    flex-direction: row;
    border-radius: 15px;
    box-sizing: border-box;
    padding-bottom: 30px;
    padding-top: 30px;
    padding-right: 15px;
    padding-left: 15px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

section #contact .title h1{
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 50px;
}

#contact form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.form-group {
    flex-direction: column;
    display: flex;
    gap: 10px;
}

#contact form input {
    width: 350px;
    height: 45px;
    border-radius: 5px;
    outline: none;
    border: none;
    padding-left: 10px;
}

.title {
    margin-bottom: 15px;
}

textarea {
    resize: none;
    width: 350px;
    height: 350px;
    outline: none;
    border-radius: 15px;
    padding: 10px;
}

.msg img{
    height: 150px;
    width: 150px;
    
}

input:required{
    span{ display:none;}
    background:url("../assets/img/asterics.png") 98% center no-repeat;
}

input:focus:invalid + span, textarea:focus:invalid +span{
    display:block;
    color:#FF0000;;
    border-color:#FF0000;
    background-image:none;
    @include single-box-shadow(#d45252,0,0,5px);
}

input:focus:valid, textarea:focus:valid{
    span{ display:none;}
    border-color:#56c93f;
    @include single-box-shadow(#56c93f,0,0,5px);
}

input:valid,textarea:valid{
background-image:none;
}