%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/styles/
Upload File :
Create Path :
Current File : /var/www/html/styles/News.css

.mainNews {
  position: relative;
  background: #ecf9fe;
  overflow: hidden;
  z-index: 2;
}

.mainNews .intro {
  position: relative;
  width: 100%;
  padding: 20rem 0 8rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* overflow: hidden; */
}

.mainNews .newsBackground svg {
  width: 100%;
  position: absolute;
  top: -10rem;
  left: 0;
  z-index: 10;
}

@media (max-width: 1440px) {
  .mainNews .newsBackground svg {
    top: -25rem;
  }
}

.mainNews .intro .animationWrap {
  position: relative;
  width: 100%;
}

.mainNews .intro .animate {
  display: flex;
  position: absolute;
  animation: loopingText 10s linear infinite;
  width: 200%;
  right: 0;
  top: 12rem;
  transform: translate(0, -50%);
}

.mainNews .intro .items {
  display: flex;
  width: 50%;
  justify-content: space-around;
}

.mainNews .intro .items span {
  font-family: "Anton";
  font-style: normal;
  font-weight: normal;
  font-size: 39.8rem;
  line-height: 60rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #d8f4fc;
}

.mainNews .intro h1 {
  font-family: "Anton";
  font-style: normal;
  font-weight: normal;
  font-size: 7.5rem;
  line-height: 8rem;
  text-align: center;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #2d2d2d;
  margin: 0;
  z-index: 999;
}

.mainNews .intro h1 span {
  color: #f26739;
}

.mainNews .intro .newsDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2d2d2d;
  width: 6%;
  height: 3.6rem;
  margin-bottom: 3.2rem;
  transform: rotate(1.8deg);
  z-index: 999;
}

.mainNews .intro .newsDiv h4 {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.7rem;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #ffffff;
  transform: rotate(-1.8deg);
}

.mainNews .content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10.7rem 0 10.7rem 18.7rem;
}

.mainNews .content .buttons {
  position: absolute;
  display: flex;
  right: 15.6rem;
  bottom: 9.3rem;
  z-index: 999;
}

.mainNews .content .buttons button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e0edf1;
  border: 0;
  border-radius: 50%;
  padding: 1.2rem;
  margin-right: 12px;
  cursor: pointer;
  z-index: 999;
}

.mainNews .content .swiper-scrollbar {
  margin-top: 8rem;
  width: 141rem;
}

.swiper-horizontal > .swiper-scrollbar {
  left: 0 !important;
  height: 9px !important;
}

.mainNews .content .swiper-scrollbar-drag {
  background: #3cc6f2;
}

.mainNews .content .card {
  display: flex;
  flex-direction: column;
  /* width: 45rem; */
  margin-right: 1.5rem;
}
.mainNews .content .card img {
  object-position: center;
  object-fit: cover;
}

.mainNews .content .card span {
  font-family: "Inter";
  font-style: normal;
  font-weight: normal;
  font-size: 1.8rem;
  line-height: 140%;
  letter-spacing: -0.025em;
  color: #6a6a6a;
  padding-top: 3.8rem;
}

/* .mainNews .card :nth-child(1) {
  width: 100%; 
  aspect-ratio: 1;
} */

.mainNews .content .card h4 {
  font-family: "Anton";
  font-style: normal;
  font-weight: normal;
  font-size: 3.6rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #202020;
  margin: 1.6rem 0 3.6rem 0;
}

.mainNews .content .card a {
  display: flex;
  align-items: center;
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.7rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #343434;
}

.mainNews .content .card a svg {
  margin-left: 2.8rem;
}

/* Responsive  */

@media (min-width: 260px) and (max-width: 720px) {
  .mainNews .intro h1 {
    font-size: 33px;
    line-height: 100%;
  }
  .mainNews .content {
    padding: 18.7rem 3rem;
    padding-top: 10rem;
  }
  .mainNews .intro .newsDiv {
    width: 12%;
    height: 21px;
  }
  .mainNews .intro .newsDiv h4 {
    font-size: 10px;
  }
  .mainNews .intro .animate {
    width: unset;
  }
  .swiper-container {
    width: 1024px !important;
  }
  .mainNews .content .card {
    width: fit-content;
  }
  .mainNews .content .card h4 {
    font-size: 19px;
  }
  .mainNews .content .card span {
    font-size: 12px;
    padding-top: 1.5rem;
  }
  .mainNews .content .card a {
    font-size: 12px;
  }
  .mainNews .content .card a svg {
    width: 14px;
  }
  .mainNews .content .buttons {
    right: unset;
    bottom: 6rem;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .mainNews .content {
    padding: 18.7rem 3rem;
  }
  .mainNews .intro .animationWrap {
    width: 200%;
  }
  .mainNews .intro .newsDiv {
    width: 8%;
  }

  .mainNews .newsBackground svg {
    display: none;
  }

  .mainNews .intro h1 {
    font-size: 9rem;
    line-height: 100%;
  }
  .swiper-container {
    width: 1024px !important;
  }
  .mainNews .content .card {
    width: fit-content;
  }
  .mainNews .content .card h4 {
    font-size: 24px;
    line-height: 120%;
    margin: 1.6rem 0 2rem 0;
  }
  .mainNews .content .card span {
    padding-top: 1.5rem;
    font-size: 16px;
  }
  .mainNews .content .card a {
    font-size: 16px;
  }
  .mainNews .content .buttons {
    right: unset;
    bottom: 6rem;
  }
}

Zerion Mini Shell 1.0