@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Catamaran:wght@100..900&display=swap");

html {
  scroll-behavior: smooth;
  scroll-padding-block: 72px;
}

body {
  font-family: "Catamaran", sans-serif;
  overflow-x: hidden;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: #e8e8e8;
  z-index: -1;
}

.hero {
  background-image: url("./img/fv-01.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: calc(100vh - 72px);
}

input,
textarea:focus {
  outline: none;
}

/*navigation drawer*/
.nav-menu ul {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

#burger-menu {
  width: 30px;
  height: 25px;
  position: relative;
  display: none;
}

#burger-menu span {
  background-color: #333;
  display: block;
  height: 1px;
  width: 100%;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

@media (max-width: 784px) {
  #burger-menu {
    display: block;
  }

  .nav-menu {
    background-color: white;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 2rem;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.show {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu ul {
    padding: 0 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-menu li a {
    display: block;
    padding: 10px 0;
    background-color: #7dcbf8;
  }

  .nav-menu li a:hover {
    background-color: #ace0ff;
  }
}

@media (min-width: 784px) {
  .nav-menu ul li {
    position: relative;
  }

  .nav-menu ul li a {
    position: relative;
    padding-bottom: 1px;
  }

  .nav-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #4ba3d6;
    transition: width 0.3s ease;
  }

  .nav-menu ul li a:hover {
    color: rgb(150, 150, 150);
  }

  .nav-menu ul li a:hover::after {
    width: 100%;
  }
}

#burger-menu.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

#burger-menu.active span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

/*timeline dot*/
.timeline {
  position: relative;
  display: grid;
  gap: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 1px;
  background-color: #2c8bc2;
  top: 0;
  height: 110%;
  left: 235px;
}

.timeline .container {
  display: grid;
  position: relative;
  grid-template-columns: auto 1fr;
  gap: 13rem;
  font-size: 20px;
}

.timeline .date {
  color: #2c8bc2;
}

.timeline .container::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 228px;
  background-color: #2c8bc2;
  top: 0;
  border-radius: 50%;
}
.self-end{
  margin: 0 auto;
}

@media (max-width: 784px) {
  .timeline .container {
    font-size: 16px;
    gap: 7rem;
  }

  .timeline::before {
    left: 155px;
  }

  .timeline .container::before {
    left: 148px;
  }
}
