:root {
    --main-color: #28292c;
    --text-color: #fbedf7;
    --accent-color: #287390;
    --semi-accent-color: #173c4b;
    --shadow: 0 2px 4px rgba(0,0,0,0.15),
        0 4px 6px rgba(0,0,0,0.15),
        0 6px 8px rgba(0,0,0,0.15),
        0 8px 16px rgba(0,0,0,0.15);
}


body {
    font-family: 'Zen Kurenaido', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--accent-color);
    color: var(--text-color);
    transition: all 0.4s ease-in;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.15),
        0 4px 6px rgba(0,0,0,0.15),
        0 6px 8px rgba(0,0,0,0.15),
        0 8px 16px rgba(0,0,0,0.15);
    
    height: 100px;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: end;
    margin-bottom: 100px;
}

.content-panel {
    justify-self: center;
    min-width: 65vw;
    
    min-height: 100px;
    background-color: var(--semi-accent-color);
    box-shadow: var(--shadow);
    gap: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px;
}

#task-list {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.content-title {
    margin: 10px;
}

html {
    background-color: var(--main-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

footer {
    background-color: var(--semi-accent-color);
    color: var(--main-color);
}

p {
    color: var(--text-color);
}


h1 {
    font-weight: 400;
}

h2 {
    font-weight: 400;
    margin-right: 4px !important;
}

h3 {
    font-weight: 400;
}

h4 {
    font-size: 64px;
    font-weight: 400;
    margin: 0px;
}

h5 {
    font-size: 36px;
    font-weight: 400;
    margin: 0px;
}

h6 {
    font-size: 40px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1;
    text-align: center;
    align-self:  center;
    margin: 0;
}



a {

    color: inherit !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    outline: none !important;

    align-self: center;
    
    font: inherit;
    cursor: pointer;
    
    &:link, &:visited, &:hover, &:active, &:focus {
        color: inherit !important;
        text-decoration: none !important;
        background: none !important;
        border: none !important;
        outline: none !important;
    }
}

label {
    display: flex;
    gap: 8px;
    justify-items: center ;
    transition: all 0.3s ease;
    margin: 0px 12px 0px 12px;
}

.task-checkbox {
    /* Скрываем стандартный checkbox */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Кастомные размеры */
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--accent-color);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}


/* Состояние checked */
.task-checkbox:checked{
    background: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Галочка при checked */
.task-checkbox:checked::before{
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-size: 14px;
    font-weight: bold;
    
}

label:has(.task-checkbox:checked) {
    border-radius: 6px;
    background-color: var(--main-color);

    text-decoration: line-through;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 4px;
    color: var(--accent-color);
}

#append-task {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    height: 30%;
    align-self: center;
    gap: 10px;
}

.input-text {
    /* Сброс стандартных стилей */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Базовые стили */
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--main-color);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    color: var(--text-color);
}


.glass-input {
    width: 100%;
    padding: 3px 4px;
    
    border-radius: 12px;
    background: var(--main-color);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    align-self: center;
}

.glass-input:focus {
    outline: none;
    background: rgba(255,255,255,0.2);
}

.glass-input::placeholder {
    color: var(--semi-accent-color);
}
