@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

html {
  font-family: "Bebas Neue";
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y proximity;
}

body {
  background-color: black;
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }
  nav {
    display: none;
  }
  #information {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "textI textI"
      "imgI imgI";
  }

  .textI p {
    font-size: 1.35rem;
    text-align: justify;
  }

  .textI h1 {
    font-size: 4rem;
  }
  #footer {
    font-size: smaller;
  }
  #footer .socialmedia a {
    font-size: unset;
  }

  #ability p {
    font-size: 0.75rem;
  }
  .ability1 img,
  .ability2 img,
  .ability3 img {
    margin-bottom: 10%;
    width: 50%;
    height: 50%;
  }
}

@media (min-width: 640px) {
  nav {
    z-index: 1;
    border-radius: 0 0 0 25px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    right: 0;
    position: fixed;
    display: unset;
  }

  nav a {
    text-decoration: none;
    font-size: xx-large;
    color: #cec7c2;
  }

  nav ul {
    margin: 0;
    list-style: none;
  }

  nav li {
    display: inline;
    margin-right: 20px;
    text-transform: uppercase;
  }

  nav li.last {
    margin-right: 0;
  }

  nav li a:hover {
    color: white;
  }

  #information {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "imgI textI";
  }

  #footer .socialmedia a {
    font-size: large;
  }

  .textI p {
    font-size: 2.5rem;
    text-align: justify;
    width: 80%;
  }

  .textI h1 {
    font-size: 6rem;
  }
  .ability1 img,
  .ability2 img,
  .ability3 img {
    margin-bottom: 10%;
    width: 30%;
    height: 30%;
  }
}

.section {
  height: 100lvh;
  scroll-snap-align: start;
}

.circle {
  border-radius: 50%;
  background: white;
  display: flex;
  justify-self: center;
  align-self: center;
  justify-content: center;
  align-items: center;
  height: 7.5vh;
  width: 7.5vh;
  margin-bottom: 8%;
  box-shadow: 2px 2px 5px 0px #000000;
}

.circle:hover {
  height: 8vh;
  width: 8vh;
  transition: all 250ms;
}

.circle img {
  width: 60%;
  height: 60%;
}

#home {
  background: url(./img/hero.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  grid-template-areas:
    "titleH titleH titleH"
    ". . ."
    ". arrowH. ";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center;
  justify-content: center;
}

#home::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 16%,
    rgba(255, 255, 255, 0) 100%
  );
}

#home h1 {
  padding: 10px 20px;
  grid-area: titleH;
  text-decoration: underline;
  align-self: self-start;
  color: white;
  font-size: 500%;
}

#home .circle {
  grid-area: arrowH;
  box-shadow: none;
}

#information {
  background-color: white;
  color: black;
  display: grid;
}

#information::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 100lvh;
  left: 0;
  width: 100%;
  height: 100lvh;
  background: linear-gradient(
    0deg,
    rgba(50, 50, 50, 1) 0%,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 0) 100%
  );
}

#information .circle {
  grid-area: arrowI;
}

.textI {
  grid-area: textI;
  padding: 15% 10% 0 10%;
}

.imgI {
  grid-area: imgI;
  background: url(./img/fox-nobg.png);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center bottom;
  max-height: 100%;
  width: 100%;
}

#ability {
  padding: 0 5% 0 5%;
  background: rgb(50, 50, 50);
  color: white;
  display: grid;
  column-gap: 5%;
  grid-template-columns: 0.5fr 0.5fr 0.5fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    ". characterClass ."
    "ability1 ability2 ability3";
}

#footer {
  grid-area: footer;
  background: white;
  color: black;
  height: 4vh;
  padding: 0.5% 2% 0.5% 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer .socialmedia {
  display: flex;
  flex-direction: row;
  margin-right: 1%;
  gap: 5%;
}

#footer .socialmedia a {
  color: black;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer img {
  max-height: 4vh;
}

.characterClass {
  grid-area: characterClass;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.characterClass img {
  height: 15vh;
  width: 15vh;
}

.characterClass h2 {
  font-size: 3.5rem;
}

.characterClass h3 {
  font-size: 1.5rem;
}
.ability1,
.ability2,
.ability3 {
  padding-top: 10%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
}

.ability1 {
  grid-area: ability1;
}
.ability2 {
  grid-area: ability2;
}
.ability3 {
  grid-area: ability3;
}
