@import 'vars';

html {
  font-size: 62.5%;
}

body {
  margin: 0;

  font-family: 'Rubik', sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: $dark;

  &.no-scroll,
  .lg-on & {
    overflow: hidden;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  &:focus {
    outline: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

.img {
  display: block;
  max-width: 100%;
  height: auto;
}

hr {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 auto;

  border: none;
  background-color: #F2F2F2;
}

blockquote {
  margin: 0;
  padding: 0;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-bold {
  font-weight: 700 !important;
}

.text-red {
  color: $red !important;
}

.text-green {
  color: $green !important;
}

.text-primary {
  color: $primary !important;
}

.text-gray {
  color: #9E9E9E !important;
}

.text-gray-dark {
  color: #606060 !important;
}

.text-sm {
  font-size: 1.2rem !important;
}

.text-dark {
  color: $dark !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.mt-2r {
  margin-top: 2rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.ml-auto {
  margin-left: auto !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.b-radius {
  border-radius: 5px;
}

.hide {
  display: none !important;
}

.no-wrap {
  white-space: nowrap;
}

.ttu {
  text-transform: uppercase;
}

.loader {
  position: relative;
  height: 40rem;
  overflow: hidden;

  &::after {
    content: "";
    display: block;

    width: 48px;
    height: 48px;
    border: 5px solid;
    border-color: $primary transparent;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;

    position: absolute;
    top: calc(50% - 48px);
    left: calc(50% - 48px);
    z-index: 20;
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@include media-breakpoint-down(lg) {
  .hide-lg {
    display: none !important;
  }
}


@include media-breakpoint-down(md) {
  .hide-md {
    display: none !important;
  }

  .show-md {
    display: block !important;
  }
}

@include media-breakpoint-down(sm) {
  .text-left-sm {
    text-align: left !important;
  }
}


@include media-breakpoint-up(sm) {
  .hide-md-up {
    display: none;
  }
}

.dev_banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: red;
  color: white;
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
  font-weight: bold;
  z-index: 1000;
}

.success-message {
  font-weight: 300;
  color: #25b14d;
  font-size: 16px;
}

.truncate-one-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.price_orange {
  color: #ffa500 !important;
}

.price_red {
  color: red !important;
  text-align: center;
  margin-top: 8px;
}

.page__content {
  flex: 1;
  min-height: 100vh;
}