.containercontactoverride {
    width: 100vw;
    height: 77.7vh;
    background-color: rgb(236, 236, 236);
}

.contactformwrapper {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.titlecontent {
    width: 100vw;
    font-size: 40px;
    padding-top: 50px;
    display: flex;
    justify-content: center;
}

.contactformwrapper form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacttitle {
    font-size: 30px;

}

.contactformwrapper form > div {
    margin-bottom: 10px;
}

.contactformwrapper input {
    width: 40vw;
    font-size: 20px;
    border: 1px solid;
    border-radius: 10px;
    padding: 10px;
    border: none;
}

.contactname, .contactemail, .contactcomment {
    display: flex;
    flex-direction: column;
    border: none;
    font-size: 20px;
    font-weight: 400;
}

.contactcomment textarea {
    height: 130px;
    size: 300px;
    width: 40vw;
    border: 1px solid;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    border: none;
}


.contactbuttons button {
    width: 100px;
    margin: 10px;
    font-size: 15px;
    background-color: rgb(2, 80, 80);
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
}

.contactbuttons button:hover {
    background-color: rgb(6, 44, 39);
    transition: 0.3s;
    cursor: pointer;
}

.contactformwrapper {
    background-color: rgb(221, 220, 220);
    margin: 100px;
    margin-top: 10px;
    width: 70vw;
    height: 550px;
    border-radius: 30px;
    padding: 40px;
    box-shadow: -2px 2px 11px 0px rgba(0,0,0,0.75);

    display: flex;
    flex-direction: row;
    /* align-items: center; */
    justify-content: space-between;
}

.titlecontact {
    margin-top: 50px;
    font-size: 20px;
    letter-spacing: 0.7;
}

.contactselect {
    font-size: 20px;
    align-self: self-start;
    display: flex;
    flex-direction: column;
}

.contactselect select {
    width: 42vw;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.contactdetails {
    display: flex;
    flex-direction: column;
}

.contacttitle {
    align-self: center;
}

.directcontact {    
    margin: 18px;
    background-color: white;
    font-size: 20px;
    padding: 8px;
    border-radius: 5px;
}

.margin35 {
    margin-top: 35px;
}

.clearformbutton {
    width: 100px;
    margin: 10px;
    font-size: 15px;
    font-weight: 700;
    background-color: rgb(204, 163, 74);
    color: black;
    border: none;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
}

.clearformbutton:hover {
    cursor: pointer;
    transition: 0.3s;
    background-color: rgb(112, 82, 21);
}

@media (max-width: 780px) {

    .titlecontent {
        font-size: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .contactformwrapper  {
        flex-direction: column;
        margin: 1px;
        width: 90vw;
        padding: 0px;
        border-radius: 10px;
        box-shadow: none;
    }

    .containercontactoverride {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 95vh;
    }

    .contactname, .contactemail, .contactcomment, .contactselect {
        font-size: 15px;
    }

    .contactformwrapper input {
        width: 70vw;
        padding: 5px;
        font-size: 15px;
    }

    .contactcomment textarea {
        width: 70vw;
        font-size: 13px;
    }

    .contactselect {
        align-self: center;
    }

    .contactselect select {
        width: 70vw;
        font-size: 13px;
    }

    .contactbuttons button {
        font-size: 18px;
    }

    .contactdetails {
        background-color: rgb(221, 220, 220);
        /* border-top: 1px solid; */
        border-radius: 10px;
        box-shadow: none;
    }

    .contacttitle {
        font-size: 25px;
        padding-top: 10px;
    }

    .footer {
        margin-top: 0px;
    }
}