@import url("https://fonts.googleapis.com/css2?family=Kalnia:wght@100;200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 0;
  font-family: "Work Sans", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  color: black;
  background-color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 99vh; /* Ensure full viewport height */
  position: relative; /* Required for the footer to position relative to the body */
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  min-height: 3%;
  background-color: white;
}

.main-menu {
  display: flex;
  margin-top: 1%;
}

.menu-item {
  padding: 7px 7px 7px 7px;
  margin-left: 1%;
  margin-right: 1%;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
}

.menu-item:last-child {
  margin-right: 0;
}

.menu-item a {
  text-decoration: none;
  color: inherit;
}

.menu-item:hover {
  color: rgb(77, 77, 77);
}

.current:hover {
  color: white;
  background-color: rgb(77, 77, 77);
}

.current {
  color: white;
  background-color: black;
}

.content-container {
  margin-top: 2%;
}

.places {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
}

.place {
  padding: 7px 7px 7px 7px;
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;
  padding-left: 1%;
  padding-right: 1%;
  font-size: 18px;
  cursor: pointer;
}

.place:hover {
  color: rgb(77, 77, 77);
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  z-index: 10;
}

a {
  text-decoration: none; /* Remove default underline */
  color: inherit; /* Inherit color from the parent */
}

.place a,
.current a {
  text-decoration: none;
}

.current a {
  color: white;
}

/* .page-informations {
  height: 20px;
  font-size: 15px;
  width: 100%;
  background-color: black;
  color: grey;
  display: flex;
  justify-content: center;
  align-items: center;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    /* transform: translateY(100px); */
  }
  to {
    opacity: 1;
    /* transform: translateY(0); */
  }
}
/* NOTE: It was 1300px before */
@media (min-width: 300px) {
  .content-container {
    opacity: 0; /* Initially set to invisible */
    /* transform: translateY(100px);  */
    animation: fadeInUp 1s ease forwards; /* Apply animation */
  }
}

@media (max-width: 900px) {
  header {
    overflow: auto; /* Enable scrolling for the header */
    /* Other styles for the header */
  }
  .place {
    font-size: 15px;
    /* margin-left: 1.5%;
    margin-right: 1.5%; */
    width: 100%;
    height: 100%;
  }
  .menu-item {
    padding-top: 2%;
    margin: 0 0 0 0;
  }
  .content-container {
    margin-top: 10%;
  }
  footer {
    border-top: 1px solid black;
    /* padding-top: 1%; */
  }
  .places {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 0%;
    padding-bottom: 0%;
  }

  .place {
    text-align: center;
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
  }

  header {
    border-bottom: 1px solid black;
  }
  .main-menu {
    margin-top: 0%;
  }

  .menu-item:first-child {
    margin-left: 0;
  }
  .menu-item:last-child {
    margin-right: 0;
  }
}
