/*POSITION SPACING*/
body{
    padding-top:80px;
    padding-bottom:80px;
    padding-right:10px;
    padding-left:10px;
    background-color:#1B1F23;
}

a{
    text-decoration: none;
}
    
/*HEADER*/
.header{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    align-items: center;
    position:fixed;
    top:0px;
    left:0px;
    right:0px;
    height:80px;
    width:100%;
    z-index:1;
    background-color:#D1015F;
}
.barchetta{
    height:60px;
}
.h2{
    display:flex;
    align-items:center;
    justify-content: center;
    max-width:100%;
    flex:1;
    height:80px;
    font-family:Impact; 
}

/*BODY*/
.login-area{
    position:relative;
    display:flex;
    flex-direction: column;
    width: 450px;
    max-width: 95%; 
    height:200px;
    border-style:solid;
    border-radius:5px;
    border-width:3px;
    border-color:black;
    background-color:#5C8DAE; 
    align-items: center;
    justify-content: center;
    min-height:100%;
    margin:auto;
    margin-top:70px;
}

.username-input, .password-input, .create-email-input, .create-username-input, .create-password-input, .create-password-2-input, .add-image-input{
    margin:10px;
    width: 400px;
    max-width:90%;
    height:30px;
    border-radius: 5px;
}

.button-area{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 450px;
    max-width: 95%;
}

.login, .sign-up, .create{
    display:inline-block;
    margin:10px;
    width:150px;
    max-width:40%;
    height:33px;
    border-radius: 5px;
    background-color:#D1015F;
    font-family: impact;
    color:whitesmoke;
}

.create-account-area{
    position:absolute;
    display:none;
    flex-direction: column;
    width: 450px;
    max-width: 95%;
    height:300px;
    left:50%;
    transform:translate(-50%);
    top:80px;
    border-style:solid;
    border-radius:5px;
    border-width:3px;
    border-color:black;
    background-color:#5C8DAE; 
    align-items: center;
    justify-content: center;
    margin:auto;
    margin-top:70px;
    z-index:1;
}

.verify-account-area{
    position:absolute;
    display:none;
    flex-direction: column;
    width: 450px;
    max-width: 95%;
    height:250px;
    left:50%;
    transform:translate(-50%);
    top:80px;
    border-style:solid;
    border-radius:5px;
    border-width:3px;
    border-color:black;
    background-color:#5C8DAE; 
    align-items: center;
    justify-content: center;
    margin:auto;
    margin-top:70px;
    z-index:1;
}

.instructions{
    position:absolute;
    display:none;
    flex-direction: column;
    max-width: 95%;
    width:700px;
    min-height: 170px;
    height:auto;
    padding-top: 22px;
    padding-bottom: 22px;
    left:50%;
    transform:translate(-50%);
    top:80px;
    border-style:solid;
    border-radius:5px;
    border-width:3px;
    border-color:black;
    background-color:#5C8DAE; 
    align-items: center;
    justify-content: center;
    margin:auto;
    margin-top:70px;
    z-index:2;
}
.instruction-text-title{
    font-family:impact;
    padding:1px;
    text-align: center;
    width:100%;
    color:whitesmoke;
    font-size: 26px;
    margin:15px;
}
.instruction-text{
    font-family:arial narrow;
    padding:1px;
    margin-top:8px;
    margin-bottom:8px;
    margin-left:10px;
    margin-right:10px;
    width:500px;
    max-width:90%;
    font-style:italic;
    color:#1B1F23;
    font-weight:600;
}
.title-span{
    color:#D1015F;
    font-size:26px;
    font-weight: 800;
}
.mini-span{
    color:#D1015F;
    font-size:26px;
    font-weight: 300;
}

.okay-button{
    display:inline-block;
    margin:5px;
    width:180px;
    max-width: 50%;
    height:45px;
    border-radius: 5px;
    background-color:#D1015F;
    font-family: impact;
    font-size:16px;
    color:whitesmoke;
}
button:hover{
    cursor: pointer;
}
.pro-pic-grid-1{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    margin-top:15px;
    margin-bottom:12px;
    width: 100%;
}
.pro-pic-grid-2{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    margin-top:12px;
    margin-bottom:20px;
    width: 100%;
}
.image-set{
    display: flex;
    gap: 2px;
    width: 100%;
}
.sample-pro-pic{
    height:96px;
    border-radius:48px;
    border-style:solid; 
    border-width: 1px;
    border-color:#1B1F23; 
}
.sample-pro-pic:hover{
    cursor: pointer;
}
.search-guide{
    max-width: 95%;
    width: 380px;
    border-style:solid; 
    border-width: 2px;
    border-color:whitesmoke; 
    margin-top:3px;
    margin-bottom:15px
}
.ozzy{
    height:170px;
    border-radius:85px;
    border-style:solid; 
    border-width: 1px;
    border-color:#1B1F23; 
}
.ozzy-name{
    font-size:17px;
    margin:3px;
    margin-bottom:7px;
    color:#1B1F23;
    font-weight: bold;
}
.game-guide{
    max-width: 95%;
    width: 270px;
    border-style:solid; 
    border-width: 2px;
    border-color:whitesmoke; 
    margin-top:3px;
    margin-bottom:15px
}

#loading-spinner {
    display: none;
    border: 4px solid #f3f3f3; /* light gray */
    border-top: 4px solid #3498db; /* blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/*FOOTER*/
.footer{
    display:flex;
    flex-direction:row;
    position:fixed;
    justify-content: center;
    background-color:#5C8DAE; 
    bottom:0px;
    left:0px;
    right:0px;
    height:80px;
    z-index:1;
}

/* --- MOBILE OPTIMIZATION --- */

@media (max-width: 650px) {
    .sample-pro-pic{
        height:80px;
        border-radius:40px;
    }

}

@media (max-width: 530px) {
    .sample-pro-pic{
        height:70px;
        border-radius:35px;
    }

}

@media (max-width: 500px) {
    .header {
        height: 70px;
    }
    .barchetta{
        height:55px;
    }
    .footer{
        height: 70px;
    }
    .instruction-text-title{ 
        font-size:24px;
    }

}

@media (max-width: 530px) {
    .sample-pro-pic{
        height:70px;
        border-radius:35px;
    }
}

@media (max-width: 470px) {
    .sample-pro-pic{
        height:60px;
        border-radius:30px;
    }
    .instruction-text-title{ 
        font-size:22px;
    }
}
@media (max-width: 415px) {
    .sample-pro-pic{
        height:54px;
        border-radius:27px;
    }
}
@media (max-width: 380px) {
    .sample-pro-pic{
        height:50px;
        border-radius:25px;
    }
    .instruction-text-title{ 
        font-size:20px;
    }
}
@media (max-width: 340px) {
    .sample-pro-pic{
        height:46px;
        border-radius:23px;
    }
}
@media (max-width: 319px) {
    .sample-pro-pic{
        height:40px;
        border-radius:20px;
    }
}

