:root{
    --primary-blue: #29235c;
    --primary-pink: #e61b72;
}

body {
    font-family: 'Lexend Exa', sans-serif;
    width: 95vw;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}

header{
    margin-top: 4rem;
    margin-bottom: 2rem;
    width: 100%;
}

header h2{
    font-weight: bold;
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

header .logo{
    width: 100%;
    margin-bottom: 2rem;
}

main{
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#img-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: -5%;
}

#img-header img{
    width: 45%;
    height: 20%;
}

#scoreboard{
    display: none;
    width: 90%;
    margin: 0 auto;
}

.player{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block: 1rem;
    width: 100%;
    font-family: 'Lexend Exa', sans-serif;
    font-size: 0.9rem;
}
.player p:first-child{
    color: var(--primary-pink);
    text-align: left;
    width: 40%;
    border-radius: 2px;
    font-weight: bold;
    word-break: break-all;
}
.player p:nth-child(3){
    font-weight: bold;
    color: var(--primary-pink);
}
.player p{
    text-align: center;
    position: relative;
    width: 20%;
    border-radius: 2px;
    padding-right: 3px;
}
.player p::after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border-right: 4px solid var(--primary-pink);
    border-radius: 500px;
}
.player p:last-child:after{
    content: '';
    margin-left: 25%;
    border-right: 0px solid var(--primary-pink);
    border-radius: 50px;
}
.player .username{
    color: var(--primary-pink);
    word-break: break-all;
}
.player-podium{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.4rem;
}
.last-podium{
    margin-bottom: 4rem;
}
.podium-position-container{
    width: 20%;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.podium-position{
    margin-inline: 2px;
    background-color: var(--primary-pink);
    height: 70%;
    width: 15%;
    border-radius: 50px;
    font-family: 'Lexend Exa', sans-serif;
}
.player-podium .player-info{
    background-color: var(--primary-pink);
    width: 100%;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    padding-inline: 5%;
    align-items: center;
    margin-left: 5%;
    font-weight: bold;
    font-size: 0.9rem;
}
.player-podium .player-info p:first-child{
    color: white;
}
.player-podium .player-info p:last-child{
    color: var(--primary-blue);
}
.player-podium .player-score{
    width: 20%;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    margin-left: -20%;
    padding-left: 20%;
    z-index: -1;
    text-align: right;
    padding-right: 5%;
}
.player-podium .player-score p:first-child{
    margin-bottom: -5px;
    font-weight: bold;
}
.player-podium .player-score p:last-child{
    font-size: 0.8rem;
}

#date-picker input{
    color: var(--primary-blue);
    font-weight: bold;
    font-family: 'Lexend Exa', sans-serif;
    font-size: 1.2rem;
    padding-inline: 0.5rem;
    padding-block: 0.2rem;
    border-radius: 500px;
    border-color: var(--primary-blue);
}
.empty-scoreboard{
    display: flex;
    justify-content: center;
    align-items: center;
}
.empty-scoreboard h3{
    margin-block: 200px;
    font-weight: bold;
}

#img-footer{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 5rem;
}

#img-footer img:nth-child(1){
    width: 20%;
}
#img-footer img:nth-child(2){
    width: 50%;
}
#img-footer img:nth-child(3){
    width: 30%;
}