:root {
    --fontHeading: 'Dosis', sans-serif;
    --fontBody: 'Nanum Gothic', sans-serif;
}

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

html {
    font-size: 62.5%;
}

body {
    font-size: 1.5rem;
    margin: 0;
}

nav{
    width: 100%;
    height: 179px;
    position: relative;

}

.fondo {
    width: 100%;
    height: 186px;
    position: absolute;
    opacity: 0.9;

}

.logo {
    width: 220px;
    height: 140px;
    position: absolute;
    margin-left: 20%;
    margin-top: 25px;
}

div#dropdown_menus{
    height: 35px;
    width: 100%;
    position:absolute;
    display: flex;
    justify-content:right;
    margin: 10px auto;

}
select {
    border: none;
    border-radius: 6px;
    box-shadow: 0px 1px 10px black;
    outline: none;
    font: 15px sans-serif;
    cursor: pointer;
    height: 25px;
    width: 135px;
    margin: 8px 8px;
    text-align: center;
    display: flex;
    background-color: #941e7d;
    color: white;
}

select:hover {
    box-shadow: 3px 5px 10px rgb(240, 233, 233);
}

.option {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    cursor: pointer;
    background-color: #ebd2e6;
    color: black;
}
#average {
    height: 100%;
    width: 100%;
    text-align:left;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #941e7d;
    font-weight: 400;
    font-family: var(--fontBody);
}

h2 {
    margin-bottom: 15px;
    font-family: var(--fontHeading);
    text-align: center;

}
h3 {
    margin-bottom: 10px;
    font-family: var(--fontHeading);
    margin-left: 100px;

}
.stats {
    margin-left: 80px;
    margin-bottom: 10px;
    font-family: var(--fontHeading);
    text-align: left;

}



#container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.card {
    position: relative;
    width: 212px;
    height: 294px;
    margin: 29px 15px;
}

.card-image {
    width: 212px;
    height: 294px;
    background-size:cover;
    background-image: url(./imagenes/Card-athlete.png);
    border-radius: 9px;
    box-shadow: 2px 2px 10px black;
    position: absolute;
    backface-visibility: hidden;
    overflow: hidden;
    transition: .5s;

}

.card-opacidad {
    width: 187px;
    height: 270px;
    background-color: white;
    opacity: 0.88;
    margin: 13px;
    position: absolute;
    border-radius: 9px;
    transform: perspective(600px) rotateY(0deg);
}

.avatar {
    width: 140px;
    height: 140px;
    position: absolute;
    margin-top: 60px;
    margin-left: 38px ;
    border-radius: 180px;
    align-items: center;
}


h4 {
    position: relative;
    margin-top: 18px;
    margin-bottom: 168px;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
    height: 34px;
    font-family: var(--fontHeading);
}
p {
    position: relative;
    padding-left: 19px;
    padding-right: 19px;
    display:flow-root;
    text-align:center;
    font-family: var(--fontBody);

}

.social_media {
    align-items: center;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    background-color: #d6d2d6;
}


@media only screen and (max-width: 600px) {
    .logo {
        width: 180px;
        height: 120px;
        position: absolute;
        margin-left: 45%;
        margin-top: 25px;
    }
    div#dropdown_menus{
        height: 35px;
        width: 100%;
        position:absolute;
        display:block;
        justify-content:left;
        margin: 10px auto;
    
    }
    #container {
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    #average {
        margin-bottom: 40px;
    }
    h2 {
        margin-bottom: 15px;
        font-family: var(--fontHeading);
    }
    h3 {
        margin-bottom: 8px;
        font-family: var(--fontHeading);
        margin-left: 18px;
    }
    .stats {
        margin-left: 0;
        margin-bottom: 10px;
        font-family: var(--fontHeading);
        text-align: left;
        font-size: large;
    }
    .card {
        width: 180px;
        height: 200px;
        margin-left: 3px;
        margin-right: 3px;
        margin-top: 3px;
    }
    .card-image {
        width: 180px;
        height: 200px;
        background-size:cover;
        background-image: url(./imagenes/Card-athlete.png);
        border-radius: 9px;
        box-shadow: 2px 2px 10px rgb(250, 247, 247);
        position: absolute;   
    }
        
        .card-opacidad {
            width: 155px;
            height: 173px;
            background-color: white;
            opacity: 0.88;
            margin: 13px;
            position: absolute;
            border-radius: 9px;
        }
        
        .avatar {
            width: 80px;
            height: 80px;
            position: absolute;
            margin-top: 55px;
            margin-left: 50px ;
            border-radius: 180px;
            align-items: center;
        }
        h4 {
            position: relative;
            margin-top: 18px;
            margin-bottom: 90px;
            padding-left: 18px;
            padding-right: 18px;
            text-align: center;
            height: 34px;
            font-family: var(--fontHeading);
            font-size: 13px;
        }
        p {
            position: relative;
            padding-left: 19px;
            padding-right: 19px;
            display:flow-root;
            text-align:center;
            font-family: var(--fontBody);
            font-size: 12px;
        
        }
  }