/* Variables */
:root {
  --color-header: #051d2c;
  --color-main: #121a25;
  --color-gyro: #e43872;
}

/* Fonts */
@font-face {
  font-family: "Circular";
  src: url(/fonts/CircularStd-Book.otf);
  font-weight: normal;
}
@font-face {
  font-family: "Circular";
  src: url(/fonts/CircularStd-Medium.otf);
  font-weight: 600;
}
@font-face {
  font-family: "Circular";
  src: url(/fonts/CircularStd-Bold.otf);
  font-weight: bold;
}

* {
  font-family: "Circular";
  text-align: center;
}

body {
  background-color: var(--color-main);
  margin: 0;
  min-height: 120vh;
}

/* Header */
header {
  background-color: var(--color-header);
  margin: 0;
  height: 60px;
  position: relative;
}

.your-ticket_text {
  color: white;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.x-button_div {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 16px;
  background: linear-gradient(var(--color-main), var(--color-main)) padding-box,
    linear-gradient(to bottom right, #2a658a, var(--color-main), #2a658a)
      border-box;
  border-radius: 50em;
  border: 0.75px solid transparent;
  display: flex;
  justify-content: centre;
  align-items: center;
  padding: 2px 6px;
  border-radius: 23px;
}

.x-button {
  width: 38px;
}

/* Main Section */
.main-section {
  background-color: var(--color-main);
  padding: 16px;
}

.main-white-container {
  background: white;
  width: 100%;
  border-radius: 3px;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Banner */
.wrap-banner {
  background-color: var(--color-main);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  padding: 4px 16px;
  border-radius: 0 12px 12px 0;
  height: 40px;
  left: 0;
  top: 12px;
  position: absolute;
}

.adult_text {
  font-weight: bold;
}

.price_text {
  font-weight: 600;
}
/* === */

.section-1 {
  margin-top: 60px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code {
  width: 185px;
}

.dayrider_text {
  font-size: 22px;
  margin: 0;
  margin-top: 19px;
  font-weight: 600;
  width: 270px;
}

.valid-from_text {
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 600;
}

.gyro-banner {
  margin-top: 20px;
  background-color: var(--color-gyro);
  width: 100%;
  height: 60px;
  position: absolute;
  top: 380px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.gyro-banner_text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 32px;
  width: 200px;
  /* height: 100px; */
  margin: 0;
  color: var(--color-main);
}

#text--code {
  z-index: 99999;
  opacity: 1;
  background: none;
  border: none;
  text-transform: capitalize;
  animation: fadeInOne 3.5s linear infinite;
}

#text--time {
  opacity: 0;
  animation: fadeInTwo 3.5s linear infinite;
}

@keyframes fadeInOne {
  30%,
  100% {
    opacity: 1;
  }
  50%,
  80% {
    opacity: 0;
  }
}

@keyframes fadeInTwo {
  30%,
  100% {
    opacity: 0;
  }
  50%,
  80% {
    opacity: 1;
  }
}

.expiry-div {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 270px;
}

.expiry-div p {
  font-size: 13px;
  font-weight: 600;
}

.serial-div {
  background-color: #f2f3f4;
  border-radius: 12px;
  position: relative;
  width: 300px;
  height: 30px;
  margin-top: 14px;
}

.serial_text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.more-details-div {
  color: #29a280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
  font-weight: 600;
}

.more-details_text {
  font-size: 14px;
}

.arrow {
  width: 12px;
}

#request-permission {
  background: var(--color-main);
  border: solid 1px white;
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: "Circular";
  font-weight: bold;
}
