/* IMPORT ANOTHER CSS DOCS */
@import "fonts.css";

/* CSS VAIABLES */
:root {
  --theme-container-width: 1740px;
  --theme-main-color: #bb0000;
  --theme-secondary-color: #ef5e00;
  --theme-grey-color: #f5f5f5;
  --theme-main-font-color: #100101;
}

/* MAIN HTML ELEMENTS */
html {
  font-size: 16px;
}
body {
  font-family: Manrope, sans-serif !important;
  line-height: 1.45;
  font-weight: 300;
  color: var(--theme-main-font-color);
  margin: 0 !important;
}

/* TYPOGRAPHY */
h1 {
  color: var(--theme-main-color);
}

/* CONTAINER SETTINGS */
@media (min-width: 1800px) {
  .container {
    width: var(--theme-container-width);
    max-width: var(--theme-container-width);
  }
}

/* CAROUSEL */
.carousel-image {
  margin: 0 auto;
}
.carousel-image-sp {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.carousel-inner {
  text-align: center;
}
.carousel-caption {
  font-size: 4rem;
  font-weight: 100;
  top: 37%;
  right: 20%;
}
.carousel-caption h3 {
  text-align: right;
  font-size: 4.5rem;
  font-weight: 100;
}
.carousel-caption h3 strong {
  font-weight: 900;
}
.carousel-caption .default-btn {
  margin-left: auto;
}

/* HEADER */
.site-logo img {
  max-width: 12.5rem;
  height: auto;
  transition: all 0.5s;
}
#main-navbar.scrolled .site-logo img {
  max-width: 8.75rem;
}
@media (max-width: 990px) {
  #main-navbar .site-logo img {
    max-width: 8.75rem;
  }
}

/* NAVBAR */
#main-navbar {
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 10;
  width: 100%;
  transform: translate(-100%);
  transition: all 0.5s;
}
.toolbar-horizontal #main-navbar {
  top: 75px;
}
.toolbar-vertical #main-navbar {
  top: 35px;
}
#main-navbar.scrolled {
  background-color: #ffffff;
  -webkit-box-shadow: 0px 11px 17px -2px rgba(0, 0, 0, 0.18);
  box-shadow: 0px 11px 17px -2px rgba(0, 0, 0, 0.18);
}

@media (max-width: 990px) {
  #main-navbar {
    position: unset;
    transform: none;
  }
}

#main-navbar .nav-item {
  margin-left: 1.2rem;
}

#main-navbar .nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--theme-main-font-color);
}
#main-navbar .nav-link:hover {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--theme-main-color);
}

/* BUTTONS */
.default-btn {
  display: block;
  background: none;
  font-size: 1.125rem;
  font-weight: 100;
  text-align: center;
  padding: 1.2rem 2.2rem;
  max-width: 205px;
  margin: 2.5rem 0;
}
.default-btn.red {
  color: var(--theme-main-color);
  border: 2px solid var(--theme-main-color);
}
.default-btn.white {
  color: #fff;
  border: 2px solid #fff;
}

/* FEATURES */

#block-features-3 {
  padding: 4.6875rem 0;
}

.features-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.features-list--item {
  flex-basis: 17.1875rem;
  text-align: center;
}
.features-list--item h2 {
  color: var(--theme-main-color);
  font-size: 2rem;
  font-weight: 100;
  font-family: Manrope, sans-serif;
  margin-bottom: 2.8125rem;
}
.features-list--item p {
  font-size: 1rem;
  color: var(--theme-main-font-color);
}
.features-list--item svg.icon {
  fill: var(--theme-main-color);
  max-width: 100%;
  max-height: 4.0625rem;
}

/* IMG CONTENT */

.img-content {
  background-color: #f5f5f5;
  width: 100%;
}
.img-content--wrapper {
  display: flex;
  align-items: center;
  margin-top: 5rem;
}

@media (max-width: 990px) {
  .img-content--wrapper {
    flex-direction: column;
  }
  .img-content--wrapper .reverse {
    order: 2;
  }
}
.img-content--image {
  max-width: 100%;
  height: auto;
  margin: -1.5rem 0 3.125rem 0;
}
.img-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.3125rem;
}
.img-content p {
  font-size: 16px;
  font-weight: 400;
  color: var(--theme-main-font-color);
}
.img-content--content {
  padding: 3rem;
}
.img-content-divider {
  width: 100%;
  height: 4rem;
}

/* COUNTER HP */
#block-counterhp-3 {
  padding: 4.6875rem 0;
}
.counter {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}
.counter--item {
  flex-basis: 15.625rem;
  text-align: center;
}
.counter--item svg.icon {
  max-width: 75px;
  height: auto;
  fill: var(--theme-main-color);
}
.counter--item h3 {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--theme-main-color);
}
.counter--item h3 span {
  font-size: 1.2rem;
  font-weight: 100;
  color: var(--theme-main-font-color);
}
.counter--item p {
  font-size: 1.5rem;
  font-weight: 100;
  color: var(--theme-main-font-color);
}

/* ANIMATED ELEMENTS ONSCROLL */
.is-animated {
  opacity: 0;
  transform: translateY(35%);
  transition: opacity 0.7s, transform 0.7s;
}
.is-animated.scrolled-into-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s, transform 0.7s;
}
.scrolled-into-view-first-time {
  opacity: 1 !important;
  transform: translateY(0);
}

/* REFERENCE GALLERY */
.reference-gallery {
  padding: 4.6875rem 0;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

/* CONTACT INFORMATIONS */
#block-contactinformations {
  padding: 4.6875rem 0;
  background-color: var(--theme-grey-color);
}
.contact-infos {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.contact-infos--item {
  flex-basis: 400px;
}
.contact-infos--item .tel,
.contact-infos--item .mail {
  display: block;
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--theme-main-color);
}
.contact-infos--item .mail a {
  color: var(--theme-main-color);
  text-decoration: none;
}
.contact-infos--item .tel::before,
.contact-infos--item .mail::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 0.75rem;
  background-size: 25px;
}
.contact-infos--item .tel::before {
  background-image: url(../images/svg/phone.svg);
}
.contact-infos--item .mail::before {
  background-image: url(../images/svg/email.svg);
}

/* FOOTER */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
}
