/* For Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 7px; /* width of the entire scrollbar */
}

*::-webkit-scrollbar-thumb {
  background-color: rgb(95, 95, 97); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 1px solid rgb(255, 255, 255); /* creates padding around scroll thumb */
}



.container__diag#join2{
  display: none;
}

.buttom#submobile{
  display: none;
}

.buttom#submobilecareer {
  display: none;
}

.buttom#submobileconpension {
  display: none;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Adjust the number of columns as needed */
  grid-gap: 10px; /* Adjust the gap between grid items */
  height: 30%;
}

.grid-containerparent {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Adjust the number of columns as needed */
  grid-gap: 10px; /* Adjust the gap between grid items */
  height: 1000px;
  margin-bottom: 30px;
}

.grid-item {
  /* background-color: #ccc; */
  padding: 50px;
  text-align: center;
  border-radius: 5px;
}

.titleteam {
  text-align: start;
  margin-bottom: 10px;
  margin-top: 600px;
  margin-left: 5vw;
}

.name1{
  margin-top: 100px;
  font-size: 12px;
  color: rgb(7, 7, 7);
  background-color: rgb(190, 202, 212);
  border-radius: 5px;
  max-width: 200px;
  margin-left: 40px;
  margin-right: 40px;
}

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

  .footer-details {
    display: grid;
    grid-template-columns: 1fr;
  }

  .container__footer {
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 100%;
  }

  .footer-details {
    display: flex;
    flex-direction: row;
  }

  .footer-links {
    margin-top: 20px;
    font-size: 12px;
  }

  .footer-contact {
    margin-top: 20px;
    font-size: 12px;
  }

  .footer-img {
    width: 120px;
  }

  .footer-copyright {
    margin-top: 10px;
    font-size: 12px;
  }

}


/* Fontsize clamp join us  */
.diag_header#head1 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}
.diag_header#head2 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}
.diag_header#head3 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}
.diag_header#head4 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}
.diag_subheader__line-1 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}
.diag_subheader__line-2 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}
.diag_subheader__line-3 {
  font-size: clamp(1.25rem, -0.6438rem + 3.3445vw, 1.875rem);
}

/* Fontsize clamp culture  */
.diag_subheader__line-1#diag_subhead_1mobile {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_subheader__line-1#diag_subhead_1culture {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-1 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-2 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-3 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-4 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-5 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-6 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}

.diag_text__line-1#diag1 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-2#diag2 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-3#diag3 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-4#diag4 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-5#diag5 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-6#diag6 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.diag_text__line-7#diag7 {
  font-size: clamp(0.625rem, 0.4526rem + 0.8621vw, 0.9375rem);
}
.titleteam {
  font-size: clamp(1.875rem, 1.5302rem + 1.7241vw, 2.5rem);
}


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

  .container__footer {
    margin-top: 450px;
  }

  .titleteam {
    text-align: start;
    margin-bottom: 10px;
    margin-top: 1000px;
  }

  .grid-containerparent {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Adjust the number of columns as needed */
    grid-gap: 10px; /* Adjust the gap between grid items */
    height: 3150px;
    margin-bottom: 30px;
    margin-left: 30vw;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Adjust the number of columns as needed */
    grid-gap: 10px; /* Adjust the gap between grid items */
    height: 30%;
  }
  
  .container__diag#join4{
    display: none;
  }

  .diag-background {
    /* Set a background image */
    background-image:  url("../img/The Team/Us.jpg");
    /* Set background size to cover the entire element */
    background-size: cover;
    /* Set background position to center */
    background-position: center;
    background-repeat: no-repeat;
}

  .diag-background {
    /* Adjust background properties for smaller screens if necessary */
    background-size: contain ; /* or any other suitable size */
}
  .diag-background__why_join_us { /*join us */
    background-image: url("../img/The Team/Us.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:20vw;
    margin-bottom: 15vw;
    clip-path: inset(15% 0 13% 0);

  }

  .diag-background__culture {  /*culture */
    background-image: url("../img/The Team/Culture.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:20vw;
    margin-bottom: 15vw;
    clip-path: inset(15% 0 13% 0);
  }


  .diag-background__career {  /*career */
    background-image: url("../img/The Team/Dev.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:20vw;
    margin-bottom: 15vw;
    clip-path: inset(15% 0 13% 0);
  }


  .diag-background__compensation {  /*career */
    background-image: url("../img/The Team/Compensation.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:20vw;
    margin-bottom: 15vw;
    clip-path: inset(15% 0 13% 0);
  }

  .container__diag#join1{ /*join us */
    display: none;
  }

  .container__diag#join1{ /*join us */
    display: none;
  }

  .container__diag#join2{ /*join us */
    display: block;
  }

  .buttom#submobile {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 20vw;
  }

  .buttom#submobilecareer {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 60vw;
  }

  .buttom#submobileconpension {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 60vw;
  }

  .container__diag#parentdiag{
    display: none;
  }


  .button {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px; /* Add padding around the content */
}

.diag_subheader#diag_subhead_1mobile{
    line-height: 1.4; /* Adjust line height for better readability */
    margin: 0; /* Remove default margin */
    text-align: center;
    color: black;
}

  .diag_subheader#diag_subhead_1culture{
    line-height: 1.4; /* Adjust line height for better readability */
    margin: 0; /* Remove default margin */
    text-align: center;
    color: black;
  }
  .diag_subheader__line-1#diag_subhead_1mobile {
    margin-left: 0px;
    --b: .2em; /* border width */
    --c: 3em; /* corner size */
    --r: 0em; /* corner rounding */
    position: relative;
    margin: 1em auto;
    border: solid var(--b) transparent;
    padding: 3em;
    max-width: 40em;
    
    &::before {
      position: absolute;
      z-index: -1;
      inset: calc(-1*var(--b));
      border: inherit;
      border-radius: var(--r);
      background: linear-gradient(orange, deeppink, rgb(90, 88, 90)) border-box;
      --corner: 
        conic-gradient(from -90deg at var(--c) var(--c), red 25%, #0000 0) 
          0 0/ calc(100% - var(--c))  calc(100% - var(--c)) border-box;
      --inner: conic-gradient(red 0 0) padding-box;
      -webkit-mask: var(--corner), var(--inner);
      -webkit-mask-composite: source-out;
              mask: var(--corner) subtract, var(--inner);
      content: ''
    }
  }

  .cuturespace {
    margin-bottom: 25vw;
  }

  .diag_subheader__line-1#diag_subhead_1culture {
    max-width: 90%; 
    margin-left: 0px;
    --b: .2em; /* border width */
    --c: 3em; /* corner size */
    --r: 0em; /* corner rounding */
    position: relative;
    margin: 1em auto;
    border: solid var(--b) transparent;
    padding: 0em;
    
    &::before {
      position: absolute;
      z-index: -1;
      inset: calc(-1*var(--b));
      border: inherit;
      border-radius: var(--r);
      background: linear-gradient(orange, deeppink, rgb(90, 88, 90)) border-box;
      --corner: 
        conic-gradient(from -90deg at var(--c) var(--c), red 25%, #0000 0) 
          0 0/ calc(100% - var(--c))  calc(100% - var(--c)) border-box;
      --inner: conic-gradient(red 0 0) padding-box;
      -webkit-mask: var(--corner), var(--inner);
      -webkit-mask-composite: source-out;
              mask: var(--corner) subtract, var(--inner);
      content: ''
    }
  }

  .diag_text_container {
    flex-direction: column;
    align-items: flex-start;
}

}

@media screen and (max-width : 580px)and (min-width : 450px){
  
  .buttom#submobilecareer {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 70vw;
  }

  .buttom#submobileconpension {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 80vw;
  }

  .diag-background__career {  /*career */
    background-image: url("../img/The Team/Dev.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:30vw;
    margin-bottom: 15vw;
    clip-path: inset(15% 0 13% 0);
  }

  .diag-background__compensation  {  /*career */
    background-image: url("../img/The Team/Compensation.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:30vw;
    margin-bottom: 15vw;
    clip-path: inset(15% 0 13% 0);
  }
}

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

  .diag-background__culture {  /*culture */
    background-image: url("../img/The Team/Culture.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:40vw;
    margin-bottom:25vw;
    clip-path: inset(15% 0 13% 0);
  }

  .diag-background__career {  /*culture */
    background-image: url("../img/The Team/Dev.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:40vw;
    margin-bottom:25vw;
    clip-path: inset(15% 0 13% 0);
  }

  .diag-background__compensation  {  /*culture */
    background-image: url("../img/The Team/Compensation.jpg");
    margin-left: auto;
    right: 0;
    width: 100%;
    margin-top:40vw;
    margin-bottom:25vw;
    clip-path: inset(15% 0 13% 0);
  }

  section#why-join-us{
    margin-top: 1vw;
  }
  section#culture{
    margin-top: 1vw;
  }
  section#career{
    margin-top: 1vw;
  }
  .cuturespace {
    margin-bottom: 20vw;
  }

  .buttom#submobilecareer {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 100vw;
  }

  .buttom#submobileconpension {
    /*culture */
    display: block;
    padding: 0px 10px 0px 10px;
    margin-top: 100vw;
  }

}

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

  .name1{
    margin-top: 100px;
    font-size: 12px;
    color: rgb(7, 7, 7);
    background-color: rgb(190, 202, 212);
    border-radius: 5px;
    max-width: 200px;
    margin-left: 40px;
    margin-right: 40px;
  }

  .grid-containerparent {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
    height: 3130px;
    margin-bottom: 30px;
    margin-left: 10px;
}

  section#meet-the-team {
    height: 1700px;
    width: 100%;
  }

  .titleteam{
    display: none;
  }


}
/* THE TEAM PICTURE  */

/* @media  screen and (max-width : ) {
  
} */

@media screen and (max-width: 500px){
  .titleteam{
    display: none;
  }


}

@media screen and (max-width: 850px) {
  .titleteam{
    display: none;
  }
}

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

  .navbar-link {
      padding: 15px;
      text-align: center;
      font-size: small;
  }
}

@media screen and (max-width: 900px) {
  .navbar-links {
      display: none;
      flex-direction: column;
      align-items: center;
      position: absolute;
      background-color: #333;
      width: 200px;
      top: 90px;
      right: 15px;
      z-index: 1000;
      padding-bottom: 20px !important;
      border-radius: 10px;
      padding-right: 27px !important;
  }

  .navbar-links.active {
      display: flex;
  }

  .navbar-link {
      padding: 20px;
      text-align: center;
  }

  .burger {
      display: block;
      cursor: pointer;
      margin-left: auto;
      margin-top: 10px;
  }

  .line1, .line2, .line3 {
      width: 25px;
      height: 3px;
      background-color: #fff;
      margin: 5px;
      transition: all 0.3s ease;
  }

  .change .line1 {
      transform: rotate(-45deg) translate(-5px, 6px);
  }

  .change .line2 {
      opacity: 0;
  }

  .change .line3 {
      transform: rotate(45deg) translate(-5px, -6px);
  }
}


