body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden; 
}

.year-grid::-webkit-scrollbar {
    width: 8px;
  }
  
.year-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  .year-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
  
  .year-grid::-webkit-scrollbar-thumb:hover {
    background: #ccc;
  }

  .year-wrapper {
    overflow-x: auto; 
    width: 100%; 
    margin-top: 200px;
    margin-bottom: 200px;
}

.year-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    min-width: 1300px; 
}

.seasons, .months {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    text-align: center;
    height: 90px;
}

.season {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #000;
}

.month {
    border: 1px solid #ccc;
    font-size: 1em;
    background-color: white;
    position: relative; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    padding-top: 5px;
  }
  
  .month::after {
    content: ""; 
    display: block;
    width: 100%;
    height: 1px;
  }

.vinter:first-of-type { background-color: #adcbfd; grid-column: span 2;  }
.var { background-color: #b6f79b; grid-column: span 3; }
.sommer { background-color: #ffeca1; grid-column: span 3; }
.host { background-color: #ffbf74; grid-column: span 3; }
.vinter:last-of-type { background-color: #adcbfd}



.collapsible-section {
    width: 100%;
    max-width: 800px; 
    margin-top: 60px;
    margin-bottom: 100px;
  }

  .section-heading {
    font-weight: 400;
    font-size: 1rem;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    text-align: right;
  }

.birthday-input {
    margin-top: 20px;
    text-align: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box; 
    display: none;
  }
  
  .birthday-input textarea {
    width: 100%;
    height: 280px; 
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    resize: none;
    box-sizing: border-box; 
    margin-bottom: 20px;
  }
  
  .birthday-input textarea:focus {
    outline: none;
  }

  .birthday-emoji-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px; 
  }
  
  .birthday-emoji {
    display: inline-block; 
  }

  #submit-birthdays, #delete-birthdays {
    padding: 12px;
    font-size: 1.1rem;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease, color 0.3s ease;
  }

  #submit-birthdays {
    border: none;
    background-color: #ADCBFD;
  }

  #delete-birthdays {
    margin-left: 50px;
    background-color: #fff;
    border: 1px solid #ccc;
  }
  
  #submit-birthdays:hover {
    background-color: #84A9E8;
  }

  #delete-birthdays:hover {
    background-color: #FF5757;
  }
  
 

.days-container {
    display: grid;
    grid-template-columns: repeat(7, 100px);
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    transform-origin: top center;
}

.day {
    background-color: #fff;
    border-radius: 10px;
    width: 100px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.day.empty {
    visibility: hidden;
}

.day-name {
    background-color: red;
    color: white;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

.day-text {
    background-color: #eee;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    font-size: 1.5em;
}

.day.highlighted {
    border: 2px solid red;
}

@media (max-width: 1024px) {
    .days-container {
        transform: scale(0.85);
        margin-bottom: calc(80px / 0.85); 
    }

    .year-wrapper {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .days-container {
        transform: scale(0.65);
        margin-bottom: calc(80px / 0.65); 
    }

    .year-wrapper {
        margin-top: -150px;
        margin-bottom: 50px;
    }
}

@media (max-width: 555px) {
    .days-container {
        transform: scale(0.55);
        margin-bottom: calc(80px / 0.55);
    }

    .year-wrapper {
        margin-top: -300px;
        
    }
}

@media (max-width: 475px) {
    .days-container {
        transform: scale(0.45);
        margin-bottom: calc(80px / 0.45);
    }
}
