body {
    font-family: serif;
    color: #6d563a;
    background-color: #f0fafc;
}

main {
    margin: 200px 0 30px 0;
}

.top{
    text-decoration: underline 2px #80d7e3;
    text-underline-offset: 20%;
    text-align: center;
}

.contact h3 {
    text-align: center;
}

.contact p {
    font-weight: lighter;
    text-align: center;
}

.how-to-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.how-to-contact a {
    display: block;
    text-align: center;
    padding: 20px;
    background-color: #80d7e3;
    width: 300px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    line-height: 1;
    font-weight: bold;
    box-shadow: 5px 5px 5px 0 #808080;
}

.how-to-contact a:hover {
    transform: scale(1.2);
}

.contact-form h3 {
    text-align: center;
}

.contact-form table {
    width: 600px;
    margin: auto;
}

.contact-form table th {
    background-color: #80d7e3;
}

.contact-form table td {
    padding: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 560px;
}

.contact-form input[type="checkbox"] {
    height: 20px;
    width: 20px;
}

.contact-form textarea {
    width: 560px;
    height: 200px;
}

.contact-form input[type="submit"] {
    height: 40px;
    width: 200px;
    background-color: #80d7e3;
    border: 0;
    box-shadow: 5px 5px 5px 0 #808080;
    font-family: serif;
    font-weight: bold;
    font-size: 16pt;
    color: #6d563a;
    display: block;
    margin: auto;
}

.contact-form input[type="submit"]:hover {
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .how-to-contact {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .contact-form table {
        width: 300px;
    }

    .contact-form table th {
        background-color: #80d7e3;
        font-size: 12pt;
    }

    .contact-form table td {
        padding: 20px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"] {
        width: 260px;
    }

    .contact-form input[type="checkbox"] {
        height: 20px;
        width: 20px;
    }

    .contact-form textarea {
        width: 260px;
        height: 200px;
    }
}