body {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  min-height: calc(100vh - 50px);
}

a {
  text-decoration: none;
}

.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) !important;
}

.lightbox-carousel .carousel-control-prev-icon,
.lightbox-carousel .carousel-control-next-icon {
  filter: invert(0) !important;
}

.carousel-control-prev {
  justify-content: flex-start !important;
}

.carousel-control-next {
  justify-content: flex-end !important;
}

.navbar {
  padding: 0;
  background-color: #fff !important;
}

#navbarNav {
  justify-content: end;
  min-height: 120px;
}

.navbar-nav .nav-item {
  margin-right: 25px;
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}

.navbar-nav .nav-item .nav-link {
  font-size: 22px;
  color: #010202;
  text-transform: uppercase;
}

#slider {
  height: 820px;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
  text-align: center;
}

.slider-image {
  display: block;
  width: 100%;
  height: 100%;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  opacity: 1;
  background-color: #fff;
  border: 1px solid #010202;
}

.carousel-indicators .active {
  background-color: #010202;
}

/* Hero */
#materials,
#offer,
#about {
  background: #010202;
}

.text-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 80px;
}

.home-title {
  font-family: "Playfair Display", serif;
  font-size: 3.33vw;
  margin-bottom: 30px;
}

.home-content {
  font-size: 1.458vw;
  line-height: 2vw;
  max-width: 1000px;
  text-align: justify;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.btn-href {
  color: #010202 !important;
  text-decoration: none;
}
.btn-flex {
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  border: 2px solid #010202;
}

.btn-href .mybtn {
  display: flex;
  align-items: center;
}

.btn-href .mybtn .btn-text {
  font-family: "Playfair Display", serif;
  font-size: 2.5vw;
}

.btn-href:hover .btn-flex,
.about-btn-href:hover .about-btn-flex {
  background-color: rgb(190, 190, 190);
}

/* about */
.about-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  min-height: 280px;
}

.about-text {
  font-family: "Playfair Display", serif;
  font-size: 1.25vw;
  margin-top: 30px;
}

.about-btn-href {
  color: #010202 !important;
  text-decoration: none;
}

.about-btn-href .mybtn {
  display: flex;
  align-items: center;
}

.about-btn-flex {
  transition: all 0.3s ease;
  width: 310px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  border: 2px solid #010202;
}

.about-btn-href .mybtn .about-btn-text {
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.about-container-feature {
  border-bottom: 3px solid;
  border-right: 3px solid;
  border-color: #fff;
}

.about-container-feature:nth-child(odd) {
  border-bottom: 3px solid;
  border-right: none;
  border-color: #fff;
}

.about-container-feature:nth-child(4) {
  border-bottom: none;
  border-right: 3px solid;
  border-color: #fff;
}

/* news */
#news {
  padding-top: 70px;
}

.news {
  width: 33.333333%;
  float: left;
  height: 420px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: flex-end;
}

.news:hover .news-container {
  opacity: 1;
}

@keyframes showingUp {
  0% {
    display: none;
  }
  100% {
    display: block;
  }
}

.news-container {
  transition: all 0.5s ease;
  opacity: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  color: #fff;
  width: 100%;
}

.news-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 10px;
}

footer {
  width: 100%;
  background: #010202;
  color: #fff;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/***** ABOUT *****/
#bar {
  width: 100%;
  height: 90px;
  background: #010202;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  line-height: 100%;
  color: #fff;
}

.page-text-content {
  font-size: 18px;
  line-height: 30px;
  padding: 0 30px;
}

.page-text-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  text-align: center;
  margin: 30px 0;
}

#content {
  padding: 50px 0;
}

.image-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.image-content img {
  box-shadow: 0 0 6px #010202;
  width: auto;
  max-height: 500px;
}

/***** Materials *****/
.text-gallery {
  font-size: 14px;
  text-align: center;
  color: #010202;
  margin-top: 20px;
  margin-bottom: 50px;
}

/***** contact *****/
.contact-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  flex-direction: column;
}

.contact-name {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  text-align: center;
}

.contact-connect {
  line-height: 25px;
  margin-bottom: 20px;
}

.contact-title {
  margin-top: 50px;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  text-align: center;
}

.contact-content {
  font-size: 20px;
}

.contact-shadow img {
  box-shadow: 0 0 6px #010202;
}

/***** blog *****/
.blog-title,
.blog-single-title {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 15px;
}

.blog-single-title {
  text-align: center;
  margin-bottom: 30px;
}

.blog-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  text-align: center;
  margin: 30px 0;
}

.blog-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  text-align: center;
  margin: 30px 0;
}

.blog-content {
  font-size: 18px;
  text-align: justify;
  line-height: 30px;
}

.blog-content img {
  width: auto;
  max-height: 450px;
  display: block;
  margin: 30px auto;
  box-shadow: 0 0 6px #010202;
}

.blog-content p {
  font-size: 18px;
  text-align: justify;
  line-height: 30px;
}

.blog-content p a {
  width: 100%;
  text-align: center;
}

.blog-date {
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-excerpt,
.blog-single-content {
  font-size: 18px;
  margin-bottom: 15px;
}

.blog-single-content {
  text-align: justify;
  margin-bottom: 50px;
  line-height: 30px;
}

/* media queries */
@media screen and (min-width: 1921px) {
  .home-title {
    font-size: 64px;
  }
  .home-content {
    font-size: 28px;
  }
  .btn-href .mybtn .btn-text {
    font-size: 48px;
  }
}

@media screen and (max-width: 1399px) {
  #slider {
    height: 600px;
  }

  .text-content {
    padding: 40px;
  }

  .news {
    height: 320px;
  }
}

@media screen and (max-width: 1199px) {
  #slider {
    height: 500px;
  }

  .home-title {
    font-size: 48px;
  }

  .home-content {
    font-size: 20px;
    line-height: 35px;
  }

  .about-text {
    font-size: 24px;
  }

  .news {
    height: 320px;
  }

  .news-container {
    opacity: 1;
    padding: 15px;
  }

  .btn-href .mybtn .btn-text {
    font-family: "Playfair Display", serif;
    font-size: 28px;
  }

  /***** about *****/
  #bar {
    height: 70px;
  }

  .page-title {
    font-size: 48px;
  }

  .page-text-content {
    padding: 0;
  }

  /***** contact *****/
  .contact-connect {
    text-align: center;
  }

  /***** blog *****/
  .blog-content p {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 991px) {
  #navbarNav {
    min-height: 100px;
  }
  .navbar-brand img {
    height: 80px;
  }

  .navbar-light .navbar-toggler {
    border: 2px solid #010202;
    border-radius: 0;
    padding: 5px 10px;
  }

  .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='5' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
  }

  .about-text {
    font-size: 24px;
  }

  .news {
    width: 100%;
    height: 360px;
  }

  .news-container {
    opacity: 1;
    padding: 15px;
  }

  /***** materials *****/

  .text-gallery {
    font-size: 18px;
    margin-bottom: 40px;
  }

  /***** contact *****/
  .contact-title {
    margin-top: 40px;
    font-size: 40px;
  }

  /***** blog *****/
  .blog-content h2,
  .page-text-content h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .blog-content p {
    font-size: 16px;
  }
}

@media screen and (max-width: 575px) {
  #navbarNav {
    min-height: 80px;
  }

  .navbar-brand img {
    height: 60px;
  }

  .navbar-light .navbar-toggler {
    padding: 3px 7px;
  }

  #slider {
    height: 350px;
  }

  .text-content {
    padding: 30px 10px;
  }

  .home-title {
    font-size: 28px;
  }

  .home-content {
    font-size: 16px;
    line-height: 30px;
  }

  .about-text {
    font-size: 24px;
  }

  .about-container-feature {
    border-bottom: 3px solid;
    border-right: none;
    border-color: #fff;
  }

  .about-container-feature:nth-child(4) {
    border-bottom: 3px solid;
    border-right: none;
    border-color: #fff;
  }

  .news {
    height: 320px;
  }

  .news-container {
    opacity: 1;
    padding: 15px;
  }

  .news-title {
    font-size: 20px;
  }

  .btn-href .mybtn .btn-text {
    font-family: "Playfair Display", serif;
    font-size: 28px;
  }

  footer {
    height: 85px;
  }

  .footer {
    height: 85px;
    display: flex;
    justify-content: center;
    align-self: center;
    flex-direction: column;
  }
  .footer div:first-child {
    margin-bottom: 10px;
  }

  /***** about *****/
  #bar {
    height: 50px;
  }

  #content {
    padding: 40px 0;
  }

  .page-title {
    font-size: 32px;
  }

  .page-text-content {
    font-size: 16px;
    line-height: 25px;
  }

  /***** contact *****/
  .contact-content {
    text-align: left;
  }

  /***** blog *****/
  .blog-title {
    font-size: 24px;
  }

  .blog-date {
    font-size: 12px;
  }

  .text-gallery {
    font-size: 14px;
    margin-bottom: 20px;
  }
}
