@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

body {
    font-family: Russo One, serif;
    height: 100vh;
    background-color: #0F1117;
    display: flex;
    flex-direction: column;
    padding: 70px;
    color: #fff;
    overflow-x: hidden;
}


.todo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 332px;
    width: 1016px;
    background-color: #0A0D13;
    border-radius: 32px;
    padding: 40px 100px 28px 100px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.todo-title {
    color: #00D4FF;
    font-size: 48px;
    margin-bottom: 3px;
}

.slogan {
    font-size: 30px;
    margin-bottom: 46px;
}

.form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    margin-bottom: 16px;
}

.input{
    font-size: 22px;
    width: 656px;
    height: 80px;
    padding: 26px 21px;
    border-radius: 20px;
    background-color: #0F1117;
}

.btn {
    border-radius: 50px;
    background-color: #00D4FF;
    font-size: 20px;
    color: #0F1117;
    padding: 18px 22px;
}

.message {
    font-size: 20px;
}






.task-box {
    display: flex;
    flex-direction: column;
}

.task-card {
    width: 1016px;
    background-color: #0A0D13;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    border-radius: 32px;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 27px;

    transition: all 0.35s ease-in-out;
}

.task-card.checked {
    transform: scale(0.97);
    background-color: #12151b;
    text-decoration: line-through;
}

.task-card.deleted {
    background-color: rgb(104, 11, 11);
    transform: scale(.56) translateX(2000px);
}

.custom-checkbox {
    margin-right: 34px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 40px;
    height: 40px;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
    background-color: #eee;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #00d4ff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 15px;
    top: 8px;
    width: 10px;
    height: 20px;
    border: solid black;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.task {
    max-width: 758px;
    font-size: 25px;
    flex-grow: 1;
    overflow-wrap: anywhere;
}

.btns {
    display: flex;
}

.edit-btn, .edit-btn2 {
    margin-right: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.edit-img {
    width: 30px;
    height: 30px;
    user-select: none;
}

.edit-input {
    font-size: 25px;
    flex-grow: 1;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #0F1117;
    margin-right: 20px;
}

.delete-btn {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 50%;
}

.line1, .line2 {
    position: absolute;
    width: 2px;
    height: 35px;
    background-color: #00D4FF;
}

.line1 {
    transform: rotate(45deg);
}

.line2 {
    transform: rotate(-45deg);
}

.delete-btn:hover, .edit-btn:hover, .edit-btn2:hover  {
    background-color: rgba(0, 212, 255, .1);
}