*{
    box-sizing: border-box;
}

body {
    background-image: url(./images/darksnacks-web.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    color: white;
    margin-left: 9%;
    margin-right: 9%;
    margin-top: 30px;
    margin-bottom: 140px;
}

header h3 {
    margin-left: 28px;
}

.pages {
    display: flex;
}

h2 {
    font-size: 40px;
    margin: 0;
    padding: 0;
}

.ds-title {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
}

.logo img {
    margin-top: 0px;
}

.title {
    display: block;   /* Allows centering */
    width: 62%;       /* Adjust as needed */
    margin: 0 auto;   /* Centers the span */
    text-align: left;  /* Aligns text inside to the left */
    font-weight: bold;
}

.text {
    text-align: left;
    font-size: 70px;
    margin-bottom: 160px;
}

.sub-header {
    font-size: 38px;
    width: 80%;
    text-align: center;
    margin-bottom: 70px;
}

.all-cards {
    display: flex;
    justify-content: space-between;
    max-width: 80%;
    margin: 0 auto;
}

.card {
    width: 330px;
    height: 850px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.img-container {
    height: 400px;
    width: 330px;
    overflow: hidden;
    border-radius: 20px;
    position: relative; /* Allow positioning of child elements */
}

.images-nes {
    width: 100%;
    height: 120%;
    object-fit: cover; /* Ensures the image fully covers the space */
    object-position: 60% 00%; /* Centers the image */
    position: absolute; /* Ensures it’s positioned correctly within the container */
    top: 0;
    left: 0;
    /* border-radius: 20px; */
    overflow: hidden;
    background-color: red;
    margin-top: -12%;
}

.images-snes {
    width: 100%;
    height: 140%;
    object-fit: cover; /* Ensures the image fully covers the space */
    object-position: 50% 20%; /* Centers the image */
    position: absolute; /* Ensures it’s positioned correctly within the container */
    top: 0;
    left: 0;
    /* border-radius: 20px; */
    overflow: hidden;
    background-color: red;
    margin-top: -9%;
}
.images-switch {
    width: 100%;
    height: 140%;
    object-fit: cover; /* Ensures the image fully covers the space */
    object-position: 39% 20%; /* Centers the image */
    position: absolute; /* Ensures it’s positioned correctly within the container */
    top: 0;
    left: 0;
    /* border-radius: 20px; */
    overflow: hidden;
    background-color: red;
    margin-top: -12%;
}

.card-text {
    margin-top: 65px;
}

.game {
    font-weight: bold;
    font-size: 27px;
    margin-bottom: 25px;
}

.stats {
    /* background-color: #181930; */
    background: linear-gradient(to bottom, rgb(0, 0, 0), #292b53);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 400px;
}

.groups {
    text-align: center;
    max-width: 70%;
    margin: 0 auto;
}

h4 {
    color: #ec1c24;
    font-size: 18px;
    margin-bottom: 34px;
}

h2 {
    font-size: 60px;
    margin-bottom: 34px;
}

.pages {
    margin-top: 8px;
}

footer {
    background-color: white;
    color: black;
}

.foot-els {
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

ul  {
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

footer p {
    color: gray;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}

.social {
    display: flex;
}

.social li {
        margin-right: 16px;
}

li {
    margin-right: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}