
:root {
  --bulma-link-text: white; 
  --primary-gradient: linear-gradient(to right, #000000, #221c54);
  --bulma-primary-h: 248deg;
  --bulma-primary-s: 55;
  --bulma-primary-l: 22;

  --bulma-text-strong: white;
  --bulma-text: white;

  --bulma-box-background-color: darkgrey;
  --select-background-color: darkgrey;
  /*--bulma-block-spacing: 0px;*/
  --bulma-navbar-height: 210px;
}

.gen-fullheight {
  min-height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-right: 10%;
    border: none;
    height: 2px;
    background: linear-gradient(to right,
            rgba(200, 200, 200, 0.5),
            rgba(29, 26, 26, 1) 50%,
            rgba(200, 200, 200, 0.5));
}

@media (max-width: 768px) {
        .hide-on-mobile {
            display: none;
        }
    }
    
.title {
    color: cadetblue;
  }

.maintitle {
    color: cadetblue;
    font-family:DoHyeon; font-size:3rem; 
    line-height:1.2; 

}
@media screen and (max-width: 768px) {
    .maintitle {
        font-size: 2rem; /* Larger font size for smaller screens */
    }
}

  .subtitle {
    color: cyan;
}
.hero.is-primary {
  background: var(--primary-gradient);
}

.link {
  text-decoration: none;
  border-bottom: 1px dashed orange;
  color: white;
}

.link:hover {
  color: orange;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color:white;
    background-color:black;
}

.menu-bar {
    background: linear-gradient(to right, 
                rgba(34, 49, 62, 0.8) 0%, 
                rgba(34, 49, 62, 0.8) 60%, 
                rgba(19, 29, 38, 0.8) 80%, 
                rgba(4, 10, 14, 0.8) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 5px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: JetBrainsMono, monospace;    
    flex-direction: row;    
}

.gen-uk-logo {
    width: 24px;
    height: 20px;
    background-image: url('/images/GENG.png');
    background-size: cover;
    margin-right: 10px;
}

.app-name {
    font-weight: bold;
    margin-right: 20px;
}

.menu,
.submenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu {
    display: flex;
}

.menu li {
    position: relative;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submenu {
    visibility:hidden;
    position: absolute;
    background-color: rgba(34, 49, 62, 0.9);
    padding: 0px;
    top: 100%;
    left: 0;
    opacity:0; 
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease, visibility 0s linear 0.3s;
    white-space:nowrap;
    font-family: JetBrainsMono, monospace;
    display: flex;
    flex-direction: column;
    line-height: 0.8;
    margin-top:5px;
}

.submenu li {
  flex: 1;
  padding: 10px;
  cursor: pointer;
}

.submenu-icon {
    display: inline-flex;
    width: 24px;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.submenuitem a {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {

}

.menu li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.submenuitem:hover {
    background-color: rgb(3, 7, 228);
}

/* handle small screens */
@media screen and (max-width: 768px) {
    .menu-bar {
        padding: 5px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .date-time {
        display: none;
    }
    .menu li {
        padding: 5px;
        font-size: 10px;
    }
    .submenu {
        margin-top: 3px;
        padding-top: 30px; /* Adjust this value as needed */        
    }
}

.icons {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
}

.icon {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
    cursor: pointer;
}

.download {
    background-image: url('/TheIcons/downloadicon.png');
}
.search {
    background-image: url('/TheIcons/searchicon.png');
}
.subscribe {
    background-image: url('/TheIcons/email.png');
}
.facebook {
    background-image: url('/TheIcons/icons8-facebook-48.png');
}
.instagram {
    background-image: url('/TheIcons/icons8-instagram-48.png');
}
.twitter {
    background-image: url('/TheIcons/icons8-twitterx-48.png');
}

.linkedin {
    background-image: url('/TheIcons/icons8-linkedin-48.png');
}
.youtube {
    background-image: url('/TheIcons/icons8-youtube-48.png');
}
.reddit {
    background-image: url('/TheIcons/icons8-reddit-48.png');
}
.cloud {
    background-image: url('/TheIcons/icons8-cloud-48.png');
}

.contact {
    background-image: url('/TheIcons/icons8-contact-48.png');
}

.login {
    background-image: url('/TheIcons/login.png');
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

.status {
    background-image: url('/TheIcons/icons8-status-48.png');
}

.date-time {
    font-family: Monaco, "Courier New", Courier, monospace;
    font-size: 10pt;
    padding-left: 10px;
    min-width: 150px;
}

.desktop {
    position: fixed;
    top: calc(30px + 5px + 5px); /* Adjusted top value */
    left: 0;
    right: 0;
    bottom: 10px;
    /*background-color: rgba(0, 0, 0, 0.6);*/
    background-color:black;
    /*background-image: url('images/ds141_shutterstock.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;*/
    padding: 10px;
    overflow: auto;
    
}

.sticky-bottom {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 80px;
      background: linear-gradient(to right, #4c4ece, #1B1079);
    border-radius:10px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      z-index: 999;
}

a {
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

 
  .icons {
  justify-content: center;
  align-items: center;

}

.icons a {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 10px;
  transition: transform 0.3s ease-in-out;
  position: relative;
}


.icons a .tooltiptext {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  font-size: 12px;
}

  .icons a:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.is-cadetblue {
    color:cadetblue;
}

.GREY4 {
    background-color:#3d3d3d !important;
}
.GREY5 {
    background-color:#282828 !important;
}
.GREY6 {
    background-color:#131313 !important;
}

.GOLD {
    color:gold;
}
.HOLD {
    background-color: #1a1a1a !important;
    opacity: 0.2;
    color: #666 !important;
}

.GREYGRAD1 {
    background: linear-gradient(to right, #282828, #131313);
}

#popupmessage {
  position: fixed;
  top: 100px;
  right: 50px;
  padding: 20px;
  color: white;
  background-color: black;
  border: 5px solid #7f0000;
  border-radius: 10px;
  opacity: 1;
  z-index:999;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 2s, top 0.3s, right 0.3s, transform 0.3s;
  max-width: 80vw;
  word-wrap: break-word;
}

.fade-out {
    opacity:0;
    transition: opacity 2s;
}

@keyframes flash-border {
  0% {
    border-color: #7f0000;
  }
  50% {
    border-color: transparent;
  }
  100% {
    border-color: #7f0000;
  }
}

.flash-border {
  animation: flash-border 0.5s 2;
}

.list {
    list-style-type: square;
    margin-left: 20px;

}

.input-sized {
    width: auto !important;
    display: inline-block !important;
  }

.box-highlight {
  box-shadow: 0 0 15px 5px rgba(95, 158, 160, 0.6), var(--bulma-box-shadow);
  transform: translateY(-5px);
  transition: all 0.5s ease;
}

.rainbow-border {
    position: relative;
    z-index: 0;
    border-radius: 10px;
    overflow: hidden;
}

.rainbow-border::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%; 
    background-color: transparent;
    background-image: linear-gradient(45deg,
        #8800ff, #5100ff, #002bff, #0040ff, #0095ff, #8800ff);
    background-size: 400%;
    animation: rainbow-border-rotate 20s linear infinite;
}

.rainbow-border::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 2px;
    top: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

@keyframes rainbow-border-rotate {
    0% { background-position: 0% 0%; }
    100% { background-position: 400% 0%; }
}

.gen-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 90%;
    padding: 0.75rem 1rem !important;
}

.has-text-centered .gen-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

.gen-button i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    min-width: 20px !important;
}

.gen-button .icon {
    margin-right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gen-button span:not(.icon) {
    flex-grow: 1 !important;
    text-align: center !important;
}

.highlight {
    font-weight: bolder;
    color:lawngreen;
}
.warning {
    background-color:rgb(104, 52, 0);
    color:white;
    padding:10px;
}


.pre-container {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding:2px;
        margin-bottom: 1rem;
        margin-left:2rem;
        margin-right:2rem;
    }

    .pre-header {
        background-color: #474747;
        padding: 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ddd;
    }

    .pre-header .language-label {
        font-weight: bold;
    }

    .pre-header .copy-button {
        background-color: #004a9a;
        color: white;
        border: none;
        padding: 0.25rem 1rem;
        border-radius: 3px;
        cursor: pointer;
    }

    .pre-header .copy-button:hover {
        background-color: #056ddd;
    }   

    .form-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
  }

 .form-divider::before,
 .form-divider::after {
    content: '';
    flex-grow: 1;
    background-color: #7de7ff;
    height: 1px;
    margin: 0 10px;
  }

 .form-divider-text {
    color: #67bbfb;
    font-weight: bold;
    padding: 0 10px;
    text-transform: uppercase;
  }

.grad-grey1 {
    background: linear-gradient(45deg, #CCCCCC, #000000);
    border-radius:10px;
}
.grad-grey2 {
        background: linear-gradient(45deg, #000000, #CCCCCC);
        border-radius:10px;
}
.grad-grey-down {
    background: linear-gradient(to bottom, #3d3d3d, #131313);
    border-radius: 10px;
}

.content-grey-down {
    background: linear-gradient(to bottom, #014cae, #131313);
    border-radius: 10px;
}

.nicebutton {
    background: linear-gradient(to right, #00d1b2, #3273dc);
    border: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50,115,220,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nicebutton:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(50,115,220,0.4);
}

.switch {
        display: none;
    }

    .switch + label {
        position: relative;
        display: inline-block;
        width: 200px;
        height: 40px;
        background-color: #ccc;
        border-radius: 40px;
        transition: background-color 0.4s;
        cursor: pointer;
    }

    .switch + label:before {
        content: '';
        position: absolute;
        width: 96px;
        height: 36px;
        left: 2px;
        bottom: 2px;
        border-radius: 36px;
        background-color: white;
        transition: 0.4s;
    }

    .switch:checked + label {
        background-color: #4CAF50;
    }

    .switch:checked + label:before {
        transform: translateX(100px);
    }

    .switch + label span {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        transition: color 0.3s;
        z-index: 1;
    }

    .switch-left {
        left: 20px;
        color: white;
    }

    .switch-right {
        right: 20px;
        color: #333;
    }

    .switch:checked + label .switch-left {
        color: #333;
    }

    .switch:checked + label .switch-right {
        color: white;
    }  
    .switch-container {
        display: flex;
        align-items: center;
        margin-bottom: 0; 
        padding:0;
    }  

    .slider {
        -webkit-appearance: none;
        width: 100%;
        height: 15px;
        border-radius: 5px;
        background: linear-gradient(to right, #98FB98, #FFFFE0); /* Pastel green to pastel yellow */
        outline: none;
        opacity: 0.7;
        -webkit-transition: .2s;
        transition: opacity .2s;
    }

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        background: #4CAF50;
        cursor: pointer;
        border: none;
        border-radius: 0; /* Square handle */
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background: #4CAF50;
        cursor: pointer;
        border: none;
        border-radius: 0; /* Square handle */
    }

    .rate-this-page {
        position: fixed;
        bottom: 30px;
        left: 30px;
        z-index: 100;
    }

    .rate-button {
        color: white !important;
        font-weight: 600;
        padding: 0.75rem 1.25rem;
        transform: scale(1);
    }

    .rate-button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        background: linear-gradient(45deg, #221c54, #0099ff) !important;
    }

    .rate-button .icon {
        margin-right: 0.5rem;
    }

    @media screen and (max-width: 768px) {
        .rate-this-page {
            display: none; /* Hide on mobile devices */
        }

        .rate-button {
            padding: 0.5rem 1rem;
        }
    }

    .glass-effect {
    position: relative;
    overflow: hidden;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to right, #000000, #221c54);
    z-index: 1;
}

.glassy-text {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    position: relative;
}

.glassy-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

    .zoom {
      cursor: pointer;
      transition: opacity 0.3s;
    }
    
    .zoom:hover {
      opacity: 0.9;
    }
    
    #zoomedImage {
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: block;
      margin: 0 auto;
    }
    
    /* Enhanced modal styling */
    #imageZoomModal .modal-content {
      width: 95%;
      max-height: 95vh;
      margin: 0 auto;
      background: transparent;
      box-shadow: none;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    #imageZoomModal .image-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      width: 100%;
      position: relative;
    }
    
    /* Add image caption */
    .image-caption {
      position: absolute;
      bottom: -30px;
      left: 0;
      right: 0;
      text-align: center;
      color: white;
      font-size: 1rem;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    /* Add loading indicator */
    .loading-spinner {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 50px;
      height: 50px;
      border: 5px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: #fff;
      animation: spin 1s ease-in-out infinite;
      display: none;
    }
    
    @keyframes spin {
      to { transform: translate(-50%, -50%) rotate(360deg); }
    }

    .status-fade {
        animation: status-fade-out 10s ease-out forwards;
    }

    @keyframes status-fade-out {
        0% { opacity: 1; }
        80% { opacity: 1; }
        100% { opacity: 0; }
    }