@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --gradient-bg: linear-gradient(147deg, #A7A3F3,#521269);
    --gradient-btn: linear-gradient(147deg, #CC25DB , #6D1475);
    --paper-bg: #F3EBCD;
    --task-bg: #FFF9F9;
  }


*,
*::after,
*::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: "Roboto Condensed", sans-serif;
}

.container{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    padding: 10px;
    background: var(--gradient-bg);
    display: grid;
    place-items: center;
}

.box{
    width: 500px;
    height: 500px;
    background: var(--paper-bg);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.title-section{
    display: flex;
    align-items: center;
    padding: 20px 30px;
    gap: 30px;
}

.title-section img{
    height: 60px;
}

.title-section h1{
    font-size: 48px;
    font-weight: 800;
}

.input-section{
    background: white;
    margin: 0px 30px;
    height: 35px;
    display: flex;
    border-radius: 35px;
    padding-left: 30px;
}

.input-section input{
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
}

.input-section button{
    border: none;
    outline: none;
    width: 90px;
    border-radius: 35px;
    background: var(--gradient-btn);
    color: white;
    transition: 0.3s ease-out;
    cursor: pointer;
}

.input-section button:hover{
    opacity: 0.8;
    transition: 0.3s ease-out;
}

.static-box{
    padding-bottom: 20px;
    box-shadow: 0 4px 6px -6px rgba(128, 128, 128, 0.781);
}

.task-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 30px;
    align-items: center;
    max-height: 300px;
    overflow-y: auto;
}

.task-box{
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    border-radius: 15px;
    padding: 0px 15px;
    background: var(--task-bg);
    box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.308);
    cursor: pointer;
}

.task-container::-webkit-scrollbar {
    width: 10px; /* Width of the entire scrollbar */
}

.task-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background color of the scrollbar track */
    border-radius: 10px;
}

.task-container::-webkit-scrollbar-thumb {
    background: var(--gradient-btn); /* Color of the scrollbar thumb */
    border-radius: 10px;
}

.task{
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.task img{
    height: 15px;
}

.task p{
    font-size: 15px;
}

.activity{
    display: flex;
    gap: 20px;
}

.activity img{
    height: 18px;
    transition: 0.2s ease-in-out;
}

.activity img:hover{
    transform: scale(1.2);
    transition: 0.2s ease-in-out;
}

.checked{
    text-decoration: line-through;
}

@media (max-width: 530px) {
    .container{
        padding: 0px;
    }

    .box{
        width: 100%;
        height: 100vh;
        border-radius: 0px;
        overflow: hidden;
    }

    .title-section{
        padding: 20px 15px;
    }

    .title-section img{
        height: 40px;
    }

    .input-section{
        margin: 0px 15px;
    }
    
    .title-section h1{
        font-size: 36px;
    }
    
    .input-section button{
        width: 80px;
    }

    .task-container{
        padding: 20px 15px;
        max-height: 450px;
    }
}