@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: "Kanit", serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.check {
    position: relative;
    background: linear-gradient(90deg, #367cff, #367cff);
    line-height: 0;
    font-size: 25px;
}
   
.check input[type="checkbox"],
.check label,
.check label::before,
.check label::after {
    appearance: none;
    display: inline-block;
    font-size: inherit;
    border-radius: 1em;
    border: 0;
    transition: .35s ease-in-out;
    box-sizing: border-box;
    cursor: pointer;
}
   
.check {
    appearance: none;
    display: inline-block;
    border-radius: 1em;
    border: 0;
    transition: .35s ease-in-out;
    box-sizing: border-box;
    cursor: pointer;
}
   
.check label {
    width: 2.2em;
    height: 1em;
    background: #d7d7d7;
    overflow: hidden;
}
   
.check input[type="checkbox"] {
    position: absolute;
    z-index: 1;
    width: .8em;
    height: .8em;
    top: .1em;
    left: .1em;
    background: linear-gradient(45deg, #dedede, #ffffff);
    box-shadow: 0 6px 7px rgba(0,0,0,0.3);
    outline: none;
}
   
.check input[type="checkbox"]:checked {
    left: 1.3em;
}
   
.check input[type="checkbox"]:checked + label {
    background: transparent;
}
   
.check label::before,
.check label::after {
    content: "· ·";
    position: absolute;
    overflow: hidden;
    left: .50em;
    top: .5em;
    height: 1em;
    letter-spacing: -.04em;
    color: #9b9b9b;
    font-family: "Times New Roman", serif;
    z-index: 2;
    font-size: .6em;
    border-radius: 0;
    transform-origin: 0 0 -.5em;
    backface-visibility: hidden;
}
   
.check label::after {
    content: "?";
    top: .65em;
    left: .6em;
    height: .1em;
    width: .35em;
    font-size: .2em;
    transform-origin: 0 0 -.4em;
}
   
.check input[type="checkbox"]:checked + label::before,
.check input[type="checkbox"]:checked + label::after {
    left: 2.55em;
    top: .4em;
    line-height: .1em;
    transform: rotateY(360deg);
}
   
.check input[type="checkbox"]:checked + label::after {
    height: .16em;
    top: .55em;
    left: 2.6em;
    font-size: .6em;
    line-height: 0;
}
   
.swal2-html-container{
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
    margin: 0px !important;    
}
.parent {
    width: 350px;
    padding: 20px;
    perspective: 1000px;
}

.card {
    padding-top: 50px;
    border-radius: 20px;
    border: 3px solid rgb(255, 255, 255);
    transform-style: preserve-3d;
    /* background: #334ac5; */
    background-size: 60px 60px;
    background-position: 0 0, 0 0;
    background-color: #f0f0f0;
    width: 100%;
    /* box-shadow: rgba(142, 142, 142, 0.3) 0px 30px 30px -10px; */
    transition: all 0.5sease-in-out;
}


.content-box {
    background: rgb(78 161 226 / 73%);
    border-radius: 20px;
    transition: all 0.5sease-in-out;
    padding: 60px 25px 25px 25px;
    transform-style: preserve-3d;
}

.content-box.inactive {
    background: rgb(188 193 198 / 73%);
    border-radius: 20px;
    padding: 60px 25px 25px 25px;
    transform-style: preserve-3d;
}

.content-box .card-title {
    display: inline-block;
    color: white;
    font-size: 20px;
    font-weight: 900;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 50px);
}


.content-box.inactive .card-title.inactive {
    display: inline-block;
    color: #80808075;
    font-size: 20px;
    font-weight: 900;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 50px);
}


/* .content-box .card-title:hover {
    transform: translate3d(0px, 0px, 60px);
} */

.content-box .card-content {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #f2f2f2;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 30px);
}

.content-box.inactive .card-content.inactive {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #80808075;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 30px);
}

/* .content-box .card-content:hover {
    transform: translate3d(0px, 0px, 60px);
} */

.content-box .see-more {
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
    font-weight: 900;
    font-size: 9px;
    text-transform: uppercase;
    color: rgb(7, 185, 255);
    border-radius: 5px;
    background: white;
    padding: 0.5rem 0.7rem;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 20px);
}

.content-box.inactive .see-more.inactive {
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
    font-weight: 900;
    font-size: 9px;
    text-transform: uppercase;
    color: #6b6a6a;
    border-radius: 5px;
    background: #80808057;
    padding: 0.5rem 0.7rem;
    transition: all 0.5sease-in-out;
    transform: translate3d(0px, 0px, 20px);
}

/* .content-box .see-more:hover {
    transform: translate3d(0px, 0px, 60px);
} */

.date-box {
    position: absolute;
    top: 30px;
    right: 30px;
    height: 80px;
    width: 80px;
    background: white;
    /* border: 1px solid rgb(7, 185, 255); */
    border-radius: 10px;
    padding: 5px;
    transform: translate3d(0px, 0px, 80px);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 17px 10px -10px;
}

.date-box span {
    display: block;
    text-align: center;
}

.date-box .month {
    color: rgb(4, 193, 250);
    font-size: 9px;
    font-weight: 700;
}

.date-box .date {
    font-size: 20px;
    font-weight: 900;
    color: rgb(4, 193, 250);
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    /* gap: 10px; */
    /* background-color: dodgerblue; */
    /* padding: 10px; */
    overflow: scroll;
    height: 100%;
}

.grid-container > div:last-child {
  margin-bottom: 100px;
}

.imgset {
    object-fit: contain; 
    height: 100%; 
    width: 100%;
}

.imgset.inactive {
    object-fit: contain; 
    height: 100%; 
    width: 100%;
    opacity: 0.3;
}

#svg-global {
    zoom: 1.2;
    overflow: visible;
}
  
@keyframes fade-particles {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
}
  
@keyframes floatUp {
    0% {
      transform: translateY(0);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    100% {
      transform: translateY(-40px);
      opacity: 0;
    }
}
  
#particles {
    animation: fade-particles 5s infinite alternate;
}
.particle {
    animation: floatUp linear infinite;
}

.p1 {
    animation-duration: 2.2s;
    animation-delay: 0s;
}
.p2 {
    animation-duration: 2.5s;
    animation-delay: 0.3s;
}
.p3 {
    animation-duration: 2s;
    animation-delay: 0.6s;
}
.p4 {
    animation-duration: 2.8s;
    animation-delay: 0.2s;
}
.p5 {
    animation-duration: 2.3s;
    animation-delay: 0.4s;
}
.p6 {
    animation-duration: 3s;
    animation-delay: 0.1s;
}
.p7 {
    animation-duration: 2.1s;
    animation-delay: 0.5s;
}
.p8 {
    animation-duration: 2.6s;
    animation-delay: 0.2s;
}
.p9 {
    animation-duration: 2.4s;
    animation-delay: 0.3s;
}
  
@keyframes bounce-lines {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-3px);
    }
}
  
#line-v1,
#line-v2,
#node-server,
#panel-rigth,
#reflectores,
#particles {
    animation: bounce-lines 3s ease-in-out infinite alternate;
}
#line-v2 {
    animation-delay: 0.2s;
}
  
#node-server,
#panel-rigth,
#reflectores,
#particles {
    animation-delay: 0.4s;
}
  

div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: var(--swal2-width);
    max-width: 100%;
    padding: var(--swal2-padding);
    border: var(--swal2-border);
    border-radius: 20px;
    background: var(--swal2-background);
    color: var(--swal2-color);
    font-family: inherit;
    font-size: 1rem;
}

.custom-swal-popup {
    height: 80vh !important; /* Use viewport height */
    max-height: 80vh; /* Ensure it doesn't overflow */
}