:root {
    --soft-shadow: 0 6px 20px #312313af;
    --card-bg: #462f15a4;
}

html, body {
  font-family: Arial, Helvetica, sans-serif; 
  background-color: #F5DEB3;

}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;

}

.logo-container {
  width: 150px;
  height: 150px;
}

.logo-container img {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  margin-left: 1.5rem;
  object-fit: contain;

}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo-container img { animation-delay: 0.2s; }
ul li:nth-child(1) { animation-delay: 0.4s; }
ul li:nth-child(2) { animation-delay: 0.6s; }


.game_image {
    display: flex;
    flex-direction: column;
    width: 94vw;
    height: 60vh;
    margin: 2% 4% 2% 3%;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
}

.game_title{
      margin-bottom: 20px;
      font-size: 2rem;
      color: #312313de;
}

.game_genre{
      margin-bottom: 20px;
      font-size: 1.5rem;
      color: #312313de;

}

.game_info {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #312313de;

}

.info_section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 3% 10% 36px 3%;
    background-color: var(--card-bg);
    padding: 48px;
    border-radius: 30px;
    color: #312313de;
}

.details_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #312313de;
}

.group_Photoarea {
    display: flex;
    flex-direction: column;
    margin: 0 5% 20px 3%;
    border-radius: 30px;
}

.group_Photo {
    display: flex;
    flex-direction: row;
    border-radius: 30px;
    margin-top: 12%;
    height: 39vh;
}

.group_info {
    background-color: var(--card-bg);   
    border-radius: 30px;
    margin: 0 5% 0 3%;
    
}

.group_roles > h1{
    margin-right: 15%;
    margin-left: 20%;
}

.group_roles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 0;
    align-items: center;
    text-shadow:  0.5px 0.5px 0.5px rgba(0, 0, 0, 0.5);
}

.group_roles li {
    display: flex;
    list-style: disc;
    list-style-type: none;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.1rem;
    margin-bottom: 2%;
    align-items: center;    
    justify-content: center;
}

.group_roles h1 {
    margin: 3% 0 8px 0;
    text-align: center;
    width: 100%;
    font-size: 2rem;
    font-weight: 600;   
}

.download_button button {
    margin: 1% 10% 36px 3%;
    font-size: 18px;
    border: none;
    border-radius: 15px;
    background: #462f15a4;
    padding: 14px 26px;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download_button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.download_button button:focus {
    outline: 2px solid rgba(255, 248, 239, 0.75);
    outline-offset: 2px;
}

.download_button a {
    color: #312313de;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: Arial, sans-serif;
}


.hidden {
    display: none !important;
}

footer {
  background-color: #312313de;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
}

.footer-every {
  display: flex;
  gap: 50%;
  justify-content: center;
  flex-grow: 1;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-team {
  display: flex;
  gap: 3rem;
}

.footer-collab {
  display: flex;
  gap: 20%;
}

.footer-swed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 43%;
}

.footer-ned {
  display: flex;
  align-items: center;
  min-width: 100% ;
}

.footer-dif {
  display: flex;
  align-items: center;
}

.footer-cop {
  text-align: center;
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #312313de;
  width: 100%;
}

.footer-cop_text {
  color: #f5deb3f2;
  font-size: 0.9rem;
}

.footer-names {
  color: #f5deb3f2;
  margin: 0.5rem 0;
}

.footer-title {
  color: #f5deb3f2;
  margin-bottom: 1rem;
}

.footer-land {
  color: #f5deb3f2;
  margin: 0.3rem 0;
}

.footer-di_text {
  color: #f5deb3f2;
}

.footer-website ul,
.footer-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
    .game_image {
        width: 90vw;
        height: 50vh;
        margin: 2% 5%;
    }
    
    .info_section {
        margin: 3% 5% 36px 5%;
        padding: 36px;
    }
    
    .group_Photoarea {
        margin: 0 3% 20px 3%;
    }
    
    .group_info {
        margin: 0 3%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 16px 24px;
    }
    
    .game_image {
        width: 85vw;
        height: 45vh;
        margin: 3% auto;
    }
    
    .game_title {
        font-size: 1.6rem;
    }
    
    .game_genre {
        font-size: 1.2rem;
    }
    
    .game_info {
        font-size: 1rem;
    }
    
    .details_row {
        flex-direction: column;
        align-items: center;
    }
    
    .info_section {
        margin: 2% auto;
        padding: 24px;
        width: 90vw;
        max-width: 100%;
    }
    
    .group_Photoarea {
        margin: 2% auto;
        width: 90vw;
    }
    
    .group_Photo {
        height: auto;
        min-height: 250px;
    }
    
    .group_info {
        margin: 2% auto;
        width: 90vw;
        padding: 24px;
    }
    
    .group_roles h1 {
        font-size: 1.5rem;
        margin: 2% 0 8px 0;
    }
    
    .group_roles li {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        font-size: 1rem;
    }
    
    button {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .footer-every {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-team,
    .footer-collab {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-swed {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 16px;
    }
    
    .game_image {
        width: 95vw;
        height: 35vh;
        margin: 4% auto;
        border-radius: 20px;
    }
    
    .game_title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .game_genre {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .game_info {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .info_section {
        margin: 2% auto;
        padding: 16px;
        width: 95vw;
        border-radius: 20px;
    }
    
    .group_Photoarea {
        margin: 2% auto;
        width: 95vw;
        border-radius: 20px;
    }
    
    .group_Photo {
        border-radius: 20px;
        min-height: 180px;
    }
    
    .group_info {
        margin: 2% auto;
        width: 95vw;
        padding: 16px;
        border-radius: 20px;
    }
    
    .group_roles h1 {
        font-size: 1.2rem;
        margin: 1% 0 6px 0;
    }
    
    .group_roles li {
        font-size: 0.95rem;
        margin-bottom: 1%;
    }
    
    .download_button {
        flex-direction: column;
        width: 95vw;
        margin: 2% auto 24px;
    }
    
    .download_button button {
        font-size: 14px;
        padding: 8px 12px;
        width: 100%;
    }
}