h1, h2, h3, h4, h5, h6 {
  /* font-family: "Raleway", Helvetica, Arial, sans-serif; */
}

p {
  /* line-height: 1.55; */
  /* color: #333; */
  font-size: 400;
  /* font-family: "Raleway", Helvetica, Arial, sans-serif; */
}

h1 {
  font-size: 62px;
}

h2 {
  font-size: 30px;
  margin-bottom: 65px;
}

h3 {
  /* font-size: 24px; */
}

h4 {
  font-size: 18px;
}

/* ==================================================
General
================================================== */
a {
  transition: 0.5s;
}

/* ==================================================
Elements
================================================== */
section {
  padding: 85px 0;
}

/* ==================================================
Hero Styling
================================================== */
.hero {
  display: table;
  position: relative;
  background-image: url(../assets/Header_image.jpg);
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  color: #fff;
  width: 100%;
  height: 100vh;
}

/* .hero:after {
content: '';
z-index: 0;
position: absolute;
background: rgba(0, 0, 0, 0.65);
width: 100%;
height: 100%;
left: 0;
top: 0;
} */
.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

/* ==================================================
Responsive Styling
================================================== */
@media (max-width: 767px) {
  .block {
      padding-left: 30px;
      padding-right: 30px;
  }
}

@media (max-width: 61.9em) {
  section, .block, .cta {
      padding: 35px 0;
  }

  .features {
      padding-bottom: 5px;
  }

  p, .block p {
      margin: 0;
  }

  .hero-brand {
      margin-bottom: 35px;
  }

  .tagline {
      margin: 35px 0;
  }

  h1 {
      font-size: 32px;
      margin: 0;
  }

  h2, .tagline {
      font-size: 24px;
  }

  h2 {
      margin-bottom: 25px;
  }

  h3 {
      /* font-size: 14px; */
  }

  .hero {
      padding: 75px 0;
  }

  .block {
      height: auto;
  }

  .feature-col {
      padding-bottom: 30px;
  }
}

/* CUSTOM */
@font-face {
  font-family: "OpenSansCondensed-Bold";
  src: url("../assets/font/OpenSansCondensed-Bold.ttf");
}

@font-face {
  font-family: "OpenSansCondensed-Light";
  src: url("../assets/font/OpenSansCondensed-Light.ttf");
}

body {
  font-family: OpenSansCondensed-Bold;
  width: 100%;
}

.navbar-brand {
  position: absolute;
  left: 100px;
  top: 0;
}

.blurb-img {
  width: 128px;
  margin-bottom: 32px;
}

.blurb-img-product {
  width: 270px;
  margin-bottom: 15%;
  position: relative;
}

.blurb-img-hoverable {
  position: absolute;
  top: -50px;
  float: left;
  left: -51px;
  transform: scale(0.95);
  overflow: hidden;
  transition-duration: 0.8s;
  transition-property: transform;
}

.blurb-img-hoverable:hover {
  transform: rotate(10deg);
  -webkit-transform: rotate(10deg);
}

@media screen and (max-width: 600px) {
  .hero {
      background-image: url(../assets/Logo-pilt-ikoon/Header_image_mobile.png) !important;
      height: 39vh !important;
  }

  .hero-text-mobile {
      top: 101% !important;
  }

  .product-text {
      left: 38% !important;
      text-align: center !important;
  }

  .product-wrapper {
      text-align: center !important;
  }

  .product-1 {
      margin-bottom: 20px;
  }

  .product-2 {
      margin-bottom: 68px;
  }

  .product-3 {
      margin-bottom: 77px;
  }

  .product-4 {
      margin-bottom: 90px;
  }

  .nav-logo img {
      width: 64px !important;
      margin-left: -58px;
  }

  .hero-legend, .hero-text, .legend {
      display: none !important;
  }

  .recipe-container-inside img {
      width: 90% !important;
      margin-bottom: 35px !important;
      text-align : center;
  }

  .recipe-container {
      position: unset !important;
      margin-top: -148px !important;
  }

  .recipe-bg {
      background: url(./assets/Logo-pilt-ikoon/BG_mobile.png) no-repeat !important;
      background-size: cover;
      /* height: 373px !important; */
  }

  .recipe {
      position: absolute;
      float: left;
      left: -9px !important;
      top: 90px;
      color: white;
      transform: scale(0.8);
  }

  .nav li {
      display: block !important;
      text-align: center !important;
  }

  body > div.recipe-section > div > div:nth-child(1) > div > div:nth-child(3) {
      margin-bottom: -30px !important;
  }

  .recipe-section-bg {
      position: relative;
      margin-top: 15%;
      background: url(./assets/Logo-pilt-ikoon/BG_mobile.png);
      background-size: cover;
  }

  .hero-legend-mobile-inner {
      position: absolute;
      font-size: 14pt;
      top: -16% !important;
      width: 75% !important;
      transform: scale(0.6) !important;
      color: white;
      left: 13% !important;
  }

  .blurb-img-hoverable {
      left: 25% !important;
  }

  .product-wrapper {
      transform: scale(0.8) !important;
  }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
  .recipe-container-inside img {
      width: 209px !important;
  }

  .hero-legend {
      position: absolute;
      width: 700px !important;
      float: right;
      right: 20px;
      top: -600px;
      left: 183px;
      z-index: 999999;
      transform: scale(0.7);
  }

  .nav-logo img {
      width: 128px !important;
  }

  .blurb-img {
      width: 64px !important;
  }

  .feature-col {
      transform: scale(0.7) !important;
  }

  .text-container p {
      font-size: 10pt !important;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1682px) {
  .product-wrapper {
      /* margin-left: 20px; */ transform: scale(0.7) !important;
  }
}

@media screen and (min-width: 600px) {
  .hero-legend-mobile, .hero-legend-mobile-inner, .hero-text-mobile, .legend-mobile, .recipe-mobile-bg {
      display: none !important;
  }

  .recipe {
      width: 26% !important;
  }

  .feature-col {
      margin-left: 2%;
  }

  .recipe-section {
      position: relative;
      margin-top: 15%;
      background: url(../assets/Logo-pilt-ikoon/BG.png);
      background-size: cover;
      height: 797px;
  }

  footer {
      margin-top: 20%;
      margin-bottom: 100px;
  }

  .recipe-container-inside {
      margin-bottom: 35px;
  }

  .product-3 > div > div > span {
      /* left: 55px !important; */
  }
}

.product-wrapper {
  /* margin-left: 20px; */
}

.product-wrapper span {
  text-align: left !important;
}

.product-text {
  position: absolute;
  top: 326px;
  left: 68px;
  font-weight: bold;
  transform: scale(1.7);
}

.product-text h3 {
  margin-bottom: -3px;
}

.product-color-1 {
  color: #03a1df;
}

.product-color-2 {
  color: #94c512
}

.product-color-3 {
  color: #E52C2E;
}

.product-color-4 {
  color: #ffa029;
}

.product-description {
  margin-top: 12px;
  font-family: OpenSansCondensed-Light;
  color: #6f6f6f;
  line-height: 1.2;
  font-size: 8pt;
}

.blurb-img span p {
  text-transform: uppercase
}

.center-text {
  text-transform: uppercase;
  text-align: center;
}

.center-text p {
  margin-top: 25px
}

.recipe {
  position: absolute;
  float: left;
  left: 84px;
  top: 90px;
  color: white;
  width: 90%;
}

.recipe-container {
  position: absolute;
  top: 47%;
  width: 100%;
  overflow-x: hidden;
  padding: 0 3%;
}

.recipe-container-inside img {
  width: 98%;
}

.recipe h3 {
  font-size: 68px
}

.recipe p {
}

.nav {
  display: table !important;
}

.nav li {
  display: inline-block;
}

.nav li a {
  color: black;
}

.product-icon {
  margin-top: 20px;
}

/* SIIA TULEVAD SEKTSIOONID */
.legend {
  /* margin: 10% 0; */
  /* text-align: center; */
  /* width: 121%; */
  position: relative;
}

.pilt-võida {
  margin: 5% 0;
}

.hero img {
  width: 100%;
}

.nav-logo img {
  width: 200p x;
}

.hero-text {
  color: #333333;
  position: absolute;
  top: 286px;
  text-transform: uppercase;
  z-index: 999999;
  left: 13%;
  text-align: left;
}

.hero-text h3 {
  font-size: 56pt;
  font-weight: bold;
}

.hero-text p {
  font-size: 26pt;
}

.hero-text-mobile {
  text-transform: uppercase;
  position: absolute;
  left: 18%;
  float: left;
  top: 464px;
  color: black;
}

.hero-legend {
  position: absolute;
  width: 36% !important;
  /* float: right; */
  right: 20px;
  /* top: -710px; */
  z-index: 999999;
}

.hero-legend-mobile {
  font-size: 14pt;
  position: relative;
  margin-top: 123px;
}

.hero-legend-mobile-inner {
  position: absolute;
  font-size: 14pt;
  top: -27px;
  width: 92%;
  transform: scale(0.7);
  color: white;
  left: 10px;
}

.hero-legend-mobile-inner h3 {
  text-align: left;
  font-family: OpenSansCondensed-Bold;
  text-transform: uppercase;
  font-size: 26pt;
  margin-bottom: -38px;
}

.hero-legend-mobile-inner p {
  text-align: left;
  font-size: 19pt;
  font-family: OpenSansCondensed-Light;
}

.hero-legend-inner {
  position: absolute;
  right: -9%;
  top: 20%;
  z-index: 99999999;
  width: 90%;
  color: white;
  line-height: 2;
  text-align: left;
  font-family: OpenSansCondensed-Light;
}

.hero-legend-inner h3 {
  font-family: OpenSansCondensed-Bold;
  text-transform: uppercase;
  font-size: 36pt;
}

.hero-legend-inner p {
  font-size: 16pt;
}

.legend-bg {
  position: absolute;
  top: 120px;
  /*     width: 100%; */
  right: 0;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.text-container {
  text-transform: uppercase;
}

.swiper-button-prev {
  background-image: url("../assets/Logo-pilt-ikoon/left_arrow.png");
  background-position: right;
  background-size: cover;
  width: 25px;
  height: 9px;
}

.swiper-button-next {
  background-image: url("../assets/Logo-pilt-ikoon/right_arrow.png");
  background-position: right;
  background-size: cover;
  width: 25px;
  height: 9px;
}

.legend-mobile {
  margin: 25px 0;
}

.legend-mobile p {
  margin-top: 21 px;
}

.image-container {
  position: relative;
  display: inline-block;
  text-align: center;
}

.image-container img {
  vertical-align: middle;
}

.image-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #01a0e2;
  opacity: 0;
  transition: .5s ease;
}

.image-container:hover::before {
  opacity: 0.5;
}

.popover-header {
  background: #01a0e2;
  color: white;
}

.popover-body {
  color: black;
  font-family: OpenSansCondensed-Bold;
}

.recipe-section {
  position: relative;
}

.recipe-mobile-bg {
  width: 340px;
}

.product-1 {
  margin: 0;
}

@media screen and (max-width: 1500px) {
  .hero-legend-inner p {
      font-size: 11pt !important;
  }

  .hero-legend-inner h3 {
      font-size: 26pt !important;
  }
}

@media screen and (max-width: 968px) {
  .hero-legend-inner p {
      font-size: 8pt !important;
  }

  .hero-legend-inner h3 {
      font-size: 20pt !important;
  }
}

@media screen and (min-device-width: 1000px) and (max-device-width: 1300px) {
  .hero-legend {
    width: 34% !important;
  }
  .hero-legend-inner {
    top: 15% !important;
  }
  }


@media screen and (min-device-width: 319px) and (max-device-width: 480px) {
  .nav-logo img {
      width: 136px !important;
  }

  .hero-text {
      left: -19% !important;
      transform: scale(0.5) !important;
      top: 0 !important;
  }

  .hero-legend {
      position: absolute;
      width: 36% !important;
      /* float: right; */
      right: -1% !important;
      top: 0 !important;
  }

  .hero-legend-inner {
      right: -9% !important;
      top: 6% !important;
      width: 93% !important;
  }

  .blurb-img {
      width: 77px !important;
  }

  .product-wrapper {
    transform: scale(0.8) !important;
  }
}
