/*
    Style Notes: 
    Main Colors: 
    #7e005e
    #981e7a
    Accent Colors
    #4aaad0
    #9deaec
    #27B50A
    Body Font Family:
    Avenir
    Optional Header Family:
    Great Sejagad
    Primary Header Family:
    Bebas Neue
*/

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Bebas Neue";
    src: url('../fonts/BebasNeue-Regular.ttf') format('ttf');
    src: url('../fonts/BebasNeue-Regular.woff') format('woff');
    src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
}

@font-face {
    font-family: "Great Sejagad";
    src: url('../fonts/GreatSejagad.ttf') format('ttf');
    src: url('../fonts/GreatSejagad.woff') format('woff');
    src: url('../fonts/Great\ Sejagad.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir LT STD";
    src: url('../fonts/AvenirLTStd-Roman.otf') format('otf');
    src: url('../fonts/AvenirLTStd-Roman.woff') format('woff');
    src: url('../fonts/AvenirLTStd-Roman.woff2') format('woff2');
}

#modal-form {
    width: 575px;
    height: 650px;
    background-color: white;
    padding-top: 15px;
    padding-right: 15px;
    justify-self: center;
    z-index: 9999;
    position: absolute;
    box-shadow: 0px 0px 25px 5px #9deaec;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 100;
}

#sub-form {
    width: 575px;
    height: 500px;
    background-color: white;
    padding: 25px;
    padding-top: 0px;    
}

legend {
    font-family: "Bebas Neue";
    font-size: 25px;
    letter-spacing: 2px;
    color: #7e005e;   
}

fieldset {
    padding: 20px;
    padding-top: 10px;
    padding-right: 10px;
    border-radius: 5px;
    border-color: #981e7a;
}

#first-name {
    margin-right: 10px;
}

.flex-container-form {
    display: flex;
    margin-top: 15px;
}

select {
    border-radius: 3px;
    height: 25px;
    padding-left: 7px;
    width: 310px;
    margin-right: 15px;
    margin-top: 3px;
}

input {
    border-radius: 3px;
    border-width: 1px;
    height: 25px;
    padding: 5px;
    padding-left: 7px;
    margin-top: 3px;
    font-style: italic;
}

textarea {
    padding: 5px;
    padding-left: 7px;
    margin-top: 3px;
    margin-bottom: 15px;
    margin-right: 0;
    font-style: italic;
    border-radius: 3px;
    border-width: 1px;
    font-family: "Avenir LT Std";
    border-color: #7e005e;
}

textarea:active,
textarea:focus,
input[type="text"]:active,
input[type="text"]:focus,
input[type="email"]:active,
input[type="email"]:focus,
select:active,
select:focus {
    outline-width: 5px;
    outline-color: #7e005e;
}

#close {
    justify-self: end;
    color: #981e7a;
    cursor: pointer;
}

#close:hover {
    color: #7e005e;
}

#upload-block {
    border: 2px dashed #7e005e;
    border-radius: 15px;
    text-align: center;
    padding: 25px;
    padding-top: 35px;
    width: 225px;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 15px;
}

h4 {
    margin: 0;
    padding-bottom: 10px;
    font-family: "Bebas Neue";
    font-size: 20px;
    letter-spacing: 1.5px;
    color: #7e005e;
}

#about-section {
    margin-top: 13px;
    padding-right: 0;
    width: 235px;
}

#form-submitbutton {
    border: 0;
    line-height: 1.75;
    letter-spacing: 2px;
    padding: 0px 25px;
    padding-top: 2px;
    font-size: 1.5em;
    font-family: "Bebas Neue";
    text-align: center;
    color: white;
    background-color: #7e005e;
    background-image: linear-gradient(
        to top,
        rgb(0 0 0 / 20%),
        rgb(0 0 0 / 20%) 30%,
        transparent
    );
    margin-top: 5px;
    margin-left: 160px;
}

.styled:hover,
.btn:hover {
    background-color: #4aaad0;
    transition: .45s;
}

.styled:active,
.btn:active {
    box-shadow:
        inset -2px -2px 3px #9de9ec53,
        inset 2px 2px 3px rgb(0 0 0 / 30%);
}

.btn {
    padding: 15px;
    background-color: #7e005e;
    background-image: linear-gradient(
        to top,
        rgb(0 0 0 / 20%),
        rgb(0 0 0 / 20%) 30%,
        transparent
    );
    font-family: "Bebas Neue";
    text-align: center;
    color: white;
    letter-spacing: 2px;
}

label {
    color: black;
}

#file-name-display {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
    display: inline-block;
}

@media (max-width: 780px) {
    #modal-form {
        width: 85%;
        height: 975px;
    }

    #sub-form {
        width: 100%;
        padding-right: 7px;
    }

    #first-name,
    #last-name,
    select,
    #asset-credit,
    #about-artist,
    #about-piece,
    #upload-block,
    #email {
        width: 97%;
    }

    .course {
        order: 2;
    }

    .cohort {
        order: 1;
    }

    #about-section {
        width: 100%;
    }

    #asset-credit,
    #about-artist,
    #about-piece {
        height: 60px;
        margin-bottom: 10px;
    }

    .flex-container-form {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .column-form {
        margin: 0;
        padding: 0;
    }

    input,
    select {
        display: block;
        margin-bottom: 10px;
    }

    #modal-form br {
        display: none;
    }

    #form-submitbutton {
        margin-left: 47px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #last-name,
    #cohort,
    #course-program {
        margin-bottom: 15px;
    }

    #email {
        margin-bottom: 20px;
    }
}