/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    overflow: hidden; /* Ensure no horizontal scrolling */
    
}

@media screen and (max-width: 1100px){

.contact-container{

        
    
    transform: scale(1.5) translateX(20%) translateY(10%);
    transition: transform 0.3s ease-in-out;

    
    

}



}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    
    
}

.video-opacity{

    opacity: 80%;
}

.black-body{

    background-color: #191919;
}

.white-body{

    background-color: white;
}

.ghost-div {
    position: absolute;
    top: 80px; /* Adjust as needed to not cover controls */
    bottom: 60px; /* Adjust as needed to not cover controls */
    left: 0;
    right: 0;
    z-index: 31; /* Ensure it's above the video but below controls */
    
    
}

.logo{
    border: none;
    background: none;
    z-index: 2000;
}

.bold{

    font-weight: bold;

}


/* Animation for the white paths sliding to the right */
@keyframes slideRightLogo {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(1000px); /* Adjust as needed */
    }
  }
  
  /* Animation for the red paths moving right and scaling down */
  @keyframes moveAndScaleLogo {
    from {
      transform: translateX(0) translateY(0) scale(1);
    }
    to {
      transform: translateX(150px) translateY(60px) scale(0.55); /* Adjust as needed */
    }
  }
  @keyframes slideRightLogoBack {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-1000px); /* Adjust as needed */
    }
  }
  
  /* Animation for the red paths moving right and scaling down */
  @keyframes moveAndScaleLogoBack {
    from {
      transform: translateX(0) translateY(0) scale(1);
    }
    to {
      transform: translateX(-275px) translateY(-110px) scale(1.82); /* Adjust as needed */
    }
  }

  
  
  /* Classes to trigger the animations */
  .white-path {
    animation: slideRightLogo 1.3s forwards; /* Adjust duration as needed */
  }
  

  .red-path {
    animation: moveAndScaleLogo 1s forwards; /* Adjust duration as needed */
  }

  .white-path-back {
    animation: slideRightLogoBack 1.3s forwards; /* Adjust duration as needed */
  }
  

  .red-path-back {
    animation: moveAndScaleLogoBack 1s forwards; /* Adjust duration as needed */
  }

  #red-paths{

    overflow: visible;
  }

  polygon .stlogo-back{

    z-index: 6000;
  }

  

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header .logo {
    position: absolute;
    top: 60px;
    left: 50px;
    width: 380px;
    transition: width 0.3s ease-in-out, top 0.3s ease-in-out, left 0.3s ease-in-out;
    z-index: 2000;
}



.menu {
    position: fixed;
    bottom: 100px;
    left: 65px;
    text-align: left;
    z-index: 7000;
    color: white;
    
}

.menu-black {
    position: fixed;
    bottom: 100px;
    left: 65px;
    text-align: left;
    z-index: 7000;
    color: #191919;
    
}

/* work tab */

#workmenu.activered{

    animation: activered 1s;
    animation-fill-mode: forwards;

}

#servicesmenu.activered{

    animation: activered 1s;
    animation-fill-mode: forwards;

}

#teammenu.activered{
    animation: activered 1s;
    animation-fill-mode: forwards;

}

#aboutmenu.activered{
    animation: activered 1s;
    animation-fill-mode: forwards;

}

#aboutmenu.activeredblack{
    animation: activeredblack 1s;
    animation-fill-mode: forwards;

}

#contactmenu.activered{
    animation: activered 1s;
    animation-fill-mode: forwards;

}


#workmenu.activeredblack{

    animation: activeredblack 1s;
    animation-fill-mode: forwards;

}

#teammenu.activeredblack{

    animation: activeredblack 1s;
    animation-fill-mode: forwards;

}

#contactmenu.activeredblack{

    animation: activeredblack 1s;
    animation-fill-mode: forwards;

}

#servicesmenu.activeredblack{

    animation: activeredblack 1s;
    animation-fill-mode: forwards;

}

#workmenu.activeredrev{

    animation: activeredrev 1s;
    animation-fill-mode: forwards;

}

#teammenu.activeredrev{

    animation: activeredrev 1s;
    animation-fill-mode: forwards;

}

#servicesmenu.activeredrev{

    animation: activeredrev 1s;
    animation-fill-mode: forwards;

}

#teammenu.activeredblackrev{

    animation: activeredrevblack 1s;
    animation-fill-mode: forwards;

}

#aboutmenu.activeredblackrev{

    animation: activeredrevblack 1s;
    animation-fill-mode: forwards;

}

#aboutmenu.activeredrev{

    animation: activeredrev 1s;
    animation-fill-mode: forwards;

}

#contactmenu.activeredrev{

    animation: activeredrev 1s;
    animation-fill-mode: forwards;

}

#contactmenu.activeredblackrev{

    animation: activeredrevblack 1s;
    animation-fill-mode: forwards;

}

#teammenu.activeredblackrev{

    animation: activeredrevblack 1s;
    animation-fill-mode: forwards;

}


#workmenu.activeredblackrev{

    animation: activeredrevblack 1s;
    animation-fill-mode: forwards;

}

#servicesmenu.activeredblackrev{

    animation: activeredrevblack 1s;
    animation-fill-mode: forwards;

}




@keyframes activered {
    0% {
      
      color: white;
    }
    
    100% {
      
      color: #CE2029;
    }

}

@keyframes activeredblack {
    0% {
      
      color: #191919;
    }
    
    100% {
      
      color: #CE2029;
    }

}

@keyframes activeredrev {
    0% {
      
      color: #CE2029;
    }
    
    100% {
      
      color: white;
    }

}

@keyframes activeredrevblack {
    0% {
      
      color:  #CE2029;
    }
    
    100% {
      
      color: #191919;
    }

}


.menu.menublack{

    animation: menublackanima 1s;
    animation-fill-mode: forwards;


}

.menu-black.menuwhite{

    animation: menuwhiteanima 1s;
    animation-fill-mode: forwards;


}

@keyframes menublackanima {
    0% {
      
      color: white;
    }
    
    100% {
      
      color: #191919;
    }

}

@keyframes menuwhiteanima {
    0% {
      
      color: #191919;
    }
    
    100% {
      
      color: white;
    }

}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    z-index: 7000;
    
}

.menu-black ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    z-index: 7000;

    
}

.menu ul li {
    margin: 15px 0;
    z-index: 7000;

}

.menu-black ul li {
    margin: 15px 0;
    z-index: 7000;

}

.menu ul li {
    
    text-decoration: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18.5px;
    z-index: 7000;

    
}

.menu-black ul li {
    
    text-decoration: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18.5px;
    z-index: 7000;

    
}


ul li:hover{

    cursor: pointer;
}




  



.scroll-indicator-index, .scroll-indicator-work, .scroll-indicator-services, .scroll-indicator-about {
    position: fixed;
    bottom: 30px;
    right: 80px;
    width: 30px;
    transition: bottom 0.5s ease-in-out, right 0.5s ease-in-out;
}

.scroll-indicator-index, .scroll-indicator-services, .scroll-indicator-about, .scroll-indicator-work:hover {
    cursor: pointer;
}

header, .scroll-indicator-index, .scroll-indicator-services, .scroll-indicator-about, .scroll-indicator-work {
    z-index: 6000; /* Ensure these elements are above the video */
}

header .logo img, .logo svg, .scroll-indicator-index img, .scroll-indicator-work img, .scroll-indicator-about img, .scroll-indicator-services img{
    width: 100%;
    
}



#play-pause{

    opacity: 0;
}

.custom-video-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 30;
    pointer-events: none;
    overflow:hidden;
}

.video-controls-border,
.video-controls-bar,
.close-button {
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    pointer-events: auto; /* Ensure these elements are clickable */
    z-index: 102;
}



.fade-in {
    animation-name: fadeIn;
}

.fade-out {
    animation-name: fadeOut;
}


.video-controls-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: solid rgba(243, 23, 34, 0.0);
    border-width: 15px;
    box-sizing: border-box;
    
}

.video-controls-bar {
    position: absolute;
    bottom: 40px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

/* Container for the progress bar */
.progress-container {
    position: relative;
    width: 70%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    margin: 0 10px;
}

/* The bar that fills up */
.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.div-slide{
    width: 100%;
    height: 100%;
    
    position: absolute;

}

.div-slide-team{
    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    opacity: 100%;
    transform: translateY(0);
    transition: transform 1s ease;

}

.div-slide-contact{
    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    opacity: 100%;
    transform: translateY(0);
    transition: transform 1s ease;

}

.div-slide-services{
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    opacity: 100%;
    transform: translateY(0);
    transition: transform 1s ease;

}

.div-slide-about{
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    opacity: 100%;
    transform: translateY(0);
    transition: transform 1s ease;

}

.div-under-services{
    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    opacity: 100%;

}

.div-slide-services.scroll-reveal{ 

    transform: translateY(100%);
}

.div-slide-team.scroll-reveal{ 

    transform: translateY(100%);
}

.div-slide-about.scroll-reveal{ 

    transform: translateY(100%);
}

.div-slide-contact.scroll-reveal{ 

    transform: translateY(100%);
}

/* The filled portion of the progress bar */
.progress-filled {
    width: 0%;
    height: 100%;
    background: rgba(255, 24, 36, 0.5); /* Change this to your desired color */
    transition: width 0.2s;
    border-radius: 1px;
}

.time-display {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: white;
    margin-right: 10px;
}

#volume-bar {
    width: 100px;
    margin-left: 10px;
}

.close-button {
    position: absolute;
    top: 5.5%;
    right: 4%;
    width: 35px;
    height: auto;
    background: none;
    cursor: pointer;
    border: none;
    
}



#forward{

    cursor: pointer;
    background: none;
    border: none;
}

#backward{
    
    border: none;
    cursor: pointer;
    background: none;

}

#mute-unmute{

    cursor: pointer;
    background: none;
    border: none;

}

#volume-bar{

    display: none;
}

/* Add fade-out and move animations */
@keyframes ativarItem {
    0% {
        color: white;
    }
    100% {
        color: #CE2029;
        
    }
}

@keyframes desativarItem {
    from {
        color: #CE2029;
    }
    to {
        color: white;
        
    }
}




@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.logo.fade-out-up {
    animation: fadeOutUp 1s forwards;
}

.menu.fade-out-left {
    animation: fadeOutLeft 1s forwards;
}

.scroll-indicator-index.fade-out-down {
    animation: fadeOutDown 1s forwards;
}

.scroll-indicator-work.fade-out-down {
    animation: fadeOutDown 1s forwards;
}

.scroll-indicator-services.fade-out-down{

    animation: fadeOutDown 1s forwards;

}

.scroll-indicator-about.fade-out-down{

    animation: fadeOutDown 1s forwards;
}

/* Ensure the elements are hidden when faded out */
.hidden {
    display: none;
}


/* Add fade-in and move animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo.fade-in-down {
    animation: fadeInDown 1s forwards;
}

.menu.fade-in-right {
    animation: fadeInRight 1s forwards;
}

.scroll-indicator-index.fade-in-up {
    animation: fadeInUp 1s forwards;
}

.scroll-indicator-work.fade-in-up{
    animation: fadeInUp 1s forwards;


}

.scroll-indicator-services.fade-in-up{

    animation: fadeInUp 1s forwards;
}

.scroll-indicator-about.fade-in-up{

    animation: fadeInUp 1s forwards;

}
/* Ensure the elements are hidden when faded out */
.hidden {
    display: none;
}






/* CSS for the overlay */



#black-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#191919;
    transform: translateY(100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#white-overlay-work {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    transform: translateY(100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}





#black-overlay-work {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #191919;
    transform: translateY(0);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#black-overlay-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #191919;
    transform: translateY(-100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#white-overlay-team {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateY(-100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#white-overlay-team2 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateY(100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}




/* Class to trigger the slide up animation (index page) */
#black-overlay.scroll-up {
    transform: translateY(0);
}

#black-overlay-contact.scroll-up {
    transform: translateY(0);
}

#white-overlay-work.scroll-up {
    transform: translateY(0);
}




/* Class to trigger the slide down animation (work page) */

#black-overlay-work.scroll-down {
    
    transform: translateY(100%);
    animation-delay: 2s;
}

#white-overlay-team.scroll-up{

    transform: translateY(0);

}

#white-overlay-team2.scroll-up{

    transform: translateY(0);

}



#black-overlay-services-up {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#191919;
    transform: translateY(-100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#black-overlay-services-down {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #191919;
    transform: translateY(100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#black-overlay-services-up.scroll-down{

    transform: translateY(0);
    
}

#black-overlay-services-down.scroll-up{

    transform: translateY(0);
    
}

.title-project{

    font-size: 'IBM Plex Sans', sans-serif;
    color: #CE2029;
    position: absolute;
    right: 10%;
    top: 5%;
    font-weight: bold;
    font-size: 60px;
}

#black-overlay-services {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #191919;
    transform: translateY(100%);
    transition: transform 1s ease;
    z-index: 2;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#black-overlay-aboutus {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #191919;
    transform: translateY(-100%);
    transition: transform 1s ease;
    z-index: 1000;
    overflow: hidden; /* Prevent scrolling on overlay */
}

#black-overlay-services.scroll-up{

    transform: translateY(0);
    
}

#black-overlay-services.scroll-down{

    transform: translateY(0);
    
}

#black-overlay-aboutus.scroll-down{

    transform: translateY(0);
    
}



.thumbnail-page-overlay {
    position: fixed; /* Fixed positioning to cover the whole viewport */
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    background-color: #191919; /* Background color of the overlay */
    z-index: 105; /* Ensure it's above all other content */
    transition: transform 1.5s ease-in-out; /* Animation for sliding out */
    transform: translateX(0); /* Start position */
}

.thumbnail-page-overlay.slide-out {
    transform: translateX(-100%); /* Slide out to the left */
}

.thumbnail-page-overlay.slide-in {
    transform: translateX(10%); /* Slide in from the left */
}

.gowork.unactive{

    animation: desativarItem;
    transition: color 0.3s ease-in-out; /* Transition duration and timing function */

}

.goservices.unactive{

    animation: desativarItem;
    transition: color 0.3s ease-in-out; /* Transition duration and timing function */

}

.goteam.unactive{

    animation: desativarItem;
    transition: color 0.3s ease-in-out; /* Transition duration and timing function */

}

.goabout.unactive{

    animation: desativarItem;
    transition: color 0.3s ease-in-out; /* Transition duration and timing function */

}

.gocontact.unactive{

    animation: desativarItem;
    transition: color 0.3s ease-in-out; /* Transition duration and timing function */

}

.hide#white-paths-back{

    opacity: 0;

}

.show#white-paths-back{

    opacity: 100%;

}



.hide.horizontal-scroll-container{

    opacity: 0; 
}

.hide.team-scroll-container{

    opacity: 0; 
}

.hide.thumbnail-page-overlay{


    opacity: 0;
}

.active{

    animation: ativarItem;
    transition: color 0.3s ease-in-out;
    
}


.lang{

    color: white;
    font-family: 'IBM Plex Sans', sans-serif;
    float: right;
    margin-top: 40px;
    margin-right: 80px;
    z-index: 99999;

    
}

.lang:hover{

    color: #CE2029;
    cursor: pointer;

}

.lang-black{

    color: #191919;
    font-family: 'IBM Plex Sans', sans-serif;
    float: right;
    margin-top: 40px;
    margin-right: 80px;
    z-index: 99999;


}

.en-active, .pt-active{

    color: #CE2029;
    z-index: 99999;


}

.en{
    z-index: 99999;


}

.pt{
    z-index: 99999;


}


.traco{

    color: #CE2029;
}








/* Existing CSS code */

/* Style for the active menu item */
.gowork.active {
    color: #CE2029;
}

.goservices.active {
    color: #CE2029;
}
.goteam.active {
    color: #CE2029;
}
.goabout.active {
    color: #CE2029;
}
.gocontact.active {
    color: #CE2029;
}
/* Container for horizontal scrolling */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap;
    padding-bottom: 20px; /* Some padding for scroll indication */
    cursor: grab; /* Indicate draggable area */
    position: relative;
    width: 100vw; /* Full viewport width */
    height: auto; /* Adjust based on content */
    margin-top: 3%;
    left: 18%;
}

.team-scroll-container {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    overflow-y:hidden;
    white-space: nowrap;
    padding-bottom: 20px; /* Some padding for scroll indication */
    cursor: grab; /* Indicate draggable area */
    position: relative;
    width: 100vw; /* Full viewport width */
    height: auto; /* Adjust based on content */
    left: 20%;
    
}

#black{

    color: #191919;
}

#servicesmenu-black{

    color: #191919;
}

#teammenu-black{

    color: #191919;
}

#aboutmenu-black{

    color: #191919;
}

#contactmenu-black{

    color: #191919;
}



.smooth-scroll {
    transition: transform 0.3s ease-out; /* Adjust the duration and easing function as needed */
}


.horizontal-scroll-container:active {
    cursor: grabbing; /* Change cursor when active */
}

.team-scroll-container:active {
    cursor: grabbing; /* Change cursor when active */
}

.team-thumbnail:hover{

    cursor: pointer;
    filter: grayscale(0%);
    transition: ease 1s;
}

.team-thumbnail2:hover{

    cursor: pointer;
    filter: grayscale(0%);
    transition: ease 1s;
}

.team-thumbnail3:hover{

    cursor: pointer;
    filter: grayscale(0%);
    transition: ease 1s;
}

.team-thumbnail:active{

    cursor: grabbing;
}

.team-thumbnail2:active{

    cursor: grabbing;
}

.team-thumbnail3:active{

    cursor: grabbing;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    margin-right: 25px; /* Space between thumbnails */
    
    z-index: 100;
    margin-top: 65vh;
   /* opacity: 0; */

}

.team-container {
    display: flex;
    flex-direction: column;
    margin-right: 10px; /* Space between thumbnails */
    
    z-index: 100;
    margin-top: 22vh;
   /* opacity: 0; */

}


.team-container-end {
    display: flex;
    flex-direction: column;
    margin-right: 60px; /* Space between thumbnails */
    
    z-index: 100;
    margin-top: 195px;
    opacity: 0; 

}

.thumbnail-container-end {
    display: flex;
    flex-direction: column;
    margin-right: 60px; /* Space between thumbnails */
    
    z-index: 100;
    margin-top: 255px;
   opacity: 0;

}

.services-overlay{

    position: absolute;
    width: 100%;
    height: 52%;
    background-color: white;
    z-index: 5001;
    transform: translateX(0);
}

.team-overlay{

    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #191919;
    z-index: 5001;
    transform: translateX(0);
}

.services-overlay.services-reveal{

    transform: translateX(100%);
    transition: ease 1.5s;
}

.services-overlay.services-hide{

    transform: translateX(0);
    transition: ease 1.5s;
}

.services-overlay.hide{

    opacity: 0%;
}

.team-overlay.team-reveal{

    transform: translateX(100%);
    transition: ease 1.5s;
    overflow-x: hidden;
}

.team-overlay.team-hide{

    transform: translateX(0);
    transition: ease 1.5s;
}

.team-overlay.hide{

    opacity: 0%;
}

.services-container.hide{

    opacity: 0%;
}

.team-container.hide{

    opacity: 0%;
}



.contact-overlay{

    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    transform: translateX(0);

}

.contact-overlay.contact-reveal{
    transform: translateX(100%);
    transition: ease 1s;


}

.contact-overlay.contact-hide{
    transform: translateX(0);
    transition: ease 1s;


}

.contact-overlay.hide{


    opacity: 0%;
}

.contact-container.hide{

    opacity: 0%;
}







.ponta-container{
    
    width: 30px;
    float: left;

    
}


.bitoques-container{

   
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 10vh;
    width: 70%;
    height: 20%;
}

.bitoquesimg{

    width: 45vw;

}

.bitoques-desc{

    font-size: 18px;
    left: -40%;
    z-index: 10;
    top: 10vh;
    right: 100%;
    color: white;
    position: relative;
    width: 50%;

}


.youtube-player{

    position: absolute;
    width: 560px;
    height: 315px;
    margin-left: 59vw;
    margin-top: 27vh;
    z-index: 10;
    align-content: center;

}

.episodio{

    width: 90%;
    height: 90%;


}


.ponta2{
    
    transform: rotate(180deg);
    

}

.ponta2.rotateponta{

    transform: rotate(0);
    transition: ease 0.5s;

}

.ponta2.derotateponta{

    transform: rotate(180deg);
    transition: ease 0.5s;

}

#white-paths-back.hide{

    opacity: 0;
}


.ponta-container2{
    
    width: 40px;
    margin-left: 100%;
    float: right;
    
}


.about-launch-overlay{

    width: 125%;
    height: 125%;
    transform: translateX(-15%) translateY(-10%);
    background-color: white;
    position: absolute;
    z-index: 1000;
}

.about-launch-overlay.hide{

    opacity: 0;
}


.about-launch-overlay.overlayout{

    transform: translateX(100%) translateY(-10%);
    transition: transform ease 2s;


}

.about-launch-overlay.overlayin{

    transform: translateX(-15%) translateY(-10%);
    transition: transform ease 1s;


}


.thumbnail {
    width: 250px; /* Fixed width for thumbnails */
    height: auto; /* Maintain aspect ratio */
    margin-left: 50px;
    
}

.thumbnail-text {
    text-align: left; /* Center the text */
    color: #fff; /* Adjust text color */
    font-size: 14px; /* Adjust font size */
    margin-top: 10px; /* Space above text */
    margin-left: 50px;
}




.team-thumbnail {
    width: 320px; /* Fixed width for thumbnails */
    height: auto; /* Maintain aspect ratio */
    margin-left: 40px;
    filter: grayscale(100%);
    transition: ease 1s;
    
}

.team-thumbnail2 {
    width: 320px; /* Fixed width for thumbnails */
    height: auto; /* Maintain aspect ratio */
    margin-left: 40px;
    filter: grayscale(100%);
    transition: ease 1s;
    
}

.team-thumbnail2:hover{
    cursor: pointer;


}

.team-thumbnail3 {
    width: 320px; /* Fixed width for thumbnails */
    height: auto; /* Maintain aspect ratio */
    margin-left: 40px;
    filter: grayscale(100%);
    transition: ease 1s;
    
}

.team-thumbnail3:hover{

    cursor: pointer;

}






.team-thumbnail-text {
    text-align: left; /* Center the text */
    color: #fff; /* Adjust text color */
    font-size: 14px; /* Adjust font size */
    padding-top: 10px;
    margin-left: 40px;
    width: 370px;
    
    
}
.team-thumbnail-text-cover {
    
    position: absolute;
    height: 210px;
    width: 370px;
    background-color: #191919;
    transition: transform 0.5s ease-in-out;
    transform: translateY(10%);
    
    
}

.team-thumbnail-text-cover2 {
    
    position: absolute;
    margin-left: -5px;
    height: 210px;
    width: 375px;
    background-color: #191919;
    transition: transform 0.5s ease-in-out;
    transform: translateY(10%);
    
    
}

.team-thumbnail-text-cover3 {
    
    position: absolute;
    height: 210px;
    width: 370px;
    background-color: #191919;
    transition: transform 0.5s ease-in-out;
    transform: translateY(10%);
    
    
}







.nome-equipa{

    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #CE2029;
    font-size: 24px;
   
}

.thumbnail-text p {
    margin: 2px 0; /* Spacing between lines of text */
}

.team-thumbnail-text p {
    margin: 6px 0; /* Spacing between lines of text */
}

/* Hide scrollbar for horizontal scroll container */
.team-scroll-container::-webkit-scrollbar {
    display: none;
}

.team-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Mouse hover to enable horizontal scroll */
.team-scroll-container:hover {
    overflow-x: auto;
}
/* Hide scrollbar for horizontal scroll container */
.team-scroll-container::-webkit-scrollbar {
    display: none;
}

.team-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}



/* Mouse hover to enable horizontal scroll */
.team-scroll-container:hover {
    overflow-x: auto;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Mouse hover to enable horizontal scroll */
.horizontal-scroll-container:hover {
    overflow-x: auto;
}
/* Hide scrollbar for horizontal scroll container */
.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}



/* Mouse hover to enable horizontal scroll */
.horizontal-scroll-container:hover {
    overflow-x: auto;
}



/* Mouse hover on thumbnails to show cursor pointer */
.thumbnail:hover {
    cursor: pointer;
}

.thumbnail:active {
    cursor: grabbing;
}



.rato {
    position: fixed;
    border-radius: 50%;
    transform: translateX(25%) translateY(-105%);
    pointer-events: none;
    /* mix-blend-mode: difference; */
    background-color: transparent;
    z-index: 999999;
    border: 2.5px solid #CE2029;
    height: 15px;
    width: 15px;
    transition: all 175ms ease-out;
  }

  .rato-text {
    position: fixed;
    color: white;
    transform: translateX(25%) translateY(-105%);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: bold;
    z-index: 10000;
    pointer-events: none;
    transition: all 175ms ease-out;
}

.scroll-up {
    transform: translateY(0%);
}
  
.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3001;
    
    margin-top: 15%;
}

.row {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    z-index: 3001;
   
}

.row2 {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    z-index: 1000;
    margin-right: 100px;
}


.box {
    
    padding: 20px;
    margin: 10px;
    text-align: center;
    color: #191919;
    z-index: 1000;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: bold;
    font-size: 3vw;
}

.box:hover {
    cursor: pointer;
    color: #CE2029;

}

.ponta-services-container{
    
    width: 40px;
    margin-top: -25px;
    float: left;
    
}

.side-overlay{

    z-index: 7010;
    width: 84.5%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    transform: translateX(100%);
    transition: 1s ease;
    right: 0;
}

.services-slider{


    transform: translateX(0);

}

.side-div{

    z-index: 7010;
    width: 84.5% !important;
    height: 100%;
    background-color: #191919;
    position: absolute;
    transform: translateX(0);
    transition: 1s ease;
    right: 0;
    
}

.services-slider-leave{


    transform: translateX(100%);

}

.service-title{

    position: relative;
    /* background-color: blue; */
    width: 40%;
    float: right;
    font-family: 'IBM Plex Sans', sans-serif;
    color: white;
    font-weight: bold;
    text-align: left;
    font-size: 3.5vw;

}

.titleclass{

    position: relative;
    padding-top: 6%;

}

.servicetext{

    position: absolute;
   /* background-color: blue; */
    width: 90%;
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif;
    color: white;
    margin-top: 15%;
    font-size: 25px;
    left: 50%;
    height: 25%;
    transform: translate(-50%);
            
    
   
}

.textbox{
    padding-left: 2%;
    position: relative;
    padding-bottom: 0;
    

}

.ponta3{
    position: absolute;
    transform: scale(0.03);
    
    
    
    
}

.getintouch{

    
    position: absolute;
    width: 20%;
    font-family: 'IBM Plex Sans', sans-serif;
    right: 0;
    bottom: 45%;
    color: #CE2029;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;

}

.line{

    background-color: #CE2029;
    width: 7vw;
    height: 0.7vw;
    margin-left: 50px;
    margin-top: 0;
}

.services-slider-out{


    transform: translateX(100%);

}

.thumbnail-latest {
    width: 400px; /* Fixed width for thumbnails */
    height: auto; /* Maintain aspect ratio */
    z-index: 7000;
    
    
    
    
}



.latesttext{

    position: absolute;
    width: 20%;
    font-family: 'IBM Plex Sans', sans-serif;
    bottom: 380px;
    left: 17%;
    color: white;
    font-size: 18px;
    font-weight: light;

}

.closeside{

    position: absolute;
    border: none;
    background: none;
    width: 35px;
    cursor: pointer;
    margin-left: 50px;
    margin-top: 40px;
    display: inline-block;
    z-index: 1000;
    

}




.about-container{

    position: absolute;
   /* background-color: aquamarine;*/
    float: right;
    width: 84.5%;
    height: 100%;
    right: 0;
    z-index: 1000;
   

}

.about-container.hide{

    opacity: 0;
   

}

.about-body{

    font-family: 'IBM Plex Sans', sans-serif;
    width: 55%;
    font-size: 1.5vw;
    top: 24%;
   /* background-color: beige; */
    color: #191919;
    left: 18%;
    position: absolute;


}

.ponta-about-container{

    width: 25px;
    

}


.ponta-about-container2{

    width: 25px;
    float: right;
}

.text-padding{


   
    padding-left: 5%;
}

.span-medium{

    font-weight: 550;

}

.span-7800{

    color:#CE2029;
    font-weight: 500;
}

 .closeside.x-rotate{

    transform: rotate(-180deg);
    transition: transform 0.8s ease;

} 


.contact-container{

    position: absolute;
    width: 28vw;
    left: 30%;
    top: 25%;
    transition: transform 0.3s ease-in-out;

    font-family: 'IBM Plex Sans', sans-serif;
    

}

.letswork{

    color:#CE2029;
    font-size: 4vw;
    font-weight: 700;
}

.talk{

    color: white;
    font-size: 3vw;
    font-weight: 700;
}

.restred{

    color:#CE2029;
    font-size: 1.5vw;
    font-weight: 400;

}

.instaicon{

    margin-left: 3%;
    width: 3vw;
}

.youtubeicon{
    
    width: 3vw;
}



.service-title-overlay{

    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    z-index: 10000;
    transform: translateX(0);
    
}

.service-text-overlay{

    width: 100%;
    height: 100vh;
    background-color: #191919;
    position: absolute;
    z-index: 10000;
    transform: translateX(0);
    
}

.service-text-overlay.side-enter{

    transform: translateX(100%);
    transition: transform 0.8s ease;

}

.service-title-overlay.side-enter{

    transform: translateX(100%);
    transition: transform 0.8s ease;

}

.service-title-overlay.side-leave{

    transform: translateX(0);
    transition: transform 0.8s ease;
}

.service-text-overlay.side-leave{

    transform: translateX(0);
    transition: transform 0.8s ease;
}

.getintouch-overlay{

    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    z-index: 10000;
    transform: translateY(0);

}

.latestwork-overlay{
    width: 100%;
    height: 100%;
    background-color: #191919;
    position: absolute;
    z-index: 12000;
    transform: translateY(0);

}

.getintouch-overlay.side-entery{

    transform: translateY(110%);
    transition: transform 0.8s ease;

}

.latestwork-overlay.side-entery.side-leavey{

    transform: translateY(0);
    transition: transform 0.8s ease;

}

.latestwork-overlay.side-entery{

    transform: translateY(110%);
    transition: transform 0.8s ease;

}

.getintouch-overlay.side-leavey{

    transform: translateY(0);
    transition: transform 0.8s ease;

}



.latestwork{

    
    margin-left: 50px;
    position: absolute;
    bottom: 10%;
    left: 10%;
    z-index: 11000;

}


.launchsoon{

    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 5vw;
    position: absolute;
    top: 44vh;
    left: 35vw;
    color: white;
    font-weight: 400;
    width: 60vw;
    transition: transform 0.3s ease-in-out;


}

.textsoon{

    font-weight: 800;
    color:#CE2029;
   
    
}

.ponta{
    transition: transform 0.3s ease-in-out;

}


#red-paths-back:hover{

cursor: pointer;

}

@media screen and (max-width: 1250px) {

    .services-container {

        
        margin-top: 25%;
    }

    .menu-black {
        position: fixed;
        transform: scale(0.9);
        left: 5px;
        
        
        
    }

    .youtube-player{

        width: 520px;
        height: 292.5px;
        margin-left: 59vw;
        margin-top: 27vh;
        
    
    }

    .menu {
        position: fixed;
        transform: scale(0.9);
        left: 5px;
        
        
        
    }


    .services-overlay{

        height: 51.6%;

    }

    header .logo {
      
        left: 10px;
       
        z-index: 2022;
    }


    .thumbnail {
        width: 250px; /* Fixed width for thumbnails */
        
        margin-left: 50px;
        
    }

    .thumbnail-container {
       
        margin-right: 1px; /* Space between thumbnails */
      
       /* opacity: 0; */
    
    }
   

    

}

@media screen and (max-width: 1160px) {


.youtube-player{

        width: 500px;
        height: 281.25px;
        margin-left: 59vw;
        margin-top: 27vh;
        
    
    }

}

@media screen and (max-width: 1100px) {



    header .logo {
      
        left: 10px;
       width: 200px;
        z-index: 2022;
    }

    .team-container {
        
        margin-right: 2px; /* Space between thumbnails */
       
       /* opacity: 0; */
    
    }

    .youtube-player{

        width: 428px;
        height: 240.75px;
        margin-left: 63vw;
        margin-top: 27vh;
        
    
    }

    .bitoques-container{

   
        position: absolute;
        z-index: 10;
        left: 50%;
        top: 6vh;
        width: 70%;
    }

    

    .bitoques-desc{

        font-size: 17px;
        left: -35%;
        z-index: 10;
        top: 12vh;
        right: 105%;
        color: white;
        position: relative;
    
    }

    .team-thumbnail {
        width: 300px; /* Fixed width for thumbnails */
        height: auto; /* Maintain aspect ratio */
        margin-left: 40px;
        filter: grayscale(100%);
        transition: ease 1s;
        
    }

    .team-thumbnail2 {
        width: 300px; /* Fixed width for thumbnails */
        height: auto; /* Maintain aspect ratio */
        margin-left: 40px;
        filter: grayscale(100%);
        transition: ease 1s;
        
    }

    .team-thumbnail3 {
        width: 300px; /* Fixed width for thumbnails */
        height: auto; /* Maintain aspect ratio */
        margin-left: 40px;
        filter: grayscale(100%);
        transition: ease 1s;
        
    }

    .about-body{

        
    
        font-size: 1.6vw;
        
    
    
    }

    .thumbnail {
        width: 250px; /* Fixed width for thumbnails */
        
        margin-left: 80px;
        
    }

    .thumbnail-text {
       
        margin-left: 80px;
    }

   

    .servicetext{

       
        font-size: 20px;
        
                
        
       
    }

    .services-overlay{

       
        width: 100%;
        height: 44.5%;
        
    }

   

}


@media screen and (max-width: 1060px) {

    .youtube-player{

        width: 400px;
        height: 225px;
        margin-left: 63vw;
        margin-top: 27vh;
        
    
    }

    .bitoques-desc{

        font-size: 15px;
        left: -35%;
        z-index: 10;
        top: 12vh;
        right: 105%;
        color: white;
        position: relative;
    
    }

}

@media screen and (max-width: 980px) {

    .youtube-player{

        width: 352px;
        height: 198px;
        margin-left: 63vw;
        margin-top: 27vh;
        
    
    }

    .bitoques-desc{

        font-size: 14px;
        left: -35%;
        z-index: 10;
        top: 12vh;
        right: 105%;
        color: white;
        position: relative;
    
    }

}

@media screen and (max-width: 865px) {

    .youtube-player{

        width: 320px;
        height: 180px;
        margin-left: 63vw;
        margin-top: 27vh;
        
    
    }

    .bitoques-desc{

        font-size: 14px;
        left: -35%;
        z-index: 10;
        top: 12vh;
        right: 105%;
        color: white;
        position: relative;
    
    }

}

@media screen and (max-width: 785px) {

    .youtube-player{

        width: 288px;
        height: 162px;
        margin-left: 63vw;
        margin-top: 27vh;
        
    
    }

    .bitoques-desc{

        font-size: 12px;
        left: -35%;
        z-index: 10;
        top: 12vh;
        right: 105%;
        color: white;
        position: relative;
    
    }

}

/* Mobile styles */
@media screen and (max-width: 700px) {
    .video-container {
        width: 100%;
        height: auto;
        top: 0;
    }

    .youtube-player{

        width: 288px;
        height: 162px;
        margin-left: 59vw;
        margin-top: 14vh;
        
    
    }

    .rato {
         opacity: 0;
      }
    
      .rato-text {
        opacity: 0;

    }

    

   

    .team-thumbnail {
        width: 200px; /* Fixed width for thumbnails */
        height: auto; /* Maintain aspect ratio */
        margin-left: 40px;
        filter: grayscale(0);
        transition: ease 1s;
        
    }

    .team-thumbnail2 {
        width: 200px; /* Fixed width for thumbnails */
        height: auto; /* Maintain aspect ratio */
        margin-left: 40px;
        filter: grayscale(0);
        transition: ease 1s;
        
    }

    .team-thumbnail3 {
        width: 200px; /* Fixed width for thumbnails */
        height: auto; /* Maintain aspect ratio */
        margin-left: 40px;
        filter: grayscale(0);
        transition: ease 1s;
        
    }

    .nome-equipa{

        writing-mode: vertical-rl;
        transform: rotate(180deg);
        position: absolute;
        font-family: 'IBM Plex Sans', sans-serif;
        color: #CE2029;
        font-size: 20px;
       
    }

    .team-thumbnail-text-cover3 {
    
        position: absolute;
        height: 210px;
        width: 370px;
        background-color: #191919;
        transition: transform 0.5s ease-in-out;
        transform: translateY(10%);
        opacity: 0;

        
        
    }

    .team-thumbnail-text-cover2 {
    
        position: absolute;
        height: 210px;
        width: 370px;
        background-color: #191919;
        transition: transform 0.5s ease-in-out;
        transform: translateY(10%);
        opacity: 0;

        
        
    }

    .team-thumbnail-text-cover {
    
        position: absolute;
        height: 210px;
        width: 370px;
        background-color: #191919;
        transition: transform 0.5s ease-in-out;
        transform: translateY(10%);
        opacity: 0;
        
        
    }

    .team-container {
        
        margin-top: 9vh;
        
       
    
    }

    .team-thumbnail-text {
        text-align: left; /* Center the text */
        color: #fff; /* Adjust text color */
        font-size: 8px; /* Adjust font size */
        padding-top: 5px;
        margin-left: 40px;
        width: 380px;
        
        
    }

    

    .bitoques-desc{

        font-size: 10.5px;
        left: -50%;
        z-index: 10;
        top: 3.5vh;
        right: 100%;
        color: white;
        position: relative;
    
    }

    .thumbnail {
        width: 200px; /* Fixed width for thumbnails */
        
        margin-left: 20px;
        
    }

    .thumbnail-container {
        display: flex;
        flex-direction: column;
        margin-right: 25px; /* Space between thumbnails */
        
        z-index: 100;
        margin-top: 61vh;
       
    
    }

    .thumbnail-text {
       
        margin-left: 20px;
        font-size: 10px;
    }

    .bitoques-container{

   
        position: absolute;
        z-index: 10;
        left: 50%;
        top: 6vh;
        width: 90%;
    }

    .horizontal-scroll-container {
        bottom: 175px;
        left: 2%;
    }

    .ponta{

        transform: scale(0.6);
        transition: transform 0.3s ease-in-out;

    }

    .rato {
        opacity: 0;
      }


    .launchsoon{

        transform: translateY(-50%) translateX(-20%) scale(1.2);
        transition: transform 0.3s ease-in-out;
    
    
    }

    .contact-container{

        
        font-size: 2vw;
        transform: scale(1.7) translateX(20%) translateY(10%);
        transition: transform 0.3s ease-in-out; 
    
    }

    .servicetext{

       
        font-size: 18px;
        
                
        
       
    }


    .about-body{

        transform: scale(1.4);
        transition: transform 0.3s ease-in-out;
        font-size: 1.8vw;
    
    
    }

    .ponta-about-container{

        transform: scale(0.5);
        transition: transform 0.3s ease-in-out;
    
    }
    
    
    .ponta-about-container2{
    
        transform: scale(0.5);
        transition: transform 0.3s ease-in-out;
    }

    .about-launch-overlay{

        
        transform: scale(2);
        
    }

    .services-container {

        
        margin-top: 35%;
        margin-left: 10%;
        
    }



    #background-video {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    header .logo {
        top: 20px;
        left: 10px;
        width: 150px;
        z-index: 2022;
    }

    .menu {
        position: fixed;
        bottom: 11px;
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        background: rgba(0, 0, 0, 0.0);
        padding: 10px;
        z-index: 7000;
        color: white;
        transform: scale(0.7);

    }

    

    .menu-black {
        position: fixed;
        bottom: 11px;
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        background: rgba(0, 0, 0, 0.0);
        padding: 10px;
        z-index: 7000;
        color:#191919;
        transform: scale(0.7);
    }

    .menu ul {
        padding: 0;
        margin: 0;
        display: inline-block;
        z-index: 7000;
    }

    .menu-black ul {
        padding: 0;
        margin: 0;
        display: inline-block;
        z-index: 7000;

    }

    .menu ul li {
        margin: 10px 0;
        z-index: 7000;

    }

    .menu-black ul li {
        margin: 10px 0;
        z-index: 7000;

    }

    .menu ul li a {
        font-size: 22px;
        z-index: 7000;

    }

    .menu-black ul li a {
        font-size: 22px;
        z-index: 7000;

    }

    .scroll-indicator-index, .scroll-indicator-work, .scroll-indicator-services, .scroll-indicator-about {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) scale(0.7);
        right: auto;
        z-index: 7000;


    }

}



@media screen and (max-width: 640px) {
   

    .youtube-player{

        width: 288px;
        height: 162px;
        margin-left: 56vw;
        margin-top: 14vh;
        
    
    }

}

@media screen and (max-width: 595px) {
   

    .youtube-player{

        width: 272px;
        height: 153px;
        margin-left: 55vw;
        margin-top: 14vh;
        
    
    }

}

@media screen and (max-width: 550px) {
   

    .youtube-player{

        width: 260px;
        height: 146.25px;
        margin-left: 52vw;
        margin-top: 15vh;
        
    
    }

    .bitoques-desc{

        font-size: 10px;
        left: -50%;
        z-index: 10;
        top: 3.5vh;
        right: 100%;
        color: white;
        position: relative;
    
    }

}














