/* Header Styles */
header {
    top: 0;
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 10;
    display: block;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}
nav {
  display: flex;
  transform: translateY(-10rem);
}
nav a,nav button {
  z-index: 99999;
}
.nav-logo {
  display: flex;
  margin-left: 3rem;
  margin-right: auto;
  margin-top: 1rem;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  color: white;
}
.logo-img {
height: 8.5rem;
width: 8.5rem;
transition: all 0.3s ease;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1rem;
  margin: 0;
  font-size: 1.3rem;
  opacity: 1;
  transition: opacity 0.5s ease;
  text-shadow: 0 0 1em rgba(0,0,0,0.2);
}
.logo-text h2 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  width: 20rem;
  transition: all 0.3s ease;
}
.logo-text tspan {
  font-size: 2.5rem;
  font-weight: 640;
  transition: all 0.3s ease;
}
.nav-text {
  display: flex;
  justify-content: flex-end;
}
.nav-text a {
  font-weight: 300;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  padding-right: 5.4rem;
  padding-top: 2.5rem;
}
.nav-text a h4 {
  transition: all 0.2s ease;
}
.nav-text h4:hover {
  scale: 108%;
}
.nav-text h4:active {
  scale: 105%;
}

.slide-in {
  transform: translateY(0rem);
  transition: transform 0.5s 0.15s cubic-bezier(0.29, 0.91, 0.31, 1);
}
.slide-out {
  transform: translateY(-12rem);
  transition: transform 0.5s cubic-bezier(0.95, 0.05, 0.795, 0.035);
}


@media (max-width: 1269px) {
  .nav-text {
    flex-grow: 1;
  }
  .nav-text a{
    padding-right: 2rem;
    flex-shrink: 1;
    transition: all 0.3s ease;
  }
  .nav-text a:last-child {
    padding-right: 3rem;
  }
    .nav-text a:not(:last-child) {
      margin-right: auto;
  }
}
@media (max-width: 1100px) {
  .logo-img {
    height: 6rem;
    width: 6rem;
  }
  .logo-text {
    font-size: 0.92rem;
  }
  .logo-text tspan {
    font-size: 1.76rem;
  }
  .logo-text h2 {
    width: 12rem;
    margin-top: 0.53rem;
    margin-bottom: 0.53rem;
  }
  .nav-text a:first-child {
    padding-left: 2rem;
  }
  .nav-text {
    margin-left: 2rem;
  }
}
@media (max-width: 895px) {
  .logo-img {
    height: 8.5rem;
    width: 8.5rem;
  }
  .logo-text {
    display: none;
    opacity: 0;
  }
}
@media (max-width: 746px) {
  .logo-img {
    height: 6rem;
    width: 6rem;
  }
}
@media (max-width: 707px) {
  .nav-logo {
    margin-left: 1rem;
  }
  .logo-img {
    height: 8.5rem;
    width: 8.5rem;
  }
  .logo-text {
    font-size: 1.3rem;
    display: flex;
    opacity: 1;
  }
  .logo-text tspan {
    font-size: 2.5rem;
  }
  .logo-text h2 {
    width: 14rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }
}

@media(max-width: 470px) {
  .logo-img {
    height: 6rem;
    width: 6rem;
  }
  .logo-text {
    font-size: 0.92rem;
  }
  .logo-text tspan {
    font-size: 1.76rem;
  }
  .logo-text h2 {
    width: 12rem;
    margin-top: 0.53rem;
    margin-bottom: 0.53rem;
  }
}
@media (max-width: 358px) {
  .logo-img{
    height: 8.5rem;
    width: 8.5rem;
  }
  .logo-text {
    display: none;
    opacity: 0;
  }
}
@media (max-width: 200px) {
  .logo-img{
    height: 60vw;
    width: 60vw;
  }
}