/* Style for contact page */

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;    
}

.container{
    width: 100vw;
    height: 100vh;
    background-color: rgb(196, 244, 196);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2vh;
}

h2 {
text-align: center;
}

.line-title {
    visibility: collapse;
    height: 0vw;
}

form {
    background-color: white;
    display: flex;
    flex-direction: column;
    margin-top: 2vh;
    padding: 2vw 4vw;
    width: 90%;
    height: 70vh;
    max-width: 600px;
    border-radius: 10px;
}

 form input, form textarea {
    border: 0;
    margin: 0.3vh 0;
    padding: 1.5vh;
    outline: none;
    background: whitesmoke;
    font-weight: 20px;
}

#message {
    height: 35vh;
    /*background-color: aqua;*/
}

form button{
    padding: 1.5vh;
    background: green;
    color: white;
    font-weight: 15px;
    border: 0;
    outline: none;
    cursor:pointer;
    width: 150px;
    margin: 20px auto 0;
    border-radius: 30px;

}

form button:focus {
    opacity: 30%;
    cursor: not-allowed;
}

@media only screen and (max-width: 949px) {
    .container{
        width: 100vw;
        height: 130vh;
    }

    .block-title {
        visibility: collapse;
        height: 0vh;
    }

    .line-title {
        visibility: visible;
        height: auto;
    }

    form {
        height: 100vh;
        padding: 0.5vw;
        margin-top: 1vh;
    }

    #message {
        height: 65vh;
    }

    form button {
        margin-top: 3px;
    }

    form button:focus {
        opacity: 30%;
        cursor: not-allowed;
    }
}

@media only screen and (max-width: 479px) {
    .container{
        width: 100vw;
        height: 100vh;
        background-color: rgb(196, 244, 196);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 2vh;
    }

    .block-title {
        visibility: collapse;
        height: 0vh;
    }

    .line-title {
        visibility: visible;
        height: auto;
    }

    form {
        height: 55vh;
        padding: 0.5vw;
        margin-top: 1vh;
    }

    #message {
        height: 15vh;
    }

    form button {
        margin-top: 3px;
    }

    form button:focus {
        opacity: 30%;
        cursor: not-allowed;
    }
}