body {
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Zilla Slab', serif;

}

.app-container {
    margin: 5% auto;
    position: relative;
    display: flex;
    flex-direction: row;

}

header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;

}

.add-task {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}




.RNG-container {
    margin-bottom: 2rem;
    border-radius: 2rem;
    padding: 2rem;
    z-index: 100;

}


.time-display {
    position: relative;
    transform: translate(-50%, -50%);
    text-align: center;
    left:50%;
    margin-bottom: 2rem;
    border-radius: 2rem;
    padding: 2rem;
    z-index: 100;
    flex-grow: 2;
    top: 30%;
    max-width: 70%;
  }
  
.timer-container{
    width: 70%;
}

.timer-svg {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    margin-top: 0%;
}

.timer-progress-ring {
    stroke-dasharray: 565.48; /* Initial value, will be set by JS (2πr) */
    stroke-dashoffset: 565.48; /* Initial value, will be set by JS */
    transition: stroke-dashoffset 0.1s linear;
    
  }
  
.progress-ring-circle-bg {
    fill: none;
    stroke: oklch(var(--pc));
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: oklch(var(--p));
    stroke-width: 8;
    stroke-linecap: round;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 0.35s;
}

.time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
}

.timer-mode {
    font-size: 1.2rem;
    margin-top: 2%;
    margin-bottom: 2%;
}

.timer-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}


.task-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1.2;
    
}

.task-item {
    background: oklch(var(--pc));
    border-radius: 2rem;    
    padding: 1rem;
    box-shadow: 0 2px 4px oklch(var(--pc));
    transition: all 0.3s;
    position: relative;
    text-align: center;
    max-width: 100%;
    align-self: center;
    min-width: 50%;

}

.task-item.selected {
    border: 2px solid oklch(var(--p));
}

.task-item.completed {
    opacity: 0.7;
}

.task-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.task-title button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-control {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
}

.task-select {
    width: 100%;
    border: 1px solid oklch(var(--pc));
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 10px;
}


.icon {
    margin-right: 1rem;
}

.btn
{
    align-content: space-evenly;

}

.settings-container {
    display: flex;
    font-size: 120%;
    padding: 2rem;
    flex-direction: column;
    columns: 1;
    max-width: 21%;
}