

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

body {
    background-image: url(back.avif);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    background-position: center;
    background-color:#0e759e;
    font-family: Arial, sans-serif;
}

.main-container {
    width: min(900px, 92%);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;

}

.header_time, .header_day  {
    font-size: clamp(12px, 2vw, 22px);
    color: #6d496a;
}

h1 {
    font-size: clamp(30px, 6vw, 60px);
    background: linear-gradient(to left, #0e759e, #c212b6);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    margin-bottom: 10px;
}

h2 {
    font-size: clamp(18px, 3vw, 30px);
    color: #0e759e;
    text-align: center;
    margin-bottom: 25px;
}

.inputField {
    flex: 1;
    min-width: 220px;
    max-width: 500px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.btn {
    padding: 14px 24px;
    background: #0e759e;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #0b5d7d;
}

.toDoContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
}   

.toDoAdded {
    background-color: rgba(255,255,255,0.95);
    border-left: 5px solid #c212b6;
    border-radius: 10px;
    list-style-type: none;
    padding: 14px;
    text-align: center;
    color: black;
    font-size: clamp(14px, 2vw, 18px);
    word-break: break-word;
    transition: 0.3s;
    width: min(600px, 100%);
    backdrop-filter: blur(5px);
}

.toDoAdded:hover {
    transform: scale(1.02);
}

.toDoCompleted {
    background-color: #9bcbdf;
    color: #c212b6;
    font-weight: bold;
    text-decoration: line-through;
    transition: all 2s ease;
}

@media (max-width: 768px) {

    .container {
        flex-direction: column;
        align-items: center;
    }

    .inputField {
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {

    .main-container {
        padding: 15px;
    }

    .toDoAdded {
        padding: 12px;
    }

    h1 {
        line-height: 1.2;
    }
}