@import url('https://fonts.googleapis.com/css?family=Poppins');
.logo {
  opacity: 0;
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}


body,
html {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  background: #16343C;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  margin:0px;
  display: block;
}

.section {
  display: none;
  padding: 2rem;
  
  @media screen and (min-width: 768px) {
    padding: 4rem;
  }
  
  display: block;
}

h1 {
  font-size: 2rem;
  margin: 0 0 1.5em;
  text-align: center;
}

.grid {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
}

.item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  box-shadow: -2px 2px 10px 0px rgba(0, 0, 0, 0.114);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  height: 100vh; /* Make each item take the full height of the viewport */
}

.item__link {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
  z-index: 1; /* Ensure the link is above other content */
}

.item::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.0;
  transition: opacity 0.3s ease-in-out;
}

.item:hover {
  transform: scale(1.05);
}

.item:hover::after {
  opacity: 0;
}

/* Adjust the grid for mobile screens */
@media (max-width: 767px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* Create two columns */
    grid-gap: 10px; /* Reduce the gap between items */
  }

  .item {
    height: calc(50vh - 15px); /* Adjust height for two columns (with some margin) */
  }
}

/* Adjust the grid for tablets and larger screens */
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .item {
    height: 300px; /* Adjust height for larger screens */
  }
}

footer {
  color: rgba(255, 255, 255, 0.452);
  text-align: center;
  margin-top: 20px;
}

.footer-image {
  width: 100%;
  overflow: hidden;
}

.footer-image img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-content {
  background-color: #1A3F49;
  padding: 40px;
}

.footer-content p {
  margin: 10px 0;
  font-size: 14px;
}

#logolyon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

