/* Grunnleggende stil */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #caad84;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-size-adjust: 100%;
    position: relative;
    background-color: #FFF7F1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 115px;
}

.translate {
    display: flex;
    top: 0;
    /* margin-right: 500px; */
    position: absolute;
    right: 0;
}

.logo {
    max-width: 115px;
    height: auto;
    margin-right: 5px;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 15px 0;
}

/* Navigasjonsmeny */
.nav {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-evenly;
    flex-grow: 1;
}

.nav li {
    list-style: none;
}

.nav a {
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    font-weight: 550;
    color: black;
    text-decoration: none;
    padding: 0 10px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: white;
    background-color: #333;
    border-radius: 5px;
    padding: 5px;
}

/* Main innhold */
main {
    flex: 1;
    padding: 20px;
}

/* Kontroller */
#controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

button,
#cancel-button {
    padding: 10px 20px;
    background-color: #d5ba99;
    border: none;
    border-radius: 5px;
    color: white;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
}

button:hover,
#cancel-button:hover {
    background-color: #caad84;
}

/* Kalender */
#calendar {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 dager per uke */
    gap: 15px;
    padding: 20px;
}

.day-column {
    border: 1px solid #d5ba99;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}

.day-column > div:first-child {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.time-slot {
    width: 100%;
    padding: 10px;
    text-align: center;
    border: 1px solid #d5ba99;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background-color: #d5ba99;
    color: white;
}

.time-slot.booked {
    background-color: #e74c3c;
    color: white;
    cursor: not-allowed;
}

/* Bookingmodal */
#booking-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    width: 300px;
}

#booking-modal input {
    width: calc(100% - 10px);
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #FFF7F1;
    padding: 10px;
    margin-top: 20px;
    position: fixed;
    height: 25px;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1rem;
    font-weight: 550;
    color: black;
}

.footer p {
    margin: 0;
    display: flex;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
    margin-left: 5px;
}
