body, html {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  background-color: #ffffff;
  color: #c2c2c2;
  overflow: hidden;
  margin: 0;
  font-family: "Roboto";
  user-select: none;
  
}

body {
  background-size: cover; /* Add this line */
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; /* Optional, prevents scrolling */
}

body.AR-container {
  margin : 0px; 
  overflow: hidden;
  background-color: none;
}

#splash {
  font-family: "Roboto", sans-serif;
  position: fixed;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 12px;
  font-family: "Roboto";
  color: #fff;
  text-transform: uppercase;
  background-image: url("images/RoomSaved/MalevichBackgroundImageTour0.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-color: rgba(255, 255, 255, 0.99);
  transition: all 2s ease-out;
  height: 100vh;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#splash .loading {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 0.25rem solid rgba(241, 241, 241, 1);
  border-top-color: #0d00ff;
  animation: spin 1s infinite linear;
}

.loading-text {
  position: absolute;
  top: 30%; /* Adjust this to move the text up or down */
  text-align: center;
  width: 50%;
  font-size: 3vmin; /* Adjust size as needed */
  color: rgb(255, 255, 255);
  
  font-family: Nunito;
  font-weight: 200;
}

@media screen and (max-width: 600px) {
  .loading-text {
    font-size: 6vmin; /* Adjust size as needed */ } }

#splash .start-button {
  font-family: "Roboto", sans-serif;
  padding: 10px 30px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 3.0s ease;
  cursor: pointer;
  background-color: #0d00ff;
  letter-spacing: 1px;
  border-radius: 5px; 
  ;
}


#splash .start-button:hover {
  padding: 10px 30px;
  color: #0d00ff;
  border-radius: 3px;
  opacity: 0;
  cursor: pointer;
  background-color: #ffffff;
  letter-spacing: 1px;
}


#splash .credits {
  align-items: center;
  justify-content: center;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-size: 12px;
  text-align: center;
  text-shadow: #000000;
  font: "Roboto";
}

#splash .credits img {
  position: relative;
  display: block;
  margin: 0 auto; 
  max-width: 50%; 
  height: auto;
  top:10px;
}

.credits-datas a:visited {
  color: rgb(8, 0, 255); /* Color for visited links */
}

#splash .credits .show-credits {
  opacity: 0;
  transition: opacity .5s ease;
}

#splash .credits ul {
  font-family: "Roboto", sans-serif; 
  display: none;
  max-height: 200px;
  list-style: none;
  margin-top: 1em;
  line-height: 1.5;
  padding: 0;
  overflow-y: scroll;
  text-transform: capitalize;
  color: #26009a;
}

#splash .credits a {
  color: #a2a2a2;
  text-decoration: none;
}

#splash .credits a:visited {
  color: #a2a2a2;
}

#splash .credits a:hover, #splash .credits a:visited:hover {
  color: #ccc;
}

#splash .styled-text {
  font-family: "Roboto", sans-serif;
  position: relative;
  font-family: "Roboto"; /* Specify the font family */
  font-size: 24px; /* Specify the font size */
  color: #333; /* Specify the text color */
  background-color:  rgba(255, 255, 255, 0.5); /* Specify the background color */
  padding: 10px; /* Add some padding for spacing */
  border-radius: 0px; /* Round the corners */
  text-align: center;
  padding: 10px 10px;
  top:-35px;
}

#splash .credits-datas {
  font-family: "Roboto", sans-serif;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #000000;
  font-size: 12px;
  font-size: 12px;
  text-align: center;
  text-shadow: #000000;
  text-decoration: none; /* Remove underline from the link */
  transition: color 0.3s ease;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.credits-datas a {
  text-decoration: none;
  color: rgb(0, 38, 255)Normal state color ;
  font-family: "Roboto", sans-serif; /* Set Roboto as the desired font */
}

#splash .credits-datas a:hover {
  color: rgb(255, 89, 166); /* Change the color to gray when hovered */
}

#anchor-scene-button {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: rgba(255, 255, 266, 0.8);
  background-image: url("Background.jpg"); ;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
  border-radius: 3px;
  z-index: 1;
}

#rotate-scene-button {
  display: none;
  
  position: fixed;
  top: 90px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: rgba(255, 255, 266, 0.8);
  background-image: url('rotate-y.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
  border-radius: 3px;
  z-index: 1;
}

.fullscreen-button {
  z-index: 11;
  border: none;
    right: 0;
    top: 0;
    color: rgb(50, 50, 255);
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: absolute;
    display: block;
    margin: 0px;
    font-family: "Roboto", sans-serif;
    font-size: 2.5vmin;
    text-decoration: none;
    background-color:  rgba(0, 0, 255, 0.001); /* Specify the background color */
  padding: 10px; /* Add some padding for spacing */
  border-radius: 0px;     
}

.fullscreen-button:hover {
background-color: rgb(50, 50, 255);
color: rgb(255, 255, 255); /* Slightly lighter blue when hovered */
}

.fullscreen-button:focus {
outline: none;
border: 2px solid rgba(255, 255, 255, 0.6);
}



@keyframes dots-1{from{opacity:0}25%{opacity:1}}
@keyframes dots-2{from{opacity:0}50%{opacity:1}}
@keyframes dots-3{from{opacity:0}75%{opacity:1}}
@-webkit-keyframes dots-1{from{opacity:0}25%{opacity:1}}
@-webkit-keyframes dots-2{from{opacity:0}50%{opacity:1}}
@-webkit-keyframes dots-3{from{opacity:0}75%{opacity:1}}
    
.a-inspector-loader .dots span{animation:dots-1 2s infinite steps(1);-webkit-animation:dots-1 2s infinite steps(1)}
.a-inspector-loader .dots span:first-child+span{animation-name:dots-2;-webkit-animation-name:dots-2}
.a-inspector-loader .dots span:first-child+span+span{animation-name:dots-3;-webkit-animation-name:dots-3}

a-scene
{display:block;position:relative;height:100%;width: 100%}

a-assets,a-scene audio,a-scene img,a-scene video{display:none}


  
  * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
 
  }
  
  ul, ol {
    list-style-type: none;
    padding: 0; }
  
  .splash {
    z-index: 10;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff00;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom; }
  
  .splash header {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    flex-direction: column; }
  
  .splash header .headerPart {
    min-height: 100px;
    max-height: 700px;
    height: 10vh;
    width: auto;
    margin: 10px 20px 0 20px; }
  
   @media screen and (max-width: 400px) {
    .splash header .headerPart {
      padding: 10px 0px 0 0px; } }
  
  .splash header .headers {
    text-align: center;
    margin: 15px 0 0 0; }
  
  .splash header .headerImage {
    text-align: center; }
  
  .splash header h3 {
    letter-spacing: 0.04em;
    line-height: 1.4;
    font-weight: 100;
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 15px;
    float: left;
    max-width: 500px; }

    @media screen and (max-width: 400px) {
      .splash header h3 {
        font-size: 9px; } }

    @media screen and (max-height: 550px) {
      .splash header h3 {
        font-size: 9px; } }
  
  .splash header h3 span {
    white-space: nowrap; }
  
  @media screen {
    .splash {
      background-image: none; } }
  
  /* thin */
  @media screen and (max-aspect-ratio: 1 / 1) {
    .splash {
      background-image: url("Background.jpg");
      background-position: center center; }
    .splash header {
      top: 38%; }
    .splash header .headers {
      min-width: 500px; }
    .splash header .headerPart {
      min-height: 50px;
      max-height: 90px;
      height: 9vh;
      width: auto; } }
  
  /* squarish */
  @media screen and (min-aspect-ratio: 1 / 1) and (max-width: 600px) {
    .splash {
      background-image: url("Background.jpg"); } }
  
  /* regular desktop */
  @media screen and (min-aspect-ratio: 1 / 1) and (min-width: 1080px) {
    .splash {
      background-image: url("Background.jpg"); }
    .splash header .headerPart {
      min-height: 50px;
      max-height: 120px;
      height: auto;
      width: auto; } }
  
  /* short */
  @media screen and (max-height: 550px) {
    .splash {
      background-image: url("../img/splash/bg-desktop-wide.jpg");
      background-position: center center; }

    .splash header .headers {
      min-width: 800px; }
    .splash header .headerImage {
      text-align: center;
      width: 800px; }
    .splash header .headerPart {
      min-height: 40px;
      max-height: 40px;
      height: 1.5vh;
      width: auto;
      margin: 10px 10px 0 10px; } }

  
  .invisible, .hidden {
    visibility: hidden; }
  
  canvas {
    z-index: 1;
    position: absolute;
    top: 0;
  }
  

  .a-enter-vr {
    z-index: 2;
    width: 50px !important; }
  

  
  #enter-vr-container {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    min-width: 170px;
    min-height: 46px;
    background: none;
    text-align: center; }

    #enter-vr-container .mode360 {
      left: 10px;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      font-size: 15px;
      font-weight: 100;
      font-family: "Roboto"; }
      #enter-vr-container .mode360 * {
        float: left; }
      #enter-vr-container .mode360 img {
        margin-right: 5px;
        height: 25px; }
      #enter-vr-container .mode360 span {
        height: 25px;
        line-height: 30px; }
    #enter-vr-container .webvr-ui-title {
      position: relative;
      top: 1.0px;
      margin: 0 0 0 0;
      letter-spacing: 0.2em;
      line-height: 15px;
      font-size: 15px;
      font-weight: 100;
      font-family: "Roboto";
      text-transform: uppercase; }
    #enter-vr-container .webvr-ui-button .svg360 {
      width: 24px;
      height: 24px;
      margin-right: 10px; }

    #enter-vr-container .webvr-ui-button:hover {
      background-color: #ffffffd0; }
    #enter-vr-container .webvr-ui-button:hover .webvr-ui-title {
      color: #000000; }
    #enter-vr-container .webvr-ui-button:hover .webvr-ui-svg {
      fill: #e2ceb5; }
    #enter-vr-container .webvr-ui-button .webvr-ui-svg-360 {
      fill: #999999; }
    #enter-vr-container .webvr-ui-button:hover .webvr-ui-svg-360 {
      fill: #e2ceb5; }
    #enter-vr-container .webvr-ui-button:hover .webvr-ui-svg-error {
      fill: #e2ceb5; }
    #enter-vr-container .webvr-ui-button:hover .svg360 .icon360 {
      fill: #e2ceb5; }
    #enter-vr-container #try-it-in-360 {
      letter-spacing: 0.075em;
      margin-top: 15px;
      color: #ffffff;
      text-transform: uppercase;
      padding-bottom: 2px;
      border-bottom: 1px solid #000000;
      font-family: "Roboto";
      font-size: 15px;
      text-decoration: none; }
  
  #exitButton {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    color: white;
    display: none;
    cursor: pointer;
    background-image: url(../img/back_arrow.png);
    background-size: 100% 100%;
    z-index: 10000000000; }

    #exitButton.visible {
      display: block; }
  
  #fallback {
    z-index: 100;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #e2ceb5;
    color: #133754;
    font-family: sans-serif;
    display: none; }
    
    #fallback #text {
      font-family: "Roboto";
      line-height: 30px;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 300px;
      font-size: 18px;
      text-align: center;
      transform: translate(-50%, -50%); }
      #fallback #text a {
        color: #ffffff; }
    #fallback.visible {
      display: block; }
  
  .footer {
    z-index: 11;
 }
  
  .footer .gradient {
    z-index: 11;
    position: fixed;
    bottom: 0;
    pointer-events: none;
    background-image: url("../img/splash/gradient.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom; }
  
  .footer .left {
    left: 0;
    width: 10vw;
    height: 20vh; }
  
  
  .footer .about-btn {
    z-index: 11;
    right: 0;
    top: 0;
    color: #000000;
    padding-bottom: 2px;
    letter-spacing: 0.0em;
    position: absolute;
    display: block;
    margin: 0px;
    font-family: "Roboto";
    font-size: 1.5vmin;
    text-decoration: none;
    background-color:  rgba(17, 0, 255, 0.701); /* Specify the background color */
    padding: 0px; /* Add some padding for spacing */
    border-radius: 0px; /* Round the corners */ }

    @media screen and (max-width: 620px) {
      .footer .about-btn {
        font-size: 2vmin; } }
    @media screen and (max-height: 620px) {
      .footer .about-btn {
        font-size: 2vmin; } }
        
        .footer .about-btnn {
          z-index: 11;
          left: 0;
          top: 0;
          background-image: linear-gradient(to right, rgba(0, 221, 255, 0.701) 0%, rgba(0, 255, 204, 0.701) 50%, rgba(0, 255, 255, 0.701) 50%, rgba(106, 106, 255, 0.701) 100%);
          background-size: 200% 100%; /* Extend the gradient to twice its size */
          background-position: 0% center; /* Start with the first half of the gradient */
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent; /* Make the text color transparent to show the background */
          padding-bottom: 0px;
          letter-spacing: 0.0em;
          position: absolute;
          display: block;
          margin: 0.5vmin;
          font-family: "Nunito", sans-serif;
          font-size: 2.8vmin;
          text-decoration: none;
          font-weight: 300;
          transition: background-position 1s ease; /* Smooth transition for the background position */
          cursor: pointer; /* Change the cursor to pointer when hovering */
      }
      
      .footer .about-btnn:hover {
          background-position: -100% center; /* Shift to the second half of the gradient on hover */
      }
      

        
        @media screen and (max-width: 620px) {
          .footer .about-btn {
            margin: 5px;
          
            font-size: 3vmin;
            left: 0;
            top: 0;
            position: relative;
          }

          .footer .about-btnn {
            margin: 5px;
            background-image: linear-gradient(to right, rgba(0, 221, 255, 0.701) 0%, rgba(0, 255, 204, 0.701) 50%, rgba(0, 255, 255, 0.701) 50%, rgba(106, 106, 255, 0.701) 100%);
            background-size: 200% 100%; /* Extend the gradient to twice its size */
            font-size: 4vmin;
            left: 0;
            top: 0;
            position: relative;
            
          }
        }

        .footer .about-freelance {
          z-index: 11;
          right: 0; /* Position it at the upper-right corner */
          top: 0;
          background-image: linear-gradient(to right, rgba(0, 255, 174, 0.701) 0%, rgba(0, 106, 255, 0.701) 50%, rgba(0, 255, 255, 0.701) 50%, rgba(106, 106, 255, 0.701) 100%);
          background-size: 200% 100%; /* Extend the gradient to twice its size */
          background-position: 0% center; /* Start with the first half of the gradient */
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent; /* Make the text color transparent to show the background */
          padding-bottom: 0px;
          display: inline-block; 
          letter-spacing: 0.0em;
          position: absolute;
          display: block;
          margin: 0.5vmin;
          font-family: "Nunito", sans-serif;
          font-size: 2.8vmin;
          text-decoration: none;
          font-weight: 300;
          transition: background-position 1s ease; /* Smooth transition for the background position */
          cursor: pointer; /* Change the cursor to pointer when hovering */  
      }
      
      .footer .about-freelance:hover {
        background-position: -100% center; /* Shift to the second half of the gradient on hover */
    }

    @media screen and (max-width: 620px) {
     
      .footer .about-freelance {
        margin: 5px;
        background-image: linear-gradient(to right, rgba(0, 255, 174, 0.701) 0%, rgba(0, 106, 255, 0.701) 50%, rgba(0, 255, 255, 0.701) 50%, rgba(106, 106, 255, 0.701) 100%);
        background-size: 200% 100%; /* Extend the gradient to twice its size */
        font-size: 4vmin;
      }
    }

        .popup {
          /* Popup styles (positioning, display, etc.) */
          position: fixed;
          z-index: 1000; /* Ensure it's above other content */
          /* Add more styles as needed for your popup */

      }
  
      .popup-title {
          text-align: center;
          margin-bottom: 25px;
          text-align: center;
          margin-top: 5px;
          color: white;
          font-weight: 200;
          font-family: Nunito, sans-serif;
      
      }

      .popup-title-intro {
        font-size: 30px;
        margin-bottom: 20px; /* Adds some space below the title */
        /* Add any other styles you want for your title here */
        font-family: Nunito, sans-serif;
        font-weight: 200;
        color: white;
    }

  

      .popup-text-intro {
        text-align: center;
        margin-bottom: 25px;
        text-align: center;
        margin-top: 5px;
        color: white;
        font-weight: 200;
        font-family: Nunito, sans-serif;
        
        text-align: justify;
    }
      
      .popup-links {
          list-style: none;
          padding: 0;
          text-align: center;
      }
      
      .popup-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-radius: 30px;
        text-decoration: none;
        text-align: center;
        color: rgb(255, 255, 255); /* Adjust based on your theme */
        transition: background-color 0.3s;
        background-color: #66b0ff00;
        margin-bottom: 20px;
        outline: 1px solid #FFFFFF; /* Add an outline */
        outline-offset: 0px; /* Adjust the offset of the outline */
        font-size: 18px;
        font-weight: 200;
    }
    
      
      .popup-item a:hover {
          background-color: #f0f0f0; /* Change as needed */
          color: #1100ff; /* Adjust based on your theme */
          font-weight: 400;
      }
      
      .favicon {
          margin-right: 10px;
          width: 20px; /* Adjust based on your favicon size */
          height: 20px; /* Adjust based on your favicon size */
          border-radius: 10%;
      }
      .overlay, #popup-menu {
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.5s linear;
      }
      
      .overlay.show, #popup-menu.show {
        visibility: visible;
        opacity: 1;
      }
      
      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 10; /* Below popup-menu to allow interaction */
        backdrop-filter: blur(2px);
      }

      #link-open-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000; /* Ensure it's on top of other elements */
        text-align: center;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        width: auto; /* Adjust width automatically based on content */
        max-width: 300px; /* Smaller max-width for compactness */
        font-family: 'Nunito', sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center children horizontally */
        justify-content: center; /* Center children vertically */
        overflow: hidden; /* Hide overflow */
        text-align: center; /* Center the text */
        background: linear-gradient(135deg, #1100ff95 0%, #6480ff95 100%); /* Linear gradient background */
        font-size: 20px;
    }
    
    #link-open-popup p {
        margin: 10px 0; /* Add some margin to the paragraph */
    }
    
    #open-link-btn {
        padding: 10px 20px; /* Padding for the button */
        background-color: #ffffff; /* Button background color */
        color: rgb(0, 0, 0); /* Button text color */
        border: none; /* Remove border */
        border-radius: 5px; /* Rounded corners for the button */
        cursor: pointer; /* Pointer cursor on hover */
        font-size: 16px; /* Increase font size */
        text-transform: lowercase; /* Uppercase text */
        margin-top: 20px; /* Margin top for spacing */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
        background-image: linear-gradient(to right, rgba(0, 221, 255, 0.701) 0%, rgba(0, 255, 204, 0.701) 50%, rgba(0, 255, 255, 0.701) 50%, rgba(248, 106, 255, 0.701) 100%);
        transition: background-color 0.3s; /* Smooth transition for hover effect */
    }
    
    #open-link-btn:hover {
        background-color: #1d3fbb; /* Darker shade on hover */
    }
    
      
      #popup-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 11; /* Above overlay */
        background: linear-gradient(135deg, #1100ff95 0%, #6480ff95 100%); /* Linear gradient background */
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        width: 80%;
        max-width: 400px; /* Adjust based on your requirement */
        font-family: Nunito, sans-serif;
        scrollbar-width: thin; /* For Firefox */
        scrollbar-color: #ffffff89 #ffffff00; /* For Firefox */
        overflow-y: auto; /* Enables scrolling */
        display: flex;
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto; /* Ensures scrolling is enabled */
    }
    
    /* Custom Scrollbar for WebKit-based Browsers */
    #popup-menu::-webkit-scrollbar {
        width: 8px; /* Scrollbar width */
    }
    
    #popup-menu::-webkit-scrollbar-track {
        background: #ffffff00; /* Transparent track */
    }
    
    #popup-menu::-webkit-scrollbar-thumb {
        background: #2f5fff; /* Custom thumb color */
        border-radius: 4px; /* Rounded corners for the thumb */
    }
    
    #popup-menu::-webkit-scrollbar-thumb:hover {
        background: #1d3fbb; /* Darker shade on hover */
    }
    
/* Overlay */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50; /* Ensure it's above other content but below the popup */
  display: none; /* Initially hidden */
  backdrop-filter: blur(10px);
}

/* Popup Container */
.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background: linear-gradient(135deg, #00fff2b6 0%, #6f56ff71 100%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 80%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto; /* Enables scrolling */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
  font-family: Nunito;
  scrollbar-width: thin;
  scrollbar-color: #2f5fff #ffffff00;
}

/* Popup Content */
.popup-content {
  text-align: center;
  font-size: 15px;
  font-family: Nunito;
  color: #ffffff;
  font-weight: 200;
}

.popup-navigate{
  font-size: 15px;
  font-weight: 800;
}

.popup-content img.intro-image {
  max-width: 100%; /* Adjust width to maintain aspect ratio */
  max-height: 50vh; /* Limit image size but maintain aspect ratio */
  height: auto;
}

.popup-content .close-btn {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
}



/* Show/Hide classes for JS manipulation */
.show {
  display: block;
}

     
        @media screen and (max-width: 620px) {
          .footer .terms {
            margin: 0 0 20px 0;
            text-align: left;
            left: 50%;
            right: auto;
            transform: translateX(-50%);
          }
        
          .footer .credits {
            text-align: justify !important;
          }
        
          .footer .credits:after {
            content: '';
            display: inline-block;
            width: 100%;
            margin: 0 20px 30px 20px;
          }
        
          .footer .credits li {
            display: inline-block;
            margin: 0 0 0 0 !important;
          }
        }
        
        .footer .credits {
          z-index: 11;
          position: absolute;
          width: calc(40% - 40px);
          min-width: 1vmin;
          left: 0;
          bottom: 0;
          padding: 0;
          text-align: left;
          margin: 0 1vmin 0.8vmin 1vmin;
        }
        
        .footer .credits li {
          display: inline-block;
          margin: 0 0.5vmin 0 0.5vmin;
        }
        
        .footer .credits li:nth-of-type(1) img {
          width: 8.5vmin;
          height: 8.5vmin;
        }
        
        .footer .credits li:nth-of-type(2) img {
          width: 8.5vmin;
          height: 8.5vmin;
        }
        
        @media screen and (max-width: 460px) {
          .footer .credits li:nth-of-type(1) img {
            height: 15vmin;
            width: 15vmin;
            position: absolute;
            left: 0;
            bottom: 0;
          }
          .footer .credits li:nth-of-type(2) img {
            height: 15vmin;
            width: 15vmin;
            position: absolute;
            left: 15vmin; /* Adjusted this value */
            bottom: 0;
          }
        }
        
        
        .footer .credits li:nth-of-type(3) img {
          width: 8.5vmin;
          height: 8.5vmin;
        }
        
        @media screen and (max-width: 460px) {
          .footer .credits li:nth-of-type(3) img {
            width: 8.5vmin;
          }
        }
  
  .about {
    position: absolute;
    z-index: 20;
    width: 100vw;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0px;
    display: none;
    background-color: #e2ceb5; }
  
  .about article {
    padding: 0;
    font-family: "Roboto";
    background-color: #FFF; }
  
  .about article .close {
    position: fixed;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    padding: 0 0 0 0;
    margin: 30px 46px 0 0;
    background-image: url("../img/splash/about/close.png");
    background-size: cover;
    cursor: pointer; }
    @media screen and (max-width: 860px) {
      .about article .close {
        margin: 20px 26px 0 0; } }
  
  .about article .close:hover {
    filter: opacity(0.5); }
  
  .about article .squiggleTint {
    width: 31px;
    height: 7px;
    background-image: url("../img/splash/about/squiggleTint.png");
    background-size: cover; }
  
  .about article .squiggleGrey {
    width: 31px;
    height: 7px;
    background-image: url("../img/splash/about/squiggleGrey.png");
    background-size: cover; }
  
  .about article h2 {
    font-family: "NowAlt-Medium";
    color: #133754;
    text-transform: uppercase;
    font-size: 30px;
    letter-spacing: 0.2em;
    margin: 0 0 20px 0; }
  
  .about article .experimentHeader {
    padding: 80px 40px 100px 80px;
    background-color: #e2ceb5;
    background-image: url("../img/splash/about/landscape.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom; }
  
  .about article p {
    line-height: 1.9;
    font-size: 13px;
    overflow: auto; }
  
  .about article .custom-text-width {
    width: 50vw;
    margin: 20px 0 30px 0; }
  
  .about article .custom-text-width-code {
    margin: 20px 0 0 0; }
  
  .about article .terrain {
    padding: 80px 45px 45px 80px;
    overflow: auto; }
  
  .about article .codeHeader {
    padding: 80px 40px 100px 80px;
    background-color: #FFF; }
  
  .about article .column {
    padding-right: 40px; }
  
  .about article .left {
    float: left; }
  
  .about article .right {
    float: right; }
  
  .about article .image {
    width: 72%; }
  
  .about article .content {
    width: 28%; }
  
  .about article .katie-image {
    width: 57%; }
  
  .about article .katie-content {
    width: 43%; }
  
  .about article .clearfix::after {
    content: "";
    clear: both;
    display: table;
    padding: 0 0 5vw 0; }
  
  .about article h4 {
    font-family: "NowAlt-Medium";
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 0.2em;
    margin: 0 0 10px 0; }
  
  .about article .aboutKatieHeader {
    padding: 80px 45px 45px 80px;
    background-color: #e2ceb5; }
  
  /* ENTER VR BUTTON */
  
  #enter-vr-container {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    min-width: 170px;
    min-height: 46px;
    background: none;
    text-align: center;
  }
  
  #enter-vr-container button.webvr-ui-button {
    font-family: 'Karla', sans-serif;
    border: #000000 2px solid;
    border-radius: 4px;
    box-sizing: border-box;
    background: none;
    height: 55px;
    min-width: 175.99999999999997px;
    display: inline-block;
    position: relative;
    cursor: pointer;
  }
  
  #enter-vr-container .webvr-ui-title {
    position: relative;
    top: 1.0px;
    margin: 0 0 0 0;
    letter-spacing: 0.2em;
    line-height: 15px;
    font-size: 15px;
    font-weight: 100;
    font-family: "Roboto";
    text-transform: uppercase;
  }
  
  #enter-vr-container .webvr-ui-title {
    color: #000000;
    position: relative;
    padding-left: 57.75px;
    padding-right: 18.333333333333332px;
  }
  
  #enter-vr-container .webvr-ui-logo {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 51px;
    height: 51px;
  }
  
  #enter-vr-container .webvr-ui-svg {
    fill: #ffffff;
    margin-top: 18.166666666666668px;
    margin-left: 18.333333333333332px;
    display: none;
  }
  
  #enter-vr-container.mode-vr .webvr-ui-svg {
    display: inline;
  }
  
  #enter-vr-container .webvr-ui-svg-error {
    display: none;
  }
  
  #enter-vr-container.mode-vr-error .webvr-ui-svg-error {
    display: inline;
  }
  
  #enter-vr-container .webvr-ui-svg-360 {
    margin-top: 12.166666666666668px;
    margin-left: 18.333333333333332px;
    display: none;
  }
  
  #enter-vr-container.mode-360 .webvr-ui-svg-360 {
    display: inline;
  }
  
  #enter-vr-container.mode-vr .webvr-ui-svg-360 {
    display: none;
  }
  
  #enter-vr-container.mode-vr .webvr-ui-svg-360 {
    display: none;
  }

  .loader-container {
         position: fixed;
         top: 0;
         left: 0;
         width: 100vw; /* Cover entire viewport width */
         height: 100vh; /* Cover entire viewport height */
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         background: linear-gradient(45deg, #0000FF, #73b4ff, #778eff, #0000FF); /* Four color gradient */
         z-index: 2147483647;
         opacity: 1;
         visibility: visible;
         transition: opacity 420ms ease, visibility 0s linear 420ms;
         pointer-events: all;
  }

  .loader-container.is-ready {
    opacity: 0;
    visibility: hidden;
  }

  .loader-container.has-error .loader {
    animation-play-state: paused;
  }

  .loader-container.has-error .loading-text {
    max-width: 42rem;
    color: #ffffff;
  }

  body.is-loading .a-enter-vr,
  body.is-loading .a-enter-ar,
  body.is-loading .a-orientation-modal,
  body.is-loading .a-enter-vr-modal {
    display: none !important;
    visibility: hidden !important;
  }

  .loader {
      width: 100px;
      height: 100px;
      background: linear-gradient(165deg, rgb(255, 255, 255) 0%, rgb(220, 220, 220) 40%, rgb(170, 170, 170) 98%, rgb(10, 10, 10) 100%);
      border-radius: 50%;
      animation: rotate 3s linear infinite;
  }

  .loader:before {
      position: absolute;
      content: "";
      width: 100%;
      height: 100%;
      border-radius: 100%;
      border-bottom: 0 solid #ffffff05;
      box-shadow: 0 -10px 20px 20px #ffffff40 inset,
        0 -5px 15px 10px #ffffff50 inset, 0 -2px 5px #ffffff80 inset,
        0 -3px 2px #ffffffbb inset, 0 2px 0px #ffffff, 0 2px 3px #ffffff,
        0 5px 5px #ffffff90, 0 10px 15px #ffffff60, 0 10px 20px 20px #ffffff40;
      filter: blur(3px);
      animation: 3s rotate linear infinite;
  }


  @keyframes rotate {
      100% { transform: rotate(360deg); }
  }


        .super8-overlay {
          position: fixed;
          bottom: 0;
          right: 0;
          width: 100%;
          height: 100%;
          z-index: 101;
          pointer-events: none; /* This ensures the overlay does not capture mouse events */
          
          /* Create the border effect with a thicker right side */
          border-width: 5vmin 5vmin 5vmin 5vmin; /* top | right | bottom | left */
          border-style: solid;
          border-color: rgba(255, 255, 255, 0.2); /* Fully opaque black border */
          

          background: linear-gradient(60deg, #ffffff2a, #ff434310, #0d00ff0e, #00ffd509, #ffffff2f);
          background-size: 350% 350%;
          animation: GradientAnimation 30s ease infinite, fadeInBackground 0.3s ease-in-out forwards;

          

        }
        
        @media (max-width: 768px) {
        .super8-overlay{
          border-width: 7vmin 7vmin 7vmin 7vmin; 
        }
      }
      
     
      
        @keyframes GradientAnimation {
          0% { background-position: 0% 50% }
          50% { background-position: 100% 50% }
          100% { background-position: 0% 50% }
        }
      
        @keyframes fadeInBackground {
          from { opacity: 0; }
          to { opacity: 1; }
        }
      
        
      .bg {
        position: fixed;
        
        top: -50%;
        left: -50%;
        right: -50%;
        bottom: -50%;
        width: 200%;
        height: 200vh;
        background: transparent url('../Images/noise-transparent.webp') repeat 0 0;
        background-repeat: repeat;
        animation: bg-animation 0.1s infinite;
        opacity: 0.55;
        visibility: visible;
        pointer-events: none; /* This ensures the overlay does not capture mouse events */
        z-index: 10;
       
      }
      
      @keyframes bg-animation {
          0% { transform: translate(0,0) }
          10% { transform: translate(-5%,-5%) }
          20% { transform: translate(-10%,5%) }
          30% { transform: translate(5%,-10%) }
          40% { transform: translate(-5%,15%) }
          50% { transform: translate(-10%,5%) }
          60% { transform: translate(15%,0) }
          70% { transform: translate(0,10%) }
          80% { transform: translate(-15%,0) }
          90% { transform: translate(10%,5%) }
          100% { transform: translate(5%,0) }
      }
      

html.a-fullscreen {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

html.a-fullscreen body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

/* Class is removed when doing <a-scene embedded>. */
html.a-fullscreen .a-canvas {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  position: fixed !important;
}

html:not(.a-fullscreen) .a-enter-vr,
html:not(.a-fullscreen) .a-enter-ar {
  right: 5px;
  bottom: 5px;
}

html:not(.a-fullscreen) .a-enter-ar {
  right: 60px;
}

/* In chrome mobile the user agent stylesheet set it to white  */
:-webkit-full-screen {
  background-color: transparent;
}

.a-hidden {
  display: none !important;
}

.a-canvas {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.a-canvas.a-grab-cursor:hover {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

canvas.a-canvas.a-mouse-cursor-hover:hover {
  cursor: pointer;
}

.a-inspector-loader {
  background-color: #ed3160;
  position: fixed;
  left: 3px;
  top: 3px;
  padding: 6px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-family: Roboto,sans-serif;
  text-align: center;
  z-index: 99999;
  width: 204px;
}

/* Inspector loader animation */
@keyframes dots-1 { from { opacity: 0; } 25% { opacity: 1; } }
@keyframes dots-2 { from { opacity: 0; } 50% { opacity: 1; } }
@keyframes dots-3 { from { opacity: 0; } 75% { opacity: 1; } }
@-webkit-keyframes dots-1 { from { opacity: 0; } 25% { opacity: 1; } }
@-webkit-keyframes dots-2 { from { opacity: 0; } 50% { opacity: 1; } }
@-webkit-keyframes dots-3 { from { opacity: 0; } 75% { opacity: 1; } }

.a-inspector-loader .dots span {
  animation: dots-1 2s infinite steps(1);
  -webkit-animation: dots-1 2s infinite steps(1);
}

.a-inspector-loader .dots span:first-child + span {
  animation-name: dots-2;
  -webkit-animation-name: dots-2;
}

.a-inspector-loader .dots span:first-child + span + span {
  animation-name: dots-3;
  -webkit-animation-name: dots-3;
}

a-scene {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
}

a-assets,
a-scene video,
a-scene img,
a-scene audio {
  display: none;
}

.a-enter-vr-modal,
.a-orientation-modal {
  font-family: Consolas, Andale Mono, Courier New, monospace;
}

.a-enter-vr-modal a {
  border-bottom: 1px solid #fff;
  padding: 2px 0;
  text-decoration: none;
  transition: .1s color ease-in;
}

.a-enter-vr-modal a:hover {
  background-color: #fff;
  color: #111;
  padding: 2px 4px;
  position: relative;
  left: -4px;
}

.a-enter-vr,
.a-enter-ar {
  font-family: sans-serif, monospace;
  font-size: 13px;
  width: 100%;
  font-weight: 200;
  line-height: 16px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
}

.a-enter-ar.xr {
  right: 90px;
}

.a-enter-vr-button,
.a-enter-vr-modal,
.a-enter-vr-modal a {
  color: #fff;
  user-select: none;
  outline: none;
}

.a-enter-vr-button {
  background: rgb(255, 255, 255) url("../Images/Vrbutton0.webp") 50% 50% no-repeat;
}

.a-enter-ar-button {
  background: rgba(0, 0, 0, 0.20) url("../Images/Vrbutton0.webp") 50% 50% no-repeat;
}

.a-enter-vr.fullscreen .a-enter-vr-button {
  background-image: url("../Images/Vrbutton0.webp");
}

.a-enter-vr-button,
.a-enter-ar-button {
  background-size: 90% 90%;
  border: 0;
  bottom: 0;
  cursor: pointer;
  min-width: 58px;
  min-height: 58px;
  /* 1.74418604651 */
  /*
    In order to keep the aspect ratio when resizing
    padding-top percentages are relative to the containing block's width.
    http://stackoverflow.com/questions/12121090/responsively-change-div-size-keeping-aspect-ratio
  */
  padding-right: 0;
  padding-top: 0;
  position: absolute;
  right: 0;
  transition: background-color .05s ease;
  -webkit-transition: background-color .05s ease;
  z-index: 99999;
  border-radius: 8px;
  touch-action: manipulation; /* Prevent iOS double tap zoom on the button */
}

.a-enter-ar-button {
  background-size: 100% 90%;
  border-radius: 7px;
}

.a-enter-ar-button:active,
.a-enter-ar-button:hover,
.a-enter-vr-button:active,
.a-enter-vr-button:hover {
  background-color: #0033ff;
}

.a-enter-vr-button.resethover {
  background-color: rgba(0, 0, 0, 0.35);
}

.a-enter-vr-modal {
  background-color: #666;
  border-radius: 0;
  display: none;
  min-height: 32px;
  margin-right: 70px;
  padding: 9px;
  width: 280px;
  right: 2%;
  position: absolute;
}

.a-enter-vr-modal:after {
  border-bottom: 10px solid transparent;
  border-left: 10px solid #666;
  border-top: 10px solid transparent;
  display: inline-block;
  content: '';
  position: absolute;
  right: -5px;
  top: 5px;
  width: 0;
  height: 0;
}

.a-enter-vr-modal p,
.a-enter-vr-modal a {
  display: inline;
}

.a-enter-vr-modal p {
  margin: 0;
}

.a-enter-vr-modal p:after {
  content: ' ';
}

.a-orientation-modal {
  background: rgba(244, 244, 244, 1) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20version%3D%221.1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2090%2090%22%20enable-background%3D%22new%200%200%2090%2090%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpolygon%20points%3D%220%2C0%200%2C0%200%2C0%20%22%3E%3C/polygon%3E%3Cg%3E%3Cpath%20d%3D%22M71.545%2C48.145h-31.98V20.743c0-2.627-2.138-4.765-4.765-4.765H18.456c-2.628%2C0-4.767%2C2.138-4.767%2C4.765v42.789%20%20%20c0%2C2.628%2C2.138%2C4.766%2C4.767%2C4.766h5.535v0.959c0%2C2.628%2C2.138%2C4.765%2C4.766%2C4.765h42.788c2.628%2C0%2C4.766-2.137%2C4.766-4.765V52.914%20%20%20C76.311%2C50.284%2C74.173%2C48.145%2C71.545%2C48.145z%20M18.455%2C16.935h16.344c2.1%2C0%2C3.808%2C1.708%2C3.808%2C3.808v27.401H37.25V22.636%20%20%20c0-0.264-0.215-0.478-0.479-0.478H16.482c-0.264%2C0-0.479%2C0.214-0.479%2C0.478v36.585c0%2C0.264%2C0.215%2C0.478%2C0.479%2C0.478h7.507v7.644%20%20%20h-5.534c-2.101%2C0-3.81-1.709-3.81-3.81V20.743C14.645%2C18.643%2C16.354%2C16.935%2C18.455%2C16.935z%20M16.96%2C23.116h19.331v25.031h-7.535%20%20%20c-2.628%2C0-4.766%2C2.139-4.766%2C4.768v5.828h-7.03V23.116z%20M71.545%2C73.064H28.757c-2.101%2C0-3.81-1.708-3.81-3.808V52.914%20%20%20c0-2.102%2C1.709-3.812%2C3.81-3.812h42.788c2.1%2C0%2C3.809%2C1.71%2C3.809%2C3.812v16.343C75.354%2C71.356%2C73.645%2C73.064%2C71.545%2C73.064z%22%3E%3C/path%3E%3Cpath%20d%3D%22M28.919%2C58.424c-1.466%2C0-2.659%2C1.193-2.659%2C2.66c0%2C1.466%2C1.193%2C2.658%2C2.659%2C2.658c1.468%2C0%2C2.662-1.192%2C2.662-2.658%20%20%20C31.581%2C59.617%2C30.387%2C58.424%2C28.919%2C58.424z%20M28.919%2C62.786c-0.939%2C0-1.703-0.764-1.703-1.702c0-0.939%2C0.764-1.704%2C1.703-1.704%20%20%20c0.94%2C0%2C1.705%2C0.765%2C1.705%2C1.704C30.623%2C62.022%2C29.858%2C62.786%2C28.919%2C62.786z%22%3E%3C/path%3E%3Cpath%20d%3D%22M69.654%2C50.461H33.069c-0.264%2C0-0.479%2C0.215-0.479%2C0.479v20.288c0%2C0.264%2C0.215%2C0.478%2C0.479%2C0.478h36.585%20%20%20c0.263%2C0%2C0.477-0.214%2C0.477-0.478V50.939C70.131%2C50.676%2C69.917%2C50.461%2C69.654%2C50.461z%20M69.174%2C51.417V70.75H33.548V51.417H69.174z%22%3E%3C/path%3E%3Cpath%20d%3D%22M45.201%2C30.296c6.651%2C0%2C12.233%2C5.351%2C12.551%2C11.977l-3.033-2.638c-0.193-0.165-0.507-0.142-0.675%2C0.048%20%20%20c-0.174%2C0.198-0.153%2C0.501%2C0.045%2C0.676l3.883%2C3.375c0.09%2C0.075%2C0.198%2C0.115%2C0.312%2C0.115c0.141%2C0%2C0.273-0.061%2C0.362-0.166%20%20%20l3.371-3.877c0.173-0.2%2C0.151-0.502-0.047-0.675c-0.194-0.166-0.508-0.144-0.676%2C0.048l-2.592%2C2.979%20%20%20c-0.18-3.417-1.629-6.605-4.099-9.001c-2.538-2.461-5.877-3.817-9.404-3.817c-0.264%2C0-0.479%2C0.215-0.479%2C0.479%20%20%20C44.72%2C30.083%2C44.936%2C30.296%2C45.201%2C30.296z%22%3E%3C/path%3E%3C/g%3E%3C/svg%3E") center no-repeat;
  background-size: 50% 50%;
  bottom: 0;
  font-size: 14px;
  font-weight: 600;
  left: 0;
  line-height: 20px;
  right: 0;
  position: fixed;
  top: 0;
  z-index: 9999999;
}

.a-orientation-modal:after {
  color: #666;
  content: "Insert phone into Cardboard holder.";
  display: block;
  position: absolute;
  text-align: center;
  top: 70%;
  transform: translateY(-70%);
  width: 100%;
}

.a-orientation-modal button {
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20version%3D%221.1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20100%20100%22%20enable-background%3D%22new%200%200%20100%20100%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M55.209%2C50l17.803-17.803c1.416-1.416%2C1.416-3.713%2C0-5.129c-1.416-1.417-3.713-1.417-5.129%2C0L50.08%2C44.872%20%20L32.278%2C27.069c-1.416-1.417-3.714-1.417-5.129%2C0c-1.417%2C1.416-1.417%2C3.713%2C0%2C5.129L44.951%2C50L27.149%2C67.803%20%20c-1.417%2C1.416-1.417%2C3.713%2C0%2C5.129c0.708%2C0.708%2C1.636%2C1.062%2C2.564%2C1.062c0.928%2C0%2C1.856-0.354%2C2.564-1.062L50.08%2C55.13l17.803%2C17.802%20%20c0.708%2C0.708%2C1.637%2C1.062%2C2.564%2C1.062s1.856-0.354%2C2.564-1.062c1.416-1.416%2C1.416-3.713%2C0-5.129L55.209%2C50z%22%3E%3C/path%3E%3C/svg%3E") no-repeat;
  border: none;
  height: 50px;
  text-indent: -9999px;
  width: 50px;
}

.a-loader-title {
  background-color: rgba(0, 0, 0, 0.6);
  font-family: sans-serif, monospace;
  text-align: center;
  font-size: 20px;
  height: 50px;
  font-weight: 300;
  line-height: 50px;
  position: absolute;
  right: 0px;
  left: 0px;
  top: 0px;
  color: white;
}

.a-modal {
  position: absolute;
  background: rgba(0, 0, 0, 0.60);
  background-size: 50% 50%;
  bottom: 0;
  font-size: 14px;
  font-weight: 600;
  left: 0;
  line-height: 20px;
  right: 0;
  position: fixed;
  top: 0;
  z-index: 11;
}

.a-dialog {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 199995;
  width: 300px;
  height: 200px;
  background-size: contain;
  background-color: white;
  font-family: sans-serif, monospace;
  font-size: 20px;
  border-radius: 3px;
  padding: 6px;
}

.a-dialog-text-container {
  width: 100%;
  height: 70%;
  align-self: flex-start;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.a-dialog-text {
  display: inline-block;
  font-weight: normal;
  font-size: 14pt;
  margin: 8px;
}

.a-dialog-buttons-container {
  display: inline-flex;
  align-self: flex-end;
  width: 100%;
  height: 30%;
}

.a-dialog-button {
  cursor: pointer;
  align-self: center;
  opacity: 0.9;
  height: 80%;
  width: 50%;
  font-size: 12pt;
  margin: 4px;
  border-radius: 2px;
  text-align:center;
  border: none;
  display: inline-block;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.20);
  user-select: none;
}

.a-dialog-permission-button:hover {
  box-shadow: 0 7px 14px rgba(0,0,0,0.20), 0 2px 2px rgba(0,0,0,0.20);
}

.a-dialog-allow-button {
  background-color: #00ceff;
}

.a-dialog-deny-button {
  background-color: #ff005b;
}

.a-dialog-ok-button {
  background-color: #00ceff;
  width: 100%;
}

.a-dom-overlay:not(.a-no-style) {
  overflow: hidden;
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  padding: 1em;
}

.a-dom-overlay:not(.a-no-style)>* {
  pointer-events: auto;
}

/* Memoire-style language control. */
.studio-language-toggle {
  position: fixed;
  top: clamp(14px, 2.2vw, 28px);
  right: clamp(14px, 2.2vw, 28px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem 0.42rem;
  color: #1746e0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 70, 224, 0.72);
  border-radius: 999rem;
  box-shadow: 0 0.55rem 2rem rgba(0, 51, 255, 0.18);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  font-family: "Nunito", "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: opacity 180ms ease, transform 180ms ease;
}

.studio-language-toggle button {
  min-width: 1.85rem;
  padding: 0.24rem 0.3rem;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999rem;
  font: inherit;
  cursor: pointer;
  opacity: 0.48;
}

.studio-language-toggle button:hover,
.studio-language-toggle button:focus-visible {
  opacity: 1;
  outline: none;
}

.studio-language-toggle button.is-active {
  color: #ffffff;
  background: #1746e0;
  opacity: 1;
}

body.is-loading .studio-language-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
}

@media (max-width: 600px) {
  .studio-language-toggle {
    gap: 0.08rem;
    padding: 0.2rem 0.28rem;
    font-size: 0.6rem;
  }

  .studio-language-toggle button {
    min-width: 1.55rem;
    padding: 0.18rem 0.16rem;
  }
}


