:root {
    --main_blue:#1e2143;
    --off_black: #1b1716;
    --title_yellow:#dcab4c;
    --dark_cyan: #2a7eab;
    --darker_cyan: #215271;
    --iso_cyan: #009fb7;
    --iso_orange: #d15941; 
    --button_orange:#d15941;
    --button_hover: #3279ba;
    --b: #1775c1;
    --b_dark: #156cb4;
    --c: #dbab4c;
    --c_dark: #c9a047;
    --bc:  #1faf95;
    --bc_dark: #1ca38b;
  }

html, body{
    margin: 0;
    padding: 0;
    background-color: #333;
    background-image: url(../images/SO40thTransp20.png);
    color: white;
    font-family: Lato;
    width:100%;
    height:100%;
}

*{
    margin:0;
    padding: 0;
}

ul, li{
    padding-left: 15px;
    text-align: left;
}

a{
    color: white;
    background-color: var(--button_orange);
    padding: 0 5px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: normal;
}

a.uploaded_img{
    background-color: transparent;
}

p{
    margin: 10px 0;
}

.parallax-header {
    height: 325px; 
    background-image: url('../images/Frederick 2 Adjusted.jpg'); 
    background-attachment: fixed;
    background-size: cover;
    background-position: center -250px;
    position: relative;
  }
  
.parallax-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent overlay for readability */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-size: 50px;
    text-shadow: 2px 2px 4px #000;
}

#header{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-size: 50px;
    background-image: url('../images/Frederick 2 Adjusted.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 500px;
    text-shadow: 2px 2px 4px #000;
    padding: 20px;
    text-align: center;
}

#division_wrapper {
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b{
    background-color: var(--b_dark);
}

.c{
    background-color: var(--c);
}

.bc{
    background-color: var(--bc_dark);
}

#total_files_wrapper {
    font-family: "Abel";
    font-size: 14px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    border-radius: 5px;
    position: absolute;
    right: 10px;
    top: 0;
}

#total_files {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.event_title{
    text-transform: uppercase;
    font-weight: bold;
    padding: 5px;
    border-radius: 10px 10px 0 0;
    position: relative;
    min-height: 20px;
}

#fileNames{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

#uploadedFiles #fileNames{
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 5px 2px;
    text-align: center;
}

#fileNames #initMessage{
    line-height:32px;
}

#lArrow, #enterMessage{
    height: 16px;
    display: inline-block;
    line-height: 16px;
    overflow: hidden;
}

#lArrow{
    font-size: 32px;
}

#uploadedFiles .fileName{
    width: 200px;
    background-color: var(--successBack);
    font-family: 'Abel', sans-serif;
    font-weight: bold;
    color: var(--successColor);
    font-size: 16px;
    padding: 6px 8px;
    margin: 5px 0;
    border-radius: 4px;
    display: inline-block;
    margin: 2px;
    overflow: hidden;
}

strong{
    font-weight: 900;
    background-color: #222;
    color: #eee;
    padding: 2px 4px;
    border-radius: 4px;
}

body {
    background-color: var(--mainBgC);
}

#title{
    font-size: 20px;
    font-family: "Abel", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 10px;
    background-color: #212a34;
    color: white;
    margin-bottom: 20px;
}

#competition{
    font-size: 30px;
    font-family: "Abel", sans-serif;
    margin: 10px 0;
    color: white;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
}

.teamButton, #confirmTeamname, #download_button{
    font-family: "Akshar", sans-serif;
    margin: 5px;
    background-color: var(--button_orange);
    cursor: pointer;
    color: white;
    border-radius: 4px;
    display: inline-block;
}

#allTeamsButtonsWrapper .teamButton, #confirmTeamname{
    width: 25px;
}    

.teamButton:hover, #confirmTeamname:hover{
    background-color: var(--button_hover);
}

.teamButton{
    font-family: 'Abel', sans-serif !important;
    font-weight: bold;
    font-size: 18px !important;
}

#confirmTeamname{
    width: auto;
    overflow: hidden;
}

.teamSelected{
    background-color: var(--bc_dark);
}

.getData{
    border-radius: 8px;
    padding: 4px;
    width: 800px;
    /*height: calc(100% - 120px);*/
    font-size: 14px;
    line-height: 18px;
    color: #575e75;
    position: relative;
    margin: 0 auto 10px auto;
    overflow: auto;
}

.required{
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    text-transform: lowercase;
    font-family: 'Abel', sans-serif;
    font-size: 13px;
    background-color: var(--requiredBack);
    letter-spacing: 2px;
    padding: 2px;
    color: var(--requiredColor);
    height:100%;
    writing-mode: vertical-rl;
    box-sizing: border-box;
    font-weight: bold;
}

.alert {
    padding: 20px;
    background-color: var(--divisionColorDark);
    font-family: "Abel", sans-serif;
    color: white;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    box-sizing: border-box;
    display: none;
}

.alert p{
    padding-top: 10px;
}

.alert .closebtn{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.alert .closebtn:hover{
    background-color: #222;
}

.instructions{
    background-color: #212a34;
    color: var(--label);
    border: 1px solid var(--label);
}

.infoBox .instructions{
    margin: 10px 0;
    padding-left: 20px;
}

.infoBox .instructions.short{
    text-align: center;
    margin:30px;
    font-family: "Abel", sans-serif;
    color: white;
}

.infoBox .instructions.short.sub{
    margin:0;
    text-align: left;
    color: white;
    width: 35%;
    border-radius: 4px;
    position: absolute;
    right: 20px;
    top: 14px;
}

.list{
    text-align: left;
}

.list li{
    padding: 5px;
    margin: 10px;
    font-size: 18px;
    font-family: "Abel", sans-serif;
    line-height: 20px;
}

.list strong{
    background-color: #eee;
    color: #222;
    padding: 0 4px;
}

#fileSizeMessage{
    display: inline-block;
    position: relative;
    padding: 4px 10px;
}

#fileSizeMessage strong{
    margin: 0;
}

.notVisible{
    display: none;
}

.infoBox{
    background-color: var(--main_blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #fff;
    text-align: left;
    margin: 16px auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.infoBox .title{
    font-family: "Abel", sans-serif;
    font-weight: 900;
    background-color: #212a34;
    color: #eee;
    padding: 2px 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.centeredText{
    text-align:center;
}

.content{
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    border-radius: 4px;
    padding: 12px;
    position: relative;
}

.fileSize{
    position: absolute;
    padding: 4px;
    right: 25px;
    font-size: 12px;
    line-height: 24px;
    background-color: var(--main_blue);
    top: 50%;
    color: white;
    transform: translateY(-50%);
    border-radius: 4px;
}

.fileLink{
    height: 24px;
    font-family: 'Titillium Web', sans-serif;
    /*overflow:hidden;*/
}

.fileLink strong{
    background-color: transparent;
    color: #000;
}

.fileLink a{
    font-size: 14px;
    font-family: 'Titillium Web', sans-serif;
    color: #fff;
}

.uploadPreview{
    max-height: 150px;
    margin: 5px;
    border: 3px solid white;
    border-radius: 4px;
    overflow: hidden;
}

.infoBox .label{
    font-size: 18px;
    font-family: "Abel", sans-serif;
    padding: 8px 12px;
    line-height: 24px;
    background-color: var(--label);
}

.infoBox .content{
    text-align: center;
    padding: 16px;
}

.radio{
    width: 190px;
    display: inline-block;
}

input{
    margin: 5px;
}

.userInput,[teamname]{
    padding: 5px;
    border: 1px solid #bbb;
    border-width: 0 0 1px 0;
    height: 30px;
    width: 300px;
    box-sizing: border-box;
    text-align: center;
}

[teamname]{
    display: inline-block;
    padding: 0;
    line-height: 25px;
    height: 25px;
    overflow:hidden;
    margin: 5px;
    border: none;
    color: white;
    background-color: var(--bc_dark);
}

[secretphrase_wrapper]{
    font-weight: bold;
    text-transform: uppercase;
}

[secretphrase]{
    line-height: 25px;
    height: 25px;
    background-color: #ddd;
    border: none;
    font-family: "Akshar", sans-serif;
    font-size: 16px;
    padding: 5px;
    border-radius: 2px;
    width: 200px;
    text-align: center;
}

.content [type="radio"]{
    height: 15px;
    width: 15px;
}

.hiddenField{
    display: none;
}

/*[name="schoolNum"]{
width: 40px;
}*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    width: 60px;
}

.button{
    font-family: 'Akshar', sans-serif;
    padding: 5px 10px;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    border: none;
}

.fileButton::-webkit-file-upload-button {
    visibility: hidden;
}

.fileButton::after {
    content: 'SELECT FILE';
    display: inline-block;
    position:absolute;
    right: 40px;
    width: 64px;
    text-align: center;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    font-size: 10pt;
    color: black;
    background-color: var(--button_orange);
    color: white;
}

.fileButton.upload_success::after {
    content: 'SUCCESS';
    background-color: var(--bc_dark);
  }

.fileButton:hover::after {
    border-color: black;
}

.fileButton:active::after {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.fileButton{
    color: white;
}

.hide{
    display:none
}

.fileButton{
    width: 90%;
}

[error]{
    background-color: #fbb;
    color: #800;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    display: none;
}

.successMessage{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 5px;
    font-weight: 900;
    background-color: var(--label);
    color: var(--labelText);
    border-radius: 4px;
}

.content a{
    text-decoration: none;
}

#uploadingScreen{
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1000;
    display: none;
}

#uploadingScreen #box{
    position: absolute;
    display: inline-block;
    background-color: rgba(0,0,0,.7);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 20px;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    position: relative;
}


#uploadingScreen #title{
    background-color: #000;
}

.blink{
    animation: fading .5s infinite;
    animation-direction: alternate;
    animation-timing-function: ease;
}

#uploadingScreen #content{
    padding: 10px;
    margin: 0;
}

#uploadingScreen p{
    font-size: 16px;
    margin-top: 16px;
}

@keyframes fading {
    from {opacity: 0;}
    to {opacity: 1;}
}

.uploadGood{
    background-color: var(--buttonColor);
    color: #fff;
    border-radius: 4px;
}

.uploadGood:hover{
    background-color:var(--buttonColorHover);
}

.uploadGood a{
    color:#fff;
}

/**** SCROLL BAR ****/

.scrollbar{
    margin-bottom: 4px;
}

.scrollbar::-webkit-scrollbar{
    width: 8px;
    border-radius: 8px;
}

.scrollbar::-webkit-scrollbar-track{
    background-color: rgba(0,0,0,.6);
    border-radius: 8px;
}

.scrollbar::-webkit-scrollbar-thumb{
    border-radius: 8px;
    background-color: var(--label);
    border:1px solid #fff;
}

.scrollbar::-webkit-scrollbar-thumb:hover{
    background-color: #fff;
    border:1px solid #fff;
}

.imgPreview{
    max-width: 200px;
    max-height: 200px;
}

.submitted {
    opacity: .3;
}

@media(max-width:850px){
    .getData{
        width: 95%;
    }

    [teamname]{
        width: 250px;
    }

    .fileButton{
        text-align: left !important;
    }
}