:root {
  --primary: #4b7f86;
  --primaryLight: #719196;
  --secondary: #545454;
  --light: #fdf5eb;
  --dark: #1e1916;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

#about,
#sportymat-contact,
#product {
  scroll-margin-top: 140px;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-weight: 600 !important;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 90px;
  z-index: 99;
}
.sportymat-bg-light {
  background-color: white;
  position: relative;
  z-index: 1;
}
.sportymat-bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  z-index: -1;
  background-color: var(--primaryLight);
}

.sportymat-text-primary {
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primaryLight);
  border-color: var(--primaryLight);
}
.btn-check:focus + .btn-primary,
.btn-primary:focus {
  background-color: var(--primaryLight);
  border-color: var(--primaryLight);
  box-shadow: 0 0 0 0.25rem var(--primaryLight);
}

#sportymat-spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#sportymat-spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  padding: 35px 15px;
  color: var(--light);
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.fixed-top {
  transition: 0.5s;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--dark);
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

#sportymat-hero {
  width: 100%;
  height: 80vh;
  background: url('/../../img/bg-hero.jpg') center center;
  background-size: cover;
  position: relative;
}

#sportymat-hero .container {
  padding-top: 60px;
  z-index: 30;
}
#sportymat-hero h1 {
  font-size: 33px;
}

#sportymat-hero:before {
  content: '';
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#sportymat-heros {
  width: 100%;
  height: 100%;
  background: url('/../../img/succses.jpg') center center;
  background-size: cover;
  position: relative;
}
#sportymat-heros h1 {
  color: white;
}
#sportymat-heros:before {
  content: '';
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

@media (min-width: 1024px) {
  #sportymat-hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #sportymat-hero {
    height: 100vh;
  }
}

.img-twice::before {
  position: absolute;
  content: '';
  width: 60%;
  height: 80%;
  top: 10%;
  left: 20%;
  background: var(--primary);
  border: 25px solid var(--primaryLight);
  border-radius: 6px;
  z-index: -1;
}

.sportymat-product-item {
  transition: 0.5s;
}

.sportymat-product-item:hover {
  background: var(--primary) !important;
}

.sportymat-product-item:hover * {
  color: var(--light);
}

.sportymat-product-item:hover .border-primary {
  border-color: var(--light) !important;
}

.sportymat-product-item .product-overlay {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.sportymat-product-item:hover .product-overlay {
  height: 100%;
  opacity: 1;
}

@media (max-width: 768px) {
  .sportymat-product-item .product-overlay {
    height: 100%;
    opacity: 1;
  }
}

.testimonial-carousel .owl-item .testimonial-item img {
  width: 60px;
  height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-size: 22px;
  color: var(--light);
  background: var(--primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--primary);
  background: var(--dark);
}

.person {
  content: ' ';
  background-color: var(--primaryLight);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.person i {
  font-size: 30px;
}

#sportymat-faq img {
  max-width: 500px;
  z-index: 30;
}
#sportymat-faq span {
  content: ' ';
  background-color: var(--primary);
  width: 500px;
  height: 500px;
  position: absolute;
  z-index: 1;
  margin-top: 50px;
  margin-left: 120px;
}
@media (max-width: 1200px) {
  #sportymat-faq img {
    max-width: 350px;
    z-index: 30;
  }
  #sportymat-faq span {
    content: ' ';
    background-color: var(--primary);
    width: 350px;
    height: 350px;
    position: absolute;
    z-index: 1;
    margin-top: 50px;
    margin-left: 120px;
  }
}

@media (max-width: 768px) {
  #sportymat-faq .row {
    flex-direction: column;
  }
  #sportymat-faq img {
    max-width: 250px;
  }
  #sportymat-faq span {
    content: ' ';
    background-color: var(--primary);
    width: 250px;
    height: 250px;
    position: absolute;
    z-index: 1;
    margin-top: 30px;
    margin-left: 70px;
  }
}

.sportymat-contact .info {
  padding: 30px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.sportymat-contact .info i {
  font-size: 20px;
  color: #fff;
  float: left;
  width: 44px;
  height: 44px;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.sportymat-contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #36343a;
}

.sportymat-contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #686470;
}
.none {
  display: none;
}

#sportymat-news .img,
#sportymat-news .img-1 {
  height: 250px;
  width: 100%;
  background-size: cover;
}
#sportymat-news .img {
  background: url('/../../img/news-1.jpg') center center;
}
#sportymat-news .img-1 {
  background: url('/../../img/news-2.jpg') center center;
}
#sportymat-news-item .img {
  background: url('/../../img/news-1.jpg') center center;
}
#sportymat-news-item .img-1 {
  background: url('/../../img/news-2.jpg') center center;
}
#sportymat-news-item span {
  margin-top: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}
