*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 120px;
}
body {
  font-family: "Libre Baskerville", serif;
  color: #9d9d9d;
  width: 100%;
  overflow-x: hidden;
}
/* fonts */
@font-face {
  font-family: "CaliFB";
  src: url('../fonts/CALIFB.woff');
}
.cali-font{
  font-family: "CaliFB";
  font-weight: bold;
}
@font-face {
  font-family: "BankGothic";
  src: url('../fonts/bankgothic-regular.ttf');
}
.bank-font{
  font-family: "BankGothic";
  font-size: 20px;
}
@font-face {
  font-family: "CaliFB2";
  src: url('../fonts/CALIFI.woff');
}
.calif-font{
  font-family: "CaliFB2";
  font-size: 20px;
}
@font-face {
  font-family: "Althy";
  src: url('../fonts/Althy.woff');
}
.althy-font{
  font-family: "Althy";
  font-weight: 300;
}
@font-face {
  font-family: "Bahnschrift";
  src: url('../fonts/Bahnschrift.ttf');
}
.bahn-font{
  font-family: "Bahnschrift";
  font-weight: 300;
}
@font-face {
  font-family: "Hegimeda";
  src: url('../fonts/Hegimeda.otf');
}
.hegimeda-font{
  font-family: "Hegimeda";
}
@font-face {
  font-family: "Toxigensis";
  src: url('../fonts/toxigenesis.ttf');
}
.toxigen-font{
  font-family: "Toxigensis";
}
@font-face {
  font-family: "Montotype";
  src: url('../fonts/Monotype_Corsiva.ttf');
}
.monotype-font{
  font-family: "Montotype";
}
a {
  text-decoration: none;
  color: #3d3d3d;
}

a:hover {
  color: #3d3d3d;
  font-weight: 900;
}

input, textarea {
  border-radius: 0px;
  border: 1px solid #e7e7e7 !important;
}

input:focus, textarea:focus {
  outline: 0px !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  border: 1px solid #92d35e !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #4b4b4b;
  font-weight: 900;
}

h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
}
h6 {
  margin-bottom: 10px;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 40px;
}

.green {
  color: #92d35e;
}

.navbar {
  background-color: #f7eceb;
  z-index: 10;
  margin: 0 auto;
  padding: 5px 0;
}

.navbar .navbar-brand {
  display: inline-block;
  width: 120px;
  margin-right: 100px;
}

.navbar .navbar-brand img {
  width: 100%;
  height: 100%;
}

.navbar li .nav-link {
  display: inline-block;
  color: #3d3d3d;
  padding: 15px 30px !important;
  margin-right: 20px;
  transition: all .5s;
}

.navbar li .nav-link:hover, .navbar li .active {
  font-weight: 900;
}

.navbar .navbar-toggler:focus, .navbar .navbar-toggler:hover {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}

.nav-bg {
  background-color: #f7eceb;
  background-repeat: no-repeat;
  background-position: center 0;
}

/* Carousel */
#slider
{
  margin-top: 90px;
}
.carousel-item {
  height: 100%;
  width: 100%;
  max-height: 700px;
}
.carousel-item img{
  width: 100%;
  height: 100%;
  max-height: 700px;
}

.carousel-indicators [data-bs-target]
{
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background-color: #222;
  border: 2px solid #fff;
}

.carousel-control-next, .carousel-control-prev
{
  width: 7%;
}
.carousel-control-next-icon, .carousel-control-prev-icon{
  height: 3rem;
  width: 3rem;
}
.carousel-control-prev img,
.carousel-control-next img{
  width: 35px;
  height: 35px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: invert(1);
}
.about {
  padding: 20px 0px 50px;
  color: #111;
  text-align: justify;
}
.about h3{
  margin-top: 20px;
  text-align: center;
}
.about .check-out p{
  text-align: justify;
}
.quote{
  text-align: right !important;
  font-size: 19px;
}

/* Card */
.card-part
{
  margin-bottom: 20px;
}
.card-part .text-part
{
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-part .img-part
{
  justify-content: center;
  text-align: center;
}
.card-part .img-part img
{
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 400px;
}

/* Image */
.image-part
{
  display: flex;
  justify-content: center;
  margin: 10px auto;
  flex-wrap: wrap;
}
.image-part img
{
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 300px;
  margin: 10px;
}

.contact-page
{
  width: 70%;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 40px;
}
.contact-page h2
{
  text-align: center;
  font-weight: 400;
  margin-bottom: 30px;
}
.contact-page h2 a
{
  transition: ease-in-out .5s;
}

/* Footer */
footer {
  margin-top: 30px;
  color: #333
}
footer .top-part{
  background-color: #f7eceb;
}
footer .footer-wrap {
  padding: 30px 0px;
  padding-bottom: 0px;
  margin-bottom: 20px;
  justify-content: space-between;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 0 auto;
}
footer .footer-wrap .about{
  padding-top: 0px;
  padding-bottom: 30px;
}
footer .footer-wrap .about img {
  width: 120px;
}
footer .footer-wrap .social-media a{
  margin-right: 5px;
  margin-left: 2px;
}
footer .footer-wrap .social-media img {
  width: 35px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
footer .footer-wrap .social-media a img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
footer .address h5{
  margin-bottom: 8px;
}
footer .address b{
  font-size: 13px;
}
footer .address p{
  margin-bottom: 0px;
}
footer .contact{
  padding-top: 15px;
}
footer .contact p{
  color: #333;
  margin-bottom: 5px;
}
footer .contact a{
  padding-right: 10px;
  display: block;
}
footer .copyright
{
  text-align: center;
  background: #fff;
  margin-top: 5px;
}
footer .copyright p
{
  text-align: center;
  background: #fff;
  margin-bottom: 5px;
}
footer .company a
{
  transition: ease-in-out .5s;
}

/* back to top button */
#scrollButton {
  display: inline-block;
  background-color: #b3b3b3;
  width: 50px;
  height: 50px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s,
      opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#scrollButton::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #ED1C24;
}
#scrollButton:hover {
  cursor: pointer;
  background-color: #d6d6d6;
  color: #ebebeb;
}

#scrollButton:active {
  background-color: #fff;
}

#scrollButton.show {
  opacity: 1;
  visibility: visible;
}

/* Media Query */
@media (min-width: 768px) {
  h1 {
    font-size: 3em;
  }
  .about {
    width: 100vw;
    overflow: hidden;
  }
  footer {
    text-align: left !important;
  }
  footer .footer-wrap {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
  }
  footer .footer-wrap .about {
    width: 20%;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 4em;
  }
}

@media (min-width: 1200px) {
  .about {
    overflow: hidden;
  }
  footer .footer-wrap .about {
    width: 30%;
  }
  footer .footer-wrap .company {
    width: 30%;
    text-align: right;
  }
}

@media (min-width: 1400px) {
  .about {
    overflow: hidden;
  }
}

@media (min-width: 1900px) {
  .about {
    overflow: hidden;
  }
}
@media (max-width: 1199px) {
  .nav-card-item {
    text-align: center;
  }
  #slider
  {
    margin: 0 auto;
    margin-top: 100px;
  }
  .carousel-wrapper
  {
    max-width: none;
  }
}
@media (max-width: 991px) {
  .carousel-control-prev img,
  .carousel-control-next img{
    width: 30px;
    height: 30px;
  }
  .card-column {
    flex: 0 0 calc((100% - 30px) / 2);
  }
  .carousel-wrapper
  {
    max-width: 600px;
  }
}
@media (max-width: 767px) {
  .navbar{
    padding: 5px;
  }
  .navbar .navbar-brand {
    width: 100px;
  }
  #slider
  {
    margin-top: 91px;
  }
  .carousel-indicators [data-bs-target]
  {
      width: .5rem;
      height: .5rem;
  }
  .carousel-indicators
  {
    margin-bottom: 7px;
  }
  .carousel-item {
    height: fit-content;
    min-height: fit-content;
  }
  .carousel-control-prev img,
  .carousel-control-next img{
    width: 20px;
    height: 20px;
  }
  .about {
    padding-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 20px;
  }
  .about .check-out{
    width: 95%;
    margin: 0 auto;
  }
  .carousel-wrapper
  {
    max-width: 280px;
  }
  .contact-page {
    width: 90%;
  }
  .card-part .text-part
  {
    margin: 10px 0;
  }
  footer .footer-wrap
  {
    width: 100%;
    display: block;
  }
  footer .footer-wrap .about
  {
    text-align: center;
    padding-bottom: 10px;
  }
  footer .company 
  {
    margin-top: 15px;
  }
  footer .address
  {
    margin-top: 15px;
  }
  .quote{
    text-align: left !important;
  }
}