:root {
    --bg-color: #f4f4f9; 
    --primary-color: #2e5a42; /* Dyp, beroligende skogsgrønn */
    --text-color: #333;
}

body {
    font-family: Arial, sans-serif; 
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px; 
    box-sizing: border-box;
    margin: 0;
}

h1 {
    font-size: 3rem;
    margin-bottom: 7px;
    color: var(--primary-color);
    text-align: center;
}

p.subtitle {
    margin-top: 0; 
    margin-bottom: 60px;
    color: #666;
    text-align: center;
}

/* Hovedknappen / Pustesirkelen */
#breathe-circle {
    width: 250px;
    height: 250px;
    flex-shrink: 0; 
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    transition: transform 1s linear, background-color 1s ease; 
    position: relative;
}

#instruction {
    font-weight: bold;
    margin-bottom: 10px;
}

#timer-text {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Økt-klokke inne i sirkelen */
#session-timer {
    position: absolute;
    bottom: 25px;
    font-size: 1rem; 
    font-weight: bold; 
    font-family: 'Courier New', Courier, monospace; 
    line-height: 1.1; 
    opacity: 0.6; 
    transition: opacity 0.5s ease;
}

#session-timer.active {
    opacity: 1;
}

/* Valg av teknikker */
.controls {
    display: flex;
    gap: 12px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 700px;
}

button.technique-btn {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    border-radius: 5px; 
    background-color: transparent;
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

button.technique-btn:hover {
    background-color: rgba(46, 90, 66, 0.1); /* Lys transparent variant av den mørke grønnfargen */
}

button.technique-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Informasjonsboks for pusteøvelser */
.description-box {
    max-width: 720px;
    width: 90%;
    margin-top: 50px;
    padding: 20px 25px;
    background-color: white;
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    text-align: center;
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.description-box strong {
    color: #f44336; 
}

/* Styling for kalender-lenken */
.calendar-link {
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px; 
    background-color: rgba(46, 90, 66, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.calendar-link:hover {
    background-color: var(--primary-color);
    color: white;
}
