/*
******************************************************************************************
NOTICE: This CSS file is the exclusive property of CanvasIcraft. Unauthorized copying,
distribution, modification, or any form of reuse of this file, in whole or in part, is
strictly prohibited and may result in severe civil and criminal penalties. All rights reserved.

Licensed under the CanvasIcraft Proprietary License.
You may obtain a copy of the License by contacting CanvasIcraft.
******************************************************************************************
*/

body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: rgb(28, 36, 44);
    overflow-y: hidden;
}

#image-blonPMnn {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

img {
    max-width: 600px;
    max-height: 500px;
    user-select: none;
}


.draggable {
    user-select: none;
}

.draggable:hover {
    box-shadow: inset 0 0 10px #C499F3;
    transition: box-shadow 0.3s ease-in-out;
}

video {
    max-width: 600px;
    object-fit: contain;
}

.univ-button {
    position: fixed;
    bottom: 10px;
    z-index: 1000;
    background-color: #ECEFF1;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    transition: transform 0.3s;
    user-select: none;
    outline: none;
    opacity: 0.3;
}

.univ-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.10);
    opacity: 0.8;
}

.univ-button.active {
    border: 3px solid #d00a54;
    transform: scale(1.10);
    outline: none;
    opacity: 1;
}

#upload-btn {
    bottom: 70px;
    right: 10px;
}

#toggle-resize {
    right: 10px;
}

#toggle-video-controls {
    right: 70px;
    font-size: 30px;
}
#youtube-btn {
    right: 70px;
    bottom: 70px;
    font-size: 30px;
}

#delete-toggle-btn{
    right: 130px;
    font-size: 30px;
}

#open-playlist-btn {
    position: fixed;
    left: 28px;
}

#select-folder-button{
    left: 83px;
    font-size: 30px;
}

#show-grid-button{
    left: 138px;
    font-size: 30px;
}

#show-local-grid-button {
    left: 193px;
    font-size: 29px;
}

#blurButton {
    left: 248px;
    font-size: 25px;
}


.menu-xErsxT-transition {
    transition: all 0.9s ease;
}


#transparentDiv {
    width: 0px;
    height: 0px;
    position: fixed;
    bottom: 2px;
    right: 1px;
    z-index:0;
    background-color: rgba(255, 255, 255, 0);
}
#transparentDiv-left {
    width: 0px;
    height: 0px;
    position: fixed;
    bottom: 2px;
    left: 1px;
    z-index:0;
    background-color: rgba(255, 255, 255, 0);
}

.active-menu-line{
  position: fixed;
  z-index: 900;
  bottom: 8px;
  right: 188px;
  width: 182px
  overflow: hidden;
}

#active-menu {
  display: inline-block;
  width: 15px;
  height: 58px;
  background-color: white;
  border: 1px solid black;
  border-radius: 50px;
  cursor: pointer;
  line-height: 25px;
  text-align: center;
  font-size: 20px;
  color: #000;
  transition: transform 0.8s, height 0.8s;
  transform-origin: 60% 96.3%;
  opacity: 0.3;
  outline: none;
}

.active {
  outline: none;
  transform: rotate(90deg);
}

#active-menu.active:hover {
    opacity: 0.68;
    box-shadow: 0 0 0 2px rgba(148,0,211,0.4), 0 0 0 5px rgba(75,0,130,0.4), 0 0 0 6px rgba(0,0,255,0.4);
}

.active-menu-line-left{
  position: fixed;
  z-index: 999;
  bottom: 8px;
  left: 10px;
  width: 50px
  overflow: hidden;
}

#active-menu-left{
  display: inline-block;
  width: 1px;
  height: 55px;
  background-color: white;
  border: 1px solid black;
  border-radius: 50px;
  cursor: pointer;
  line-height: 25px;
  text-align: center;
  font-size: 20px;
  color: #000;
  transition: transform 0.8s, height 0.8s;
  transform-origin: 60% 96.3%;
  opacity: 0.3;
  outline: none;
}

.active-menu-left {
  outline: none;
  transform: rotate(90deg);
}

#active-menu-left.active-menu-left:hover {
    opacity: 0.68;
    box-shadow: 0 0 0 2px rgba(148,0,211,0.4), 0 0 0 5px rgba(75,0,130,0.4), 0 0 0 6px rgba(0,0,255,0.4);
}

#blurOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    backdrop-filter: blur(8px);
    filter: blur(20px);
    display: none;
}

.linear-blonPMnn {
    border: 3px solid rgba(71, 71, 71, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: rgb(28, 36, 44);
}

.linear-blonPMnn:hover {
     border: 6px solid rgba(73, 70, 70, 0.6) !important;
}

.linear-blonPMnn-grid-hover:hover {
    border: 1px solid rgba(73, 70, 70, 0.6) !important;
    z-index: 10 !important;
}

.displayed-image-grid {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.add-url-button{
    position: absolute;
    top: 48%;
    left: calc(41% + 57.7px);
    opacity: 0.5;
}

.select-folder-button {
    position: absolute;
    top: 48%;
    left: 41%;
    opacity: 0.5;
}

.iframe-video {
    background-color: rgba(71, 71, 71, 0.2);
    padding: 6px;
    box-sizing: border-box;
    position: relative;
    width: 800px;
    height: 500px;
    transition: background-color 0.15s;
    border-radius: 7px;
}
.iframe-video:hover{
    background-color: rgb(73, 70, 70, 0.6);
}

.parent {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.div1 { grid-area: 1 / 1 / 6 / 3; }
.div2 { grid-area: 1 / 3 / 6 / 5; }
.div3 { grid-area: 1 / 5 / 6 / 7; }

.parent.layout2 {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
}

.div1.layout2 { grid-area: 1 / 1 / 3 / 3; }
.div2.layout2 { grid-area: 1 / 3 / 3 / 5; }
.div3.layout2 { grid-area: 3 / 1 / 5 / 3; }
.div4.layout2 { grid-area: 3 / 3 / 5 / 5; display: block; }

.parent.layout3 {
    grid-template-columns: repeat(6, 1fr) !important;
    grid-template-rows: repeat(6, 1fr) !important;
}

.div1.layout3 { grid-area: 1 / 1 / 4 / 4; z-index: 1; }
.div2.layout3 { grid-area: 1 / 4 / 4 / 7; z-index: 2; }
.div3.layout3 { grid-area: 4 / 1 / 7 / 4; z-index: 3; }
.div4.layout3 { grid-area: 4 / 4 / 7 / 7; z-index: 4; display: block; }
.div5.layout3 { grid-area: 3 / 3 / 5 / 5; z-index: 6; display: block; }

.parent.layout4 {
    grid-template-columns: repeat(6, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
}

.div1.layout4 { grid-area: 1 / 1 / 5 / 3; }
.div2.layout4 { grid-area: 1 / 5 / 5 / 7; }
.div3.layout4 { grid-area: 1 / 3 / 3 / 5; }
.div4.layout4 { grid-area: 3 / 3 / 5 / 5; display: block; }

#layout-xErsxT {
    height: 58px;
    position: absolute;
    display: flex;
    z-index: 1200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border-radius: 16px;
}

#layout-xErsxT button {
    background-color: white;
    border: 2px solid #d600ff;
    cursor: pointer;
    padding: 4px;
    margin: 5px;
    border-radius: 15px;
    transition: transform 0.45s ease, border-color 0.3s ease;
    display: inline-block;
    opacity: 0.77; /* Initial opacity */
    transform: translate3d(0, 0, 0);
    will-change: transform, border-color;
}

#layout-xErsxT button:hover {
   border-color: #dd50f8;
   transform: scale(1.1) translateZ(0);
   opacity: 1;
   background-color: rgb(225, 225, 225, 0.9);
}

#layout-xErsxT img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-right: 6px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

#layout-xErsxT button:hover img {
    transform: scale(1.08);
}

.grid-xErsxT-transition {
    transition: all 0.9s ease;
}

.video-blonPMnn {
    position: relative;
}

.swal2-blonPMnn .swal2-styled.swal2-confirm {
    background-color: #1C242C;
}
div:where(.swal2-blonPMnn) label:where(.swal2-input-label) {
    margin: 0.7em auto 0 !important;
}
div:where(.swal2-blonPMnn) div:where(.swal2-validation-message) {
    background: #ffffff !important;
}

.local-grid-fullblonPMnn{
    width: 100vw;
    height: 100vh;
}

.local-grid-parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 0vw;
    height: 0vh;
}

.local-div1 {
    grid-area: 2 / 2 / 4 / 4;
}

.local-layout-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 386px;
    height: 50px;
    opacity: 0;
    z-index: 1199;
    pointer-events: auto;
}

.local-grid-xErsxT {
    height: 58px;
    position: absolute;
    display: flex;
    z-index: 1200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border-radius: 16px;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.local-grid-xErsxT button {
    background-color: transparent;
    border: 2px solid #dd50f8;
    cursor: pointer;
    padding: 4px;
    margin: 5px;
    border-radius: 15px;
    transition: transform 0.45s ease, border-color 0.3s ease;
    display: inline-block;
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
    will-change: transform, border-color;
}

.local-grid-xErsxT button:hover {
   border-color: #dd50f8;
   transform: scale(1.1) translateZ(0);
   opacity: 1;
   background-color: rgb(225, 225, 225, 0.9);
}

.local-grid-xErsxT img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 6px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.local-grid-xErsxT button:hover img {
    transform: scale(1.1);
}

#swapModeBtn {
    padding: 8px 12px;
    color: #dd50f8;
    background-color: transparent;
    border: 2px solid #dd50f8;
    opacity: 0.7;
}

#swapModeBtn:hover {
   background-color: transparent;
   transform: scale(1.1);
   opacity: 1;
   background-color: rgb(225, 225, 225,0.9);
}

i.fas {
    margin-right: 5px;
}

video {
    transition: opacity 0.3s ease;
}

.local-option3-div1 { grid-area: 1 / 1 / 3 / 3; }
.local-option3-div2 { grid-area: 3 / 1 / 5 / 3; }
.local-option3-div3 { grid-area: 1 / 3 / 3 / 5; }
.local-option3-div4 { grid-area: 3 / 3 / 5 / 5; }
.local-option4-div1 { grid-area: 1 / 2 / 3 / 4; }
.local-option4-div2 { grid-area: 3 / 2 / 5 / 4; }

.local-grid-parent5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 100vh;
    width: 100vw;
}
.local-option5-div1 { grid-area: 1 / 1 / 3 / 3; }
.local-option5-div2 { grid-area: 4 / 4 / 6 / 6; }
.local-option5-div3 { grid-area: 1 / 4 / 3 / 6; }
.local-option5-div4 { grid-area: 4 / 1 / 6 / 3; }
.cropper-view-box,
.cropper-face,
.cropper-line,
.cropper-point {
    z-index: 999999;
}

.cropper-canvas,
.cropper-drag-box,
.cropper-crop-box {
    z-index: 999999;
}
.cropper-modal {
    z-index: 999999;
}

.plus-icon {
    position: absolute;
    top: 7.7px;
    right: 7.8px;
    background-color: white;
    border-radius: 20px;
    color: black;

    padding: 0.1px 11px;
    font-size: 16px;
    text-align: center;

    cursor: pointer;
    opacity: 0.1;
    z-index: 1000;
    transition: all 0.3s ease 0s;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
}

.plus-icon:hover{
    opacity: 0.7;
}

.playlist-menu {
    position: fixed;
    width: 400px;
    height: 400px;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(42, 42, 42, 0.95);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid black;
    z-index: 9999;
}

.playlist-menu button {
    width: 100%;
    cursor: pointer;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid white;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background-color 0.2s, border 0.4s ease-in-out;
}

.playlist-menu button:hover {

}

.playlist-menu div {
    width: 96.9%;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ddd;
    margin: 15px 0;
    text-align: center;
    user-select: none;
}

.close-playlist-btn-ui{
    width: 50px !important;
    height: 22px !important;
    position: fixed !important;
    top: 5px !important;
    right: 10px !important;
    font-size: 18px !important;
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.close-playlist-btn-ui:hover{
     background-color: #0056b3;
}

#existing-PLlLP {
    max-height: 92%;
    min-height: 92%;
    border: solid rgba(0, 0, 0, 0) !important;
    top: -10px;
    background-color: rgba(35, 35, 35, 0.9);
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
    margin-top: 20px;
    overflow: auto;
}

#existing-PLlLP::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

#existing-PLlLP::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#existing-PLlLP::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}


#existing-PLlLP xErsxT {
    border: solid rgba(0, 0, 0, 0) !important;
    top: -10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
}

#existing-PLlLP div {
    width: 95%;
    cursor: pointer;
    padding: 8px;
    margin: 8px auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

#existing-PLlLP div::after {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 0%;
    height: 4px;
    background-color: #A020F0;
    transition: width 0.6s ease, left 0.6s ease;
}

#existing-PLlLP div:hover::after {
    width: 100%;
    left: 0;
}

.back-to-PLlLP-button {
    width: 50px !important;
    height: 22px !important;
    position: fixed !important;
    top: 5px !important;
    left: 10px !important;
    font-size: 18px !important;
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.back-to-PLlLP-button i {

}

.back-to-PLlLP-button:hover {
    background-color: #0056b3 !important;
}

.create-playlist-btn-ui {
    width: 50px !important;
    height: 22px !important;
    position: fixed !important;
    top: 5px !important;
    left: 10px !important;
    font-size: 18px !important;
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.startingTuto {
    position: fixed;
    top: calc(50vh - 329px);
    left: calc(50vw - 400.5px);
    text-align: center;
    width: 801px;
    height: 600px;
    border: solid white 1px;
    border-radius: 10px;
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    color: white;
    font-size: 25px;
}

.link-icon a {
    color: white;
    margin-left: 22px;
    text-decoration: underline;
}

.tutoTips {
    font-size: 20px;
    color: white;
}

.tutoTips p {
    margin-top: 40px;
}

.tutoDiscordLogo {
    font-size: 27px;
    background-color: grey;
    border-radius: 20px;
    padding: 9px;
    margin-left: 11px !important;
}

.linkIconSupportedSites {
    margin-top: 5px;
    color: white;
    font-size: 25px;
}

.linkIconSupportedSites h2 {
    margin-top: 5px;
    color: white;
    font-size: 32px;
}

.linkIconSupportedSites p {
    font-size: 24px;
}

.tutoCloseIcon {
    color: white;
    position: relative;
    width: 18px;
    height: 22px;
    top: 4px;
    right: -761px;
    cursor: pointer;
    padding: 9px;
    background-color: grey;
    border-radius: 7px;
    font-size: 22px;
}