body {
  /* background-image: linear-gradient(to right bottom, #2e3a96, #60cbd0); */
  background-image: linear-gradient(to right bottom, #004b7a, #73b6c7);
}

/* ani */
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0.2;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0.2;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

/* !top section */
.top-section {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  max-width: 1400px;
  padding: 100px 20px 0px 20px;
  margin: 0px auto 30px auto;
}

.top__item-1 {
  animation: 0.8s ease-out 0s 1 slideInLeft;
  flex-direction: column;
  padding-right: 0;
  align-items: center;
}

.top__item-2 {
  animation: 0.8s ease-out 0s 1 slideInRight;
  padding-left: 0;
  align-items: center;
  scale: 1.2;
  z-index: -2;
}

.top__item-1,
.top__item-2 {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  width: 10px;
}

.top__item-1 img {
  width: 95%;
}

.top__text {
  padding-top: 15px;
  padding-bottom: 5px;
  font-size: 1.9rem;
  font-weight: 700;
}

.top__line {
  height: 10px;
  width: 35%;
  background-color: #edf0f1;
}

.top__img {
  width: 90%;
}

/* !carousel */

.carousel-title {
  /* background-color: #edf0f1; */
  padding-bottom: 20px;
  padding-top: 20px;
  position: relative;
  margin: 0 auto;
}

.noutati {
  text-align: center;
  color: #004b7a;
  font-size: 4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.carousel-container {
  background-color: #edf0f1;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 35px;
  margin-bottom: 50px;
  box-shadow: 0px 26px 16px #00000029;
}

.carousel {
  position: relative;
  height: 45vw;
  width: 90vw;
  max-width: 1150px;
  max-height: 575px;
  margin: 0 auto;
}

.carousel__track-container {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  position: relative;
  height: 100%;
  transition: transform 250ms ease-in;
}

.carousel__slide {
  display: flex;
  position: absolute;
  height: 100%;
  width: 100%;
}

.item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 50px;
  flex-grow: 1;
}

.item-1 {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  background-color: #004b7a;
}

.item-2 img {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.carousel__button {
  position: absolute;
  top: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel__button-prev {
  transform: translateX(-80%) translateY(-50%);
}

.carousel__button-next {
  right: 0px;
  transform: translateX(80%) translateY(-50%);
}

.btnsvg {
  width: 30px;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 25px;
}

.carousel__indicator {
  border: 0px;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 10px;
  cursor: pointer;
}

.carousel__indicator.current-slide {
  background: rgba(0, 0, 0, 0.7);
}

.is-hidden {
  display: none;
}

.slide__text,
.slide__title,
.top__title,
.top__text {
  color: #edf0f1;
  font-family: "Montserrat", sans-serif;
}

.slide__title {
  font-weight: 700;
  font-size: 3.8rem;
  padding: 0px 8% 7px 8%;
}

.slide__text {
  font-weight: 400;
  font-size: 1.7rem;
  padding: 7px 8% 0% 8%;
}

@media (max-width: 1440px) {
  .top__title {
    font-size: 3.3rem;
  }

  .top__text {
    font-size: 1.65rem;
  }

  .noutati {
    font-size: 3.2rem;
  }
  .slide__title {
    font-size: 3rem;
  }

  .slide__text {
    font-size: 1.48rem;
  }
}

@media (max-width: 1024px) {
  .top__title {
    font-size: 2.9rem;
  }

  .top__text {
    font-size: 1.3rem;
  }

  .noutati {
    font-size: 2.4rem;
  }
  .slide__title {
    font-size: 2.2rem;
  }

  .slide__text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .top__item-2 {
    display: none;
  }

  .top__title,
  .top__text {
    text-align: center;
  }

  .carousel {
    width: 85vw;
    height: 136vw;
    max-height: fit-content;
  }

  .carousel__slide {
    flex-direction: column;
  }

  .item {
    width: 100%;
  }

  .item-1 {
    flex-basis: 40%;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 25px;
  }

  .item-2 {
    flex-basis: 60%;
  }

  .item-2 img {
    object-fit: contain;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
  }

  .slide__text,
  .slide__title {
    text-align: center;
  }
}

@media (max-width: 547px) {
  .carousel {
    width: 90vw;
    height: 144vw;
    max-height: fit-content;
  }

  .slide__title {
    font-size: 1.8rem;
  }

  .slide__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 425px) {
  .carousel {
    height: 160vw;
  }

  .item-1 {
    flex-basis: 60%;
  }
}

@media (max-width: 375px) {
  .top__title {
    font-size: 2.5rem;
  }

  .top__text {
    font-size: 1.2rem;
  }
}
