@import url("https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Mulish:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400&family=Roboto+Mono:ital,wght@0,400;1,100&display=swap");

@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css);

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

:root {
  --font-primary: "Baloo Da 2", serif;
  --font-secundary: "Josefin Slab", serif;
  --font-action: "Mulish", serif;
}

.hamburguer {
  /* background-color: red; */
  width: 2rem;
  height: 2rem;
  position: fixed;
  z-index: 100;
  right: 2rem;
  top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
}

.show-menu .hamburguer {
  right: 16rem;
}

.line {
  width: 100%;
  height: 0.1rem;
  background-color: #fff;
  box-shadow: 0.1rem 0.1rem 1px #000;
  transition: transform 1s;
}

.show-menu #lineOne {
  transform: rotate(45deg) translate(0.3rem, 0.45rem);
}

.show-menu #lineTwo {
  opacity: 0;
  visibility: hidden;
}

.show-menu #lineThree {
  transform: rotate(-45deg) translate(0.3rem, -0.45rem);
}

.hamburguer span {
  position: absolute;
  left: 3rem;
  height: 2rem;
  width: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0f9b0f;
  color: #fff;
  font-family: var(--font-action);
  opacity: 0;
}

.hamburguer span::before {
  content: "";
  position: absolute;
  border-right: 0.5rem solid #0f9b0f;
  border-top: 0.5rem solid transparent;
  border-left: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  left: -1rem;
}

.show-menu .hamburguer:hover span {
  opacity: 1;
}

header {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: zoom 25s;
}

@keyframes zoom {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.banner {
  position: absolute;
  top: 30%;
  left: 15%;
}
.banner img {
  height: 11rem;
  opacity: 0;
  animation: moveBanner 1s 0.3s forwards;
}

.banner h1 {
  color: #fff;
  font-size: 4.5rem;
  font-family: var(--font-primary);
  font-weight: 200;
  text-shadow: 0.3rem 0.4rem 2px rgba(0, 0, 0, 0.4);
  line-height: 3.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: moveBanner 1s 0.7s forwards;
}

.banner h2 {
  color: #fff;
  font-size: 3rem;
  font-family: var(--font-primary);
  font-weight: 200;
  text-shadow: 0.3rem 0.4rem 2px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: moveBanner 1s 0.5s forwards;
}

.banner p {
  width: 73%;
  font-family: var(--font-secundary);
  color: #fff;
  text-shadow: 0.2rem 0.2rem rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  opacity: 0;
  animation: moveBanner 1s 0.7s forwards;
}

.banner button {
  font-family: var(--font-action);
  background-color: #000000; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to right,
    #0f9b0f,
    #000000
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to left,
    #0f9b0f,
    #07e04cb2
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 1rem 3rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  color: antiquewhite;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  opacity: 0;
  animation: moveBanner 1s 0.9s forwards;
}

.banner button:hover {
  opacity: 0.9;
  color: beige;
}

@keyframes moveBanner {
  0% {
    transform: translateY(10rem) rotateY(-30deg);
  }
  100% {
    transform: translateY(0) rotateY(0);
    opacity: 1;
  }
}

.sidebar {
  width: 20rem;
  height: 100vh;
  background-color: #fff;
  position: fixed;
  top: 0;
  right: -20rem;
  transition: all 1s;
}

.show-menu .sidebar {
  right: 0;
}

.menu {
  width: 90%;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-item {
  text-align: center;
  margin-bottom: 0.7rem;
}

.menu-link {
  font-family: var(--font-action);
  font-size: 1.9rem;
  color: #5555;
  transition: color 1s;
}

.menu-link:hover {
  color: #0f9b0f;
}

.social-media {
  width: 100%;
  position: absolute;
  bottom: 2rem;
  display: flex;
  justify-content: space-evenly;
}

.social-media i {
  color: rgba(17, 204, 20, 0.8);
  height: 2.5rem;
  width: 2.5rem;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: opacity 1s;
}

.social-media i:hover {
  opacity: 0.6;
}

.historias {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(6, 6rem);
  row-gap: 0.5rem;
}

.historia:nth-child(1) {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
}

.historia:nth-child(2) {
  grid-column: 3 / 6;
  grid-row: 3 / 5;
}

.historia:nth-child(3) {
  grid-column: 4 / 7;
  grid-row: 5 / -1;
}

.historia:nth-child(4) {
  grid-column: 11 / 14;
  grid-row: 1 / 3;
}

.historia:nth-child(5) {
  grid-column: 12 / 15;
  grid-row: 3 / 5;
}

.historia:nth-child(6) {
  grid-column: 11 / 14;
  grid-row: 5 / -1;
}

.sessao-historia {
  background-color: #f5f5f5;
  height: 100%;
}

.sessao-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sessao-header h1 {
  font-family: var(--font-primary);
  font-size: 3rem;
  color: #4b4b4b;
  border-bottom: solid 3px #0f9b0f;
  margin-bottom: 1.5rem;
}

.historia-header {
  display: flex;
  align-items: center;
  color: #4b4b4b;
}

.historia-header i {
  font-size: 2.5rem;
}

.historia-header h3 {
  font-family: var(--font-secundary);
  font-size: 2rem;
  padding-left: 1rem;
}

.historia-text {
  font-family: var(--font-secundary);
  margin-top: 1rem;
}

.historia-img-wrapper {
  grid-column: 7 / 11;
  grid-row: 2 / 6;
  width: 80%;
  height: 80%;
}

.historia-img-wrapper img {
  object-fit: cover;
  height: 100%;
}
