html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
  }

body{
    background-color: #2F3946;
}
  
  *, *:before, *:after {
    box-sizing: inherit;
    box-sizing: border-box;
  }
  
  body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
  }
  
  ol, ul {
    list-style: none;
  }

  /* @media screen and (min-width: 80em){
    main{       
        margin: 5vh auto;
        justify-content: center;
        display: grid;
        align-items: center;
        grid-gap: clamp(1.5rem, 2vw + 1rem, 4rem);
        grid-template-columns: max-content max-content;
        grid-template-rows: auto;
        grid-template-areas: "logo bars-slider"
                             "text bars-slider";
    }
  } */

  .logo{
      position: relative;
      width: clamp(80%, 40vw, 50vw);
      grid-area: logo;
      margin: 2rem auto;
      margin-top: clamp(2.5rem, 5vw + .5rem, 16rem);
      margin-bottom: clamp(3.5rem, 5vw + .5rem, 16rem);
      text-align: center;
  }
  @media screen and (min-width: 37.5em) and (orientation: portrait){
      .logo{
        margin-top: clamp(5rem, 5vh + .5rem, 16rem);
      }
  }
  @media screen and (min-width: 37.5em){
      .logo{
        width: 50%;
      }
  }
  /* @media screen and (min-width: 80em){ */
  @media screen and (min-width: 64em) and (orientation: landscape){
    .logo{
        width: 40%;
        width: clamp(20rem, 20vw + .5rem, 30rem);
        margin-bottom: 4rem;
    }
}
/* @media screen and (min-width: 80em){
    .logo{
        width: 50%;
        margin: initial;
        align-self: self-end;
        text-align: left;
    }
} */
  .logo::after{
      content: '';
      position: absolute;
      background-color: #5FEDFF;
      height: 3px;
      width: 30%;
      bottom: clamp(-1.25rem, -3vh + .5rem, -5rem);
      left: 0;
      right: 0;
      margin: auto;
      /* transform: translateY(); */
  }
  /* @media screen and (min-width: 80em){
    .logo::after{
        margin: initial;
    }
  } */

  .logo img{
      width: 100%;
      display: inline-block;
  }

  .bars-slider{
      grid-area: 1 / 2 / 3 / 3;
  }
  .text{
      grid-area: text;
      color: #fff;
  }
  
  
  
  .bars-slider{
      margin-top: clamp(2.5rem, 5vw + .5rem, 16rem);
      margin-bottom: clamp(3rem, 5vw + .5rem, 16rem);
    }
@media screen and (min-width: 80em){
    .bars-slider{
        margin: 0;
    }
}
  
  .slider-imgs img {
    width: calc(100% - 35px);
    /* width: calc(100% - 100px); */
    height: 100%;
    object-fit: cover;
    object-position: center;    
  }
  @media screen and (min-width: 80em){
    .slider-imgs img {
        width: calc(100% - 50px);
    }
  }


  .slider-container{
      width: 85%;
      position: relative;
      background-color: gray;
      height: 60vh;
      overflow: hidden;
      margin: 0 auto;
  }
  /* @media screen and (min-width: 80em){ */
    @media screen and (min-width: 64em) and (orientation: landscape){
    .slider-container{
        /* width: 600px; */
        width: 50vw;
        height: 400px;
        /* height: auto;
        aspect-ratio: 1.65 / 1; */
    }
}
@supports (aspect-ratio: 1.65 / 1){
    @media screen and (min-width: 64em) and (orientation: landscape){
        .slider-container{
            height: auto;
            aspect-ratio: 1.65 / 1;
        }
    }
}

  .slider-imgs,
  .slider-bars,
  .slider-item{
      position: absolute;
      height: 100%;
      width: 100%;
      top: 0;
      left: 0;
  }

.slider-bar,
.slider-img,
.slider-btn{
    transition: all .5s;
}


.slider-bar{
    display: flex;
}


/*----------------------------------------------
    Slider Links
----------------------------------------------*/

.slider-bar-link{
    transform: translateY(20%);
    opacity: 0;
    width: calc(100% - 35px);
    height: 100%;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: 25px;

    background: rgb(0,0,0);
    background: -moz-linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 32%);
    background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 32%);
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 32%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);

    transition: all .4s;
}
@media screen and (min-width: 80em){
    .slider-bar-link{
        width: calc(100% - 50px);
        padding: 20px 30px;
    }
}

.slider-bar-link-wpr{
    display: flex;
    flex-direction: column;
    row-gap: 10px
}
@media screen and (min-width: 80em){
    .slider-bar-link-wpr{
        flex-direction: row;
        align-items: center;
        column-gap: 20px;
    }
}

.slider-bar-link-wpr h2{
    text-transform: uppercase;
    font-weight: 200;
    line-height: 1;
}

.btn_visit-web{
    text-decoration: none;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    border: 1px solid #fff;
    transition: all .3s;
}
.btn_visit-web:hover{
    background-color: #fff;
    color: #3b3b3b;
}

.slider-bar-link-line{
    width: 4rem;
    height: 1px;
    background-color: #fff;
}
@media screen and (min-width: 80em){
    .slider-bar-link-line{
        width: 1px;
        height: 2rem;
    }
}

/*----------------------------------------------
    Slider Buttons
----------------------------------------------*/

.slider-btn-wpr{
    height: 60vh;
    width: 35px;

    transition: all .3s;
}
/* @media screen and (min-width: 80em){ */
    @media screen and (min-width: 64em) and (orientation: landscape){
    .slider-btn-wpr{
        /* height: 400px; */
        height: 100%;
        width: 50px;
    }
}
.slider-btn{
    cursor: pointer;
    border: none;
    /* transform-origin: top left;
    transform: rotate(-90deg) translate(-100%,0%); */
    /* width: 60vh;
    height: 35px; */
    width: 35px;
    height: 100%;
    padding: 0;
    background-color: #eee;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 200;
    font-family: Helvetica, Arial, sans-serif;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn span{
    display: block;
    /* transform-origin: top left; */
    transform-origin: center;
    transform: rotate(-90deg);
}
/* @media screen and (min-width: 80em) { */
    @media screen and (min-width: 64em) and (orientation: landscape){
    .slider-btn{
        /* height: 50px;
        width: 400px; */
        height: 100%;
        width: 50px;
        font-size: 1.4rem;
        letter-spacing: .05em;
    }
}

.slider-btn[data-btn="0"]{
    background: rgb(0,113,128);
    background: -moz-linear-gradient(45deg, rgba(0,113,128,1) 0%, rgba(0,226,255,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(0,113,128,1) 0%, rgba(0,226,255,1) 100%);
    background: linear-gradient(45deg, rgba(0,113,128,1) 0%, rgba(0,226,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#007180",endColorstr="#00e2ff",GradientType=1);
}
.slider-btn[data-btn="1"]{
    background: rgb(22,44,103);
    background: -moz-linear-gradient(45deg, rgba(22,44,103,1) 0%, rgba(72,126,190,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(22,44,103,1) 0%, rgba(72,126,190,1) 100%);
    background: linear-gradient(45deg, rgba(22,44,103,1) 0%, rgba(72,126,190,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#162c67",endColorstr="#487ebe",GradientType=1);
}
.slider-btn[data-btn="2"]{
    background: rgb(18,60,66);
    background: -moz-linear-gradient(45deg, rgba(18,60,66,1) 0%, rgba(36,128,132,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(18,60,66,1) 0%, rgba(36,128,132,1) 100%);
    background: linear-gradient(45deg, rgba(18,60,66,1) 0%, rgba(36,128,132,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#123c42",endColorstr="#248084",GradientType=1);
}


/*----------------------------------------------
    Transitions
----------------------------------------------*/

.activeBtn .slider-btn-wpr{
    width: 0;
    opacity: 0;
}
.activeBtn .slider-bar-link{
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s;
}



/*----------------------------------------------
    Text
----------------------------------------------*/
.close_text{
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}
.cls_line{
    position: absolute;
    /* display: inline-block; */
    height: 2px;
    width: 2rem;
    background-color: #3b3b3b;
    top: 50%;
    left: 0;
}
.cls_line1{
    transform: rotate(45deg);
}
.cls_line2{
    transform: rotate(-45deg);
}

/* .text{
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
} */
.text_open{
    /* left: 0; */
}

.background_close{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.7);
    opacity: 0;
    transition: opacity .5s;

    pointer-events: none;
}
.background_close--active{
    opacity: 1;
    pointer-events: all;
    /* transition-delay: .5s; */
}

.text{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: -100%;

    background-color: #fff;
    color: #3b3b3b;
    overflow-y: scroll;
    padding: clamp(1.25rem, 5vw + .5rem, 5rem);
    /* margin-top: clamp(2.5rem, 5vw + .5rem, 16rem);
    margin-bottom: clamp(3rem, 5vw + .5rem, 16rem); */
    /* transform: translateX(-100%); */
    transition: all .3s cubic-bezier(0.45,0.05,0.55,0.95);;
    /* transition-delay: .5s; */
}
@media screen and (min-width: 48em){
    .text{
        width: 70%;
    }
}
@media screen and (min-width: 64em) and (orientation: landscape){
    .text{
        width: 80ch;
    }
}
.text_open{
    /* transform: translateX(0); */
    left: 0;
}

@media screen and (min-width: 80em){
    .text{
        align-self: self-start;
        /* margin: 0; */
    }
}


.text p{
    font-weight: 100;
    font-size: 1.25rem;
    letter-spacing: .05em;
    line-height: 1.5;
    margin: .8rem 0;
}



/*----------------------------------------------
    CTAs buttons
----------------------------------------------*/
.cta_wpr{
    font-size: 1rem;

    margin: 0 auto;
    margin-top: clamp(1.5rem, 4vh + .5rem, 6rem);
    margin-bottom: clamp(3rem, 5vw + .5rem, 16rem);

    display: flex;
    flex-direction: column-reverse;
    gap: calc(1vh + 1rem);
    align-items: center;
}
@media screen and (min-width: 48em){
    .cta_wpr{
        display: grid;
        /* grid-template-columns: 25ch 25ch; */
        grid-template-columns: min-content min-content;
        gap: 1rem;
        justify-content: center;
    }
}

.btn_cta{
    font-size: inherit;
    text-align: center;
    font-weight: 200;
    text-decoration: none;
    padding: .5em 0;
    border-radius: 4px;
    width: 70%;
}
@media screen and (min-width: 48em){
    .btn_cta{
        width: calc(20ch + 2.5em);
    }
}
.btn_cta1{
    border: 1px solid #5FEDFF;
    color: #fff;
}
.btn_cta2{
    background-color: #5FEDFF;
    color: #3b3b3b;
}
.btn_cta2:hover{}