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

body {
    background-color: #17313e;
    font-family: Arial, Helvetica, sans-serif;
    padding: 2vh 6vw;
    color: #ffffff8d;
    text-align: center;
}

main {
    color: #17313e;
    box-shadow: 0rem 0px 2rem #00000090;
    display: flex;
    gap: 1rem;
    padding: 2rem;
    flex-direction: column;
    overflow: auto;
    max-height: 85vh;
}

main,
.touche,
button,
input {
    border-radius: 2rem;
    background-color: #ffffff8d;
    box-shadow: 0px 0px 0.8rem #00000080;
}

.touche,
button,
input,
form {
    padding: 2rem;
    border: none;
    display: flex;
    width: 100%;
    height: fit-content;
}

form {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

input[type="checkbox"] {
    text-align: center;
    scale: 180%;
    box-shadow: none;
    color: #00000040;
    accent-color: #17313e;
    background-color: #17313e;
}

form div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

input {
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    gap: 0;
}

input:focus,
input:active {
    border-color: #ffffff;
    font-weight: bold;
}
button {
    color: #17313e;
    padding: 1rem 1.5rem;
    width: fit-content;
}

div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
li div {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

button:active {
    background-color: #ffffff75;
    box-shadow: 0px 0px 0.8rem #00000040;
}

li {
    list-style: none;
    padding: 0.5rem;
    border-bottom: 1px solid #ffffff8d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delBtn {
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    color: rgb(136, 52, 52);
    text-decoration: none;
    background: none;
    box-shadow: none;
}

#colorText {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 0.5rem;
    font-weight: bold;
    width: fit-content;
}

#task-list-done {
    font-style: italic;
    background-color: #17313e27;
    opacity: 70%;
}

#task-list-done span {
    text-decoration: line-through;
}

#generated-password {
    padding: 1rem;
    font-weight: 900;
}
label {
    font-size: 0.8rem;
}

#divBtn {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
hr {
    padding: 0.5rem;
    background-color: #ffffff49;
    border-radius: 2rem;
    border: none;
}

#popUp {
    box-shadow: 0px 0px 2rem #00000090;
    padding: 2rem;
    border-radius: 2rem;
    background-color: #17313e;
    position: absolute;
    height: fit-content;
    width: 20rem;
    top: calc(50vh - 10rem);
    left: calc(50vw - 10rem);
    color: #ffffff;
    z-index: 10;
    transition: all 0.95s;
    transition-behavior: allow-discrete;
    opacity: 1;
    scale: 1;
}
#popUp div {
    flex-direction: row;
    justify-content: space-around;
}


.none {
    display: none;
    opacity: 0;
    scale: 0;
    width: 0;
}

@media (max-width: 768px) {
    #generate,
    #divBtn {
        flex-direction: column;
    }
}
