@font-face {
    font-family: 'martinefont';
    src: url('OPTIVagRound-Bold.otf');
}

:root {
  --gold: #ffbf40;
  --silver: #bcbbbb;
  --bronze: #ea9232;

  --sky-high: #84c7ef;
  --sky-low: #ffffff;

  --btn-color: #0fd4e8;
}

body {
    font-family: martinefont, sans-serif;
    margin: 20px;
    height: 100vh;
    background: linear-gradient(var(--sky-high) 0%, var(--sky-low) 100%);
}

.body-wrapper {
    min-height: 100%;
    margin: -8px;
    overflow: hidden;    
}

input[type="submit"] {
    font-family: martinefont, sans-serif;
    background-color: var(--btn-color);
    border: solid 1px var(--btn-color);
    border-radius: 20px;
    padding: 5px 15px;
    text-align: center;
    color: white;
    font-size: 2em;
}

#register-applicant {
    margin: 0;
}

/* #register-applicant .ballon { */
 .ballon {
    background-color: var(--pc-plain);
    border-radius: 50%;
    aspect-ratio: 1;
    text-align: center;
    position: relative;
    margin: 1em;
}
/* #register-applicant .ballon-inner { */
.ballon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

/* #register-applicant .ballon-fil { */
.ballon-fil {
    position: absolute;
    width: 20%;
    top: calc(100% - 7px);
    left: calc(50% - 30px);
}


/* #register-applicant label { */
.ballon-inner label {
    color: var(--pc-shadow);
    font-size: 2.5em;
}
#register-applicant input[name="pseudo"] {
    width: 90%;
    color: white;
    border: solid 1px white;
    border-radius: 15px;
    background-color: var(--pc-shadow);
    font-size: 2em;
    text-align: center;

}


#register-applicant input[type="submit"] {
    display: block;
    margin: 0 20px 1em auto;
    /* background-color: var(--btn-color);
    border: solid 1px var(--btn-color);
    border-radius: 20px;
    padding: 5px;
    text-align: center; */
}

#register-applicant .fields-error {
    position: absolute;
    bottom: -4em;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10%;
    color: white;
    font-size: 1.4em;
}


#player-scoreboard {
    color: var(--pc-plain);
}

.ballon-score-left {
    margin: 0;
    width: 60%;
    & label {
        font-size: 2em;
        color: white;
    }
}
.ballon-score-right {
    width: 40%;
    position: relative;
    margin: -2em 0 0 auto;
    & label:first-child {
        font-size: 1.3em;
        color: white;
    }
    & label:last-child {
        font-size: 2em;
        color: white;
    }
    & .ballon-fil {
        top: calc(100% - 5px);
        left: calc(50% - 20px);
    }
}

.list-activities-wrapper {
    position: absolute;
    bottom: 1em;

}
.list-activities {
    /* width: 60%; */
    /* margin-top: 1em; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    & img {
        width: 20%;
        padding: 5px;   
    }
}


#grades-form select, 
#activity-selector select 
{
    width: 100%;
    margin: 0 0 1em;
    font-size: 2em;
    line-height: 2em;
}   

#grades-form input[type="submit"], 
#activity-selector input[type="submit"] 
{
    /* font-size: 2em; */
    width: 100%;
    margin-bottom: 1em;
}

.input-number {
    width: 100%;
    font-size: 2em;
    font-weight: bold;
    color: black;
    display: flex;
    margin-bottom: 1em;
    & button {
        font-size: 2em;
        padding: 0 30px;
        border: none;
        color: white;
        background-color: var(--btn-color);
    }
    & button:first-child {
        border-radius: 20px 0 0 20px;
    }
    & button:last-child {
        border-radius: 0 20px 20px 0;
    }
    & input {
        width: 100%;
        text-align: center;
        font-size: 2em;
    }
}

