@font-face {
  font-family: "Galliso";
  src: url("../fonts/Galliso.ttf") format("truetype");
}
@font-face {
  font-family: "Second-Font";
  src: url("./fonts/Galliso.ttf") format("truetype");
}


.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: rotate(-165deg);
}

.hero-img img {
  transform: scale(1.25);
}

.hero-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 1em;
  z-index: 1;
  margin-bottom: 10%;
  margin-left: 10%;
}


.fade span { animation-name: leFadeIn }
@keyframes leFadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

.hero-col:nth-child(1) {
  flex: 6;
}

.hero-col:nth-child(2) {
  flex: 2;
  padding: 0.5em;
}

.hero-header h1 {
  text-transform: uppercase;
  font-family: 'Second-Font';
  font-size: 8vw;
  color: var(--color-text);
  letter-spacing: 0.5rem;
}

p#site-intro {

  text-transform: uppercase;
  font-family: 'Second-Font';
  font-size: 0vw;
  letter-spacing: 0.2rem;
  
}



@media (max-width: 900px) {
  .hero-header {
    position: absolute;
    bottom: 10em;
    flex-direction: column;
  }

  p#site-intro {
    margin-top: 0;
    text-indent: 0;
  }

  .hero-img {
    transform: rotate(-170deg);
  }

}


@media screen and (min-width: 300px) and (max-width: 600px) {
   .hero-col h1{
    font-size: 4rem;
    width: 20%;
    padding-left: 5%;
    letter-spacing: 0.5rem;
   }

   
  p#site-intro {

    text-transform: uppercase;
    font-family: 'Second-Font';
    font-size: 6vw;
    letter-spacing: 0.2rem;
    margin-left: 5%;
  }
}