/*
===============
===============
*/

/*contact page*/

.chero{
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cTitle{
    font-size: clamp(1.5rem, 1.5vw, 1rem);
    width: 20ch;
    letter-spacing: .15rem;
}

.cForm{
    max-width: 60%;
    min-height: 300px;
    margin: 0 auto;
}

.cForm div{
    padding: .5rem 0;
    display: flex;
}

.cForm label{
    font-size: clamp(1.3rem, 1.5vw, 1rem);
    width: 20%;
    text-align: right;
    letter-spacing: .12rem;
    float: left;
}

.cForm [type="text"]{
    width: 40%;
    margin-left: 2rem;
}

.cForm button{
    border: none;
    max-width: 100px;
    align-self: center;
    padding: .5rem .4rem;
    margin-bottom: 1rem;
    letter-spacing: .15rem;
    border-radius: 50vw;
    background-color: #54231e;
    color: #e7bcb2;
    transition: all .15s ease-in-out;
    cursor: pointer;
    transform: translateX(100%);
}

.cForm button:hover{
    color:#54231e;
    background-color: #e7bcb2;
}

.contestTitle{
    font-size: 1.3rem;
    text-align: center;
    padding: 4rem 0;
}

.updateTitle{
    font-size: 1.2;
    width: 40ch;
    margin: 0 auto;
    padding-bottom: 1rem;
    letter-spacing: .15rem;
    transform: translateX(-1.5rem);
}

.contestFormDisplay{
    height: 300px;
    width: 50%;
    margin: 0 auto;
}

.contestErrorMessage{
    padding: 4rem 0;
}


.contestEntrents{
    width: 50%;
    margin: 0 auto;
    flex-direction: column;
    line-height: 1.5rem;
}

.updatedFormEntry {
    width: 50%;
    padding-top: 4rem;
    margin: 0 auto;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.updatedSuccessMes,
.updateFormError{
    font-size: 1.5rem;
    letter-spacing: .14rem;
}

.updateMessage{
    font-size: 2rem;
}

footer{
    height: 20vh!important;
}

@media only screen and (max-width: 850px) {
    .cForm div{
        flex-direction: column;
    }
    .cForm label{
        width: 100%;
        text-align: left;
    }
    .cForm [type="text"]{
        width: 70%;
    }
    .contestEntrents{
        width: 90%;
    }
}