.body, html{
    font-family: 'Roboto', sans-serif;
    background-color: #FEFEFE;
                      
}

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

::-webkit-scrollbar {
    display: none;
  }/*
  ::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
  }
  ::-webkit-scrollbar-thumb {
    background: #e1e1e1;
    border: 0px none #ffffff;
    border-radius: 50px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
  }
  ::-webkit-scrollbar-thumb:active {
    background: #000000;
  }
  ::-webkit-scrollbar-track {
    background: #666666;
    border: 0px none #ffffff;
    border-radius: 50px;
  }
  ::-webkit-scrollbar-track:hover {
    background: #666666;
  }
  ::-webkit-scrollbar-track:active {
    background: #333333;
  }
  ::-webkit-scrollbar-corner {
    background: transparent;
  }
*/
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 100vh;
    overflow-y: auto;
}

.logo{
    width: 100%;
    padding: 18px;
}

#div-logo{
    display:flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    margin-left: 20px;
}

#logo-theme{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.taskbar{
    position: absolute;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 200px;
    height: 95vh;
    z-index: 100;
    border-radius: 10px;
    margin-top: 20px;
    margin-left: 20px;
    background-color: #f3f1f5;
    overflow: hidden;
}
.taskbar-content {
    overflow-y: auto;
}
.btn{
    width: 100%;
    height: 50px;
    background-color: transparent;
    border: transparent;
    transition-duration: 0.4;
    
}
.btn:hover{
    background-color: #a6de82;
    color: #ffffff
}


.btn-active {
    width: 100%;
    height: 50px;
    background-color: #38b54a;
    opacity: 90%;
    border: transparent;
    transition-duration: 0.4;
    color: #f0f0f0;
    
}

label{
    width: 50px;
    height: 25px;
    margin-top: 30px;
    position: relative;
    display: block;
    border-radius: 25px;
    background: #f3f1f5;
    cursor: pointer;
    align-self: flex-end;
}

label:after{
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    top: 2px;
    left: 2px;
    background: #a6de82;
    border-radius: 180px;
}

input{
    width: 0;
    height: 0;
    visibility: hidden;
}

.dashboard {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding-left: 10px;
    padding-right: 30px;
    margin-top: 11px;
    width: 100%;
}

.dashboard-index{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 20px;
    margin-top: 11px;
}


.dashboard-logo{
    width: 50vw;
    height: auto;
    align-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.taskdash{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: cent;
}

.text {
    width: 100%;
    height: 50vh;
    padding: 12px 20px;
    padding-top: 35px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background-color: #f3f1f5;
    font-size: 16px;
    resize: none;
    margin-bottom: 35px;
    margin-top: 35px;
    background-color: #f3f1f5;
}
.text.small{
    height: 20vh;
}
.txt-duplicates.large {
    height: 70vh; 
}
.txt-lu {
    width: 100%;
    height: 30vh;
    padding: 35px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background-color: #f3f1f5;
    font-size: 16px;
    resize: none;
    margin-bottom: 35px;
    margin-top: 35px;
    background-color: #f3f1f5;
}

.btn-dashboard {
    background-color:rgba(166, 222, 130, 0.5);
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    margin: 4px 2px;
    border: transparent;
    width: 100px;
    height: 40px;
    border-radius: 10px;
}

.btn-dashboard:hover {
    background-color: #a6de82;
    color: #fefefe;
    border-radius: 10px;
}

.div-duplicates{
    grid-template-columns: 1fr 1fr;
    display: grid;
    width: 100%;
    height: 35%;
    gap: 20px;
    margin-top: 15px;
}

#div-compare{
    grid-template-columns: 1fr 1fr;
    display: grid;
    width: 100%;
    gap: 20px;
}

#btn-compare{
    height: 40px;
    width: 90px;
}

#div-compare2{
    flex-direction:row;
    display: flex;
    width: 90%;
    gap: 20px;
    padding: 40px;
}

.div-duplicates .btn-copy-1{
    position: relative;
    align-items: right;
    padding: 5px 10px;
    top: 35px;
}
.div-duplicates .btn-copy-2{
    position: relative;
    align-items: right;
    padding: 5px 10px;
    top: 35px;
}
.btn-copy-1{
    padding: 10px 20px;
    border-radius: 10px;
    background-color: transparent;
    border: transparent;
    color: #38b54a;
    width: 90px;
    z-index: 100;
}
.btn-copy-2{
    padding: 10px 20px;
    border-radius: 10px;
    background-color: transparent;
    border: transparent;
    color: #38b54a;
    width: 90px;
    z-index: 100;
}
body.dark .btn-copy-1{
    border: transparent;
    border-radius: 10px;
    color: #a6de82;
    background-color:transparent;
}
body.dark .btn-copy-2{
    border: transparent;
    border-radius: 10px;
    color: #a6de82;
    background-color:transparent;
}


.btn-dup{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: end;
    justify-content: flex-start;
}

body.dark .btn-copy-1:hover{
    background-color: transparent;
    color: #38b54a;
    border: transparent;
    border-radius: 10px;
}

#btn-duplicates:hover{
    background-color: #a6de82;
    color: white;
    border-radius: 10px;
}


.txt-duplicates {
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background-color: #f3f1f5;
    font-size: 16px;
    resize: none;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    padding-top: 35px;
}


.txt-dup-2 {
    width: 100%;
    padding: 5px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background-color: transparent;
    font-size: 16px;
    resize: none;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
}

#btn-duplicates {
    background-color:rgba(166, 222, 130, 0.5);
    border: none;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border: transparent;
    border-radius: 10px;
    padding: 10PX 20PX;
}

.label {
    background: #242d42;
}
input:checked + label {
    background-color: #242d42; 
}

input:checked + label:after {
    left:48px;
    transform: translateX(-100%);
    background: #38b54a;    
}

label, label:after {
    transition: 0.3s;
}

body.dark {
    background-color: #171d2b;
}

body.dark .btn {
    background-color: transparent;
    color: #f3f1f5;
}

body.dark .btn:hover {
    background-color: #a6de82;
    color: #242d42;
}

body.dark .taskbar{
    background-color: #242d42;
    color: #f3f1f5;
}

body.dark .text {
    background-color: #242d42;
    color: #f3f1f5;
}

body.dark .txt-lu {
    background-color: #242d42;
    color: #f3f1f5;
}

body.dark .btn-active {
    background-color: #38b54a;
    color: #fefefe
}

body.dark .btn-dashboard {
    border: transparent;
    border-radius: 10px;
    color: #fefefe;
    background-color:rgba(166, 222, 130, 0.5);
}

body.dark .btn-copy{
    border: transparent;
    border-radius: 10px;
    color: #a6de82;
    background-color:transparent;
}

body.dark .btn-dashboard:hover{
    background-color: #a6de82;
    color: #171d2b;
    border: transparent;
    border-radius: 10px;
}

body.dark .btn-copy:hover{
    background-color: transparent;
    color: #38b54a;
    border: #a6de82;
    border-radius: 10px;
}

body.dark .txt-duplicates {
    background-color: #242d42;
    color: #f3f1f5;    
}

body.dark .txt-dup-2 {
    background-color: transparent;
    color: #f3f1f5;    
}

body.dark #btn-duplicates {
    border: transparent;
    background-color:rgba(166, 222, 130, 0.5);
    color: #f3f1f5;
    border-radius: 10px;
}

body.dark #btn-duplicates:hover{
    background-color: #a6de82;
    color: #171d2b;    
    border: transparent;
    border-radius: 10px;
}

.container-out{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: end;
    width: 100%;
    position: relative;
}
.container-out .btn-copy{
    position: absolute;
    align-items: right;
    padding: 5px 10px;
    right: 0;
    top: 45px;
}

.btn-copy{
    padding: 10px 20px;
    border-radius: 10px;
    background-color: transparent;
    border: transparent;
    color: #38b54a;
    width: 90px;
    z-index: 1;
}

.btn-copy:hover {
    background-color: transparent;
    color: #a6de82;
    border: #a6de82;
}

.des-key{
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background-color: #f3f1f5;
    font-size: 16px;
    resize: none;
    margin-bottom: 35px;
    background-color: #f3f1f5;
}

body.dark .des-key{
    background-color: #242d42;
    color: #f3f1f5;
}

.keys{
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    resize: none;
    margin-bottom: 35px;
    background-color: #f3f1f5;
}
body.dark .keys{
    background-color: #242d42;
    color: #f3f1f5;
}

body.dark .key-1{
    background-color: #242d42;
    color: #f3f1f5;
}


.btn-copy-2:hover {
    background-color: transparent;
    color: #a6de82;
    border: transparent;
}

body.dark .btn-copy-2{
    border: transparent;
    border-radius: 10px;
}

body.dark .btn-copy-2:hover{
    background-color: transparent;
    color: #38b54a;
    border: transparent;
    border-radius: 10px;
}

.btn-copy-1{
    padding: 10px 20px;
    border-radius: 10px;
    background-color:transparent;
    border: transparent;
    color: #38b54a;
    text-align: center;

}

.no-scroll {
    overflow: hidden;
}

.btn-copy-1:hover {
    background-color: transparent;
    color: #a6de82;
    border: transparent;
}

.logo-light, .logo-dark {
    display: none;
    transition: opacity 0.3s;
}

input[type="file"] {
    margin-bottom: 20px;
}

.drop-zone {
    margin-top: 35px;
    width: 300px;
    height: 200px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ccc;
    margin-bottom: 35px;
    cursor: pointer;
}

.drop-zone.dragover {
    background-color: #f0f0f0;
}

#img-container {
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}

.btn-overlay{
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: transparent;
    color: #171d2b;
    border: transparent;
    font-size: 20px;
    border-radius: 5px;
}

body.dark .btn-overlay{
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: transparent;
    color: #fefefe;
    border: transparent;
    font-size: 20px;
}

.taskbar.active{
    width: 80%;
}

.taskbar-background{
    display: none;
}

.aes-keys {
    display: flex;
    flex-direction: row;
    gap: 9px;
    width: 100%;
    
}

.aes-mode{
    height: 90%;
    border-radius: 10px;
    border: transparent;
    background-color: #f3f1f5;
    color: #171d2b;
    padding: 5px;
    width: 80px;
    margin-top: 15px;
}

body.dark .aes-mode{
    background-color: #242d42;
    color: #f3f1f5;
}

.aes-param{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 25px;
}

.pre-text{
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.span {
    width: 100%;
    color: #242d42;
    font-size: 20px;
    text-align: center;
}

.span2 {
    width: 100%;
    color: #242d42;
    font-size: 20px;
    text-align: center;
}

.highlight{
    background-color: rgba(166, 222, 130, 0.5);
}

body.dark .span {
    color: #fefefe
}

body.dark .span2 {
    color: #fefefe
}

.footer{
    font-size: 75%;
    color: #171d2b;
    align-self: flex-end;
    margin-top: 20px;
    margin-bottom: 10px;
}

body.dark .footer{
    color: #fefefe
}
.footer-index{
    font-size: 75%;
    align-self: flex-end;
}
    
body.dark .footer-index{
    color: #fefefe
}

@media (max-width: 600px) {

    .dashboard{
        background-color: #FEFEFE;
            
    }

    body.dark .dashboard{
        background-color: #171d2b;
    } 

    .container {
        width: 0%;
    }

    .dashboard-logo{
        position: absolute;
    }

    .btn-overlay{
        display: block;
    }

    body.dark .btn-overlay{
        display: block;
    }

    .taskbar{
        width: 0px;
        position: fixed;
    }
    .taskbar.active{
        height: 100vh;
        margin-top: 0px;
        margin-left: 0px;
        z-index: 100;
        border-radius: 0;
    }
    .page {
        grid-template-columns: 1fr;
        
    }  

    .taskbar-background{
        top: 0;
        right: 0;
        position: fixed;
        width: 20%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.507);
        z-index: 99;
    }
    
    .taskbar.active .taskbar-background{
        display: block;
        
    }
    
    
    .btn-dashboard{
        padding: 10px 20px;
        width: auto;
    }

    .btn-copy{
        padding: 10px 20px;
    }

    .div-duplicates{
        display: grid;
        grid-template-columns: 1fr;
        height: auto;
    }

    .btn-copy-1{
        padding: 10px 20px;
    }

    .btn-copy-2{
        padding: 10px 20px;
    }
    
    .span2{
        display: none;
    }
    
    #div-compare{
        grid-template-columns: 1fr;
        display: grid;
        width: 100%;
        gap: 5px;
    }

    .dashboard{
        margin-top: -2%;
        position: absolute;
    }

    .btn-overlay{
        z-index: 100;
    }


}

