/* $secondary-color-2: rgb(191,215,227); */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
}

#hero-section {
  display: flex;
  width: 100%;
  height: 100%;
  margin-bottom: 10%;
}
@media only screen and (max-width: 768px) {
  #hero-section {
    flex-direction: column-reverse;
    height: fit-content;
  }
}

.left-side {
  flex-direction: column;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
}
@media only screen and (max-width: 768px) {
  .left-side {
    width: 100%;
  }
}
.left-side #by-rld {
  font-size: 60px;
  margin-bottom: 10px;
}
.left-side #by-rld img {
  height: 80px;
  margin-left: 10px;
  cursor: pointer;
}
@media only screen and (max-width: 768px) {
  .left-side #by-rld img {
    height: unset;
    width: 70%;
  }
}
.left-side #by-rld img:hover {
  opacity: 0.8;
}

.right-side {
  width: 70%;
}
@media only screen and (max-width: 768px) {
  .right-side {
    width: 100%;
  }
}

@keyframes wipeHoriz {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@keyframes wipeVert {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
@keyframes wipeDiag {
  0% {
    height: 0;
    width: 0;
  }
  100% {
    height: 100%;
    width: 100%;
  }
}
.right-side {
  display: flex;
  align-items: center;
}
.right-side .wipe-img-container {
  overflow: hidden;
}
.right-side .wipe-img-container img {
  width: 100%;
}

.title {
  font-size: 8rem;
  margin: 0;
}
@media only screen and (max-width: 768px) {
  .title {
    font-size: 6rem;
  }
}

.subtitle {
  font-size: 3rem;
  width: 70%;
}

#try-now-button {
  border: 6px solid #024080;
  color: white;
  padding: 30px;
  background: #00000000;
  font-size: 24px;
  margin: 40px;
  cursor: pointer;
  transition: box-shadow 0.5s;
  position: relative;
}
#try-now-button::before {
  border: 2px solid white;
  background: #00000000;
  padding: 30px;
  font-size: 24px;
  content: "Demo for Free";
  transform: translate(-32px, -32px);
  transition: box-shadow 0.25s;
  position: absolute;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#try-now-button:hover {
  box-shadow: 0px 0px 20px 10px #024080, inset 0px 0px 20px 10px #024080;
}

.horiz-line {
  width: 80%;
  height: 6px;
  background: #024080;
  box-shadow: 0 0 20px 10px #024080;
  margin: 20px 0;
  position: relative;
}
.horiz-line::before {
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  content: "";
  left: 0px;
  top: 2px;
}

#how-it-works {
  height: fit-content;
  width: 100%;
}
@media only screen and (max-width: 768px) {
  #how-it-works {
    height: fit-content;
  }
}
#how-it-works #how-it-works-title {
  font-size: 60px;
  color: white;
  margin: 0 0 3%;
  text-align: center;
}
#how-it-works #click-below {
  font-size: 24px;
  color: white;
  margin: 0 0 3%;
  text-align: center;
  width: 100%;
  font-style: italic;
  line-height: normal;
}
@media only screen and (max-width: 768px) {
  #how-it-works #click-below {
    margin: 0 15%;
    width: 70%;
  }
}
#how-it-works #how-it-works-content {
  height: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
#how-it-works #how-it-works-content .do-this-button {
  padding: 20px;
  width: 240px;
  font-size: 24px;
  border-radius: 10px;
  margin: 20px 80px;
  cursor: pointer;
  line-height: normal;
  transition: box-shadow 0.25s ease, background-color 0.5s ease;
  display: flex;
  flex-direction: column;
  height: fit-content;
  align-items: center;
  text-align: center;
}
#how-it-works #how-it-works-content .do-this-button.animating {
  transition: 0.5s;
  position: fixed;
  top: 0;
  left: 0;
}
#how-it-works #how-it-works-content .do-this-button.animating.invisible {
  display: none;
}
#how-it-works #how-it-works-content .do-this-button.animating img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#how-it-works #how-it-works-content .do-this-button img {
  width: 200px;
  margin-bottom: 10px;
}
#how-it-works #how-it-works-content .do-this-button:hover {
  box-shadow: 0px 0px 40px 10px white, inset 0px 0px 40px 10px white;
}
#how-it-works #how-it-works-content #hiw-overlay-container {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  background: #00000088;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1010;
  transition: opacity 0.5s;
}
#how-it-works #how-it-works-content #hiw-overlay-container.shown {
  display: flex;
  opacity: 0;
}
#how-it-works #how-it-works-content #hiw-overlay-container.opaque {
  opacity: 1;
}
#how-it-works #how-it-works-content #hiw-overlay {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  height: 90%;
  position: relative;
  background: white;
  box-shadow: 0px 0px 20px 10px gray;
  border-radius: 10px;
  background: white;
  width: fit-content;
  padding: 20px;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #hiw-overlay {
    justify-content: center;
    height: fit-content;
    padding: 10% 0;
  }
}
#how-it-works #how-it-works-content #hiw-overlay #overlay-close {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
#how-it-works #how-it-works-content #hiw-overlay #overlay-close span {
  font-size: 40px;
  color: black;
}
#how-it-works #how-it-works-content #hiw-overlay #overlay-close span:hover {
  color: red;
}
#how-it-works #how-it-works-content #hiw-overlay img {
  height: 85%;
  width: 90%;
  object-fit: contain;
}
#how-it-works #how-it-works-content #hiw-overlay img.invisible {
  display: none;
}
#how-it-works #how-it-works-content #hiw-overlay video {
  height: 90%;
  object-fit: contain;
  border-radius: 5px;
  border: 1px solid black;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #hiw-overlay video {
    width: 100%;
  }
}
#how-it-works #how-it-works-content #hiw-overlay video.invisible {
  display: none;
}
#how-it-works #how-it-works-content #hiw-overlay #overlay-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 15%;
  padding: 0.5% 0;
  width: 1200px;
  line-height: normal;
  text-align: center;
  font-size: 20px;
  color: black;
  font-weight: bold;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #hiw-overlay #overlay-desc {
    height: fit-content;
    padding: 5%;
    width: 90%;
    padding: 0px 30px;
    margin-bottom: 5%;
  }
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content {
    justify-content: center;
    height: fit-content;
  }
}
#how-it-works #how-it-works-content #how-it-works-button-side {
  width: 22%;
  margin: 40px 0 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
#how-it-works #how-it-works-content #how-it-works-button-side::before {
  content: "Click buttons below to see gifs of RLD One in Action";
  font-size: 20px;
  color: #EF8354;
  text-shadow: 0 0 10px white;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #how-it-works-button-side {
    display: none;
  }
}
#how-it-works #how-it-works-content #how-it-works-button-side .how-it-works-button {
  padding: 30px 40px;
  border: 1px solid white;
  width: fit-content;
  font-size: 24px;
  border-radius: 20px;
  margin: 40px 0;
  cursor: pointer;
  line-height: normal;
  transition: box-shadow 0.25s ease, background-color 0.5s ease;
}
#how-it-works #how-it-works-content #how-it-works-button-side .how-it-works-button:hover {
  box-shadow: 0px 0px 40px 10px white, inset 0px 0px 40px 10px white;
}
#how-it-works #how-it-works-content #how-it-works-button-side .how-it-works-button.selected {
  background: white;
  color: #024080;
}
#how-it-works #how-it-works-content #how-it-works-info-side {
  width: calc(78% - 120px);
  border-radius: 50px;
  margin: 0 40px;
  color: white;
  height: fit-content;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #how-it-works-info-side {
    width: 90%;
    padding: 2%;
    margin: 0;
    height: fit-content;
  }
}
#how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info {
  display: none;
  flex-direction: column;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info {
    display: flex;
  }
}
#how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info.shown {
  display: flex;
}
#how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info .hiw-info-title {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  line-height: normal;
  margin: 20px 0;
  height: 46px;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info .hiw-info-title {
    height: fit-content;
  }
}
#how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info .hiw-info-text {
  text-align: center;
  font-size: 24px;
  line-height: normal;
  margin: 0 10% 2% 10%;
  height: 100px;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info .hiw-info-text {
    height: fit-content;
  }
}
#how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info .hiw-info-img {
  border-radius: 10px;
  object-fit: contain;
  width: 100%;
  max-height: 700px;
}
@media only screen and (max-width: 768px) {
  #how-it-works #how-it-works-content #how-it-works-info-side .how-it-works-info .hiw-info-img {
    width: 100%;
    height: unset;
  }
}

.section-title {
  font-size: 60px;
  color: white;
  margin: 0 0 3%;
  text-align: center;
  line-height: normal;
  font-weight: bold;
  position: relative;
}
.section-title:after {
  width: 50%;
  height: 1px;
  background: #777777;
  content: "";
  position: absolute;
  transform: translate(-75%, 80px);
}

#features {
  width: 100%;
  padding: 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  #features {
    height: fit-content;
  }
}
#features #features-title {
  font-size: 60px;
  color: white;
  margin: 0 0 3%;
  text-align: center;
}
#features #features-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  flex-wrap: wrap;
  min-wdith: 420px;
}
@media only screen and (max-width: 768px) {
  #features #features-container {
    width: 100%;
  }
}
#features #features-container .feature-card {
  border: 1px solid #444444;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  margin: 10px;
  width: 20vw;
  min-width: 300px;
}
#features #features-container .feature-card .fc-icon {
  font-size: 28px;
  margin: 10px 0;
}
#features #features-container .feature-card .fc-title {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}
#features #features-container .feature-card .fc-description {
  font-size: 18px;
  margin: 10px 0;
  color: #aaaaaa;
}

#misc {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15% 0;
}
@media only screen and (max-width: 768px) {
  #misc {
    height: fit-content;
  }
}
#misc #misc-container {
  max-width: 1500px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}
@media only screen and (max-width: 768px) {
  #misc #misc-container {
    flex-direction: column;
  }
}
#misc #join-discord {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#misc #learn-rld {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#misc #learn-rld #learn-rld-content {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  #misc #learn-rld #learn-rld-content {
    flex-direction: column;
  }
}
#misc .learn-rld-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px;
  border: 4px solid #024080;
  border-radius: 10px;
  transition: box-shadow 0.25s;
  position: relative;
  cursor: pointer;
}
#misc .learn-rld-container::before {
  border: 2px solid white;
  background: #00000000;
  content: "";
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
#misc .learn-rld-container:hover {
  box-shadow: 0px 0px 20px 10px #024080, inset 0px 0px 20px 10px #024080;
}
#misc .learn-rld-container:hover img {
  opacity: 0.7;
}
#misc .learn-rld-container img {
  height: 120px;
  margin-top: 30px;
}
#misc .learn-rld-container img:hover {
  opacity: 0.4;
}
#misc .misc-title {
  font-size: 60px;
  color: white;
  margin: 0 0 3%;
  text-align: center;
  line-height: normal;
  font-weight: bold;
  position: relative;
  width: 90%;
}
#misc .misc-desc {
  width: 90%;
  text-align: center;
  font-size: 24px;
  line-height: normal;
  margin-bottom: 30px;
}

#everything-you-need {
  margin-bottom: 20%;
}
@media only screen and (max-width: 768px) {
  #everything-you-need {
    margin: 60% 0;
  }
}
#everything-you-need #eyn-container {
  line-height: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  #everything-you-need #eyn-container {
    text-align: center;
  }
  #everything-you-need #eyn-container #eyn-title {
    font-size: 40px;
    width: 80%;
  }
  #everything-you-need #eyn-container #eyn-subtitle {
    width: 80%;
  }
}
#everything-you-need #eyn-container #eyn-title {
  color: white;
  text-shadow: 0px 0px 8px white;
  font-size: 60px;
}
#everything-you-need #eyn-container #eyn-subtitle {
  color: #aaaaaa;
  font-size: 20px;
}
