:root{
    --background : black;
    --texte : white;
}

.contact {
    height: 100vh;
}

.contact label {
    color: var(--texte);
}

.container{
    min-height: 100vh;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: right 1s forwards;
}

.container form{
    width: 800px;
    height: 500px;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.container form h1{
    color: #fff;
    font-weight: 500;
    margin-top: 20px;
    font-size: 1.5rem;
    width: 500px;
    text-align: center;
}

.container form input{
    width: 290px;
    height: 40px;
    padding-left: 10px;
    color: var(--texte);
    outline: none;
    border: none;
    font-size: 15px;
    margin-bottom: 10px;
    background: none;
    border-bottom: 2px solid #fff;
}

.container form input::placeholder{
    color: #ddd;
}

.container form #lastName,
.container form #mobile{
    margin-left: 20px;
}

.container form h4{
    color: #fff;
    font-weight: 300;
    width: 600px;
    margin-top: 20px;
}

.container form textarea{
    background: none;
    border: none;
    border-bottom: 2px solid var(--texte);
    color: var(--texte);
    font-weight: 200;
    font-size: 15px;
    padding: 10px;
    outline: none;
    min-width: 600px;
    max-width: 600px;
    min-height: 80px;
    max-height: 80px;
}

.container form #button{
    border: none;
    background: var(--texte);
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 20px;
    color: #333;
    width: 100px;
    padding: 0;
    margin-right: 500px;
    margin-bottom: 30px;
    transition: 0.3s;
}

.container form #button:hover{
    opacity: 0.7;
}


@media only screen and (max-width: 800px) {
    .container form{
        width: 400px;
        height: 350px;
    }

    .container form h1{
        width: 250px;
    }

    .container form input{
        width: 145px;
        height: 40px;
        padding-left: 5px;
        margin-bottom: 5px;
    }

    .container form h4{
        width: 300px;
        margin-top: 10px;
    }

    .container form textarea{
        padding: 5px;
        min-width: 300px;
        max-width: 300px;
        min-height: 40px;
        max-height: 40px;
    }

    .container form #button{
        margin-top: 10px;
        width: 100px;
        margin-bottom: 15px;
        font-size: 20px;
        margin-right: auto;
    }

}