@font-face {
  font-family: "Gotham";
  src: url("/pub/beautyrestworldclass/assets/fonts/Gotham/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("/pub/beautyrestworldclass/assets/fonts/Gotham/Gotham-Book.otf") format("opentype"); 
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("/pub/beautyrestworldclass/assets/fonts/Gotham/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gotham', sans-serif;
    font-weight: normal;
    font-size: 12px;
    color: #4c432e;
    background-color: #2d142d; 
    scroll-behavior: smooth;
    transition: all 0.3s ease-in-out;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    /* width: 60%; */
}
.w-full{
    width: 100%;
}
sup {
    font-size: 1em; /* Adjusts the font size */
    vertical-align: super; /* Positions the text as superscript */
}
section.technology {
    position: relative;
}

.logo-beautyrest100 {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 991;
}

.logo-simmons {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 400px;
    z-index: 991;
}
section.technology h3 {
    font-weight: 400;
    position: absolute;
    bottom: 34.5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 7rem;
    z-index: 1;
    letter-spacing: 6px;
    text-transform: uppercase;
}
section.technology .btn {
    position: absolute;
    bottom: 27%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 991;
    text-decoration: none;
    font-size: 2rem;
    color: #fff;
    letter-spacing: 4px;
    border: 2px solid;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 55px;
    border-radius: 60px;
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
}
section.technology .btn:after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: shine 1s infinite;
}
section.technology .btn:hover {
    animation: bounce 0.6s;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}
.techno-1 {
    z-index: 99;
    position: relative;
}
.bg1 {
    position: absolute;
    left: 0;
    top: -30%;
    z-index: 0;
}
section.technology .s100ans p{
    position: absolute;
    bottom: -5%;
    line-height: 1.5;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 7rem;
    text-transform: uppercase;
    font-weight: 300;
    color: #fff;
    z-index: 991;
}
section.technology .s100ans strong {
    position: absolute;
    bottom: -10%;
    line-height: 1;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    z-index: 991;
}

section.technology .foam {
    position: absolute;
    bottom: -120%;
    left: 0;
    z-index: 991;
}
section.technology .pocket {
    position: absolute;
    bottom: -275%;
    left: 0;
    z-index: 991;
}
section.technology .picto {
    position: absolute;
    bottom: -205%;
    left: 0;
    z-index: 991;
    width: 30%;
    margin: 0 auto;
    right: 0;
}

section.collections {
    position: absolute;
    bottom: -300%;
    left: 0;
    right: 0;
    z-index: 991;
}
section.collections div {
    display: flex;
}
section.intro {
    position: relative;
}
.intro .scroll {
    position: absolute;
    width: 130px;
    bottom: 80px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 991;
    cursor: pointer;
}

.scroll-step {
    position: fixed;
    top: 65%;
    right: 50px;
    z-index: 99999;
  }

  .scroll-step p {
    margin: 5px 0;
    font-size: 18px;
    opacity: 0.3; /* default */
    transition: opacity 0.3s ease;
    color: #fff;
    text-transform: uppercase;
    text-align: right;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    padding-right: 10px;
  }
.scroll-step p:hover {
    opacity: 1!important;
}
  .scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #2196f3;
    width: 0;
    transition: all 0.3s ease-in-out;
  }
  .scroll-step:before {
    content: "";
    position: absolute;
    width: 4px;
    height: 50vh;
    right: 0;
    bottom: 95px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.scroll-step:after {
    content: "";
    position: absolute;
    width: 4px;
    height: 0;
    right: 0;
    bottom: 95px;
    background-color: #898989;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.scroll-step.step1:after {
    content: "";
    height: 33.3333333334vh;
}
.scroll-step.step2:after {
    content: "";
    height: 16.6666666667vh;
}
.scroll-step.step3:after {
    content: "";
    height: 0vh;
}
#scroll-step p.step1 {
    opacity: 1!important;
}

.fal {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
}
.scrollDown {
    height: 60px;
    width: 30px;
    display: block;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border: 1px solid #fff;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    z-index: 5;
    cursor: pointer;
}

.scrollDown svg {
    animation: jump-arrow 2.5s infinite;
    bottom: 0;
    color: #ffffff;
    display: block;
    font-size: 12px;
    height: 1.5em;
    left: 50%;
    line-height: 1.5em;
    position: absolute;
    text-align: center;
    transform: translatex(-50%);
    width: 1.5em;
}

@keyframes jump-arrow {
    0%, 20%, 55%, 80%, 100% {
        transform: translate3d(-50%, 0, 0)
    }

    40% {
        transform: translate3d(-50%, -15px, 0)
    }

    70% {
        transform: translate3d(-50%, -10px, 0)
    }

    90% {
        transform: translate3d(-50%, -5px, 0)
    }
}

.draw-border-btn {
    color: #754c84;    
    position: absolute;
    bottom: 8%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 45px;
    border-radius: 10px;
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease-in;
    cursor: pointer;
    border: 2px solid #754c84;
}
.collection-img.i2 + .draw-border-btn, .collection-img.i4 + .draw-border-btn {
    right: -130px;
}
.collection-img.i1 + .draw-border-btn, .collection-img.i3 + .draw-border-btn {
    left: -130px;
}
section.collections a.w-full {
    position: relative;
    display: block;
}
.draw-border-btn span {
    position: absolute;
    z-index: 999;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    font-size: 2rem;
}

.draw-border-btn span svg {
    width: 30px;
}
.draw-border-btn::before {
  content: "";
  position: absolute;
  background-image: conic-gradient(
    transparent 10deg,
    rgba(102, 62, 112, 1),
    90deg,
    transparent 170deg
  );
  width: 200%;
  height: 500%;
  animation: rotate 3s linear infinite;
}


@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.draw-border-btn:after {
  content: "";
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 45px;
  /* background: rgba(255, 255, 255, 0.2); */
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  color: #fff;
  font-size: clamp(0.9rem, 3vw, 1.2rem);
  border-radius: 5px;
}


/* Bounce on hover */
.draw-border-btn:hover {
  animation: bounce 0.6s;
}
section.collections a.w-full {
    position: relative;
}

.video-fullscreen {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    z-index: 4;
    background: #000;
}
/* Mobile Devices */
@media (max-width: 600px) {
    .video-fullscreen {
        position: relative;
        width: 100%;
        height: 100vw;
        aspect-ratio: 16 / 9;
    }
    .intro .scroll {
        width: 70px;
        bottom: 8px;
    }
    .scroll-step {
        top: 75%;
        right: 10px;
    }
    .scroll-step p {
        font-size: 12px;
    }
    .logo-simmons {
        top: 30px;
        width: 200px;
    }
    .logo-beautyrest100 {
        top: 90px;
        width: 185px;
    }
section.collections div {
        display: block;
    }
    section.technology h3 {
        font-size: 0.9rem;
    }
    section.technology .s100ans p {
        font-size: 1.5rem;
        bottom: -15%;
    }
    section.technology .s100ans strong {
        font-size: 0.9rem;
        bottom: -23%;
    }
    section.technology .btn {
        font-size: 0.9rem;
        bottom: 18%;
    }
    section.collections {
        bottom: -570%;
    }
    section.technology .picto {
        width: 60%;
    }
    .collection-img.i1{
        position: relative;
        right: -8%;
    }
    .collection-img.i2{
        position: relative;
        left: -4%;
        width: 98%;
    }
    .collection-img.i3{
        position: relative;
        right: -8.5%;
    }
    .collection-img.i4{
        position: relative;
        left: -5.5%;
    }
    .collection-img.i1 + .draw-border-btn, .collection-img.i3 + .draw-border-btn {
        left: 0;
        bottom: 10%;
        width: 180px;
        height: 25px;
        font-size: 1rem;
    }
    .collection-img.i2 + .draw-border-btn, .collection-img.i4 + .draw-border-btn {
        right: 0;
        bottom: 10%;
        width: 180px;
        height: 25px;
        font-size: 1rem;
    }

    .scrollDown {
        height: 40px;
        width: 20px;
        bottom: 1rem;
    }
    .scrollDown svg {
        font-size: 10px;
    }

    .draw-border-btn span {
        font-size: 1rem;
    }

    .draw-border-btn span svg {
        width: 15px;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    section.collections div {
        display: block;
    }
    section.technology h3 {
        font-size: 2rem;
    }
    section.technology .s100ans p {
        font-size: 3rem;
    }
    section.technology .s100ans strong {
        font-size: 2rem;
    }
    section.technology .btn {
        font-size: 1rem;
    }
    section.collections {
        bottom: -570%;
    }

    .collection-img.i1{
        position: relative;
        right: -65px;
    }
    .collection-img.i2{
        position: relative;
        left: -26px;
        width: 98%;
    }
    .collection-img.i3{
        position: relative;
        right: -70px;
    }
    .collection-img.i4{
        position: relative;
        left: -40px;
    }

    .scrollDown {
        height: 60px;
        width: 30px;
        bottom: 2rem;
    }
    .scrollDown svg {
        font-size: 12px;
    }

    .collection-img.i1 + .draw-border-btn, .collection-img.i3 + .draw-border-btn {
        left: 15px;
        bottom: 60px;
        width: 225px;
        height: 35px;
        font-size: 1rem;
    }

    .collection-img.i2 + .draw-border-btn, .collection-img.i4 + .draw-border-btn {
        right: -15px;
        bottom: 60px;
        width: 225px;
        height: 35px;
        font-size: 1rem;
    }

    .draw-border-btn span {
        font-size: 1.3rem;
    }

    .draw-border-btn span svg {
        width: 20px;
    }
}