header {
  position: fixed;
  width: 100%;
  top:0;
  z-index: 3000000;
}

.nav-bar {
  top:20px;
  display: flex;
  align-self: center;
}

.opacity1,
.opacity3{
  background-color: #282d32;
}

.pad-size1,
.pad-size2,
.pad-size3,
.opacity2,
.size1,
.size2
{
  transition-duration:0.5s;
}

.pad-size1{
  padding-top:90px;
  transition-duration:1s;
}

.opacity1 {
  height: 90px;
  transition-duration:1s;
}

.pad-size2{
  padding-top:70px;
}

.opacity2 {
  height: 70px;
  background-color: transparent;
}

.pad-size3{
  padding-top:60px;
}

.opacity3 {
  height: 60px;
}
.opacity4{
  transition-duration: 1s;
  background-color:  black;
  height: 70px;
}

.container-fluid{
  display: flex;
  align-self: center;
  justify-content: space-between;
}

.size1{
  width: 200px;
}

.size2{
  width: 150px;
}
.logo{
  position: absolute;
}
.logoRbs{
  position: relative;
  top:0;
}

.rempli{
  width: 58px;
}

.navOption{
  padding-left: 20px;
  padding-right: 20px;
}

.linkOption{
  color: white;
}
.nav-hover{
  display: flex;
  justify-content: center;
  flex-direction:row
}

.web-icon,
.btn-market{
  display: none;
}

.ok{
  display: block;
}
.scroll-bar-on,
.scroll-bar-off{
  display: none;
}

.helperBox-off{
  position: fixed;
  visibility: hidden;
  top: 100px;
  right: 10px;
  transition: all 0.5s;
  width: 0px;
  height: 0px;
}

.helperBox-on{
  position: fixed;
  top: 100px;
  right: 10px;
  width: 400px;
  height: 400px;
  background-color: white;
  box-shadow: 0 5px 68px #4d4747;
  border-radius: 10px;
  transition: all 0.5s;
}

.helper-head{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.helper-container-off{
  visibility: hidden;
  transition-duration:  .1s;
}

.helper-container-on{
  visibility: visible;
  transition-delay: .2s;
  transition-duration:  .5s;
}

.helper-content{
  padding: 10px;

}
.helper-txt{
  display: flex;
  font-size: 20px;
  font-weight: 500;
  border-top: 1px solid #c5c5c5;
  height: 70px;
  align-items: center;
  font-family: 'Quicksand', sans-serif;
  text-decoration: none;
}

.pad-l{
  padding-right: 15px;
  padding-left: 5px;
}
.switch-box{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.switch {
  display: inline-block;
  position: relative;
  width: 62px;
  height: 30px;
  cursor: pointer;
  overflow: hidden;
}
.switch input {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 0;
  height: 0;
}

.switch input + span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #99b4df;
  border-radius: 20px;
  transition: all .5s;
}
.switch input:checked + span {
  background: #B0413E;
}

.switch input + span:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all .5s;
}
.switch input:checked + span:before {
  left: 34px;
}
.a-link{
  color: white;
}
.o-size{
  font-weight: 300;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;!important;
}

@media screen and (max-width: 1100px) {
  header {
    position: sticky;
    width: 100%;
  }
  .nav-bar {
    top:0;
    position: sticky;
    z-index: 50000;
  }
  .logo{
    display: flex;
    position: relative;
    align-items: center;
  }
  .btn-market{
    display: block;
  }

  .opacity1,
  .opacity2{
    height: 60px;
    transition-duration:1s;
  }

  .opacity3{
    height: 60px;
  }

  .rempli,
  .logoRbs{
    display: none;
  }
  .web-icon{
    display: block;
    top:0;
  }
  .icon-btn{
    width: 24px;
  }
  .size1{
    width: 32px;
  }
  .pad-size1,
  .pad-size2{
    padding-top:0;
  }
  .ok{
    display: none;
  }

  .scroll-bar-on,
  .scroll-bar-off{
    z-index: 2000;
    display: block;
    position: absolute;
    transition-duration: 0.5s;
    width: 100%;

  }
  .scroll-bar-off{
    visibility: hidden;
    opacity: 0;
    top:-200px;
  }
  .scroll-bar-on{
    visibility: visible;
    opacity: 1;
    top:60px;
    height: 30vh;
  }
  .barHeight-0{
    background-color: #282d32;
  }
  .barHeight-1{
    background-color: transparent ;
  }
  .barHeight-4{
    background-color: black;
  }

  .nav-hover{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 10px;
  }
  .layer4{
    width: 100%;
    display: flex;
    justify-content: start;

  }
  .img-2{
    width: 85%;
  }

  .rotateStartY{
    transition-duration: 1s;
    transform: rotateY(0);
  }
  .rotateEndY{
    transition-duration: 1s;
    transform: rotateY(3.142rad);
  }

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

  .helperBox-on{
    position: fixed;
    top: 100px;
    right: 10px;
    width: 96%;
    height: 400px;
    background-color: white;
    box-shadow: 0 5px 68px #4d4747;
    border-radius: 10px;
    transition: all 0.5s;
  }

}
