* {
    font-family: Poppins;
}

html {
    height: 100%;
}

body {
    /* background-color: aliceblue; */
    background: linear-gradient(120deg, #9bcdf8, #f0f8ff) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
}

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15em;
    margin-top: 5em;
    margin-left: auto;
    margin-right: auto;
    padding: 2em;
}

button {
    all: unset;
}

button:hover {
    cursor: pointer;
    scale: 1.05;
    transition: 0.2s ease;
}


#navbar button {
    padding: 1.25em;
    background-color: #165e82a9;
    transition: 0.3s ease;
    translate: -1.25em;
    border-radius: 0 0.4em 0.4em 0;
    transform: translateX(-0.4em);
    width: 0.7em;
}

#navbar {
    display: flex;
    font-weight: 600;
    writing-mode: vertical-lr;
    gap: 2.5em;
    margin-top: 5em;
}

#optionsOpens:hover,
#accountOpen:hover {
    translate: 0px;
}

/* options popup */
.main {
    opacity: 1;
    z-index: -1;
    transition: 0.3s ease;
    filter: blur(8px);
}

.overlay.active {
    z-index: 998;

}

.optionsPopup {
    opacity: 0;
    z-index: -1;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4em;
    background-color: #165e82a9;
    border-radius: 0.4em;
}

.optionsPopup.open {
    opacity: 1;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popupOptionsNav{
    display: flex;
    gap: 100px;
}

#pomodoroInput{
    display: flex;
    flex-direction: column;
}
#optionDuration,#optionSBreak,#optionLBreak,#optionIntervals{
    display: flex;
    justify-content: space-between;
    gap: 2em;
    border: none;
}
#optionDuration label span,
#optionSBreak label span,
#optionLBreak label span,
#optionIntervals label {
    font-weight: 700;
    font-size: large;
}

#alarmInput input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    width: 100%;
}

#alarmInput input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: #ffffff;
    border: 2px solid #000;
    border-radius: 10px;
}
#alarmInput input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none; 
    background: #000;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
}

#alarmSound{
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    border: none;
}
#alarmSound button{
    padding: 10px;
    /* border: 2px solid #000; */
}
#alarmSound button:focus{
    border: 2px solid #1f83b5a9;
    background: hwb(200 1% 36%);
    transition: 0.3s ease;
}
#colorChoice{
    display: flex;
    justify-content: space-evenly;
    margin: 30px;
    border: 0;
}
#colorChoice button:target{
    scale: 1.2;
    border: 2px solid #000;
}
#colorGreen,#colorRed,#colorBlue,#colorOrange{
    padding: 20px;
    background-color: #fff;
}
.actief{
    border: 2px solid #000;
}
#alarmSound .actief{
    background:hwb(200 1% 36%);
}

#applySettings{
    display: flex;
    padding: 1em;
    border-radius: 0.5em;
    justify-self: center;
    margin-bottom: 2em;

}
#applySettings:focus{
    background:hwb(200 1% 36%);
}
/* Pomodoro Timer */
#pomodoro-timer {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2em;
    border-radius: 0.5em;
    background-color: #9bcdf8;
}

#pomodoro-tag {
    display: flex;
    flex-direction: row;
}

#pomodoro-text {
    margin-left: 2em;
    font-size: 2em;
}

#timer {
    font-size: 3em;
    font-weight: 900;
}

#pomodoro-nav {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 1em;
}

/* takenlijst */

#takenlijst {
    display: flex;
    flex-direction: column;
    padding: 3em;
    gap: 2em;
    border-radius: 0.75em;
    width: 38em;
    background-color: #9bcdf8;
}

#takenlijst-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
}

#takenlijst-tag {
    font-size: 2em;
    font-weight: 900;
}

#takenlijst-section-nav{
    display: flex;
    gap: 10em;
}

#takenlijst-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;

}

#takenlijst-nav button {
    background-color: #165e82a9;
    border-radius: 0.2em;
    padding: 0.5em;
}

#main-takenlijst {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    overflow-y: auto;
    max-width: 40em;
    max-height: 20em;
    justify-content: center;
}

.takenlijst-item {
    display: flex;
    background-color: lch(75.96% 31.57 259.86);
    flex-direction: column;
    align-items: center;
    padding: 1em;
    border-radius: 1em;
}
.takenlijst-item.voltooid{
    display: flex;
    background-color: oklab(87.887% -0.13774 0.08983);
    flex-direction: column;
    align-items: center;
    padding: 1em;
    border-radius: 1em;
}

.takenlijst-item-nav {
    display: flex;
    gap: 3em;
}

#takenlijst-footer {
    display: flex;
    justify-content: center;
}

.taak-input-box{
    display: flex;
    gap: 2em;
}

.taak-input-box nav{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.opslaan-taak{
    background-color: green;
    padding: 5px;
}
.annuleer-taak{
    background-color: red;
    padding: 5px;
}
@media(max-width:1110px) {
    html {
        height: 100%;
    }

    body {
        /* background-color: aliceblue; */
        background: linear-gradient(120deg, #9bcdf8, #f0f8ff) no-repeat;
        background-size: cover;
        background-attachment: fixed;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 100vh;
    }

    main {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5em;
        margin-top: 2em;
        margin-left: auto;
        margin-right: auto;
        padding: 1em;
    }

    button {
        all: unset;
        display: flex;
    }

    button:hover {
        cursor: pointer;
        scale: 1.1;
        transition: 0.2s ease;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        font-weight: 600;
        writing-mode: horizontal-tb;
        align-items: center;
        gap: 3;
        margin: 0;
        width: 100%;
        padding: 1.2em;
        background-color: #1483b7a9;
    }

    #navbar button {
        padding: 0;
        background-color: #165e82a9;
        transition: 0;
        border-radius: 0;
        transform: 0;
        width: 0;
    }

    #pomodoro-timer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2em;
        border-radius: 0.5em;
        background-color: #9bcdf8;
    }

    #pomodoro-tag {
        display: flex;
        flex-direction: row;
    }

    #pomodoro-text {
        margin-left: 2em;
        font-size: 2em;
    }

    #timer {
        font-size: 3em;
        font-weight: 900;
    }

    #pomodoro-nav {
        display: flex;
        gap: 0.75em;
        margin-bottom: 1em;
    }

    #takenlijst {
        display: flex;
        flex-direction: column;
        padding: 3em;
        gap: 2em;
        border-radius: 0.75em;
        background-color: #9bcdf8;
    }

    #takenlijst-header {
        display: flex;
        align-items: center;
        text-align: center;
        gap: 1em;
    }

    #takenlijst-tag {
        font-size: 2em;
        font-weight: 900;
    }

    #takenlijst-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1em;
    }

    #takenlijst-nav button {
        background-color: #165e82a9;
        border-radius: 0.2em;
        padding: 0.25em;
    }

    #main-takenlijst {
        display: flex;
        flex-wrap: wrap;
        gap: 3em;
        overflow-y: auto;
        max-width: 40em;
        max-height: 20em;
    }

    .takenlijst-item {
        display: flex;
        background-color: lch(75.96% 31.57 259.86);
        flex-direction: column;
        align-items: center;
        padding: 1em;
        border-radius: 1em;
    }

    .takenlijst-item-nav {
        display: flex;
        gap: 3em;
    }

    #takenlijst-footer {
        display: flex;
        justify-content: center;
    }
}