$bodyFont: "Roboto", sans-serif;
$titleFont: "Bebas Neue", cursive;

::-moz-selection {
  color: white;
  background: var(--bs-primary);
}

::selection {
  color: white;
  background: var(--bs-primary);
}

html,
body {
  height: 100%;
}
body {
  font-family: $bodyFont;
  letter-spacing: 0.03em;
  background-color: #f5f5f5;
  // position: fixed;
  // width: 100%;
  // height: calc(100% - env(safe-area-inset-bottom) - var(--header-height));
}

main {
}

ul,
li,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  &:hover {
    color: inherit;
  }
}

.pointer-none {
  pointer-events: none;
}

label .required {
  color: var(--bs-primary);
}

.form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #646464 !important;
  opacity: 1; /* Firefox */
  font-weight: 400;
}

.form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #646464 !important;
  font-weight: 400;
}

.form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #646464 !important;
  font-weight: 400;
}

input,
select,
textarea {
  outline: none !important;
  box-shadow: none !important;
  &:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--bs-primary) !important;
  }
}

textarea {
  resize: none;
}

::placeholder {
  color: #646464 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #333333;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}

form {
  input:not([type="checkbox"]),
  textarea {
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
  }
  input:not([type="checkbox"]),
  .select-dropdown__button,
  textarea {
    font-family: $bodyFont;
    font-size: 16px !important;
    color: #333333;
    border-bottom: 1px solid var(--bs-primary) !important;
  }

  label {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
  }

  .d__arrow {
    background-image: url(../img/icons/arrow-down-brown.svg) !important;
  }

  .iti--allow-dropdown input {
    padding-left: 52px !important;
  }

  [type="checkbox"] ~ label {
    font-family: $bodyFont;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.25;
    max-width: 45ch;
  }
  [type="checkbox"] {
    margin: 0 20px 0 0;
    width: 25px;
    height: 25px;
    border-color: var(--bs-primary);
    background-color: transparent;
  }

  .form-check-input,
  .form-check-label {
    cursor: pointer;
  }
}

.hr {
  height: 1px;
  background-color: var(--bs-primary);
  margin: 34px 0 36px;
}

.roboto {
  font-family: $bodyFont;
  line-height: inherit;
}

.Bebas {
  font-family: $titleFont;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: normal;
  font-family: $titleFont;
}

.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-30 {
  font-size: 30px;
}

.fs-35 {
  font-size: 35px;
}

.fw-medium {
  font-weight: 500;
}

.zIndexZero {
  z-index: 0;
}
.zIndexOne {
  z-index: 1;
}

p {
  margin-bottom: 0;
  line-height: 1.85;
  + p {
    margin-top: 1.2rem;
  }
}

.mt-6 {
  margin-top: 4rem;
}

.pt-6 {
  padding-top: 4rem;
}

.pb-6 {
  padding-bottom: 4rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

label {
  user-select: none;
}

.secTitle {
  font-size: 55px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.secSubTitle {
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: 0.2em;
  margin-bottom: 11px;
  padding-right: 10px;
  color: var(--bs-primary);
  position: relative;
  text-transform: uppercase;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 103px;
    height: 4px;
    background-color: var(--bs-primary);
  }
}

.scrollingTitle {
  font-size: 250px;
  line-height: 1;
  color: #efefef;
  text-align: center;
  white-space: nowrap;
}

.redBar {
  position: relative;
  &::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -26px;
    width: 4px;
    height: 100%;
    max-height: 200px;
    background-color: var(--bs-primary);
  }
}

.custom_scroll::-webkit-scrollbar {
  width: 2px;
  background-color: #f3eada;
}
.custom_scroll::-webkit-scrollbar-thumb {
  background-color: var(--bs-primary);
  border-radius: 5px;
}

.mTopSec {
  margin-top: var(--header-height);
}

.cursor-pointer {
  cursor: pointer;
}

.breadcrumb {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  &-item {
    transition: color 0.1s;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    &:hover:not(.active) {
      color: var(--bs-primary);
    }
  }
  &-item + &-item::before {
    content: "";
    width: 20px;
    height: 100%;
    background-image: url(../img/icons/breadcrumb-arrow.svg);
    background-repeat: no-repeat;
    background-position: left center;
  }
}

.cover {
  background-size: cover;
  padding: 10% 0;
  position: relative;
  z-index: 0;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--bs-primary);
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    mix-blend-mode: multiply;
    transition: clip-path 0.6s;
  }
  &.animDone::after {
    clip-path: polygon(90% 0, 100% 0, 100% 100%, 58% 100%);
  }
  &__text {
    max-width: 912px;
    position: relative;
    z-index: 2;
  }
  &__subtitle {
    font-weight: 500;
    max-width: 874px;
  }
  &__title {
    font-family: $titleFont;
    font-size: 80px;
    text-transform: uppercase;
  }
}

.pagination {
  &__item {
    &:first-child,
    &:last-child {
      .btn {
        font-family: $bodyFont;
        font-weight: 500;
        font-size: 11px;
        text-align: center;
        text-transform: uppercase;
        min-width: 128px;
        padding: 21px;
        border-width: 2px;
      }
    }
    &:not(:first-child):not(:last-child) {
      .btn {
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-family: $bodyFont;
        font-weight: 500;
        font-size: 18px;
        letter-spacing: 0;
        text-align: center;
        margin-left: 18px;
        margin-right: 18px;
        color: rgba(42, 42, 42, 0.8);
        border: 0;
        &.active,
        &:hover {
          background-color: var(--bs-primary);
          color: #ffffff;
        }
      }
    }
  }
}

.pageOverlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  pointer-events: none;
  opacity: 0;
  &.active {
    pointer-events: all;
    opacity: 1;
  }
}

.dropdown-toggle {
  &::before {
    display: inline-block;
    content: "";
    height: 8px;
    width: 2px;
    background-color: var(--bs-primary);
    position: absolute;
    top: 15px;
    right: 11px;
    transition: transform 0.2s ease;
  }
  &.show::before {
    transform: rotate(90deg);
  }
}

.dropdown-toggle::after {
  border: 0;
  width: 8px;
  height: 2px;
  vertical-align: 0.18em;
  background-color: var(--bs-primary);
}

.stickBottomLeftImg {
  margin: -100px 0 0 -50px;
}

.downloadable {
  cursor: url(../img/icons/download.svg), auto !important;
}

.hoverClipPath {
  position: relative;
  z-index: 0;
  &::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -5px;
    z-index: 1;
    width: calc(100% + 5px);
    height: 100%;
    background-color: var(--bs-primary);
    mix-blend-mode: multiply;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    transition: all 0.2s;
  }
  &--static::before {
    clip-path: polygon(0 72%, 100% 90%, 100% 100%, 0% 100%);
  }
  &:hover {
    &::before {
      clip-path: polygon(0 72%, 100% 90%, 100% 100%, 0% 100%);
    }
  }
}

.noAfterOverlay::after {
  display: none;
}

.noBgImg::before {
  display: none;
}

.playIcon {
  position: relative;
  &::after {
    content: "";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 45px !important;
    height: 45px !important;
    transform: translate(-50%, -50%);
    background-image: url(../img/icons/play-big.svg);
    background-position: center;
    background-size: 45px;
    mix-blend-mode: normal !important;
    background-color: transparent !important;
  }
}

.downloadBtn {
  position: absolute;
  bottom: 10px;
  left: 15px;
  z-index: 1;
  transition: opacity 0.2s;
}

/*Select Dropdown*/
.select-dropdown {
  position: relative;
  max-width: 100%;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.select-dropdown:last-child {
  margin-right: 0px;
}
.select-dropdown__button {
  padding: 6px 20px 9px 0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--bs-primary);
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  position: relative;
  text-align: left;
  font-family: $bodyFont;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #333;
  line-height: 14px;
  letter-spacing: 0.295em;
  transition: all 0.5s;
}
.select-dropdown__button:focus {
  outline: none;
}
.select-dropdown__button .d__arrow {
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  width: 15px;
  height: 8px;
  right: 0;
  background-image: url(../img/icons/arrow-down-brown.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.select-dropdown__list,
.select__projects_list {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow: auto;
  margin: 0;
  padding: 0;
  border: 1px solid var(--bs-primary);
  border-top: 0px solid transparent;
  list-style-type: none;
  opacity: 0;
  pointer-events: none;
  transform-origin: top left;
  transform: scale(1, 0);
  transition: all ease-in-out 0.3s;
  z-index: 2;
}
.select-dropdown__list.active,
.select__projects_list.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1, 1);
}
.select-dropdown__list-item {
  display: block;
  list-style-type: none;
  padding: 5px 15px;
  background: #fff4df;
  font-size: 14px;
  cursor: pointer;
  color: #5c5447;
  text-align: left;
  text-transform: capitalize;
  transition: all ease-in-out 0.3s;
}
.select-dropdown__list-item:hover {
  background-color: #ecdec5;
  transition: all ease-in-out 0.3s;
}
.select-dropdown__list-item.selected {
  background-color: #ecdec5;
}

.customDropDown select {
  display: none;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background-color: var(--bs-primary);
}

[data-aos="fade-up"] {
  transform: translate3d(0, 60px, 0) !important;
}

[data-aos^="fade"][data-aos^="fade"].aos-animate {
  opacity: 1;
  transform: translateZ(0) !important;
}
