.hovered-text-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* height: 45vh; */
  height: 50%;
  margin-bottom: 30px;
}

.marquee {
  height: 90px;
  width: 820px;
  /* overflow: hidden; */
  position: relative;
}

.marquee div {
  /* display: block; */
  width: 300%;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 100%;
  height: 60px;
  position: absolute;
  /* overflow: hidden; */
  animation: marquee 30s linear infinite;
  transition: all 0.3s linear;
  animation-delay: 0.2s;
}

@keyframes marquee {
  0% {
    left: 0;
  }
  100% {
    left: -100%;
  }
}

.marquee-right {
  height: 90px;
  width: 820px;
  /* overflow: hidden; */
  position: relative;
}

.marquee-right div {
  /* display: block; */
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 100%;
  width: 300%;
  height: 80px;
  position: absolute;
  /* overflow: hidden; */
  animation: marquee-right 30s linear infinite;
}

@keyframes marquee-right {
  0% {
    right: 0;
  }
  100% {
    right: -100%;
  }
}

.marquee-right:hover div {
  -webkit-animation-play-state: paused; /* Safari 4.0 - 8.0 */
  animation-play-state: paused;
}

.marquee:hover div {
  -webkit-animation-play-state: paused; /* Safari 4.0 - 8.0 */
  animation-play-state: paused;
}

.floating-text {
  white-space: nowrap;
}

.floating-text span {
  font-size: 80px;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  /* -webkit-text-stroke: thin #cfcfcf; */
  -webkit-text-stroke: 1px #cfcfcf;
  /* font-family: "mag-bold"; */
  font-weight: bold;
  margin: 0 5px;
}

.floating-text span:hover {
  -webkit-text-fill-color: #cfcfcf;
  cursor: default;
}

@media only screen and (max-width: 1600px) {
  .marquee {
    height: 90px;
    width: 820px;
    /* overflow: hidden; */
    position: relative;
  }

  .marquee div {
    /* display: block; */
    width: 300%;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 100%;
    height: 60px;
    position: absolute;
    /* overflow: hidden; */
    animation: marquee 30s linear infinite;
    transition: all 0.3s linear;
    animation-delay: 0.2s;
  }

  .marquee-right {
    height: 90px;
    width: 820px;
    /* overflow: hidden; */
    position: relative;
  }

  .marquee-right div {
    /* display: block; */
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 100%;
    width: 300%;
    height: 80px;
    position: absolute;
    /* overflow: hidden; */
    animation: marquee-right 30s linear infinite;
  }

  .floating-text {
    white-space: nowrap;
  }

  .floating-text span {
    font-size: 80px;
    text-transform: uppercase;
    -webkit-text-fill-color: transparent;
    /* -webkit-text-stroke: thin #cfcfcf; */
    -webkit-text-stroke: 1px #cfcfcf;
    /* font-family: "mag-bold"; */
    font-weight: bold;
    margin: 0 5px;
  }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .marquee {
    height: 60px;
  }

  .marquee div {
    height: 40px;
  }

  .marquee-right {
    height: 60px;
  }

  .marquee-right div {
    height: 40px;
  }

  .floating-text {
    white-space: nowrap;
    margin-top: -12px;
  }

  .floating-text span {
    font-size: 60px;
  }
}

@media only screen and (min-width: 320px) and (max-width: 600px) {


  .hovered-text-wrapper {
    height: 100%;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    margin-bottom: 0;
  }
}
