@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

header {
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: space-around;
    background-color: #00004d;
}

nav {
     width: 60%;
}

ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

li {
    list-style: none;
    color: white;
    cursor: pointer;
    font-size: 19px;
    transition: 0.5s;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

li:hover {
    transition: .1;
    color: black;
}

#logo {
    width: 150px;
    height: auto;
}

.box-votation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 910px;
    background-image: url(./Midias/quadra-de-basquete_648765-295.avif);
    background-size: cover;
    background-position: 50% 50%;
}

.box-bottom {
    display: grid;
    grid-template-columns: repeat(5, 2fr);
    align-items: center;
    place-items: center;
    width: 90%;
    height: 90%;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
}

.player {
    display: flex;
    flex-direction: column;
    place-items: center;
    justify-content: end;
    width: 150px;
    height: 170px;
    border: 3px solid black;
    padding: 20px;
    transition: 1s;
}

.player:hover {
    transform: scale(1.05);
    border: 1px solid white;
    border-radius: 50%;
}

button {
    width: 80%;
    height: 30px;
    cursor: pointer;
    outline: none;
    transition: 0.8s;
    font-family: 'Kdam Thmor Pro', sans-serif;
    background-color: white;
}

button:hover {
    background-color: #00004d;
    color: white;
    border-radius: 10px;
}

p {
    font-size: 15px;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

#img-player {
    width: 180px;
    height: auto;
    background-size: cover;
}

footer {
    height: 110px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #f77d21;
}

span {
    color: white;
    font-size: 15px;
    font-family: 'Kdam Thmor Pro', sans-serif;
    margin-top: -10px;
    margin-bottom: 10px;
}

a {
    color: black;
}

.footer-navigation {
    display: none;
}

@media(max-width: 768px) {
    .box-votation {
        width: 100%;
    }

    .box-bottom {
        width: 95%;
        height: 95%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .player {
        width: 50%;
        height: 50%;
        border: none;
        margin: 10px;
    }

    #img-player {
        width: 100%;
    }
}

@media(max-width: 480px) {
    .footer-navigation {
        display: block;
    }

    .nav-top {
        display: none;
    }

    .box-votation {
        width: 100%;
    }

    .box-bottom {
        width: 95%;
        height: 95%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .player {
        position: relative;
        width: 70%;
        height: 50%;
        border: none;
        transition: none;
    }

    #img-player {
        width: 50%;
    }
     
    footer {
        width: 100%;
        height: 100%;
    }
    .footer-navigation {
        width: 95%;
        display: flex;
        flex-direction: column;
    }

    .footer-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -10px;
        margin-bottom: 15px;
    }

    .span {
        width: 100%;    
        padding-top: 50px;
    }


}