* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
      font-style: normal;
  /* font-family: 'Arvo'; */
}



.main {
  height: auto;
  width: 100%;
  padding: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  color: #004f55;
  font-size: 4rem;
}

.roller {
  height: 4.125rem;
  line-height: 4rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  color: #660c00;
}


#spare-time {
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 1rem;
  margin-top: 0;
  color: #660c00;

}

.roller #rolltext {
  position: absolute;
  top: 0;
  animation: slide 10s infinite;
}

@keyframes slide {
  0% {
    top: 0;
  }

  25% {
    top: -4rem;
  }

  50% {
    top: -8rem;
  }

  72.5% {
    top: -12.25rem;
  }
}




.Dcontainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  background: white;
  padding: 0;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin: auto;
}

.Dtext-section {
  width: 50%;
  padding: 20px;
}

.Dtext-section h2 {
  font-size: 28px;
  color: #050505;
  margin-bottom: 15px;
}

.Dtext-section p {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
  padding: 10px;
  text-align: left;
}

.Dimage-section {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Dimage-section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  margin: auto;
}

.image-box {
  width: 50%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}


@media screen and (max-width: 768px) {

  .main {
    padding: 20px 5px;
    margin: 40px 0;
  }

  h1 {
    text-align: center;
    text-transform: uppercase;
    color: #004f55;
    font-size: 1.2rem;
  }

  .roller {
    height: 2.6rem;
    line-height: 2.125rem;
  }

  #spare-time {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .roller #rolltext {
    animation: slide-mob 5s infinite;
  }

  @keyframes slide-mob {
    0% {
      top: 0;
    }

    25% {
      top: -2.125rem;
    }

    50% {
      top: -4.25rem;
    }

    72.5% {
      top: -6.375rem;
    }
  }

  .Dcontainer {
    flex-direction: column;
    text-align: center;
    margin: 20px 0;
    padding: 10px 20px;
  }

  .Dtext-section{
    width: 100%;
  }

  .Dtext-section h2{
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
  }

 

.Dimage-section {
  width: 100%;}


  .image-container {
    flex-direction: column;
    gap: 10px;
}

.image-box {
    width: 100%;
}

}