.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem;
}

.hero-image {
    width: 100%;
    height: 15rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image img, .action-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-image {
    width: 100%;
    height: 30rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Match Card */
.match-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
}

.match-venue {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.match-date {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.match-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.team-logo {
    width: 64px;
    height: 64px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.team-logo.brabrand {
    background-image: url(../images/navbar.footer/logo.webp)
}

.team-logo.aalborg {
    background-image: url(../images/forside/aalborgfrejalogo.webp);
}

.team-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.score {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
    font-weight: bold;
    align-items: center;
}

.match-status {
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

/* Section Cards */
.section-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.section-card h2 {
    font-size: 5.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.placeholder-content {
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Shop sektion styling */
.shop-section {
    padding: 0;  /* Fjerner oprindelig padding så billedet går til kanten */
    overflow: hidden;
}

.shop-image-container {
    position: relative;
    width: 100%;
    height: 30rem;
}

.shop-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 25rem;
    font-weight: bold;
    text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hover effekt */
.shop-image-container:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.shop-image-container img {
    transition: transform 0.3s ease;
}

/* kalender */
.kalender {
    max-width: 465px;
    margin: 20px auto;
}

.november {
    background-color: #3477BA;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 35px;
}

.ugedage {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    background-color: rgb(184, 212, 255);
    padding: 10px;
    gap: 10px;
    text-align: center;
    font-size: 15px;
}

.dage {
grid-template-columns: repeat(7,1fr);
display: grid;
background-color: rgb(231, 244, 255);
padding: 10px;
gap: 10px;
font-size: 15px;

}

.dag {
    text-align: center;
    border: 1px solid #0c539b;;
    padding: 15px;
    cursor: pointer;
    background-color: white;
    text-decoration: none;
    color: black;
}

#dag5, #dag7, #dag12, #dag14, #dag19, #dag21, #dag26, #dag28 {
    background-color: #a6e48b;
}


#dag2, #dag9, #dag16 {
    background-color: #e48285;
}

.dag:hover {
    background-color: #9dc2fd;
}

#dag2:hover, #dag5:hover, #dag7:hover, #dag9:hover, #dag12:hover, #dag14:hover, #dag16:hover, #dag19:hover, #dag21:hover, #dag26:hover, #dag28:hover {
    background-color: #9dc2fd;
}

#none1, #none2, #none3, #none4, #none5 {
    pointer-events: none;
}


.popup {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  position: fixed;
}

.popup-indhold {
    background-color: white;
    padding: 25px;
    border-radius: 25px;
    text-align: center;
}

.luk {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 50px;
    color: white;
    text-decoration: none;
}
.popup:target {
    display: flex;
}


/* Responsive mobil */
@media (max-width: 600px) {
    .match-score {
        gap: 1rem;
    }
    
    .team-logo {
        width: 48px;
        height: 48px;
    }
    
    .score {
        font-size: 1.5rem;
    }

   /* kalender */
   .ugedage, .dage {
    font-size: 0.5rem;
   }
   }

  


/* Responsive desktop*/
@media (min-width: 992px) {
    .container {
        max-width: 1400px;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 1.5rem;
    }

    .hero-image {
        grid-column: 1 / -1;
    }

    .action-image {
        grid-column: 1;
        grid-row: 2 / span 3;
        height: 100%;
        margin: 0;
    }

    .match-card {
        grid-column: 2;
        margin: 0;
    }

    .section-card:nth-of-type(1) {
        grid-column: 2;
        margin: 0;
    }

    .shop-section {
        grid-column: 2;
        margin: 0;
    }

   
}