@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,600;1,200;1,600&display=swap');

*{
    margin: 0;
}

.body.light *{
    color: #000;
}

p{
    margin-top: 8px;
}

img{
    width: 20px;
    padding-bottom: 2px;
    margin-bottom: -7px;
}

#menu::selection{
    background-color: transparent;
}

body, html{
    height: 100vh;
}

body{
    background-color: #303030;
    color: white;
    font-family: 'Nunito', sans-serif;
    margin: 0 10px 0 10px;
}

.body.light{
    background-image: linear-gradient(120deg, #f5f7fa, #d6d6d6);
}

header{
    margin: auto;
    text-align: center;
    /*background-color: #444;*/
    max-width: 400px;
    padding: 15px;
    border-radius: 30px;
    margin-bottom: 50px;
    margin-top: 15px;
    border: 1px solid #747474;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.body.light > header{
    border: 1px solid rgba(228, 228, 228, 0.836);
    box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.11);
    transition: all 0.5s ease-in-out;
    backdrop-filter: blur(12px);
    color: black;
}

form{
    text-align: left;
}

li{
    list-style-type:circle;
}

input{
    display: block;
    margin: auto ;
    outline: 0 auto;
    border: 1px solid #444;
    padding: 8px;
    border-radius: 6px;
    border-color: transparent;
    outline: none!important;
}

input:focus{
    outline: 0; 
    box-shadow: 3px 4px 7px rgba(0, 0, 0, 0.411);
}

.calculadora{
    margin-top: 80px;
    margin: auto;
    border: 1px solid #f3f3f33b;
    max-width: 600px;
    padding: 50px;
    border-radius: 15px;
    transition: all 0.3s ease-in;
    backdrop-filter: blur(8px);
}

.body.light .calculadora {
    border: 1px solid rgba(255, 255, 255, 0.281);
    box-shadow: 5px 4px 10px rgba(0, 0, 0, 0.212);
    transition: all 0.5s ease-in-out;
    backdrop-filter: blur(12px);
    color: black;
}

.calculadora.light button#addNote:hover{
    background-color: rgb(46, 165, 155);
    border: 1px solid rgb(58, 199, 187);
}

#menu{
    position: absolute;
    top: 30px;
    right: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 1px 1px 5px 15px;
    border-radius: 10px 10px;
    border: 1px solid #747474;
    transition: all 0.5s ease-in;
    backdrop-filter: blur(15px);
}

.body.light #menu{
    border: 1px solid rgba(228, 228, 228, 0.836);
    box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.11);
}

#menu:active .theme-toggler{
    display: block;
}

#menu p{
    width: 30px;
    margin-bottom: 2px;
    margin-right: -3px;
    cursor: default;
}

.theme-toggler{
    position: absolute;
    top: 30px;
    right: 30px; 
    color: #fff;
    z-index: 1;
    transition: all 0.5s ease-in;
    display: none;
}

.body.dark .theme-toggler::before{
    content: "";
    height: 10px;
    width: 22px;
    position: absolute; 
    top: 21px;
    right: -24px;
    transform: rotate(-40deg);
    border-radius: 0 0 100px 100px;
    overflow: hidden;
    background-color: #adadad;
    z-index: 1;
    transition: all 0.5s;
}

.body.dark .toggler-icon::after{
    content: "";
    position: absolute;
    height: 11.4px;
    width: 22px;
    top: 13px;
    right: -18px;
    transform: rotate(140deg);
    border-radius: 0 0 100px 100px;
    background-color: rgb(19, 19, 19);
    z-index: 1;
    transition: all 0.5s;
}

.body.light .theme-toggler::before{
    content: "";
    height: 10px;
    width: 22px;
    position: absolute; 
    top: 21px;
    right: -24px;
    transform: rotate(-40deg);
    border-radius: 0 0 100px 100px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    z-index: 1;
    transition: all 0.5s;
}

.body.light .toggler-icon::after{
    content: "";
    position: absolute;
    height: 11.4px;
    width: 22px;
    top: 13px;
    right: -18px;
    transform: rotate(140deg);
    border-radius: 0 0 100px 100px;
    background-color: rgba(97, 123, 145, 0.877);
    z-index: 1;
    transition: all 0.5s;
}

img#img-home{
    position: fixed;
    top: 73px;
    right: 7px;
    width: 25px;
    padding: 0.6px;
}

.body.dark #addNote{
    font-size: 1.05em;
    padding: 13px;
    background-color: rgb(122, 155, 197);
    border: 1px solid rgb(122, 155, 197);
    border-radius: 7px;
    margin: 30px 3px 20px 0px;
    color: white;
}

.body.light #addNote{
    font-size: 1.05em;
    padding: 13px;
    background-color: rgb(58, 199, 187);
    border: 1px solid rgb(58, 199, 187);
    border-radius: 7px;
    margin: 30px 3px 20px 0px;
}

#addNote:hover{
    background-color: rgb(92, 139, 201);
}

#addNote:active{
    background-color: rgb(79, 107, 143);
    transform: scale(0.9);
}

.resultado{
    margin-top: 30px;
}

.edit{
    background-color: rgb(150, 199, 104);
    border: 1px solid rgb(146, 192, 103);
    border-radius: 6px;
    padding: 3px;
    margin: 8px 8px 5px 15px;
    color: white;
}

.edit:active{
    transform: scale(0.9);
    background-color: rgb(117, 223, 18);
    border: 1px solid rgb(117, 223, 18);
}

.delet{
    background-color: rgb(240, 116, 116);
    border: 1px solid rgb(240, 116, 116);
    border-radius: 6px;
    margin: 5px 0px 5px 7px;
    padding: 3px;
    color: white;
}

.delet:active{
    transform: scale(0.9);
    background-color: rgb(219, 38, 38);
    border: 1px solid rgb(219, 38, 38);
}

.text{
    border-radius: 10px;
    padding: 1px 3px 8px 7px;
    margin: 15px 0px 7px 0px;
    max-width: 110px;
    background-color: rgba(240, 248, 255, 0.158);
    color: #fff;
}

.body.light .text{
    background-color: rgba(255, 255, 255, 0.726);
    color: #000;
    transition: all 0.6s ease-in;
}

#reload{
    padding: 10px;
    display: grid;
    place-items: center;
}

#reset{
    display: block;
    background-color: rgb(236, 103, 103);
    border: 1px solid rgb(236, 103, 103);
    border-radius: 10px;
    color: white;
    margin-bottom: 50px;
    font-size: 1.02em;
    text-align: center;
    width: 90px;
    padding: 13px;
    transition: padding 0.4s;
}    

#reset:active{
    transform: scale(0.9);
}

footer{
    margin: auto;
    text-align: center;
    position: fixed;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(20px);
    width: 100%;
    padding: 6px;
    margin-left: -10px;
}

.body.light > footer{
    color: rgb(49, 49, 49);
}

footer p{
    margin: 0;
}