@font-face {
  font-family: handwritten;
  src: url(LovelexieHandwritten.ttf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 25px;
}

body {
  color: #fff;
  font-family: handwritten, sans-serif, Arial, Helvetica;
}

.desktop {
  display: none;
}

@media (min-width: 1200px) {
  .desktop {
    display: initial;
  }
}

header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  padding: 20px 20px;
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
}

a.logo {
  height: 12px;
  width: 100px;
  color: #171a20;
}

header a {
  color: inherit;
}

header nav a {
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.4s ease-in-out;
}

header.scrolled nav a {
  text-decoration: none;
  padding: 5px 10px;
  color: #171a20;
}

header nav.center {
  text-align: center;
}

header nav.right {
  text-align: right;
}

.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y proximity;
  -webkit-overflow-scrolling: touch;
}

section {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

header .logo {
  display: inline-block;
  background-image: url(images/submarinulogo.svg);
  background-size: 125px 37.5px;
  width: 125px;
  height: 37.5px;
}

.homeSection {
  background-image: url(images/titanic.svg);
}

.oneSection {
  background-image: url(images/jackandshib.svg);
}

.twoSection {
  background-image: url(images/jackandshibdoor.svg);
}

.threeSection {
  background-image: url(images/drawme.svg);
}

.aboutusSection {
  background-image: url(images/jackandshibpaint.svg);
}

.roadmapSection {
  background-image: url(images/exploretitanic.svg);
}

.tokenomicsSection {
  background-image: url(images/controllerbackground.svg);
}

.footerSection {
  background-image: url(images/titanic.svg);
}

.submarinuLink {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.submarinuLink:hover {
  transform: scale(1.05);
}

.submarinuLink:hover .enterText {
  transform: scale(1.1);
  opacity: 0;
}

.enterText {
  opacity: 1;
  transition: all 0.2s;
  font-size: 30px;
}

.content {
  width: 100vw;
  height: 100vh;
  padding-top: 15vh;
  padding-bottom: 15vh;
  text-align: center;
  display: grid;
  grid-template-rows: min-content auto min-content;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.homeContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appear {
  transform: translateY(0);
  opacity: 1;
  transition: 1s all ease;
}

section h1 {
  font-size: 4rem;
  color: #ffff;
}

.roadmaph1,
.tokenomicsh1 {
  color: #ffff;
}

p {
  color: #ffff;
}

.firsth1 {
  color: #ffff;
}

.firstp {
  color: #ffff;
}

.addressTitle,
article {
  color: #ffff;
}

section a {
  color: inherit;
}

section .buttons a {
  display: block;
  background-color: #eee;
  color: #171a20;
  padding: 12px 50px;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
}

section .buttons a:first-child {
  background-color: #444;
  color: #fff;
}

section .buttons {
  display: grid;
  row-gap: 20px;
  margin: 0 40px;
}

section .singleButton a {
  display: block;
  background-color: transparent;
  padding: 12px 100px;
  border: 3px solid white;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  max-width: 85vw;
  margin: auto;
}

section .singleButtonBlack a {
  display: block;
  background-color: transparent;
  padding: 12px 100px;
  border: 3px solid black;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  color: black;
  max-width: 85vw;
  margin: auto;
}

@media (min-width: 768px) {
  section .buttons {
    max-width: 640px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  section .singleButton {
    max-width: 640px;
    margin: 0 auto;
  }
}

aside {
  position: fixed;
  transition: right 0.4s ease;
  right: -320px;
  width: 320px;
  background-color: #fff;
  padding: 80px 40px;
  z-index: 4;
  height: 100vh;
  top: 0;
}

aside.active {
  right: 0;
}

aside a {
  display: block;
  color: #171a20;
  text-decoration: none;
  padding: 12px 0;
  font-size: 25px;
  font-weight: 500;
}

aside button.close {
  font-size: 35px;
  border: 0;
  background-color: transparent;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
  font-weight: 100;
  cursor: pointer;
}

.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(5px);
}

.backdrop.active {
  display: block;
}

.splash {
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  height: 100vh;
  width: 100vw;
  transform: translate(-50%, -50%);
  background-image: url(images/titanicbackground.svg);
  transition: all ease-in-out 1000ms;
}
.hidden {
  transition: 0.5s;
  display: none;
}

/* Other */

.homeLogo {
  width: 425px;
  /* margin: 10px 0; */
}

.addressTitle {
  font-size: 45px;
  /* margin-top: 10px; */
}

.address {
  font-size: 30px;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 15px;
  margin-bottom: 10px;
}

#btn-copy {
  width: 25px;
  transition: all 0.1s;
}

#btn-copy:hover {
  scale: 1.1;
}

.logoLinks {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0px;
}

.linkLogos {
  display: block;
  width: 75px;
  height: auto;
  transition: transform 0.2s;
  animation: fadeIn 3s;
}

.linkLogos:hover {
  transform: scale(1.1);
}

.roadmap {
  background-color: aqua;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 100px;
  gap: 50px;
  transform: none;
}

.aboutUs {
  background-color: rgba(0, 0, 0, 0.4);
  transform: none;
}

.aboutUsBlurb {
  width: 70vw;
  margin-left: auto;
  margin-right: auto;
}

li {
  list-style-type: none;
}

.tokenomics {
  background-color: aqua;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  transform: none;
}

.roadmapsteps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  grid-gap: 20px 10px;
}

.stepscolumns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.number {
  font-size: 60px;
}

.headerBtn {
  padding: 5px 10px;
}

.headerBtn:hover {
  background-color: aqua;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  transition: 0.2s ease;
}

.menuBtns {
  padding-left: 5px;
}

.menuBtns:hover {
  background-color: aqua;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  transition: 0.2s ease;
}

#menuBtn:hover {
  background-color: aqua;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  transition: 0.5s ease;
}

.footerContent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 10vh;
  padding-bottom: 2vw;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
}

.footerLogo {
  width: 150px;
}

.logoLinksFooter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0px;
}

.linkLogosFooter {
  display: block;
  width: 50px;
  height: auto;
  transition: transform 0.2s;
  animation: fadeIn 3s;
}

.linkLogosFooter:hover {
  transform: scale(1.15);
}

.disclaimer {
  margin-top: 15px;
  font-size: 15px;
  text-align: center;
  width: 90vw;
}

div.scroll-container {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 1rem;
  -webkit-overflow-scrolling: touch;
  overflow-x: scroll;
  scroll-snap-type: x proximity;
  display: flex;
  width: 400px;
}

div.scroll-container img {
  width: 400px;
  min-width: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
  background-color: #fff;
  scroll-snap-align: end;
  scroll-snap-stop: always;
}

.indicator-tray {
  position: relative;
  display: flex;
  height: 5px;
  width: 50%;
  background-color: #eee;
  margin: 20px auto;
}

.indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #e51837;
}

.tokenomicsContainer {
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 50px 30px;
  justify-items: center;
  align-items: center;
}

.tokenomicsBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 400px;
  height: 175px;
  padding: 30px;
  border: 3px dashed white;
  border-radius: 25px;
}

.copyright,
.disclaimer {
  color: #ffff;
}

@media (max-width: 1295px) {
  .tokenomicsContainer {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 15px 15px;
  }
}

@media (max-width: 1010px) {
  .addressTitle,
  .address {
    display: none;
  }
}

@media (max-width: 850px) {
  .tokenomicsContainer {
    /* grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr); */
    grid-gap: 10px 5px;
  }

  .tokenomicsBox {
    gap: 10px;
    /* width: 100vw; */
    height: 125px;
    padding: 15px;
    /* border: 0px;
    border-radius: 0px; */
  }
}

@media (max-width: 805px) {
  .tokenomicsContainer {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 5px 0px;
  }

  .tokenomicsBox {
    gap: 0px;
    width: 100vw;
    height: 75px;
    padding: 0px;
    border: 0px;
    border-radius: 0px;
  }

  .number {
    font-size: 7.5vw;
  }

  /* section h1 {
    font-size: 8vw;
  } */

  .roadmap {
    padding: 50px;
    gap: 0px;
  }

  .roadmapsteps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 0px 0px;
  }

  .stepscolumns {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .tokenomics {
    padding-top: 70px;
  }
}

@media (max-width: 760px) {
  .homeLogo {
    width: 95vw;
    margin: 40px 0px;
  }

  .logoLinks {
    gap: 10px;
    margin: 40px 0px;
  }

  .linkLogos {
    width: 10vw;
  }

  .firstSection {
    background-image: url(images/backgroundphone.gif);
  }
}

@media (max-width: 700px) {
  .copyright {
    font-size: 4.3vw;
  }

  .logoLinksFooter {
    gap: 10px;
    margin: 10px 0px;
  }

  .linkLogosFooter {
    width: 7.5vw;
  }

  section h1 {
    font-size: 2rem;
    color: #ffff;
  }
}

@media (max-width: 420px) {
  div.scroll-container {
    width: 98vw;
  }

  div.scroll-container img {
    width: 98vw;
  }

  section h1 {
    font-size: 2rem;
    color: #ffff;
  }

  .aboutUsBlurb {
    font-size: 24px;
  }

  .tokenomicsBox li {
    font-size: 20px;
  }

  .tokenomicsBox h2 {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .aboutUsBlurb {
    font-size: 20px;
  }
}

@supports (-webkit-touch-callout: none) {
  .content {
    transform: none;
    opacity: 1;
    transition: none;
  }

  #menuBtn {
    background-color: aqua;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    transition: 0.5s ease;
  }

  #menuBtn:hover {
    transition: none;
  }
}

.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.submarinu {
  position: static;
  width: 400px;
  -webkit-animation: mover 4s infinite alternate;
  animation: mover 4s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

@keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50px);
  }
}
