@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");
.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
:root {
  --blue: rgb(61, 90, 254);
  --light-blue: rgb(33, 150, 243);
}
@keyframes Title {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes Subtext {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes Button {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1d2d4b;
  transition: background-color 0.5s;
  overflow: hidden;
}

.splashscreen {
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 100vh;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 1; /*test alignment of splashscreen2*/
  text-shadow: black 3px 1px 13px;
}
#Nav-Blur {
  transition: all 0.3s ease-in-out;
  position: absolute;
  /* -webkit-backdrop-filter: blur(6vmax);
    backdrop-filter: blur(6vmax); */
  overflow: hidden;
  height: 100vh;
  width: 100%;
}
.navigate {
  text-shadow: black 3px 1px 17px;
  padding-left: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 35px;
  color: white;
}
nav {
  background-color: #1d2d4b;
  color: Black;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0%;
  left: 0%;
  height: 100vh;
  z-index: 3;
  width: 0;
  opacity: 0;
  font-family: major mono display;
  transition: all 0.3s ease-in-out;
}
nav a {
  padding-top: 15px;
  padding-left: 10px;
  padding-bottom: 15px;
  color: white;
  text-decoration: none;
}
.link {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: block;
  position: relative;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s;
  opacity: 0;
}
.link:nth-child(5) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.link::before {
  transition: width 600ms ease;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    var(--blue) var(--light-blue-percent),
    var(--light-blue)
  );
}
.link:hover::before {
  width: 100%;
}
body[data-nav="true"] nav {
  width: 500px;
  opacity: 1;
}
body[data-nav="true"] .link {
  opacity: 1;
}
body[data-nav="true"] #Nav-Blur {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#nav-toggle {
  height: 2.5rem;
  width: 2.5rem;
  z-index: 456;
  position: fixed;
  top: 5%;
  left: 5%;
  transform: translateX(-70%);
  bottom: 3rem;
  border-radius: 5rem;
  outline: none;
  border: none;
  box-shadow: 0rem 0rem 4rem rgba(0 0 0 / 35%);
  cursor: pointer;
  transition: transform, background-color;
  transition-duration: 400ms;
}
#nav-toggle:hover {
  transform: translateX(-50%) translateY(50%) scale(1.35);
}
#nav-toggle:active {
  transform: translateX(-50%) translateY(50%) scale(0.95);
}
#nav-toggle i {
  position: absolute;
  top: 13%;
  left: 7%;
  -moz-top: 5%;
  -moz-left: 5%;
  transform: translate(25%, 5%) scale(0.95);
  font-size: 1.75rem;
  transition: all;
  transition-duration: 0.4s;
  opacity: 0;
  z-index: 456;
}
@-moz-document url-prefix() {
  #nav-toggle i {
    position: absolute;
    top: 5%;
    left: 5%;
    transform: translate(25%, 5%) scale(0.95);
    font-size: 1.75rem;
    transition: all;
    transition-duration: 0.4s;
    opacity: 0;
  }
}
body:not([data-nav="true"]) #nav-toggle:hover .open {
  opacity: 1;
}
body[data-nav="true"] #nav-toggle .close {
  opacity: 1;
}
body[data-nav="true"] #nav-toggle {
  transform: translateX(450px);
}
body[data-nav="true"] #nav-toggle:hover {
  transform: translateX(450px) scale(1.35);
}
body[data-nav="true"] #nav-toggle:active {
  transform: translateX(450px) scale(0.95);
}
.Title {
  align-items: baseline;
  animation: Title 0.7s ease-out;
}
.ASTRA {
  font-family: Major Mono Display;
  font-size: 100px;
  margin-right: 0.25em;
}
.Studios {
  font-family: Poiret One;
  font-size: 100px;
}
.Subtext {
  animation: Subtext 1s;
  text-align: center;
  font-size: 25px;
  flex-wrap: wrap;
}
.SubtextWel,
.SubtextWel1 {
  margin-right: 0.2em;
  font-family: Poiret One;
}
.SubtextASTRA {
  margin-right: 0.2em;
  font-family: Major Mono Display;
}

.SplashButton {
  animation: Button 2s;
  display: flex;
  position: absolute;
  text-align: center;
  bottom: 25%;
  justify-content: center;
  text-decoration: none;
  font-family: Poiret One;
  font-size: 30px;
  color: black;
  transition: background-color 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  z-index: 0;
  display: inline-block;
}

.SplashButton ul {
  list-style: none; /* Remove bullet points */
  margin: 0;
  padding: 0;
}
li a {
  padding: 10px 20px;
  text-decoration: none;
  color: black;
}
body[data-nav="true"] .SplashButton {
  opacity: 0;
}
body[data-nav="true"] .SplashButton:hover {
  opacity: 0;
}

.SplashButton:hover {
  background-color: rgba(256, 256, 256, 0.25);
  border-radius: 7px;
}
@keyframes end {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

body:has(.SplashButton:hover) {
  background-color: #5e50d4;
}
@keyframes rotate {
  from {
    rotate: 0deg;
  }

  50% {
    scale: 1 1.5;
  }

  to {
    rotate: 360deg;
  }
}

#blob {
  background-color: white;
  height: 35vmax;
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: linear-gradient(to right, rgb(173, 216, 118), rgb(255, 89, 89));
  animation: rotate 20s infinite;
  opacity: 0.8;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
#blob-blur {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 0;
  -webkit-backdrop-filter: blur(6vmax);
  backdrop-filter: blur(6vmax);
  overflow: hidden;
}
