@media screen and (min-width:1024px){
    /* form */
    .contact-table{
        width: 70%;
        margin: 20px auto;
        border-collapse: collapse;
    }
    .contact-table th{
        width: 30%;
        background-color: rgba(252, 249, 249, 0.3);
    }
    .contact-table td{
        width: 70%;
    }
    .contact-table th, .contact-table td{
        padding: 20px;
        border: 1px solid rgb(252, 249, 249);
    }
    .form-text{
        width: 80%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid rgb(241, 248, 100);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    .form-textarea{
        width: 80%;
        padding: 10px;
        height: 200px;
        border-radius: 5px;
        border: 1px solid rgb(241, 248, 100);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    #button{
        display: flex;
        justify-content: center;
        margin: 20px auto;
    }
    .contact-submit{
        width: 200px;
        margin: auto 20px;
        padding: 15px;
        font-size: 12pt;
        font-weight: bold;
        color: white;
        background-color: rgb(124, 189, 30);
        border-radius: 50px;
        border: 3px solid rgb(124, 189, 30);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }
    .contact-submit:hover{
        color: rgb(124, 189, 30);
        background-color: white;
    }
    .contact-table th span, p span{
        color: red;
    }
}

@media screen and (min-width:768px) and (max-width:1024px){
    /* form */
    .contact-table{
        width: 100%;
        border-collapse: collapse;
    }
    .contact-table th{
        width: 30%;
        background-color: rgba(252, 249, 249, 0.3);
    }
    .contact-table td{
        width: 70%;
    }
    .contact-table th, .contact-table td{
        padding: 10px;
        border: 1px solid rgb(252, 249, 249);
    }
    .form-text{
        width: 80%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid rgb(241, 248, 100);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    .form-textarea{
        width: 80%;
        padding: 10px;
        height: 200px;
        border-radius: 5px;
        border: 1px solid rgb(241, 248, 100);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    #button{
        display: flex;
        justify-content: center;
        margin: 20px auto;
    }
    .contact-submit{
        width: 200px;
        margin: auto 20px;
        padding: 15px;
        font-size: 12pt;
        font-weight: bold;
        color: white;
        background-color: rgb(124, 189, 30);
        border-radius: 50px;
        border: 3px solid rgb(124, 189, 30);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }
    .contact-submit:hover{
        color: rgb(124, 189, 30);
        background-color: white;
    }
    .contact-table th span, p span{
        color: red;
    }
}

@media screen and (max-width:767px){
    .contact-table{
        width: 100%;
        border-collapse: collapse;
    }
    .contact-table th{
        width: 30%;
        background-color: rgba(252, 249, 249, 0.3);
    }
    .contact-table td{
        width: 70%;
    }
    .contact-table th, .contact-table td{
        padding: 10px;
        border: 1px solid rgb(252, 249, 249);
    }
    .form-text{
        width: 80%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid rgb(241, 248, 100);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    .contact-summary{
        display: block;
    }
    .contact-summary-text{
        margin-left: 5px;
    }
    .form-textarea{
        width: 80%;
        padding: 10px;
        height: 200px;
        border-radius: 5px;
        border: 1px solid rgb(241, 248, 100);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    #button{
        display: flex;
        justify-content: center;
        margin: 20px auto;
    }
    .contact-submit{
        width: 200px;
        margin: auto 20px;
        padding: 15px;
        font-size: 12pt;
        font-weight: bold;
        color: white;
        background-color: rgb(124, 189, 30);
        border-radius: 50px;
        border: 3px solid rgb(124, 189, 30);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }
    .contact-submit:hover{
        color: rgb(124, 189, 30);
        background-color: white;
    }
    .contact-table th span, p span{
        color: red;
    }
}