body{
    background-color: rgb(29, 26, 26);
    color: aliceblue;
    background-image: url('/public/images/soccer-pitch.png');
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
}

h1{
    text-align: center;
    color: #5e97ff;
}

.blueLock{
    border-radius: 5%;
    width: 44%;
    margin: 20px 29%;
}

#card{
    border: 10px solid rgba(63,36, 228, 1);
    box-shadow: rgb(0, 0, 0) -10px 0px 13px -7px
    , rgb(0, 0, 0) 10px 0px 13px -7px, rgba(62, 36, 228, 0) 5px 5px 15px 5px;
    border-radius: 15px;
    margin: 25px auto;
    background-image: url(/public/images/2.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    display: flex;
    flex-direction: column;
    width: 20rem;
    height: 28rem;
}

h3{
    color: navy;
}

.hidden{
    display: none;
}

#playerPhoto{
    align-self: center;
    max-width: 30rem;
    width: 8rem;
    height: auto;
    border: 3px solid rgba(63,36, 228, 1);
    border-radius: 0.8rem;
    margin: 1.5em;
    background-image: url(/public/images/bright-hex-backgrounds-networking_23-2149755776.avif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.playerInfo{
    border: 5px solid rgba(63,36, 228, 1);
    border-radius: 20px;
    padding: 0 0 0 10px;
    font-size: .8rem;
    width: 21em;
    height: 16em;
    background: rgba(255, 255, 255, .35);
}

#card div{
    margin:-15px 0 0 14px;
}

.players, .players2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 650px;
    margin: auto;
    overflow: hidden;
}

#bachira{
    padding-right: 12px;
}

.players div, .players2 div{
    border: 8px solid transparent;
    width: 14%;
    height: 90px;
    text-align: center;
    text-decoration: none;
    color: aliceblue;
    margin-top: 10px;
}

.players div:hover, .players2 div:hover, button:hover{
    cursor: pointer; 
    border: 4px solid rgba(63,36, 228, 1);
    border-radius: 50px;
}

.players img, .players2 img{
    height: 160px;
    margin: 0 -20%;
    object-fit: fill;
}

button{
    margin: 2% 47%;
    border-radius: 0%;
    border: 3px solid #5e97ff;
    height: auto;
    width: 75px;
    background-color: rgba(63,36, 228, 1);
    color: #5e97ff;
}

@media screen and (max-width: 660px) {
    body{
        background-color: rgb(29, 26, 26);
        color: aliceblue;
        background-image: url('/public/images/rotated-soccer-pitch.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    h1{
        margin-top: 16px;
    }
    .container{
        margin: auto;
    }

    .blueLock{
        border-radius: 5%;
        width: 77%;
        margin: 0 12%;
    }

    .players, .players2{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        margin: auto;
        overflow: hidden;
    }
    
    .players div, .players2 div{
        border: 5px solid transparent;
        width: 25%;
        height: 90px;
        margin-top: 10px;
    } 
    
    .players img, .players2 img{
        height: 150px;
    }

    #row1, #row2, #row3, #row4{
        height: 92px;
        object-fit: contain;
        overflow: hidden;
    }

    button{
        margin: 4% 42%;
        border-radius: 10%;
        height: auto;
        width: 75px;
        background-color: rgba(63,36, 228, 1);
        color: aliceblue;
    }
}