/* OTHER */

footer {
  height: auto;
  padding: 5vh 0;
  background-color: black;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1000;
}

.scroll-to-top:hover img {
  transition: width 0.2s ease-in-out;
  width: 100%;
}

.scroll-to-top img {
  width: 80%;
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
}

.scroll-to-top.hide {
  opacity: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inika', sans-serif;
}

body {
  font-family: 'Inika', sans-serif;
  color: rgba(244, 241, 235, 0.49);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  padding-bottom: 12vh;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/fond.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.content {
  z-index: 1;
  color: rgb(244, 241, 235);
}

.content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.content h2 {
  font-size: 2.5rem;
  margin: 10px 0;
  font-weight: bold;
}

.content p {
  font-size: 1.7rem;
  margin-top: 10px;
  font-weight: bold;
}

.content h1,
.content h2,
.content p {
  transition: transform 0.3s ease;
}

.content h1:hover,
.content h2:hover,
.content p:hover {
  transform: scale(1.1);
}

.section {
  opacity: 0;
  transform: translateX(-3%);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .section {
    opacity: 1;
  }

  .content h1 {
    font-size: 2.5rem;
  }

  .content h2 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    opacity: 1;
  }

  .content h1 {
    font-size: 2rem;
  }

  .content h2 {
    font-size: 1.7rem;
  }

  .content p {
    font-size: 1.2rem;
  }
}

::-webkit-scrollbar {
  width: 12px;
  background-color: rgba(244, 241, 235);
}

::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 6px;
  border: 1px solid rgba(244, 241, 235);
}

::-webkit-scrollbar-track {
  background-color: none;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.no-scroll {
  overflow: hidden;
}