/* script for styling CONTACT form */

#contact {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
}

#contactContainer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 10px auto 0 auto;
    background: #252E40;
    padding: 25px;
    font-size: 28px;
    clip-path: polygon(0 5%, 48% 5%, 50% 0, 52% 5%, 100% 5%, 100% 100%, 0 100%);
}

#contactContainer form {
    display: flex;
    align-content: center;
    flex-direction: column;
    width: 70%;
    padding: 20px;
    font-family: 'Rancho', cursive;
}

label, input, textarea{
    width: 100%;
}

input {
    height: 50px;
}

input, textarea {
    background: #252E40;
    border: solid 2px #BFB45C;
    border-radius: 10px;
    font-size: 15px;
    color: #f9f8fd;
    margin-bottom: 20px;
    padding: 5px;
}

input[type=text]:focus, textarea:focus {
    background-color: #f9f8fd;
    color: #252E40;
}

textarea {
    height: 100px;
    resize: none;
    line-height: 1.5em;
}

label {
    color: #BFB45C;
    font-size: 24px;
    margin: 5px;
}

form button {
    font-size: 26px;
    background: #BFB45C;
    color: #252E40;
    border: 2px solid #BFB45C;
    border-radius: 10px;
    font-family: 'Rancho', cursive;
    width: 20%;
    margin: 0 auto 0 auto;
    cursor: pointer;
    transition: all 1s;
}

form button:hover {
    background-color: #252E40;
    color: #BFB45C;
}

/* iPad screen size adjustments */
@media screen and (max-width: 768px) {
    #contactContainer form {
        width: 90%;
    }

    form button {
        width: 60%;
    }

    input, textarea {
        margin-bottom: 10px;
    }
}
  
/* phone screen size adjustments */
@media screen and (max-width: 490px) {
}