*{
    margin: 0;
}

#reciclare, #defrisare, #poluare, #incendii{
    width: 300px;
    height: 4px;
    background-color: #00a9af;
    position: absolute;
    bottom: 10px;
}

#casetute li a{
    color: black;
    text-decoration: none;
}

#casetute li a div:hover{
    color: white;
}

#textc{
    background-image: url(ecolo1.png);
    background-size: cover;
    font-size: 1em;
    padding-left: 9.5%;
    padding-right: 48%;
    padding-top: 5%;
    padding-bottom: 5%;
    text-indent: 2em;
    color: black;
}

#textc a{
    background-color: #7FDBCC;
    border-radius: 20px;
    margin-left: 40%;
    color: black;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

#textc a:hover{
    background-color: #FF9F8E;
    background: linear-gradient(90deg, #7FDBCC, #A0E4B8, #DAA520, #FF9F8E);
    background-size: 200% 200%;
    animation: gradientHover 1.5s infinite alternate;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes gradientHover {
    0% { background-position: left; }
    100% { background-position: right; }
}

.hero {
    background: url('index.jpg') center/cover no-repeat;
    font-size: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    text-align: center;
}

#citat, #autor {
    margin: 5px 0; 
    font-size:40px;
}

#motooul{
    font-size: 80px;
}

#autor{
    margin-left: 65%;
}

#textcpt{
    font-size: 40px;
    text-indent: 2em;
}

.container {
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40%;
    margin-bottom: 35%;
}

.box {
    position: fixed;
    right: -100%; 
    top: 50%;
    height: 70%;
    width: 75%;
    transform: translateY(-50%);
    background-color: #00a9af;
    color: black;
    padding: 30px;
    font-size: 19px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

#centru{
    text-align: center;
    font-size: 35px;
}

#alineat{
    text-indent: 2em;
}

.slideshow {
    position: relative;
    width: 55%;
    margin: 0 auto;
    min-height: 50%;
    max-height: 60%;
    box-shadow: 10px 10px 25px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background-position: center;
    margin-top: 2%;
  }
  
  .slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade 40s infinite;
  }
  
  .slideshow img:nth-child(1) { animation-delay: 0s; }
  .slideshow img:nth-child(2) { animation-delay: 4s; }
  .slideshow img:nth-child(3) { animation-delay: 8s; }
  .slideshow img:nth-child(4) { animation-delay: 12s; }
  .slideshow img:nth-child(5) { animation-delay: 16s; }
  .slideshow img:nth-child(6) { animation-delay: 20s; }
  .slideshow img:nth-child(7) { animation-delay: 24s; }
  .slideshow img:nth-child(8) { animation-delay: 28s; }
  .slideshow img:nth-child(9) { animation-delay: 32s; }
  .slideshow img:nth-child(10) { animation-delay: 36s; }

  @keyframes fade {
    0% { opacity: 0; }
    5% { opacity: 1; }
    15% { opacity: 1; }
    20% { opacity: 0; }
    100% { opacity: 0; }
  }

  #harta{
    height: 500px;
    width: 100%;
    margin-bottom: 3%;
    box-shadow: 10px 10px 25px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid black;
  }

  #pozah{
    height: 100%;
    width: 40%;
    float: left;
    background-image: url('slidere/harta.jpg');
    background-size: cover; 
    background-position: center;
  }

  #texth{
    position: absolute;
    right: 0;
    left: 40%;
    padding: 30px;
    font-size: 19px;
  }

  #harta a{
    position: absolute;
    left: 45%;
    bottom: -10%;
    background-color: #7FDBCC;
    border-radius: 20px;
    color: black;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    padding: 10px;

  }

  #harta a:hover{
    background-color: #FF9F8E;
    background: linear-gradient(90deg, #7FDBCC, #A0E4B8, #DAA520, #FF9F8E);
    background-size: 200% 200%;
    animation: gradientHover 1.5s infinite alternate;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }

  #probleme{
    font-size: 38px;
    text-indent: 2em;
    color: red;
    text-align: center;
  }