
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rouge+Script&family=Zain:wght@300&display=swap');


* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-size: larger;
    font-style: normal;
    
}


html, body {
    height: 100%;
}


.header {
    background-color: grey;
    z-index: 100;
    height: 125px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-shadow: 0px 1px 6px black;
    z-index: 100 ;
}

.nom {
    color: white;
    padding-top: 5px;
    user-select: none;
}

.Burger_Button {
    background-color: rgba(0, 10, 10, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
}


.Burger_Button svg {
    width: 40px;
    height: 40px;
    text-align: center;
    margin-top: 1px;
    color: white;
}

.Burger_Button svg:hover {
    transform: rotate(15deg);
    cursor: pointer;
    transition: 0.3s;
}

.Menu {
    position: absolute;
    z-index: 1;
    top: -200px;
    left: 50%;
    margin-left: -150px;
    z-index: 10;
}

.Menu.active {
    transform: translateY(+325px);
    transition: transform 1.2s ease;
}

.Menu.slideup {
    transform: translateY(-325px);
    transition: transform 2.3s ease;
}

.Burger_Menu {
background-color: lightgrey;
width: 300px;
height: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.Burger_Menu ul {
    list-style: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

.Burger_Menu ul a {
    font-size: 28px;
    color: black;
}

.Burger_items {
    font-size:larger;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.Burger_items:hover {
    background-color: grey;
}

.Burger_Menu ul a:hover {
    color: whitesmoke;
}

.main {
    height: 220%;
}

.Presentation {
    position: absolute;
    width: 90%;
    left: calc(50% - 45%);
    height: 25%;
    text-align: center;
    padding-top: 150px;
}

#texte-moi {
    font-size: 20px;
}

.formSpace {
    position: relative;
    width: 40%;
    top: 600px;
    left: calc(50% - 20%);
    right: calc(50% - 20%);
    padding: 10px 10px ;
    background-color: transparent;
    padding-top: 70px;
    border-radius: 10%;
}


@media screen and (max-width : 750px) {
    .formSpace {
        position: relative;
        width: 60%;
        top: 800px;
        left: calc(50% - 30%);
        right: calc(50% - 30%);
        padding: 10px 10px ;
        background-color: white;
        border-radius: 10%;
    }

    footer {
        bottom: -200px;
    }

    .main {
        height: 250%;
    }
    
}

@media screen and (max-width : 500px) {
    .formSpace {
        position: relative;
        width: 80%;
        top: 900px;
        left: calc(50% - 40%);
        right: calc(50% - 40%);
        padding: 10px 10px ;
        background-color: white;
        border-radius: 10%;
    }
    
    footer {
        bottom: -360px;
    }
    .main {
        height: 250%;
    }
}

@media screen and (max-width : 430px) {
    .formSpace {
        top: 1050px;
    }
    
    footer {
        bottom: -600px;
    }
    .main {
        height: 280%;
    }

    .reseaux {
        padding-left: 55px;
    }
}

@media screen and (max-width : 300px) {
    .formSpace {
        top: 1200px;
    }

    footer {
        position: absolute;
        top: 1950px;
    };
}

.chardon-image {
    position: absolute ;
    width: 20%;
    height: 40%;
    top: 550px;
    left: 40px;

}

.chardon-image img {
    width: 400px;
    height: 700px;
    
}

@media screen and (max-width : 1150px) {
    .chardon-image img {
        display: none;
    }
}

.formSpace h1 {
    padding-bottom: 15px;
    text-align: center;
    font-size: 25px;
}

#form {
    position: inherit;
    font-size: 20px;
    width: auto;
}

.inputbox {
    width: 100%;
    padding-top: 10px;
    display: flex;
    padding: 15px 15px;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.inputbox input {
    width: 100%;
    height: 40px;
    font-size: 21px;
    background-color: rgba(211, 211, 211, 0.6);
    outline: none;
    border-color: rgba(211, 211, 211, 0.6);
    border-radius: 4px;

}

.inputbox textarea{
    width: 100%;
    height: 50px;
    font-size: 21px;
    background-color: rgba(211, 211, 211, 0.6);
    outline: none;
    border-color: rgba(211, 211, 211, 0.6);
    border-radius: 4px;
}

.inputbox label {
    display: none;
}

.inputbox input:focus {
    outline: auto;
}
.inputbox textarea:focus {
    outline: auto;
}

.inputbox.success input{
    border-color: rgb(4, 171, 4);
    outline: none;
}

.inputbox.error input{
    border-color: rgb(251, 17, 17);
    outline: none;
}

.inputbox.error textarea {
    border-color: rgb(251, 17, 17);
    outline: none;
}

.inputbox.success textarea {
    border-color: rgb(4, 171, 4);
    outline: none;
}


.inputbox label {
    padding-right: 10px;
}

#message {
    min-width: 200px;
    width: 100%;
    min-height: 125px;
    height: auto;
}

.button {
    text-align: center;
}

#FormButton {
    width: 130px;
    height: 45px;
    background-color: rgb(119, 136, 153);
    color: black;
    font-size: 24px;
    border-radius: 6px;
}

#FormButton:hover {
    background-color: rgb(53, 60, 67);
    color: white;
}

.inputbox .error {
    color: red;
    font-size: 16px;
    height: 13px;
}

.successbox {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    background-color: rgb(201, 201, 201);
    border-radius: 8px;
    margin: 15px 15px;
    bottom: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
}

.successbox svg {
    width: 65px;
    height: 65px;
    padding: 0;
}

#success-text {
    text-align: center;
    font-size: 30px;
}

.successbox.send{
    animation-name: fadesuccess;
    animation-duration: 5s;

}

.boxformer {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 130px;
    background-color: rgb(201, 201, 201);
    border-radius: 8px;
    margin: 15px 15px;
    bottom: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
}

.boxformer svg {
    width: 55px;
    height: 55px;
    padding: 0;
}

#boxformertext p{
    text-align: center;
    padding-top: 1px;
    font-size: 13px;
}

.boxformer h1 {
    font-size: 19px;
    text-align: center;
}

.boxformer.send{
    animation-name: fadesuccess;
    animation-duration: 5s;

}



@keyframes fadesuccess {
    0% {opacity: 0;}

    25% {opacity: 1;}

    75% {opacity: 1;}

    100% {opacity: 0;}
}



footer {
    position: relative;
    background-color: rgba(0, 0, 0, 0.4);
    height: 120px;
    width: 100%;
    bottom: 0;
}

.mentionlegale {
    position: relative;
    width: 170px;
    height: 30px;
    border: 2px solid black;
    align-items: center;
    justify-content: center;
    padding-top: 3px;
    padding-bottom: 9px;
    cursor: pointer;
    text-align: center;
    left: 15px;
    top: 10px;
}

.mentionlegale a {
    font-size: 30px;
    text-align: center;
    user-select: none;
    color: black;
}

#webdesigner {
    position: relative;
    left: 15px;
    font-size: 13px;
    opacity: 0.8;
    padding-top: 20px;
    width: 100px;
}


.reseaux {
    position: absolute;
    left: calc(50% - 30px);
    right: calc(50% - 30px);
    width: 120px;
    height: 80px;
    text-align: center;
    bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reseaux h1 {
    font-size: 23px;
    user-select: none;
}

.insta {
    cursor: pointer;
    width: 60px;
    height: 60px;
    opacity: 0.750;
}

.insta svg {
    opacity: 0.700;
}

.insta svg:hover {
    opacity: 1;
}
