*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    background-color: #0A0E2A;
    font-size: 16px;
}

body{
    min-height: 100vh;
    display: grid;
    place-items: center;
    font-family: sans-serif;
}

main{
    background-color: #142042;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 1%;
    width: 65%;
    border: 1rem solid #3d6885;
    border-radius: 10%;
}

#title-game{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6%;
}

#title-game img{
    width: 18%;
}

h1{
    font-family: Roboto;
    font-size: clamp(1.3rem, 3vw, 3rem);
    color: #00AFFF;
    text-align: center;
}

h2{
    font-size: clamp(1rem, 2vw, 2rem);
    color: #FF6A00;
    text-align: center;
    margin-bottom: 1rem;
}

.ganar{
    color: rgb(10, 118, 10);
    text-shadow: 5px 5px 10px rgb(104, 176, 104);
}

.perder{
    color: rgb(201, 19, 19);
    text-shadow: 5px 5px 10px rgb(158, 57, 57);
}

.empatar{
    color: rgb(242, 160, 6);
    text-shadow: 5px 5px 10px rgb(195, 156, 84);
}

h3{
    font-size: clamp(1rem, 2vw, 2rem);
    color: #af744a;
    text-align: center;
    margin-bottom: 1rem;
}

#image-container, #selection-container{
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    gap: 3%;
    padding: 2%;
}

.image-game{
    width: 35%;
}

.image-game img{
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
}

#image-selection-container, #stadistics-selection{
    display: flex;
    flex-direction: column;
}

#image-selection-container{
    width: 70%;
    justify-content: space-between;
}

#image-selection{
    display: flex;
    justify-content: space-evenly;
    gap: 6%;
}

.img-player{
    width: 20%;
}

.img-player img{
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: 0.3s ease;
}

figcaption{
    color: #FF6A00;
    text-align: center;
}

.img-player img:hover{
    transform: scale(1.2);
}

#stadistics-selection{
    width: 30%;
}

.dates{
    display: flex;
    justify-content: space-evenly;
}

label{
    display: inline-block;
    color: #B8B8B8;
    text-align: left;
    width: 25%;
    margin-bottom: 4%;
}

output{
    color: #B8B8B8;
    text-shadow: 0 0 12px #badceb;
    text-align: right;
    min-width: 2.5rem;
}

.btn {
    text-transform: inherit;
    margin: 0;
}

#btn-container{
    display: flex;
    justify-content: center;
    gap: 3%;
}

dialog{
    text-align: center;
    padding: 3rem;
}

dialog p{
    font-size: 1.2rem;
}

dialog::backdrop{
    background-color: #000000DD;
}





