:root {
    --card-bg: #c4c4c4;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* base */
* {
    box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}   

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

img {
    width: 100%;
    display: block;
}

.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; }


header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 2px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: rgba(234, 230, 230, 0.7);
}

header nav {
    display: flex;
    align-items: center;
    flex: 1;
}

ul li:nth-child(1) {
    animation-delay: 0.4s;
}

ul li:nth-child(2) {
    animation-delay: 0.6s;
}

/* Dropdown Menu Styling */
nav ul {
    display: flex;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 12px;
}

nav ul > li {
    list-style: none;
    display: inline-block;
    padding: 1rem 3rem;
    background-color: gray;
    border-radius: 20px;
   
    position: relative;
}

nav ul > li > a,
.dropbtn {
    color: white;
    text-decoration: none;
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.dropdown {
    padding: 0;
}

.dropdown .dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 3rem;
    width: 100%;
}

.dropdown .dropbtn::after {
    content: "▾";
    font-size: 0.9rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    background: gray;
    border-radius: 16px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 5;
    list-style: none;
    margin: 0;
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    opacity: 1;
    transform: none;
    animation: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: rgba(255, 255, 255, 0.15);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: flex;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.group_section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.group_photo img {
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.group_info {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
}

.group_info h1 {
    margin-top: 0;
    text-align: center;
}

.group_info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group_info li {
    text-align: center;
    margin: 6px 0;
}

.albums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.album {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.album img {
    height: 260px;
    object-fit: cover;
}

.album h2 {
    margin: 0;
    padding: 20px;
    text-align: center;
}

footer {
  background-color: black;
  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;
}

.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 rgba(255, 255, 255, 0.2);
  width: 100%;
}

.footer-cop_text {
  color: rgb(180, 180, 180);
  font-size: 0.9rem;
}

.footer-names {
  color: white;
  margin: 0.5rem 0;
}

.footer-title {
  color: white;
  margin-bottom: 1rem;
}

.footer-land {
  color: white;
  margin: 0.3rem 0;
}

.footer-di_text {
  color: white;
}

.footer-website ul,
.footer-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer_copy {
    text-align: center;
    padding: 16px;
    font-size: 0.9rem;
    color: #bbb;
    border-top: 1px solid rgba(255, 255, 255, 0.2);

}

@media (max-width: 768px) {

    .group_section,
    .albums,
    .footer_inner {
        grid-template-columns: 1fr;
    }

    .group_photo img,
    .album img {
        height: 220px;
    }

    .footer_collab {
        align-items: center;
        text-align: center;
    }
}