@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
  --primary: #E8111F;
}

body {
  font-family: "Oswald", sans-serif;
}

#main {
  padding-top: 0;
  padding-bottom: 0;
}

.main>.container:first-child, .main>.motive__motto:first-child, .container--article {
  padding-bottom: 0;
}

/* ----- HEADING ----- */
/*===========================================================================*/
h2, .h2 {
  font-size: calc(1.5rem + 0.9vw);
}

@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 2.5rem;
  }
}

.pre-heading {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
}

/* ----- BUTTONS ----- */
/*===========================================================================*/
.btn {
  border-radius: 0;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 40px;
}

.btn-primary {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-black {
  color: white !important;
  background-color: black !important;
  border-color: black !important;
}

.btn-white {
  color: black !important;
  background-color: white !important;
  border-color: white !important;
}

/* ----- HEADER ----- */
/*===========================================================================*/
.header {
  -webkit-box-shadow: 0px 3px 10px #00000024;
  box-shadow: 0px 3px 10px #00000024;
}

.navbar__brand-logo-img {
  image-rendering: -webkit-optimize-contrast;
  max-width: unset;
  max-height: 2.5rem;
}

@media (min-width: 1200px) {
  .navbar__brand-logo-img {
    max-width: 10rem;
    max-height: 4rem;
  }
}

/* contactus */
.contactus-wrap {
  background-color: var(--bs-primary);
  background-image: var(--bs-gradient);
}

.contactus__phone, .contactus__email {
  color: white;
}

@media (max-width: 991.98px) {
  .contactus::after {
    background-color: transparent;
  }
}

/* navbar */
.navbar {
  row-gap: 20px;
  max-width: 1400px;
  margin: auto;
}

.navbar__menu-link {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.navbar__menu-item .navbar__menu-item .navbar__menu-link {
  border-left: 2px solid transparent;
}

.navbar__menu-item .navbar__menu-item .navbar__menu-link:hover {
  border-left: 2px solid rgba(var(--bs-secondary-rgb), 0.5);
  background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0)), to(rgba(var(--bs-secondary-rgb), 0.05)));
  background: -o-linear-gradient(right, rgba(0, 0, 0, 0), rgba(var(--bs-secondary-rgb), 0.05));
  background: linear-gradient(270deg, rgba(0, 0, 0, 0), rgba(var(--bs-secondary-rgb), 0.05));
  color: var(--bs-dark);
}

.navbar__menu-item .navbar__menu-item.active .navbar__menu-link {
  border-left: 2px solid var(--bs-primary);
  background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0)), to(rgba(var(--bs-primary-rgb), 0.05)));
  background: -o-linear-gradient(right, rgba(0, 0, 0, 0), rgba(var(--bs-primary-rgb), 0.05));
  background: linear-gradient(270deg, rgba(0, 0, 0, 0), rgba(var(--bs-primary-rgb), 0.05));
  color: var(--bs-primary);
}

.navbar__menu-item .navbar__menu-item .navbar__menu-link:hover:after, .navbar__menu-item .navbar__menu-item.active .navbar__menu-link:after {
  width: 0;
}
.navbar__menu-item .navbar__menu-item {
  border-left: 0;
}

.navbar__menu-item--has-childs .navbar__menu-list {
  row-gap: 5px;
}

@media (min-width: 991.98px) {
  .navbar__menu-link:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: -8px;
    width: 0%;
    border-bottom: 4px solid var(--bs-primary);
    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
  }

  .navbar__menu-link:hover:after,
  .navbar__menu-item.active > .navbar__menu-link:after {
    width: 100%;
  }
}

@media(min-width: 1200px) {
  .navbar__menu-link:after {
    bottom: -10px;
  }
}

@media (max-width: 991.98px) {
  .navbar__menu {
    height: auto;
    margin-top: 56px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    -webkit-box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.2);
  }
}

/* --- menu vertical ---*/ 
@media (min-width: 992px) {
  .menu-vertical .contactus {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: auto;
  }

  .menu-vertical .navbar__menu-list {
    gap: .7rem;
  }
}

/* ----- MOTIVE ----- */
/*===========================================================================*/
body:not(#index) .motive,
body:not(#index) .motive.fullscreen {
  display: none;
}

.motive {
  height: 45rem;
}

.motto {
  max-width: 50em;
}

.motto__title {
  font-family: "Quicksand", serif;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .motto__title {
    font-size: 5rem;
  }
}

.motto__text {
  font-weight: 500;
  letter-spacing: 1px;
}

/* ----- FOOTER ----- */
/*===========================================================================*/
.footer {
  background-color: rgb(34, 29, 31);
}

.footer p {
  margin: 0;
}

.footer, .footer a {
  color: rgba(var(--bs-light-rgb), 0.7);
}

.footer h5, .footer h5>a  {
  color: white;
}

.footer a:hover {
  color: var(--bs-light);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--primary);
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
}

.footer .social-icons > li > a > img {
  -webkit-filter: saturate(0%) brightness(0%) invert(100%) opacity(0.7);
  filter: saturate(0%) brightness(0%) invert(100%) opacity(0.7);
  -webkit-transition: all 100ms ease-in;
  -o-transition: all 100ms ease-in;
  transition: all 100ms ease-in;
}

.footer .social-icons > li > a:hover > img {
  -webkit-filter: saturate(0%) brightness(0%) invert(100%) opacity(1);
  filter: saturate(0%) brightness(0%) invert(100%) opacity(1);
}

/* ----- TIMELINE ----- */
/*===========================================================================*/
.timeline {
  border-left: 1px solid black;
  position: relative;
  list-style: none;
}

.timeline .timeline-item {
  position: relative;
}

.timeline .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline .timeline-item:after {
  background-color: var(--bs-primary);
  left: -40px;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  content: "";
}