form {
    /* Apenas para centralizar o form na página */
    margin: 0 auto;
    width: 400px;
    /* Para ver as bordas do formulário */
    padding: 1em;
    border: 7px solid #e6cba932;
    border-radius: 1em;
    background-color: #ac9a853c;
}

h1,
contact-form {
    text-align: center;
    color: #e6cba9;
    margin-top: 10rem;
}

body {
    overflow: hidden;
}

form div+div {
    margin-top: 1em;
}

label {
    /*Para ter certeza que todas as labels tem o mesmo tamanho e estão propriamente alinhadas */
    display: inline-block;
    width: 90px;
    text-align: right;
    color: #e6cba9;
}

input,
textarea {
    /* Para certificar-se que todos os campos de texto têm as mesmas configurações de fonte. Por padrão, textareas ter uma fonte monospace*/
    font: 1em sans-serif;

    /* Para dar o mesmo tamanho a todos os campo de texto */
    width: 300px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* Para harmonizar o look & feel das bordas nos campos de texto*/
    border: 1px solid #999;
}

input:focus,
textarea:focus {
    /* Dar um pouco de destaque nos elementos ativos */
    border-color: #000;
}

textarea {
    /* Para alinhar corretamente os campos de texto de várias linhas com sua label*/
    vertical-align: top;

    /* Para dar espaço suficiente para digitar algum texto */
    height: 7em;

    /* Para permitir aos usuários redimensionarem qualquer textarea verticalmente. Ele não funciona em todos os browsers */
    resize: vertical;
}

.button {
    /* Para posicionar os botões para a mesma posição dos campos de texto */
    padding-left: 90px;
    /* mesmo tamanho que os elementos do tipo label */
}

button {
    /* Esta margem extra representa aproximadamente o mesmo espaço que o espaço entre as labels e os seus campos de texto*/
    margin-left: .5em;
}

button {
    cursor: pointer;
    border: #000000;
    background-color: #e6cba91c;
    color: #e6cba9;
} 

button,
:hover {
    color: #e6cba9;
    background-color: #ae9a8200
}

span,
a,
Socials-links {
    display: flex;
    padding-top: 10px;
    margin-top: 30px;
    margin: 20px;
    justify-content: center;
    text-decoration: none;
    flex-direction: row;
}

a,
:visited {
    text-decoration: none;
    color: #e6cba9;
}

.footer,
p {
    text-align: center;
    font-weight: 200;
    background-color: #ffe4c410;
    color: #ffe4c4fa;
    border-radius: 5px;
    margin-top: 21rem;
}

@media only screen and (max-width: 1224px) {
    h1, contact-form {
        margin-top: 100px;
    }
}

@media only screen and (max-width: 1224px) {
    body{
        overflow-y: visible;
    }
}

@media only screen and (max-width: 1024px) {
    .footer{
        font-weight: 200;
        border-radius: 5px;
        margin-left: 25%;
        width: 50%;
    }
}

@media only screen and (width: 640px) {
    h1, contact-form {
        height: 22px;
        margin-top: 1px;
    }
}

@media only screen and (width: 640px) {
    h1, contact-form {
        height: 22px;
        margin-top: 1px;
    }
}

@media only screen and (width: 240px) {
    h1 {
        font-size: 1.6rem;
        margin-top: 1rem;
    }
}

@media only screen and (width: 320px) {
    h1 {
        margin-top: 2rem;
    }
}

@media only screen and (width: 360px) {
    h1 {
        margin-top: 2rem;
    }
}

@media only screen and (width: 320px) {
    form {
        margin-bottom: 1rem;
        position: block;
        height: 15rem;
        width: 100px;
    }
}

@media only screen and (width: 640px) {
    form {
        height: 215px;
    }
}
@media only screen and (width: 360px) {
    contact-form {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 470px) {
    form {
        position: block;
        width: 300px;
    }
}

@media only screen and (width: 600px) {
    label {
        position: inline;
        width: 90px;
    }
}

@media only screen and (width: 240px) {
    label {
        font-size: 16px;
        position: inline;
        width: 1px;
    }
}

@media only screen and (width: 412px) {
    label {
        margin-right: 0rem;
        width: 100px;
    }
}

@media only screen and (max-width: 280px) {
    label {
        position: inline-flex;
        width: 50px;
    }
}

@media only screen and (max-width: 470px) {
    label {
        position: inline-flex;
        width: 50px;
    }
}

@media only screen and (width: 384px) {
    label {
        position: inline-flex;
        width: 1px;
    }
}

@media only screen and (max-width: 360px) {
    label {
        position: inline-flex;
        width: 1px;
    }
}

@media only screen and (max-width: 352px) {
    form {
        position: block;
        width: 250px;
    }
}

@media only screen and (max-width: 384px) {
    form {
        position: block;
        width: 250px;
    }
}

@media only screen and (max-width: 221px) {
    form {
        position: block;
        width: 140px;
    }
}

@media only screen and (max-width: 384px) {

    input,
    textarea {
        width: 250px;
    }
}

@media only screen and (max-width: 352px) {

    input,
    textarea {
        width: 250px;
    }
}

@media only screen and (max-width: 300px) {

    input,
    textarea {
        width: 200px;
    }
}

@media only screen and (max-width: 248px) {

    input,
    textarea {
        width: 170px;
    }
}

@media only screen and (max-width: 254px) {

    input,
    textarea {
        width: 170px;
    }
}

@media only screen and (width: 240px) {
    input,
    textarea {
        width: 175px;
        margin-right: 50px;
        height: 1rem;
    }
}

@media only screen and (max-width: 221px) {

    input,
    textarea {
        width: 140px;
    }
}

@media only screen and (max-width: 191px) {

    input,
    textarea {
        width: 100px;
    }
}

@media only screen and (max-width: 151px) {

    input,
    textarea {
        width: 70px;
    }
}

@media only screen and (width: 320px) {
    input,
    textarea {
        width: 200px;
    }
}

@media only screen and (max-width: 300px) {
    form {
        width: 200px;
    }
}

@media only screen and (max-width: 254px) {
    form {
        width: 170px;
    }
}

@media only screen and (width: 320px) {
    form {
        width: 190px;
        height: 233px;
    }
}

@media only screen and (width: 240px) {
    form {
        max-height: 180px;
        max-width: 170px;
    }
}

@media only screen and (max-width: 221px) {
    form {
        width: 140px;
    }
}

@media only screen and (max-width: 191px) {
    form {
        width: 100px;
    }
}

@media only screen and (max-width: 151px) {
    form {
        width: 70px;
    }
}

@media only screen and (max-width: 361px) {
    .button {
        width: 200px;
    }
}

@media only screen and (width: 600px) {
    .button {
        width: 200px;
    }
}

@media only screen and (width: 414px) {
    .button {
        padding: 10px;
        width: 200px;
        display: inline-block;
        margin-left: 4.5rem;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 375px) {
    .button {
        padding: 10px;
        width: 200px;
        display: inline-block;
        margin-left: 3rem;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 384px) {
    .button {
        padding: 10px;
        width: 200px;
        display: inline-block;
        margin-left: 3rem;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 360px) {
    .button {
        padding: 10px;
        width: 200px;
        display: inline-block;
        margin-left: 3rem;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 353px) {
    .button {
        padding: 10px;
        width: 200px;
        display: inline-block;
        margin-left: 50px;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 320px) {
    .button {
        padding: 35px;
        width: 200px;
        display: block;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 298px) {
    .button {
        padding: 1px;
        width: 200px;
        display: inline-block;
        margin-left: 35px;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 280px) {
    .button {
        padding: 1px;
        width: 200px;
        display: inline-block;
        margin-left: 35px;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 221px) {
    .button {
        padding: 1px;
        width: 200px;
        display: inline-block;
        margin: 10px;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 240px) {
    .button {
        padding: 1px;
        width: 200px;
        display: inline-block;
        margin-left: 20px;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 191px) {
    .button {
        padding: 1px;
        width: 50px;
        display: inline-block;
        margin: 10px;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 50px) {
    .button {
        border: 0;
        padding: 1px;
        width: 50px;
        display: inline-block;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 600px) {
    .button {
        padding: 10px;
        width: 150px;
        margin-left: 75px;
        display: inline-block;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 336px) {
    .button {
        padding-top: 1rem;
        margin-left: 1px;
        width: 100px;
        display: inline;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 640px) {
    .button {
        margin-left: 50px;
        width: 200px;
        display: block;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 248px) {
    .button {
        margin-left: 20px;
        width: 200px;
        display: block;
        cursor: pointer;
        border-radius: 4px;
    }
}

@media only screen and (width: 320px) {
    .Socials-links {
        margin-top: 1px;
    }
}

@media only screen and (width: 640px) {
    .Socials-links {
        margin-top: 1px;
    }
}