@import url(reset.css);
@import url(coinStore.css);
body {
  position: relative;
}
@font-face {
  font-family: "Open Sans";
  /* src: url("../fonts/OpenSans-Regular.ttf") format("truetype"), url("../fonts//OpenSans-Bold.ttf") format("truetype"); */
  src: url("../fonts/OpenSans-VariableFont.ttf") format("truetype");
  font-weight: 100 950;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes growShrinkLandscape {
  0% {
    background-size: 100% auto;
  }
  50% {
    background-size: 110% auto;
  }
  100% {
    background-size: 100% auto;
  }
}

html {
  font-family: "Open Sans";
  font-size: 62.5%;
  box-sizing: border-box;
}
body {
  font-size: 2.5rem;
  hyphens: auto;
  -webkit-hyphens: auto;
}
body a {
  hyphens: none;
  -webkit-hyphens: none;
}
main {
  width: 100%;
  min-height: 55vh;
}
.side-margin {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
h2 {
  font-family: "Open Sans";
  display: inline-block;
  text-align: center;
  font-weight: 700;
  max-width: 60%;
  font-size: 5rem;
  hyphens: auto;
  -webkit-hyphens: auto;
  margin: 2rem 0 4rem 0;
}
.mb-1r {
  margin-bottom: 1rem;
}
h3 {
  font-size: 3rem;
}
header {
  display: flex;
  justify-content: center;
  width: 100%;
}
.section p {
  max-width: 60%;
  display: inline-block;
  justify-self: center;
  margin-bottom: 3rem;
}

div.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  width: 100%;
  height: 7.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.section-wrap {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.section-wrap.about {
  background-color: #f3f3f3;
}
.section-wrap.cctvtime {
  background-color: #20293a;
  color: white;
  padding-top: 1.25rem;
}
.section-wrap.cctvtime h2 {
  font-size: 5rem;
  margin-bottom: 0px;
}
.section {
  /* height: 55vh; */
  height: 100% - 55vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.section-n {
  height: auto;
  display: flex;
  padding: 0px 5%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.section-n p {
  display: inline-block;
  justify-self: center;
  margin-bottom: 3rem;
  max-width: 800px;
}
.hide {
  display: none;
}
img.affiant-man {
  max-height: 32rem;
}
img.cf-flag {
  max-height: 200px;
}
.banner-wrap {
  background-color: #141414;
}
.banner::before {
  background-image: url("../images/banner-image2.jpg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position-y: top;
  background-position-x: center;
  opacity: 0.35;
  content: "";
  height: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  z-index: -1;
  animation-name: growShrinkLandscape;
  animation-duration: 25s;
  animation-iteration-count: infinite;
}

.banner {
  z-index: 1;
  position: relative;
  display: flex;
  height: 55vh;
  flex-direction: row;
  /* justify-content: center;
    flex-wrap: wrap; */
  width: 100%;
  background-color: #141414;
  /* background-image: url("/images/banner-image2.jpg");
    background-size: 100% auto;
    background-repeat: no-repeat; */
}
figure.logo-header {
  display: inline-block;
  align-self: center;
}

.bg-green {
  background-color: #47bd9c;
}
.cctv-dark {
  background-color: #20293a;
}
.thank-you-banner {
  padding: 6rem 1rem;
  gap: 1.5rem !important;
}

.coin-wrap {
  background-color: #161b26;
  color: white;
}

.purchase-btn {
  margin: 0rem 0rem;
  text-decoration: none;
  margin-top: 0rem;
  border: none;
  border-radius: 5px;
  background-color: #47bd9c;
  color: black;
  font-weight: bold;
  font-size: 3rem;
  padding: 1rem 2rem;
  cursor: pointer;
}

.logo-header {
  height: 70px;
  display: inline-block;
}
nav {
  align-self: center;
  width: 100%;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
}
div.text-container {
  /* background-color: rgba(0,0,0, 0.5); */
  padding: 2rem;
}
div.text {
  font-size: 6rem;
  font-weight: bold;
  color: white;
}
span.code-bracket,
span.cursor {
  color: #409eff;
}
span.cursor {
  animation-name: blink;
  display: inline-block;
  animation-duration: 0.7s;
  animation-iteration-count: infinite;
  transform: translateY(-0.7rem);
}
nav ul {
  display: flex;
}
nav a {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 1.8rem;
}
header nav a {
  padding: 0.75rem;
  transition: all 0.2s;
  padding: 1rem 2rem;
}
header nav a:hover {
  background-color: #2274c9;
  border-radius: 5px;
  padding: 1rem 2rem;
  color: white;
}
nav a:visited {
  color: black;
}
nav ul li {
  margin-right: 5rem;
}
nav ul li:last-child {
  margin-right: 0rem;
}
footer {
  background-color: #2274c9;
  min-height: 25vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 1rem;
}
nav.footer-nav {
  justify-content: center;
  margin-bottom: 9rem;
}
img.logo-footer {
  max-height: 6rem;
  margin-bottom: 1rem;
}
nav.footer-nav a {
  color: white;
}
.copy-text {
  font-size: 1.2rem;
  color: white;
}

div.cctv-logo-contain canvas {
  display: block;
  position: relative;
  top: -15px;
  margin-bottom: 25px;
  max-width: 200px;
}
.cctv-link {
  color: #47bd9c;
  text-decoration: none;
  font-weight: bold;
}
.flex-center-col,
.flex-center-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.flex-center-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 1rem;
}
.h-full {
  height: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.space-between {
  justify-content: space-between;
}

.cctv-link:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 780px) {
  .logo-header {
    height: 55px;
  }
  /* header nav::before {
    content: "III";
    color: #2274c9;
    font-weight: bold;
    height: 5rem;
    position: absolute;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 5rem;
    transform: rotate(90deg);
    transition: all 0.1s;
  }
  header nav.open::before {
    transform: rotate(0deg);
    color: white;
  }
  header nav {
    align-self: center;
    cursor: pointer;
    width: 100%;
    width: 5rem;
    background-color: #f3f3f3;
    position: relative;
    height: 5rem;
    overflow: hidden;
    z-index: 3;
    display: block;
  }
  header nav.open {
    overflow: visible;
    background-color: rgba(34, 116, 201, 0.85);
  }
  header nav a:hover {
    background-color: unset;
    color: white;
  }
  header nav ul {
    flex-direction: column;
    background-color: rgba(34, 116, 201, 0.85);
    position: relative;
    justify-content: center;
    align-items: flex-end;
    top: 5rem;
    width: 20rem;
    right: 15rem;
  }
  header nav ul li {
    margin: 0px;
    padding-top: 2rem;
    border-bottom: 1px solid white;
    padding-bottom: 2rem;
    width: 100%;
    text-align: center;
  }
  header nav ul li:last-child {
    margin: 0px;
    border: none;
  }
  header nav ul li a,
  header nav ul li a:visited {
    color: white;
    user-select: none;
    display: inline-block;
    width: 100%;
    padding: 0px;
    height: 100%;
  } */
}

@media only screen and (max-width: 525px) {
  html {
    font-size: 50%;
  }
  header nav a {
    font-size: 100%;
  }
  div.text {
    font-size: 5rem;
  }
  span.cursor {
    transform: translateY(-0.5rem);
  }
  .section p,
  .section h2 {
    max-width: 85%;
    text-align: left;
  }
  .banner {
    max-height: 80vw;
  }
  .block {
    display: block;
  }
  .logo-header {
    height: 55px;
  }
}
.center {
  text-align: center;
}

@media only screen and (max-width: 425px) {
  html {
    font-size: 45%;
  }
  header nav a {
    font-size: 100%;
  }
}
@media only screen and (max-width: 350px) {
  html {
    font-size: 40%;
  }
  .section h2 {
    font-size: 4rem;
  }
  header nav a {
    font-size: 100%;
  }
}

#cctv-coin {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* BREAK POINT 1: 690px
    mobile navigation.
*/

/* BREAK POINT 2: 525px
    font size reduction 50%
    H2 align left
    H2 max width: 80%
    auto hyphen
*/

/* BREAK POINT 3: 425px
    font size reduction 45%
*/
/* BREAK POINT 4: 350px
    font size reduction 40%
*/
