

body, html {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #000;
}

/* Hide scrollbar for all browsers */
body {
  overflow: hidden; /* Disables scrolling */
}

/* Webkit browsers (Chrome, Safari, newer versions of Edge) */
body::-webkit-scrollbar {
  display: none;
}

/* Firefox */
body {
  scrollbar-width: none; /* Hides scrollbar */
}

/* Internet Explorer / Edge (pre-Chromium) */
body {
  -ms-overflow-style: none; /* Hides scrollbar */
}

/* Preloader styles */
     #preloader {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: #02B7EA;
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         z-index: 99999; /* Ensure it is on top */
     }

     .blinker {
         width: 80px;
         height: 80px;
      
         animation: blink 1.5s ease-in 0s infinite;
     }

     /* Hide preloader when the page is loaded */
     body.loaded #preloader {
         display: none;
     }

     @keyframes blink {
       0% { opacity: 1; }
       50% { opacity: 0.5; }
       100% { opacity: 1;}
     }

h1{
  font-weight: 700;
  font-size: 60px;
  line-height: 60px;
  color: #fff;
}

h2{
  font-weight: 700;
  font-size: 30px;
  line-height: 35px;
}

h3{
  font-size: 24px;
  line-height: 35px;
}

.scroll-text, .cube-container span, .about-long, #about-modal p{
  font-weight: 400;
  font-size: 18px;
}

img {
  user-select: none; /* Disable text/image selection */
  pointer-events: none; /* Optionally disable interactions like drag */
}

.blue{
  color: #00B7EA;
}

/* ====================== cube navigation ======================== */
.cube-container {
  position: fixed;
  z-index: 10000;
  width: 20px;
  height: 20px;
  perspective: 50px;
  margin: 10px;
  top: 20px;
  left: 20px;
}

#about-cube{
  top: 60px
}

#contact-cube{
  top: 100px;
}

.cube {
  position: relative;
  display: flex;
  width: 20px;
  height: 20px;
  transform-style: preserve-3d;
}

.cube:hover{
  transform: rotate3d(1, 1, 0, 45deg);
  cursor: pointer;
}

.face {
  width: 20px;
  height: 20px;
  border: 2px solid white;
  position: absolute;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  transition: transform 500ms;
}

.front {
  transform: translateZ(10px);
}

.back {
  transform: translateZ(-10px) rotateY(180deg);
}

.left {
  transform: translateX(-10px) rotateY(-90deg);
}

.right {
  transform: translateX(10px) rotateY(90deg);
}

.top {
  transform: translateY(-10px) rotateX(90deg);
}

.bottom {
  transform: translateY(10px) rotateX(-90deg);
}

.cube-container span{
  display: none;
}
.cube-container:hover span {
      display: block;
      color: #fff;
      cursor: pointer;
      white-space: nowrap;
    }

.nav-top, .nav-about, .nav-contact{
margin-left: 35px;
margin-top: -22px
}


/* ============== mousy ================= */
.scroll-downs {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  width: 39px;
  height: 55px;
}
.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 25px;
  opacity: 0.85;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 5px;
  border-radius: 50%;
  background-color: #fff;
  animation-name: scroll;
  animation-duration: 1.5s;
  animation-timing-function: cubic-bezier(.15,.41,.69,.94);
  animation-iteration-count: infinite;
}
@keyframes scroll {
  0% { opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0;}
}

.scroll-text{
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  color: white;
  text-align: center;
}

/* ========================= Buttons ===================== */

@-webkit-keyframes zoom {
  0%   { -webkit-transform: scale(1); }
	50%  { -webkit-transform: scale(0.8); }
  100% { -webkit-transform: scale(1); }
}
@-moz-keyframes zoom {
  0%   { -moz-transform: scale(1); }
	50%  { -moz-transform: scale(0.8); }
  100% { -moz-transform: scale(1); }
}
@-o-keyframes zoom {
  0%   { -o-transform: scale(1); }
	50%  { -o-transform: scale(0.8); }
  100% { -o-transform: scale(1); }
}
@keyframes zoom {
  0%   { transform: scale(1); }
	50%  { transform: scale(0.8); }
  100% { transform: scale(1); }
}


.long-about-wrap{
  position: absolute;
  top: 38px;
  right: 50px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.about-long{
  margin-top: -10px;
}

.button-wrap {
  width: 60px;
  height: 60px;
  margin: 10px 0;
  display: inline-block;
}

  .circle {
    /* Inner circle */
    width: 40px;
    height: 40px;
    margin: 10px;
    background-color: #fff;
    border-radius: 60px;

    z-index: 2;
    position: absolute;

    text-align: center;
    color: grey;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;


    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
  }

.circle:hover{
  text-decoration: none;
  color: grey;
}
  .outer-circle {
    /** outer circle **/
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background-color: rgba(255,255,255,0.75);

    /*** outer circle position: under */
    z-index: 1;
    position: absolute;
  }

  .circle + .outer-circle{

    animation: zoom 2s ease-in 0s infinite both;
  }




.btn-toggle, .btn-submit {
  background-color: #000;
  border: 3px solid #fff;
  border-radius: 8px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin: 5px;
  outline: none;
  padding: 13px 23px;
  position: relative;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: box-shadow .2s,-ms-transform .1s,-webkit-transform .1s,transform .1s;
  user-select: none;
  -webkit-user-select: none;
  width: 200px;
}

.btn-submit:hover{
  color: #fff;
  background-color: #000;
  border-color: #fff;
}

.btn-toggle:focus-visible, .btn-submit:focus-visible {
  box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
  transition: box-shadow .2s;
}

.btn-toggle:active, .btn-submit:active {
  background-color: #F7F7F7;
  transform: scale(.96);
  color: #000;
}

.btn-toggle:disabled, .btn-submit:disabled {
  border-color: #DDDDDD;
  color: #000;
  cursor: not-allowed;
  opacity: 1;
}

.selected {
  cursor: default;
  background-color: #F7F7F7;
  border: 3px solid #fff;
  color: #000;
}



/* ======================= sliding hero section ========================= */

*/
.section-slides {
  margin-top: -1px;
  overflow: hidden;
}

.slides {
  display: flex;
}

.slide figure {
  margin: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.overlay-img {

  position: absolute;
  bottom: 25px;
  right: 35px;
  /* transform: translate(-50%, -50%); */
  z-index: 10;
  width: 150px;
  height: auto;
}


/* =========================ABOUT SECTION ===================== */
.about{
  color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00B7EA;
  background: linear-gradient(0deg, rgba(0,189,234,1) 0%, rgba(0,81,149,1) 100%);
  overflow-y: hidden;
}


.about-text-wrapper{
  margin-top: -25px;
}


.tiny-workers-1{
  width: 135px;
  position: absolute;
  bottom: 72px;
  left: 30%;
}

.tiny-workers-2{
  width: 143px;
  position: absolute;
  bottom: 25px;
  left: 45%;
}

.tiny-workers-3{
  width: 178px;
  position: absolute;
  bottom: 75px;
  left: 60%;
}


#about-modal{
  background-color: #000;
}



.modal-logo-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-logo{
  width: 100px;
  margin: 25px 0 45px ;
}


.about-div{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-div a{
    display: inline-block;
    width: 100%;
    height: 100%;
}

.about-thumb{
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    max-height: 200px;

}

.about-text{
    display: inline-block;
    padding-bottom: 25px;
}


/* ========================= PORTFOLIO SECTION ===================== */

.slide-over-panel{
    background-color: #000;
    padding-top: 25px;
}

/* Video container below carousel */
.portfolio-video {
  text-align: center;
  margin-top: 100px;
  color: #00B7EA;
  padding:0 20px 50px;
}

.portfolio-video iframe {
  width: 100%;
  height: 700px; /* Adjust the height */
}


.portfolio-wrapper{
  padding: 20px;
}

.portfolio-item, .design-portfolio-item {
  cursor: pointer;
}

.portfolio-item img, .design-portfolio-item img {
    width: 100%; /* Make both images take up the full width of their container */
    height: 100%; /* Make both images take up the full height of their container */
    object-fit: contain; /* Ensure images fit without distortion */
    padding: 10px;
}

/* Hide the hover image by default */
.hover-img {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure hover image is the same size as default */
    opacity: 0; /* Start with opacity 0 for the hover image */
}

/* Show hover image on hover */
.portfolio-item:hover .default-img {
    opacity: 0; /* Make the default image disappear */
}

.portfolio-item:hover .hover-img {
    display: block; /* Make the hover image visible */
    opacity: 1; /* Fade in the hover image */
}


/* The sliding panel styles */
.slide-design-panel {
  position: relative;
  top: 0;
  right: -200%;
  width: 100%;
  height: relative;
  background-color: #111;
  color: white;
  transition: right 0.5s ease-in-out; /* Smooth transition */
}

.slide-3D-panel {
  position: absolute;
  transition: left 0.5s ease-in-out; /* Smooth transition */
}



.portfolio-wrapper{
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-item a{
  display: block;
  width: 100%;
  height: 100%;
}


.portfolio-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 1150px;
}

.panel {
  position: absolute;  /* Allows panels to be positioned on top of each other */
  top: 0;
  left: 0;
  width: 100%;  /* Each panel will take 100% of the container's width */
  height: 100%;
  transition: transform 0.5s ease;
  padding: 20px;
  font-size: 2em;
}

#panel-left {
  transform: translateX(0);  /* Initially visible */
}

#panel-right {
  transform: translateX(100%);  /* Initially hidden off-screen */
}

.fancybox__content{
  width: 80%;
}




/* ========================= CONTACT SECTION ===================== */



.contact{
  position: absolute;
  width: 100%;
  height: 100vh;
  background-image: url("../img/cube_bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.worker-footer{
  width: 25px;
  position: absolute;
  top: -38px;
  right: 80px;
}

.legal{
  text-decoration: underline;
  color: #fff;
}

.legal:hover{
  color: #fff;
}

.legal-text h2{
  color: #444444;
}

.legal-text p{
  color: grey;
}

#legal-modal, #about-modal{
  display: none;
  border-radius: 5px;
}



/* =========================== Media Breakpoints ========================== */

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

  .cube-container {
    width: 20px;
    height: 20px;
    perspective: 50px;
    margin: 5px;
    top: 10px;
    left: 10px;
  }

  #about-cube{
    top: 45px
  }

  #contact-cube{
    top: 80px;
  }


  .tiny-workers-1{
    width: 67px;
    position: absolute;
    bottom: 60px;
    left: 17%;
  }

  .tiny-workers-2{
    width: 74px;
    position: absolute;
    bottom: 35px;
    left: 43%;
  }


  .tiny-workers-3{
    width: 91px;
    position: absolute;
    bottom: 62px;
    left: 70%;
  }

  h1{
    font-size: 45px;
    line-height: 50px;
  }

  h2{
    font-size: 24px;
    line-height: 27px;
  }

  h3{
    font-size: 20px;
    line-height: 20px;
  }

  p{
    font-size: 12px;
    line-height: 20px;
  }
  .portfolio-item{
    max-width: 368px;
    margin: auto;
  }
  .portfolio-container{
    height: 3250px;
  }
  .portfolio-video iframe{
    height: 250px;
  }
  

}


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

  .slide img {
    object-fit: contain;
  }

  .mousey {
    border-radius: 5px;
  }
  .scroller {
    margin-top: 10px;

  }
  @keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-10px); opacity: 0;}
  }


  .overlay-img{
    width: 100px;

    right: 10px;
  }
}

@media screen and (max-width: 768px) {
  .worker-footer{
    width: 18px;
    top: -27px;
    right: 70px;
  }
  .fancybox__content{
    width: 100%;
  }
  
   .about-thumb{
    max-width: 206px;
    
  }

}

@media screen and (min-width: 576px) {

  .tiny-workers-1{
    width: 86px;
    position: absolute;
    bottom: 95px;
    left: 25%;
  }

  .tiny-workers-2{
    width: 92px;
    position: absolute;
    bottom: 63px;
    left: 44%;
  }

  .tiny-workers-3{
    width: 114px;
    position: absolute;
    bottom: 101px;
    left: 65%;
  }

  .portfolio-container{
    height: 4625px;
  }
  .portfolio-video iframe{
    height: 300px;
  }
}


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

  .tiny-workers-1{
    width: 103px;
    position: absolute;
    bottom: 96px;
    left: 28%;
  }

  .tiny-workers-2{
    width: 100px;
    position: absolute;
    bottom: 63px;
    left: 44%;
  }


  .tiny-workers-3{
    width: 135px;
    position: absolute;
    bottom: 97px;
    left: 60%;
  }

  .portfolio-container{
    height: 735px;
  }
  .portfolio-video iframe{
    height: 400px;
  }
}

@media screen and (min-width: 992px) {

  .tiny-workers-1{
    width: 108px;
    position: absolute;
    bottom: 80px;
    left: 30%;
  }

  .tiny-workers-2{
    width: 115px;
    position: absolute;
    bottom: 37px;
    left: 44%;
  }

  .tiny-workers-3{
    width: 142px;
    position: absolute;
    bottom: 81px;
    left: 60%;
  }
  .portfolio-container{
    height: 950px;
  }
  .portfolio-video iframe{
    height: 550px;
  }
}

@media screen and (min-width: 1200px) {

  .tiny-workers-1{
    width: 135px;
    position: absolute;
    bottom: 80px;
    left: 30%;
  }

  .tiny-workers-2{
    width: 143px;
    position: absolute;
    bottom: 37px;
    left: 45%;
  }


  .tiny-workers-3{
    width: 178px;
    position: absolute;
    bottom: 81px;
    left: 60%;
  }

  .portfolio-container{
    height: 1150px;
  }
  .portfolio-video iframe{
    height: 675px;
  }
}
