@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto/Roboto-ThinItalic-webfont.eot');
    src: url('../font/Roboto/Roboto-ThinItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/Roboto/Roboto-ThinItalic-webfont.woff') format('woff'),
         url('../font/Roboto/Roboto-ThinItalic-webfont.ttf') format('truetype'),
         url('../font/Roboto/Roboto-ThinItalic-webfont.svg#RobotoThinItalic') format('svg'); 
    font-weight: 200;
    font-style: italic;
}
@import url('https://fonts.googleapis.com/css2?family=Give+You+Glory&display=swap');
body{
    display: flex;
    overflow: hidden;
    padding: 0;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
svg{
    width: 20px;
}
.left-panel{
    margin: 10px 10px 10px 10px; 
    width: 20%;
    background-color: rgb(160, 160, 160);
    height: 93vh;
    border-radius: 5px;
    padding: 10px 10px 10px 10px;
    overflow: hidden;
}
.header{
    border-bottom: solid 1px rgba(0, 0, 0, 0.397);
}
.container{
    width: 100%;
    height: 100vh;
    margin-right: 10px;
    overflow: hidden;
}
.agregar{
    background-color: rgba(128, 128, 128, 0.589);
    text-align: center;
    width: 100%;
    height: 25px;
    border: solid 1px gray;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    transition-duration: .3s;
    user-select: none;
    cursor: pointer;
}
.agregar:hover{
    background-color: rgb(134, 134, 134);
}
.agregar:active{
    background-color: rgb(116, 116, 116);
}
#addNoteTxt{
    transition-duration: .3s;
}
label{
    margin: 5px;
    font-size: 14px;
}
input{
    margin: 5px;
    background-color: transparent;
    border: 0px solid black;
    border-bottom: 1px solid black;
    outline: none;
    transition-duration: .5s;
    user-select: none;
}
input:focus{
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.26);
    border-bottom: 1px solid rgb(255, 255, 255);
}
.searchSection{
    overflow: hidden;
}
.contenidoInput{
    margin: 5px;
    width: 90%;
    height: 15px;
    background-color: transparent;
    border: 0px solid black;
    border-bottom: 1px solid black;
    outline: none;
    transition-duration: .3s;
    resize: none;
    user-select: none;
}
.contenidoInput:focus{
    height: 50vh;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.26);
    border-bottom: 1px solid rgb(255, 255, 255);
}
.contenidoInput::-webkit-scrollbar{
    width: 4px;
}
.contenidoInput::-webkit-scrollbar-thumb{
    background-color: gainsboro;
    border-radius: 10px;
    cursor: pointer;
}
#alerta{
    font-size: small;
    color: red;
    display: block;
    margin-top: -20px;
}
.btnCrear{
    padding: 5px 10px 5px 10px;
    background-color: gray;
    border: 0px;
    border-bottom: 2px solid rgb(36, 36, 36);
    border-left: 2px solid rgb(36, 36, 36);
    border-radius: 5px;
    user-select: none;
    cursor: pointer;
}
.btnCrear:hover{
    border-bottom: 1px solid rgb(36, 36, 36);
    border-left: 1px solid rgb(36, 36, 36);
}
.btnCrear:active{
    background-color: rgb(110, 110, 110);
    border-bottom: 0px solid rgb(36, 36, 36);
    border-left: 0px solid rgb(36, 36, 36);
}
.add{
    height: 80vh;
    overflow: hidden;
}
.notasHechas{
    height: 78vh;
    border-radius: 10px;
    margin-top: 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition-duration: .3;
    padding-right: 5px;
}
.notasHechas::-webkit-scrollbar{
    width: 4px;
}
.notasHechas::-webkit-scrollbar-thumb{
    background-color: rgba(255, 255, 255, 0.308);
    border-radius: 10px;
    cursor: pointer;
}
.miniNote{
    margin: 3px 5px 7px 0px;
    border: 0;
    border-left: 6px solid rgba(0, 0, 0, 0.301);
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-weight: bolder;
    font-family: 'Give You Glory', cursive;
    text-align: left;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    transition-duration: .3s;
}
.miniNote:active{
    border-left-width: 4px;
}
.subAdd{
    transition-duration: 2s;
    margin-top: -189px;
    padding-bottom: 15px;
    border-bottom: 1px solid white;
}
.grid{
    width: 100%;
    height: 84vh;
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 1%;
    overflow-y: scroll;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.grid::-webkit-scrollbar{
    width: 4px;
}
.grid::-webkit-scrollbar-thumb{
    background-color: rgba(0, 0, 0, 0.308);
    border-radius: 10px;
    cursor: pointer;
}
.btnFuncionales{
    display: flex;
    grid-column: 7/-1;
    width: 47px;
    height: 100%;
    align-items: center;
    justify-content: right;
}
#cerrar:hover{
    transition-duration: .3s;
    background-color: rgba(187, 24, 24, 0.904);
    opacity: 1;
}
#expandir:hover{
    transition-duration: .3s;
    background-color: rgba(0, 128, 0, 0.945);
    opacity: 1;
}
#minimizar:hover{
    transition-duration: .3s;
    background-color: rgba(247, 247, 27, 0.918);
    opacity: 1;
}
#cerrar{
    opacity: 0.4;
    margin-right: 5px;
    cursor: pointer;
}
#expandir{
    opacity: 0.4;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}
#minimizar{
    opacity: 0.4;
    cursor: pointer;
}
.elemento{
    max-width: 78vw;
    min-width: 20%;
    max-height: 410px;
    resize: horizontal;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    margin: 10px 0px 5px 0px;
    width: 24%;
    height: 210px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 2px 2px rgba(87, 87, 87, 0.579);
}
.top{
    display: grid;
    background-color: transparent;
    width: 100%;
    height: 25px;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    justify-content: space-between;
}
.top .circle{
    width: 10px;
    height: 10px;
    background-color: rgb(255, 255, 255);
    shape-outside: circle();
    clip-path: circle();
}
.top #normal{
    margin-left: 7px;
}
.triangle{
    width: 0px;
    height: 0px;
    background-color: transparent;
    border-left: 8.5vw solid transparent;
    border-right: 8.5vw solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.295);
}
.triangle2{
    width: 0px;
    margin-top: -121px;
    border-top: 155px solid transparent;
    border-left: 68px solid transparent;
    border-right: 46px solid transparent;
    border-bottom: 33px solid rgba(0, 0, 0, 0.2); 
    transform: rotate(50deg);
}
.contenido{
    height: 130px;
    font-family: 'Give You Glory', cursive;
    margin: 10px 10px 10px 10px;
}
.container h2{
    margin-top: -5px;
}
.subAdd h2{
    margin-top: 1px;
}
.contenido p{
    margin-top: -15px;
    overflow-wrap: break-word;
}
#buscador{
    margin-bottom: 7px;
}
.ModalMode{
    position: absolute;
    width: 79%;
    height: 480px;
    left: 20%;
    right: 20%;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    margin: 10px 0px 5px 0px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 2px 2px rgba(87, 87, 87, 0.579);
    transition-duration: .3s;
    scroll-behavior: auto;
}
.ModalMode::-webkit-scrollbar{
    width: 4px;
}
.ModalMode::-webkit-scrollbar-thumb{
    background-color: rgba(255, 255, 255, 0.308);
    border-radius: 10px;
    cursor: pointer;
}
.triangle2Modal{
    margin-top: 105px;
    width: 0px;
    border-top: 226px solid transparent;
    border-left: 86px solid transparent;
    border-right: 88px solid transparent;
    border-bottom: 62px solid rgba(0, 0, 0, 0.2); 
    transform: rotate(50deg);
}
.triangleModal{
    width: 0px;
    height: 0px;
    background-color: transparent;
    border-left: 44.5vw solid transparent;
    border-right: 36.5vw solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.295);
}
#H2typeInput{
    font-family: 'Give You Glory', cursive;
    margin: 10px 10px 10px 10px;
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    margin-top: -5px;
    background-color: transparent;
    border: 0px solid transparent;
    outline: none;
    transition-duration: 0s;
    user-select: all;
}
#H2typeInput:hover{
    padding: auto;
    background-color: transparent;
    border-bottom: none;
}
#H2typeInput:focus{
    padding: auto;
    background-color: transparent;
    border-bottom: none;
}
#textareaP{
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    overflow-y: scroll;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    margin-top: -15px;
    background-color: transparent;
    border-width: none;
    border-style: none;
    border-color: none;
    border-image: none;
    padding: none;
    font-family: 'Give You Glory', cursive;
    resize: none;
    font-weight: bold;
}
#textareaP:focus-visible{
    outline: none;
}
#textareaP::-webkit-scrollbar{
    width: 4px;
}
#textareaP::-webkit-scrollbar-thumb{
    background-color: gainsboro;
    border-radius: 10px;
    cursor: pointer;
}
.confibtn img{
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    padding-right: 5px;
}
.confibtn span{
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    padding-right: 15px;
    padding-top: 5px;
} 
.confibtn{
    user-select: none;
    display: flex;
    background-color: rgb(160, 160, 160);
    right: 25px;
    bottom: 20px;
    padding: 0;
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    position: absolute;
    border: none;
    overflow: hidden;
    transition-duration: .3s;
    cursor: pointer;
    z-index: 1;
}
.confibtn:hover{
   width: 185px;
   background-color: rgb(134, 134, 134);
}
#panelConfiguracion{
    overflow-y: scroll;
    right: 5px;
    margin: 5px -35% 5px 0px;
    border-radius: 5px;
    position: absolute;
    background-color: rgb(78, 78, 78);
    width: 25%;
    height: 98%;
    transition-duration: .5s;
}
#panelConfiguracion::-webkit-scrollbar{
    width: 4px;
}
#panelConfiguracion::-webkit-scrollbar-thumb{
    background-color: gainsboro;
    border-radius: 10px;
    cursor: pointer;
}