@font-face {
  font-family: "PressStart2P";
  src: url("../font/PressStart2P-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
    background: linear-gradient(-90deg, #070707, #202020);
}

.section_title {
    display: grid;
    padding-top: 50px;
    margin-bottom: 40px;
}

.section_title_text {
    justify-self: center;
    color: rgb(183, 222, 255);
    font-family: "PressStart2P", sans-serif;
    font-size: 175%;

}

@media(min-width: 800px) {

    .box {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 100px;
    }

    .item {
        background-position: center;
        background-size: cover;
        background-color: #111;
        border: solid 1px rgb(97, 97, 97);
        border-radius: 10px;
        width: 30%;
        display: inline-block;
        position: relative;
        aspect-ratio: 16/8;
    }

    .head {
        margin-left: 20px;
        font-size: 2.5vw;
        color: #ddd;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        text-shadow: 0px 2px 10px black;
        letter-spacing: 1px;
    }

    .text {
        margin-left: 10px;
        margin-top: -15px;
        color: #bbb;
        font-size: 0.8vw;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }

    .id {
        color: #999;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #202020;
        opacity: 0.9;
        border-radius: 10px;
        padding: 5px;
        font-size: 0.85vw;
        margin: 8px;
        justify-self: end;
        align-self: flex-end;
    }

    .skin-box {
        width: 65%;
        align-self: flex-end;
        position: absolute;
        height: 12%;
        display: flex;
        gap: 10px;
        padding: 5px;
        opacity: 0.8;
        align-items: center;
        overflow: hidden;
    }

}

@media(max-width: 799px) {
   .box {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        gap: 15px;
        margin-bottom: 40px;
    } 

    .item {
        background-position: center;
        background-size: cover;
        background-color: #111;
        border: solid 1px rgb(97, 97, 97);
        border-radius: 10px;
        width: 90%;
        display: inline-block;
        position: relative;
        aspect-ratio: 16/8;
    }

    .head {
        margin-left: 20px;
        font-size: 5.5vw;
        color: #ddd;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        text-shadow: 0px 2px 10px black;
        letter-spacing: 1px;
    }

    .text {
        margin-left: 10px;
        color: #bbb;
        font-size: 2.4vw;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }

    .id {
        color: #999;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #202020;
        opacity: 0.9;
        border-radius: 10px;
        padding: 5px;
        font-size: 1.5vw;
        margin: 8px;
        justify-self: end;
        align-self: flex-end;
    }

    .skin-box {
        width: 75%;
        align-self: flex-end;
        position: absolute;
        height: 12%;
        display: flex;
        gap: 10px;
        padding: 5px;
        /* opacity: 0.8;*/
        align-items: center;
        overflow: hidden;
    }
}



.img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.4;
}

.overlay {
    position: absolute;
    z-index: 3;
    display: grid;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
}

.text-box {
    margin-top: -20px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.p-head  {
    height: 100%;
    box-shadow: 0px 0px 9px 4px #333;
    aspect-ratio: 1/1;
    width: auto;
}

.p-head-m {
    aspect-ratio: 1/1;
    height: 100%;
    box-shadow: 0px 0px 3px 1px rgb(255, 249, 214);
    width: auto;
}