@import url('https://fonts.googleapis.com/css2?family=Poppins:ital@0;1&display=swap');

* {
    font-family: 'Poppins', sans-serif;

}
h1 {
    font-size: 50px;
    color:ghostwhite
}

h2 {
    color: ghostwhite;
}

body { 
    background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.caja {
    margin: 0 auto;
    margin: 50px 20px;
    width: 100%;
    min-width: 300px;
    max-width: 800px;
    height: 800px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 0 100px rgba(0,0,0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.15);
}

.texto {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 60%;
}

.texto button {
    margin-left: 10px;
    background-color: white;
    border-radius: 50%;
    height: 80%;
    aspect-ratio: 1;
    right: 5px;
    top: 10%;
    position: absolute;
    border: 0px;
}

.texto input {
    width: 100%;
    background: rgba(255,194, 209, 0.3);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 100%;
    outline: none;
}

.texto input::placeholder {
    color: white;
}

#tareas {
    background-color: rgba(10,10,10, 0.2);
    border-radius: 20px;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 90%;
    height: 72%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: ghostwhite;
    padding-top: 10px;
    overflow-y: auto;
}

.tarea {
    width: 95%;
    height: 7%;
    background: rgba(255,194, 209, 0.3);
    font-size: 2vh;
    border-radius: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0px 5px 5px;
    padding-left: 5px;
    flex-shrink: 0;
}

.tarea button {
    background: rgba(255, 0, 0, 0.11);
    border-radius: 50px;
    height: 35px;
    width: 35px;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-right: 3px;
    color: white;
}

.tarea button:hover {
    background-color: rgba(255, 0, 0, 0.199);
}

.tarea input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    box-shadow: 0 0 100px rgba(0,0,0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.tarea input:checked {
    background-color: rgba(10,10,10, 0.2);
}

.completada {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}