/*****
 * Style for novafacile.com
 * @author novafacile OÜ
 * @copyright 2021 novafacile OÜ
 *****/

body {
  color: #5b5b5b;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

a {
  text-decoration-style: dotted;
  color: #57bf73;
}

a:hover {
  color: #57bf73;
}

#footer a, #footer a:hover {
  color: #ffffff;
}

.c-pointer {
  cursor: pointer;
}

/** header **/
 header {
  background-image: url("../img/header.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: #ffffff;
 }

@media (max-width: 810px) { /* fix for iOS with cover and fixed background */
  header {
    background-attachment: initial !important;
  }
}

 header .header-bg {
  width: 100%;
  height: 100%;
  background: rgb(66, 49, 65, 0.8);
 }

 header .logo {
  width: 250px;
  height: auto;
  margin-top: 20vh;
 }

 header h1.display-4 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 500;
 }

 header p.lead {
  font-size: 1.4rem;
 }

header .icon {
  color: #fdfdfd;
}

@media (max-width: 576px){
  header p.lead {
    font-size: 1.2rem;
   }
 }

#scroll-to-lead {
  cursor: pointer;
  transition: 0.3s;
 }

#scroll-to-lead:hover {
  fill: #fff;
}

/** content section lead **/
content section.lead {
  margin: 5rem auto;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  max-width: 650px;
  border: 1px solid #e0e0e0;
  border-left: 0px;
  border-right: 0px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

content section.lead h2 {
  font-size: 1.6rem;
}

content section.lead p {
  margin: 0 10px;
}

@media (max-width: 576px){
  content section.lead {
    font-size: 1.2rem;
  }
}

/** content articles (cards) **/
article.card {
  max-width: 960px;
  border: 0;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 2rem;
}


/** article image **/
article.card .article-image {
  min-height: 250px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}

article.card .article-image-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgb(66, 49, 65, 0.2);
  transition: 0.3s;
}

article.card .article-image-overlay:hover {
  background: rgb(66, 49, 65, 0.8);
}

article.card .article-image .icon {
  display: inline-block;
  height: 125px;
  width: auto;
  opacity: 1;
}

article.card .article-image .spacer {
  display: inline-block;
  width: 660px;
}

@media (max-width: 675px) {
  article.card .article-image .spacer {
    display: none;
  }
}

@media (max-width: 768px) {
  article.card img {
    max-height: 250px;
  }
}


/** article body **/
article .card-body {
  padding: 3.5rem;
  min-height: 350px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  text-align: left;
}

@media (min-width: 768px){
  article:nth-child(even) .card-body {
     justify-content: flex-end;
  }

  article:nth-child(even) .card-body {
    text-align: right;
  }
}

article .card-title {
  width: 100%;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

@media (max-width: 768px) {
  article .card-body {
    padding: 2rem 1rem 4rem 1rem;
    min-height: unset;
  }
}


/** footer **/
footer {
  margin-top: 7rem;
  padding-top: 5rem;
  padding-bottom: 3rem;
  background-color: #57bf73;
  color: #fff;
  font-weight: 300;
}

footer strong {
  font-weight: 600;
}

footer .cem {
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* Override Paddle-style */
.paddle_button.btn {
  display: inline-block !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  text-align: center !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
  background: none !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  padding: .375rem .75rem !important;
  font-size: 1rem !important;
  border-radius: .25rem !important;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
  text-shadow: none !important;
  font-family: var(--bs-font-sans-serif) !important;
}

.paddle_button.btn-group-lg > .btn, .paddle_button.btn-lg {
  padding: .5rem 1rem !important;
  font-size: 1.25rem !important;
  border-radius: .3rem !important;
}

.paddle_button.btn-success {
  color: #fff !important;
  background-color: #198754 !important;
  border-color: #198754 !important;
}