@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&family=Roboto:wght@300&display=swap');
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('/src/img/background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
}

main {
    width: 60vh;
    margin-top: 4.5rem;
}

h2 {
    color: #ffffff;
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 63px;
}

#input-area {
    display: flex;
    justify-content: space-between;
    /* background-color: #ffffff; */
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.25);
    margin-top: 1rem;
    border-radius: 1.3rem;
    width: 100%;
    height: 5rem;
}
#task-input {
    padding-left: 2rem;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 3vh;
    line-height: 38px;
    border-top-left-radius: 1.3rem;
    border-bottom-left-radius: 1.3rem;
    border: none;
    width: 100%;
}
#task-input:focus {
    outline: none;
}
#add {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 3vh;
    line-height: 38px;
    border-end-end-radius: 1.3rem;
    border-top-right-radius: 1.3rem;
    border: 0;
    width: 7rem;
    color: #ffffff;
    background-color: #DC9898;
}

#add:hover {
    background-color: #A87474;
}

#add:active {
    background-color: #5C2424;
}

#task-group {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.25);
    border-radius: 1.3rem;
    width: 100%;
    height: auto;
    max-height: 700px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#task-group::-webkit-scrollbar {
    display: none;
  }

#task-card {
    margin-bottom: 2.2rem;
    padding: 0 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    height: 4.5rem;
}

#checked-svg {
    fill: #9FC088;
    background: transparent;
    width: 36px;
    height: 36px;
    border: 0;
}

#delete-svg {
    fill: #EB5353;
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
}

#checked, #delete {
    background: transparent;
    border: 0;
    margin-left: 1.2rem;
    border-radius: 0.3rem;
}

#delete:hover {
    background-color: #EB5353;
}
#checked:hover {
    background-color: #9FC088;
}

#delete-svg:hover, #checked-svg:hover {
    fill: #ffffff;
}