html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    background-color: beige;
    overflow-x:hidden;
    scroll-behavior: smooth;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 88, 9, 0.68);
    padding: 12px 40px;
    width: 90vw;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 100;
    backdrop-filter: blur(6px);
  }

  nav .title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
  }

  nav .urls a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    position: relative;
  }

  nav .urls a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffcc00;
    transition: width 0.3s ease;
  }

  nav .urls a:hover::after {
    width: 100%;
  }

  main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    position: relative;
    z-index: 1;
    text-align: center;
  }

  #head_part {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 1;
    text-align: center;
  }

  #home-text {
    padding: 30px 40px;
    animation: fadeInUp 1.2s ease-out;
  }

  #home-text h1 {
    font-size: 10rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    color: #154537;
  }

  #home-text p {
    font-size: 1.4rem;
    color: #16654f;
    max-width: 700px;
    margin: auto;
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #posts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 200px;
  }

  .post {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    width: 60vw;
    padding: 50px;
    border-radius: 15px;
    background-color:rgba(8, 88, 9, 0.68);
    box-shadow: inset 0 8px 20px rgba(0,0,0,0.3);
  }

  .post-header, .post-content {
    width: 100%;
  }

  .description {
    font-size: 1.5rem;
    color: #f0f0f0;
    width: 100%;
    text-align: left;
    margin-top: 20px;
  }

  .date {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-top: 20px;   
    width: 100%;
    text-align: right;
  }

  .url-btn {
    display: flex;
    justify-content: right;
    width: 100%;
    gap: 10px;
} 

  .url-to-map{
    color: #f0f0f0;
    background-color: #15453700;
    border: #154537 solid 3px;
    border-radius: 10px;
    font-size: 1.3rem;
    padding: 10px 20px;
    margin-top: 10px;
    transition: all 0.2s ease-in-out;
}

.url-to-map:hover {
    background-color: #154537;
}

  .photo-carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  .photo-carousel img, .photo-carousel video {
    flex-shrink: 0;
    width: 90vw;
    max-width: 400px;
    /* height: auto; */
    border-radius: 8px;
    scroll-snap-align: start;
    object-fit: cover;
  }
/* 
  .photo-carousel::-webkit-scrollbar {
    background-color: beige;
    border-radius: 10px;
  }
  
  .photo-carousel::-webkit-scrollbar-thumb {
    background-color: rgba(8, 88, 9, 0.68);
    border-radius: 10px;
    height: 5px; 
  }
  
  .photo-carousel::-webkit-scrollbar-track {
    background-color: beige;
    border-radius: 10px;
    margin: 2px 5px;
  } */

  .trash-icons img {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    animation: fallDown linear infinite;
    z-index: 0;
    pointer-events: none;
  }

  @keyframes fallDown {
    0% {
      transform: translateY(-10vh) rotate(0deg);
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    100% {
      transform: translateY(120vh) rotate(360deg);
      opacity: 0;
    }
  }

  .small {
    display: none;
}

.big {
    display: block;
}

.modal-image {
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.8);
  position:fixed;
}

.modal-image .modal-content {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #fff;
  border-radius: 10px;
}

.modal-image .modal-close {
  position: absolute;
  top: 100px; right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}


  @media (max-width: 580px) {
      html {
          overflow-x: hidden;
      }
    nav {
        border-radius: 0px;
    }
    .small {
        display: block;
    }

    .big {
        display: none;
    }

    #odd-for-phone {
        display: none;
    }

    #home-text h1 {
        font-size: 4.5rem;
      }
    
    .post {
        width: 90vw;
        padding: 20px;
    }

    .post img {
        width: 100%;
    }
    .url-to-map{
        padding: 5px 10px;
    }
}