/* Base styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.section {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    padding: 1rem;
    margin: 0;
    color: #0066cc;
    border-bottom: 1px solid #eee;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    padding: 1rem;
    line-height: 1.75rem;
    color: #0066cc;
    text-align: justify;
}

/* Staff Grid Styling */
.staff-grid {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.staff-member {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.staff-image {
    width: 60px;
    height: 60px;
    background: #0066cc;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-details {
    flex: 1;
}

.staff-name {
    font-weight: bold;
    color: black;
}

.staff-position {
    color: black;
    font-size: 0.9rem;
}

/* Standings Styling */
.standings-list {
    padding: 1rem;
}

.team-standing {
    padding: 0.5rem;
    color: #0066cc;
}

/* 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;
}

/* Mobile Layout */
@media (max-width: 600px) {
    .container {
        padding: 0.5rem;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-member {
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
    }

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

/* Tablet Layout */
@media (min-width: 601px) and (max-width: 991px) {
    .container {
        padding: 1rem;
    }

    .staff-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        margin-bottom: 1.5rem;
    }
}

/* Desktop Layout */
@media (min-width: 992px) {
    .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .section {
        margin-bottom: 0;
    }

    .kalender {
        grid-column: 1;
    }

    .team-info {
        grid-column: 2;
    }

    .team-staff {
        grid-column: 3;
    }

    .standings {
        grid-column: 1;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }
}