@font-face {
    font-family: 'MinecraftFat';
    src: url('Fonts/minecraft-fat.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MinecraftRegular';
    src: url('Fonts/minecraft-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: #ffffff;
    background: linear-gradient(180deg,rgb(253, 211, 211) 0%, rgba(163, 60, 60, 1) 50%);
    height: 100%;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo-big-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.players-container {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-bottom: 20px;
    background: rgba(163, 60, 60, .6);
    border: rgb(163, 60, 60);
    /* border-radius: 10px; */
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    justify-content: center;
}

.player {
    height: 300px;
    width: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    align-items: center;
    padding-top: 10px;
}

.player.playerliving {
    background: rgba(0, 107, 0, 0.904);
}

.player.playerdead {
    background: rgba(170, 0, 0, 0.904);
}

.player .name {
    margin-top: 10px;
    font-size: larger;
    font-family: "MinecraftFat", sans-serif;
    font-weight: bold;
}

.player .isliving {
    font-size: large;
    margin-top: 10px;
    font-family: "MinecraftRegular", sans-serif;
}

.player img {
    height: 180px;
    width: 180px;
    border-radius: 5px;
}

#playerPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: rgba(209, 120, 47, 0.99);
    display: none;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 20px;
}

#playerPopup .part1 {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
}

#playerPopup .part1 span {
    font-size: larger;
    font-family: "MinecraftFat", sans-serif;
}

#playerPopup .part1 img {
    border-radius: 10px;
}

#playerPopup .part2 {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    justify-content: space-around;
    align-items: center;
}

#playerPopup .part2 li {
    font-size: larger;
    font-family: "MinecraftRegular", sans-serif;
}

.closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-family: "MinecraftRegular", sans-serif;
    font-size: larger;
    height: 30px;
    width: 30px;
}

.filters {
    background: rgba(163, 60, 60, .6);
    width: calc(100% - 40px);
    margin-left: 20px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
}

.filters span {
    display: flex;
    width: 100%;
    gap: 20px;
}

.filters h2 {
    font-family: "MinecraftFat", sans-serif;
    margin: auto;
}

.filters fieldset {
    border: 2px solid black;
    border-radius: 10px;
    padding: 0 10px 10px 10px;
    width: calc(50% - 10px);
}

.filters fieldset legend {
    font-family: "MinecraftRegular", sans-serif;
    font-size: larger;
}

.filters fieldset input {
    width: 100%;
    background: none;
    outline: none;
    border: none;
    font-family: "MinecraftRegular", sans-serif;
}

.filters fieldset select {
    width: 100%;
    background: none;
    outline: none;
    border: none;
    font-family: "MinecraftRegular", sans-serif;
}

@media (max-width: 768px) {
    #playerPopup {
        width: 100%;
        height: 100%;
        flex-direction: column;
        overflow-y: auto;
    }

    #playerPopup .part1 {
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }

    #playerPopup .part2 {
        width: 100%;
    }

    .filters span {
        flex-direction: column;
        gap: 10px
    }

    .filters fieldset {
        width: calc(100% - 40px);
    }

    .logo-big {
        width: calc(100% - 80px);
        height: auto;
    }

    .player {
        aspect-ratio: 2 / 3;
        height: auto;
        width: calc(50% - 20px - 5px);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        align-items: center;
        padding-top: 10px;
    }

    .player img {
        width: calc(100% - 20px);
        height: auto;
    }
}