@import url("https://fonts.googleapis.com/css2?family=Jost:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");

:root {
  --green: #0e723a;
  --strong-green: #185c37;
  --light-green: #21a366;
  --white: #ffffff;
  --strong-gray: #242038;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.title {
  font-family: "Jost", sans-serif;
}

.text {
  font-family: "Quicksand", sans-serif;
}

.cover {
  margin: auto;
  max-width: 1400px;
  padding: 25px 10%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2%;
}

.cover-cloud-textContainer-cloud {
  max-width: 140px;
  width: 30vw;
  height: 100%;
}

.cover-title {
  width: 75%;
  font-size: 3vw;
  line-height: 3.5vw;
}

.clouds {
  position: relative;
  margin: auto;
  max-width: 1400px;
  padding: 1.5em 10% 1.5em 10%;
}

.clouds::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.2em;
  width: 8vw;
  max-width: 112px;
  height: 20%;
  background: url(../images/backups_page/assets_web_backup/lines_1_web.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.clouds-textContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  width: 80%;
}

.cloud-textContainer-message {
  position: relative;
  min-width: min-content;
  font-size: 1.5vw;
  align-self: center;
}

.cloud-textContainer-line {
  object-fit: contain;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  justify-self: end;
  align-self: start;
  width: 30%;
}

.cloud-textContainer-message:first-of-type {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.cloud-textContainer-message:last-of-type {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  transform: translate(5%, 40%);
  -webkit-transform: translate(5%, 40%);
  -moz-transform: translate(5%, 40%);
  -ms-transform: translate(5%, 40%);
  -o-transform: translate(5%, 40%);
}

.figure {
  position: absolute;
  z-index: -1;
}

.folderBlue {
  bottom: 0;
  left: 3%;
}

.green {
  top: 0;
  right: 25%;
}

.green1 {
  bottom: 0;
  right: 20%;
}

.emeraldMedium {
  bottom: 15%;
  left: 2%;
}

.emeraldSmall {
  bottom: 3%;
  right: 10%;
}

/* Arrow colore for every carousel */
.slider__arrow {
  color: var(--strong-gray);
}

.carouselBlock {
  margin: auto;
  max-width: 1400px;
  padding: 5em 7%;
  background-color: var(--strong-green);
}

.carouselBlock-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.slider {
  width: 68%;
  min-width: 280px;
}

.carouselBlock-title {
  color: var(--white);
  font-size: 3.5vw;
  margin-bottom: 0.5em;
}

.carouselBlock-boxContainer {
  margin-top: 2vw;
  display: flex;
  justify-content: flex-end;
  min-height: 10rem;

  width: 27.5%;
  min-width: 200px;
}

.carouselBlock-boxContainer-textBox {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  width: 100%;
}

.textBox-title {
  color: var(--white);
  font-size: 1.5vw;
}

.textBox-text {
  color: var(--white);
  font-size: 1.4vw;
}

.textBox-button {
  color: var(--white);
  font-weight: 800;
  font-size: 1.3vw;
  align-self: flex-end;
  text-decoration: none;
  padding: 0.7rem;
  margin-top: 2em;
  background-color: var(--strong-gray);
  border-radius: 0.4rem;
  -webkit-border-radius: 0.4rem;
  -moz-border-radius: 0.4rem;
  -ms-border-radius: 0.4rem;
  -o-border-radius: 0.4rem;
}


.media-container{
  position: relative;
  margin-top: 5.5em;
  padding-bottom: 56.25%;
  width: 100%;
  height: 0;
  display: flex;
  justify-content: center;
}

.media-container-video{
  position: absolute;
  width: 80%;
  height: 80%;
  max-width: 1300px;
}

@media screen and (min-width: 1400px) {
  .cover {
    padding: 30px 140px;
  }
  .cover-cloud-textContainer-cloud {
    width: 420px;
  }
  .cover-title {
    font-size: 45px;
    line-height: 45px;
  }
  .cloud-textContainer-message {
    font-size: 22px;
  }
  .clouds {
    padding: 1.5em 140px 1.5em 140px;
  }
  .carouselBlock {
    padding: 3em 140px;
  }
  .carouselBlock-title {
    font-size: 28px;
  }
  .blueCloudBig {
    display: none;
  }
  .carouselBlock-boxContainer {
    margin-top: 28px;
  }
  .textBox-title {
    font-size: 21px;
  }
  .textBox-text {
    font-size: 19.6px;
  }
  .textBox-button {
    font-size: 18.2px;
  }
}

@media screen and (max-width: 768px) {
  .cover-cloud-textContainer-cloud {
    width: 25vw;
  }
  .cover-title {
    width: 65%;
    font-size: 4.2vw;
    line-height: 4.7vw;
  }
  .carouselBlock {
    padding: 3em 5%;
  }
  .carouselBlock-title {
    font-size: 4vw;
  }
  .clouds-textContainer {
    width: 90%;
  }
  .cloud-textContainer-message:last-of-type {
    transform: translate(5%, 0);
    -webkit-transform: translate(5%, 0);
    -moz-transform: translate(5%, 0);
    -ms-transform: translate(5%, 0);
    -o-transform: translate(5%, 0);
  }
  .cloud-textContainer-message {
    font-size: 2.6vw;
  }
  .carouselBlock-boxContainer-textBox {
    width: 60%;
  }
  .textBox-title {
    font-size: 2.2vw;
  }
  .textBox-text {
    font-size: 2.1vw;
  }
  .textBox-button {
    font-size: 2vw;
  }
  .carouselBlock-container {
    flex-direction: column;
  }
  .carouselBlock-boxContainer {
    width: 100%;
  }
  .slider {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .cover-cloud-textContainer-cloud {
    width: 22vw;
  }
  .cover-title {
    width: 70%;
    font-size: 5vw;
    line-height: 5.5vw;
    align-self: center;
  }
  .carouselBlock-title {
    font-size: 4.5vw;
  }
  .cloud-textContainer-message {
    font-size: 3.2vw;
  }
  .clouds-textContainer {
    width: 100%;
  }
  .carouselBlock-boxContainer-textBox {
    width: 70%;
  }
  .textBox-title {
    font-size: 3.2vw;
  }
  .textBox-text {
    font-size: 3.1vw;
  }
  .textBox-button {
    font-size: 3vw;
  }
}
