.content {
  padding-left: 0;
  padding-right: 0;
}

.templates-content {
  padding: 9rem 12rem;
  background: #f6f6f6;
  border-radius: 3rem;
  display: flex;
  align-items: center;
}

.templates-content > div {
  flex: 1;
}

.templates-content > div > h4 {
  color: #112439;
  font-size: 5rem;
  line-height: 5.3rem;
  margin: 0;
  margin-bottom: 2rem;
  font-weight: 400;
}

.templates-content > div > .desc {
  font-size: 1.8rem;
  line-height: 3rem;
  font-family: "Roboto";
}

.tempaltes-gallery {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.tempaltes-gallery > div:first-child {
  display: flex;
  gap: 1.2rem;
}

.tempaltes-gallery > div:first-child > div {
  flex: 1;
}

.tempaltes-gallery > div:first-child > div img {
  aspect-ratio: 1;
}

.tempaltes-gallery img {
  border-radius: 15px;
}

.templates-btn {
  background: rgb(47, 69, 93, 0.5);
  border: 2px solid #ffffff;
  border-radius: 19rem;
  opacity: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: absolute;
  bottom: 0;
  transform: translate(-50%, 50%);
  left: 50%;
  color: white;
  font-size: 3.1rem;
  line-height: 3.3rem;
  padding: 2rem 4rem;
}

#animation {
  width: 100%;
}

.blue-box {
  width: 100%;
}

@media (max-width: 1700px) {
}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
  .templates-content {
    padding: 4rem 5rem;
    gap: 2rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .templates-content > div > h4 {
    font-size: 3rem;
    line-height: 3.3rem;
  }

  .templates-content > div > .desc {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .templates-content {
    padding: 3rem;
    flex-direction: column;
    text-align: center;
  }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}
