﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    display: none;
    width: 375px; /* Set a default minimum width */
    background-image: url("../res/images/notification_background_anim.webp");
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 0px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: calc(50% - 175px); /* Center the snackbar */
    bottom: 30px;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.75rem;
    }

 /*css classe desc pages html*/

.page-body {
    background-color: white;
    width:auto;
    display: block;
    align-items: center;
}

/*scrollbar custom*/

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #356083;
}

/*headerBar*/

.page-header {
    background-color: transparent;
    display: flex;
    align-items: center;
    height: auto;
    width: 100%;
    position: fixed;
    z-index: 1;
}

.headerBar {
    background-image: url("../res/images/header_background.webp");
    background-position: center;
    background-size: auto 100%;
    background-repeat: repeat;
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    margin: 15px auto;
    left: calc(50% - 150px);
}

.buttonLight {
    height: 50px;
    width: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    cursor: pointer;
}

.buttonLight:hover {
    opacity: 0.75;
    transition: all 0.2s ease 0s;
}


.buttonLight:active {
    opacity: 0.45;
    transition: all 0.2s ease 0s;
}


.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
/*    background-image: url(../res/images/background_1.webp);*/
    background-position: center;
    background-size: auto 100vh;
    background-repeat: repeat;
    background-attachment: scroll;
    /*    background-attachment: scroll;
    -webkit-animation: 6s ease-in-out 6s infinite alternate-reverse backgroundFade;
    animation: 6s ease-in-out 6s infinite alternate-reverse backgroundFade;*/
}

.titleDiv {
    height: auto;
    width: auto;
    top: 50%;
    background-color: #FFFFFF;
    display: grid;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    /*padding: 57px 90px 57px 90px;*/
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    position: relative;
    padding: 30px;
    margin: 100px 40px 100px 40px;
}

.panelSimple {
    height: auto;
    width: auto;
    /*top: 50%;*/
    background-color: #FFFFFF;
    display: grid;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    position: relative;
    padding: 30px;
/*    margin: 100px 40px 100px 40px;*/
}

.panelTitle {
    height: auto;
    width: auto;
    /*top: 50%;*/
    background-color: #FFFFFF;
    display: grid;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    position: relative;
    padding: 85px 120px 85px 120px;
}

@font-face {
    font-family: "TEXASLED";
    src: url("open-iconic/font/fonts/TEXASLED.TTF");
}

.textTitle {
    font-family: TEXASLED;
    font-size: 40px;
    text-align: center;
    font-weight: initial;
    color: #356083;
    /*padding: 10px;*/
}

.textNormal {
    font-family: 'Times New Roman';
    font-size: 18px;
    text-align: justify;
    font-weight: initial;
    color: #356083;
}

.buttonTitle {
    background-image: url("../res/images/notification_background.webp");
    background-size: auto 100%;
    text-align: center;
    color: white;
    font-size: 20px;
    margin: 20px auto 20px auto;
    padding: 10px 20px 10px 20px;
    width: max-content;
    cursor: pointer;
}

.column {
    display:flex;
}

.columnChild {
    width:350px;
    padding: 20px 40px 20px 40px;
    margin: auto;
    display: grid;
    align-items: center;
    justify-content: center;
}

.badgeDiv {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 320px) {
    .panelTitle {
        height: auto;
        width: auto;
        top: 50%;
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
        /*padding: 57px 90px 57px 90px;*/
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
        position: relative;
        padding: 10px;
        margin: 100px 40px 100px 40px;
    }

    .textTitle {
        font-family: TEXASLED;
        font-size: 30px;
        text-align: center;
        font-weight: initial;
        color: #356083;
        /*padding: 10px;*/
    }

    .textNormal {
        font-family: 'Times New Roman';
        font-size: 16px;
        text-align: justify;
        font-weight: initial;
        color: #356083;
    }
}

@media only screen and (min-width: 330px) and (max-width: 400px){
    .panelTitle {
        height: auto;
        width: auto;
        top: 50%;
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
        /*padding: 57px 90px 57px 90px;*/
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
        position: relative;
        padding: 20px;
    }

    .textTitle {
        font-family: TEXASLED;
        font-size: 35px;
        text-align: center;
        font-weight: initial;
        color: #356083;
        /*padding: 10px;*/
    }
}

@media only screen and (min-width: 400px) and (max-width: 600px){
    .panelTitle {
        height: auto;
        width: auto;
        top: 50%;
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
        /*padding: 57px 90px 57px 90px;*/
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
        position: relative;
        padding: 40px;
    }
}

@media only screen and (max-width: 800px) {

    .column {
        display: contents;
    }

    .columnChild {
        width: 250px;
        padding: 20px;
        margin: auto;
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .badgeDiv {
        margin: 0 auto;
        display: contents;
        justify-content: center;
    }
}

.buttonTitle:hover {
    opacity: 0.9;
    transition: 0.2s;

}

.buttonTitle:active {
    opacity: 0.7;
    transition: 0.2s;
}

.badge {transition: all 0.2s ease 0s;}

.badge:hover {opacity: 0.8;}

.badge:active {opacity: 0.5;}

/*footer*/

.footer {
    width: 100%;
    display: block;
    background-image: url(../res/images/footer_background.png);
    background-position: center;
    background-size: auto 120px;
    background-repeat: repeat;
}

.footerDiv {
    display: flex;
    justify-content: center;
    padding: 15px;
}

.buttonText {
    font-family: 'Times New Roman';
    font-size: 18px;
    text-align: center;
    color: white;
    padding: 0 10px 0 10px;
    margin: 0;
    cursor: pointer;
}

.buttonText:hover {
    opacity: 0.75;
    transition: all 0.2s ease 0s;
}


.buttonText:active {
    opacity: 0.45;
    transition: all 0.2s ease 0s;
}

.divider {
    background-color:white;
    width:100%;
    height:1px;
    margin:0;
    opacity:0.3;
}

/*contact*/

.contactColumn {
    display: flex;
}

.contactColumnChildImage {
    /*width: 50%;*/
    /*padding: 20px 40px 20px 40px;*/
    margin: auto;
    display: block;
    align-items: center;
    justify-content: center;
}

.contactColumnChild {
    width: 340px;
    padding: 10px;
    margin: 20px;
    display: grid;
    align-items: center;
    justify-content: center;
}

.contactButton{
    height: 40px;
}

@media only screen and (max-width: 822px) 
{
    .contactColumnChildImage {
        /*width: 50%;*/
        /*padding: 20px 40px 20px 40px;*/
        margin: auto;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .contactColumnChild {
        width: 200px;
        padding: 10px;
        margin: 20px;
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .contactButton {
        height: 30px;
    }
}

/*achievements*/

.panel2 {
    height: auto;
    width: auto;
    top: 50%;
    background-color: #FFFFFF;
    display: grid;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    /*padding: 57px 90px 57px 90px;*/
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    position: relative;
    padding: 60px;
    margin: 100px 40px 100px 40px;
}

@media only screen and (max-width: 320px) {
    .panel2 {
        height: auto;
        width: auto;
        top: 50%;
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
        /*padding: 57px 90px 57px 90px;*/
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
        position: relative;
        padding: 10px;
        margin: 100px 40px 100px 40px;
    }
}

@media only screen and (max-width: 400px) and (min-width: 330px) {
    .panel2 {
        height: auto;
        width: auto;
        top: 50%;
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
        /*padding: 57px 90px 57px 90px;*/
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
        position: relative;
        padding: 20px;
        margin: 100px 40px 100px 40px;
    }
}

@media only screen and (max-width: 600px) and (min-width: 400px) {
    .panel2 {
        height: auto;
        width: auto;
        top: 50%;
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
        /*padding: 57px 90px 57px 90px;*/
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
        position: relative;
        padding: 30px;
        margin: 100px 40px 100px 40px;
    }
}

.achievementsLine {
    /*display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center !important;
    align-items: center !important;
    padding: 15px; 
    margin: 30px 0 30px 0;*/

    display: flex;
    align-items: center;
    padding: 10px;
    margin: 20px 0 20px 0;
    background-color: #d7e5ef;
}

.achievementsIcon {
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    width:auto;
    height:auto;
}

.achievementsImage{
    height:80px;
    width:auto;
}

.achievementsText {
    font-family: 'Times New Roman';
    /*font-size: 19px;*/
    text-align: justify;
    font-weight: initial;
    text-decoration: none;
    color: #356083;
    margin: auto
}

.achievementsBox {
/*    -webkit-box-flex: 0;
    flex: 0 0 auto;
    padding: 0 30px 0 40px;*/

    margin: 15px;
}

.achievementsBox2 {
/*    -webkit-box-flex: 0;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 20px 0 20px;*/

    margin: 15px 15px 15px auto;
}


/*leaderboard*/

.tableObject {
    margin:10px 0 10px 0;
}

.tableTextLoad {
    font-weight: initial;
    text-align: center;
    font-family: "TEXASLED";
    padding: 20px;
    color: #356083;
}
.tableTitle {
    background-image: url("../res/images/notification_background.webp");
    background-size: auto 100%;
    width: auto;
    margin: auto;
    font-size: 30px;
    padding: 10px;
    color: white;
    font-weight: initial;
    text-align: center;
    font-family: "TEXASLED";
}

.tableData {
    color: #356083;
}

.tableDataHeader {
    background-color: #c9dbe9;
}

/*splash screen components*/
.splashScreenBar {
    height: 50px;
    width: 50%;
    max-width: 300px;
    bottom: 100px;
    background-color: white;
    position: absolute;
    display: flex;
    align-items: center;
    padding: 15px;
}

.splashScreenProgressBar {
    height: 10px;
    width: var(--blazor-load-percentage, 0%);
    margin-right: auto;
    background-color: #276398;
}