.w-layout-layout {
  grid-row-gap: 20px;
  grid-column-gap: 20px;
  grid-auto-columns: 1fr;
  justify-content: center;
  padding: 20px;
}

.w-layout-cell {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

body {
  color: #333;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: bold;
  line-height: 44px;
}

.hero {
  background-image: linear-gradient(#0000 30%, #000), url('../images/Viktoria-AbelovD7D4A841-5E72-4E1B-8A43-6E93964616F1_1600x12001600w.avif');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, scroll;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
}

.kursus {
  background-color: #615555;
  padding-top: 40px;
}

.kursus.teine {
  background-color: #eb84ec;
  background-image: linear-gradient(#e2725b, #d58d8d);
}

.kursus.essa {
  background-color: #4c204d;
  background-image: linear-gradient(#000, #e2725b);
}

.kursus.kolmas {
  background-color: #081621;
  background-image: linear-gradient(#d58d8d, #fa6404);
}

.kursus.neljas {
  background-color: #1f92cf;
  background-image: linear-gradient(#fa6404, #fd4);
}

.kursus.viies {
  background-color: #29bfec;
  background-image: linear-gradient(#fd4, #e2725b);
}

.footer {
  color: #ec2c2c;
  background-color: #352b2b;
  background-image: linear-gradient(#e2725b, #fa6404);
  padding: 140px 10px;
}

.suurpealkiri {
  z-index: 10;
  color: #fff;
  text-align: center;
  background-color: #0009;
  border-radius: 0;
  max-width: 94%;
  padding: 0 20px 20px;
  font-family: Playfair Display, sans-serif;
  font-size: 220px;
  font-weight: 800;
  line-height: 200px;
  position: relative;
}

.keskminepealkiri {
  z-index: 10;
  color: #eeeef3;
  text-align: center;
  letter-spacing: .5px;
  background-color: #0009;
  max-width: 94%;
  padding: 10px;
  font-family: Playfair Display, sans-serif;
  font-size: 26px;
  font-weight: 400;
  position: relative;
}

.v2ikepealkiri {
  z-index: 10;
  color: #eeeef3;
  text-align: center;
  letter-spacing: .5px;
  background-color: #0009;
  max-width: 94%;
  padding: 10px;
  font-family: Playfair Display, sans-serif;
  font-size: 22px;
  font-weight: 400;
  position: relative;
}

.slider {
  height: 100%;
  position: absolute;
  inset: 0%;
}

.body {
  background-color: #fff0;
  font-family: Lato, sans-serif;
  font-weight: 400;
}

.heroslideripilt {
  box-sizing: border-box;
  object-fit: fill;
}

.kursusepealkiri {
  color: #eeeef3;
  max-width: 90%;
  margin-top: 0;
  margin-left: 80px;
  padding-top: 60px;
}

.kursusejuhendaja {
  color: #eeeef3;
  max-width: 90%;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 80px;
  font-size: 16px;
}

.container {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.text-block {
  color: #fff;
  margin-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.heading {
  color: #fff;
  margin-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.container-2 {
  z-index: 10;
  position: relative;
}

.autor {
  color: #eeeef3;
  margin-top: 10px;
  padding-top: 0;
}

.pealkiri {
  color: #eeeef3;
  margin-top: 10px;
  margin-bottom: 4px;
  font-weight: 300;
}

.kaart {
  background-color: #0003;
  padding: 6px;
  box-shadow: 0 2px 4px #0003;
}

.kursusekaardid {
  padding: 40px 60px 60px;
}

.quick-stack {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}

.text-block-2 {
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
}

.text-block-3 {
  color: #ffe0e0;
  font-family: Nabla, sans-serif;
}

@media screen and (max-width: 991px) {
  .suurpealkiri {
    font-size: 140px;
    line-height: 140px;
  }

  .keskminepealkiri {
    text-align: center;
    max-width: 94%;
    font-size: 24px;
    line-height: 24px;
  }

  .v2ikepealkiri {
    font-size: 20px;
  }

  .heroslideripilt {
    object-fit: scale-down;
  }

  .kursusepealkiri, .kursusejuhendaja {
    margin-left: 70px;
  }

  .kursusekaardid {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media screen and (max-width: 767px) {
  .suurpealkiri {
    font-size: 100px;
    line-height: 100px;
  }

  .keskminepealkiri {
    text-align: center;
    max-width: 94%;
    font-size: 20px;
    line-height: 20px;
  }

  .v2ikepealkiri {
    text-align: center;
    font-size: 18px;
    line-height: 18px;
  }

  .kursusepealkiri, .kursusejuhendaja {
    margin-left: 60px;
  }

  .kursusekaardid {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 479px) {
  .suurpealkiri {
    font-size: 60px;
    line-height: 60px;
  }

  .keskminepealkiri {
    font-size: 16px;
    line-height: 20px;
  }

  .v2ikepealkiri {
    font-size: 14px;
    line-height: 14px;
  }

  .kursusepealkiri, .kursusejuhendaja {
    margin-left: 40px;
  }

  .kursusekaardid {
    padding-left: 20px;
    padding-right: 20px;
  }
}

#w-node-_6a91707f-14cb-20ab-9e38-a520acd252b1-f023b2dd, #w-node-_1bdda039-77db-df76-055a-9584d2ee1650-f023b2dd, #w-node-_9861727f-694d-9e1e-e43a-ebf51748773a-f023b2dd, #w-node-_19fcf80a-0827-a3f3-23a4-fcf4de9967ce-f023b2dd, #w-node-b6e092dd-07ef-1e0a-2587-1f30e9ef2c87-f023b2dd {
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media screen and (max-width: 991px) {
  #w-node-_6a91707f-14cb-20ab-9e38-a520acd252b1-f023b2dd, #w-node-_1bdda039-77db-df76-055a-9584d2ee1650-f023b2dd, #w-node-_9861727f-694d-9e1e-e43a-ebf51748773a-f023b2dd, #w-node-_19fcf80a-0827-a3f3-23a4-fcf4de9967ce-f023b2dd, #w-node-b6e092dd-07ef-1e0a-2587-1f30e9ef2c87-f023b2dd {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  #w-node-_6a91707f-14cb-20ab-9e38-a520acd252b1-f023b2dd, #w-node-_1bdda039-77db-df76-055a-9584d2ee1650-f023b2dd, #w-node-_9861727f-694d-9e1e-e43a-ebf51748773a-f023b2dd, #w-node-_19fcf80a-0827-a3f3-23a4-fcf4de9967ce-f023b2dd, #w-node-b6e092dd-07ef-1e0a-2587-1f30e9ef2c87-f023b2dd {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {
  #w-node-_6a91707f-14cb-20ab-9e38-a520acd252b1-f023b2dd, #w-node-_1bdda039-77db-df76-055a-9584d2ee1650-f023b2dd, #w-node-_9861727f-694d-9e1e-e43a-ebf51748773a-f023b2dd, #w-node-_19fcf80a-0827-a3f3-23a4-fcf4de9967ce-f023b2dd, #w-node-b6e092dd-07ef-1e0a-2587-1f30e9ef2c87-f023b2dd {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
  }
}


