:root {
  --first: #CB0B1C;
  --second: #F39000;
  --third: #EFF3F8;
  --circle-color: #D2D7E5;
  --banner-color: #98b05c;
}

.main-header {
  color: #000000;
  font-size: 60px;
  font-weight: 700;
  line-height: normal;
  font-family: "Comfortaa", cursive;
  margin-bottom: 2.3rem;
  margin-top: 0.1rem;
}
@media (max-width: 1200px) {
  .main-header {
    font-size: 52px;
  }
}
@media (max-width: 768px) {
  .main-header {
    font-size: 48px;
  }
}
@media (max-width: 425px) {
  .main-header {
    font-size: 42px;
  }
}
@media (max-width: 320px) {
  .main-header {
    font-size: 32px;
  }
}

.main-header--main-color {
  color: #CB0B1C;
}

.main-header--break-line {
  display: block;
}

.main-header--center {
  text-align: center;
}

.main-header--underline::after, .main-header--underline-center::after {
  content: "";
  display: block;
  width: 7rem;
  height: 1px;
  background-color: #CB0B1C;
  margin-top: 2rem;
}

.main-header--underline-center::after {
  margin-left: auto;
  margin-right: auto;
}

.layout-nav {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  padding-left: 6rem;
  padding-right: 6rem;
  width: -webkit-fill-available;
  z-index: 100;
  background: #fffffff3;
  box-shadow: 0px 3px 10px #0000003D;
}
@media (max-width: 1200px) {
  .layout-nav {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-width: 768px) {
  .layout-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.layout-nav__list {
  list-style-type: none;
  padding: 0;
  display: flex;
}
.layout-nav__list-item {
  margin: 1rem 2rem;
  font-family: "Comfortaa", cursive;
  font-size: 1.3rem;
  font-weight: 700;
}
@media (max-width: 1200px) {
  .layout-nav__list-item {
    margin: 1rem;
    font-size: 1rem;
  }
}
.layout-nav__list-item-link {
  position: relative;
}
.layout-nav__list-item-link:after {
  content: "";
  display: block;
  width: 0;
  position: absolute;
  height: 0.11rem;
  background-color: #CB0B1C;
  margin-top: 0.4rem;
  transition: width 200ms ease-in-out;
}
.layout-nav__list-item-link:hover:after {
  width: 100%;
}
.layout-nav__hamburger-menu {
  display: none;
  text-align: right;
}
.layout-nav__collapse {
  transition: 0.2s opacity, 0.2s height, 0.2s padding-bottom;
  justify-self: right;
}
@media (max-width: 768px) {
  .layout-nav__hamburger-menu {
    display: block;
  }
  .layout-nav__collapse {
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 0;
  }
  .layout-nav__collapse.active {
    opacity: 1;
    pointer-events: unset;
    height: unset;
    padding-bottom: 2rem;
  }
  .layout-nav__list {
    display: block;
  }
}

.layout-footer {
  background-color: #eff3f8;
}
.layout-footer__logo {
  grid-column: span 4;
  margin-left: 6rem;
  margin-right: 6rem;
}
@media (max-width: 768px) {
  .layout-footer__logo {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
.layout-footer__content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 8rem;
  gap: 1rem 6rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #fff;
  margin-left: 6rem;
  margin-right: 6rem;
}
@media (max-width: 768px) {
  .layout-footer__content {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
@media (max-width: 1200px) {
  .layout-footer__content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .layout-footer__content {
    grid-template-columns: 1fr;
  }
}
.layout-footer__column-item {
  display: flex;
  color: #000000;
  font-family: "Comfortaa";
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8rem;
  margin-bottom: 0.9rem;
}
@media (max-width: 425px) {
  .layout-footer__column-item {
    font-size: 1rem;
  }
}
.layout-footer__column-icon {
  margin-right: 1.5rem;
}
.layout-footer__bottom {
  padding-left: 6rem;
  padding-right: 6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem 10rem;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #fff;
}
@media (max-width: 1200px) {
  .layout-footer__bottom {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-width: 768px) {
  .layout-footer__bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.layout-footer__bottom-icon {
  color: #cb0b1c;
  font-size: 1.7em;
  margin-right: 0.2em;
  margin-left: 0.2em;
}
.layout-footer__description--center {
  display: flex;
  align-content: center;
  align-items: center;
}
.layout-footer__motto {
  padding-left: 6rem;
  padding-right: 6rem;
  color: #000000;
  font-family: "Comfortaa", cursive;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 2.2rem;
  margin-bottom: 1rem;
}
@media (max-width: 1200px) {
  .layout-footer__motto {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-width: 768px) {
  .layout-footer__motto {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #EFF3F8;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #CB0B1C;
  border-radius: 2rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #F39000;
}

a {
  text-decoration: none;
  color: unset;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-image: url(/img/layout/bg-left.png), url(/img/layout/bg-right.png);
  background-size: auto;
  background-repeat-x: no-repeat;
  background-repeat-y: repeat;
  font-family: "Basier Circle";
}
p {
  margin: 0;
}

.main-btn {
  background-color: #F39000;
  color: #fff;
  border-radius: 4rem;
  padding: 0.7rem 1.5rem;
  display: inline-block;
  min-width: 3rem;
  text-align: center;
  text-transform: lowercase;
  font-size: 0.9rem;
  font-family: "Comfortaa", cursive;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
}

.main-btn:hover {
  background-color: #CB0B1C;
}

.main-content {
  margin-left: 6rem;
  margin-right: 6rem;
}
@media (max-width: 768px) {
  .main-content {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.main-padding {
  margin-left: 6rem;
  margin-right: 6rem;
}
@media (max-width: 768px) {
  .main-padding {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.section-margin {
  margin-top: 7rem;
  margin-bottom: 7rem;
}

.main-description {
  color: #000000;
  font-family: "Basier Circle";
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8rem;
  text-align: left;
}

.main-description--top-line::before {
  content: "";
  display: block;
  width: 10rem;
  height: 1px;
  background-color: #CB0B1C;
  margin-bottom: 1.5rem;
}

.main-description--top-margin {
  margin-top: 3rem;
}

.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-image {
  max-width: 100%;
}

.overflow-hidden-container {
  overflow-x: hidden;
}

ul {
  list-style: none;
  padding: 0;
}

.space-pre {
  white-space: pre-line;
}

.first-color {
  color: #CB0B1C;
}

.width-container {
  max-width: 2200px;
  margin-inline: auto;
}

.main-alert {
  background-color: #CB0B1C;
  position: fixed;
  color: #fff;
  font-size: 20px;
  padding: 30px 50px;
  right: 0;
  left: 0;
  margin: auto;
  top: 110px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 1000;
  box-shadow: 0px 0px 20px #00000067;
  -webkit-animation: fadeOut ease 2s forwards;
          animation: fadeOut ease 2s forwards;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.main-banner {
  background-position: center;
  background-size: cover;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 15px;
}
.main-banner__header {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: normal;
  font-family: "Comfortaa", cursive;
}

.main-tiles {
  padding-left: 6rem;
  padding-right: 6rem;
}
@media (max-width: 1200px) {
  .main-tiles {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-width: 768px) {
  .main-tiles {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.main-tiles__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1200px) {
  .main-tiles__row {
    grid-template-columns: 1fr;
  }
}
.main-tiles__row--cases {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 1200px) {
  .main-tiles__row--cases {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .main-tiles__row--cases {
    grid-template-columns: 1fr;
  }
}
.main-tiles__item {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
  padding: 2rem;
  display: grid;
  background-color: #fff;
}
.main-tiles__item-line {
  width: 100%;
  height: 1px;
  background-color: #707070;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.main-tiles__img--full {
  width: 100%;
}
.main-tiles__header {
  color: #000000;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: normal;
  font-family: "Comfortaa", cursive;
}
@media (max-width: 425px) {
  .main-tiles__header {
    font-size: 1.4rem;
  }
}
@media (max-width: 425px) {
  .main-tiles__header {
    font-size: 1.4rem;
  }
}
.main-tiles__header--right {
  max-width: 600px;
  margin-left: auto;
}
.main-tiles--header-alternating:nth-child(2n) .main-header {
  max-width: 600px;
  margin-left: auto;
}
.main-tiles__description {
  margin-bottom: 1rem;
}
.main-tiles__description--top-line {
  border-top: 1px solid #707070;
  padding-top: 1rem;
}
.main-tiles__photo-section {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.main-tiles__button-section {
  display: flex;
  justify-content: center;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
}
.main-tiles__button {
  text-align: center;
}

.full-side-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 5rem;
}
@media (max-width: 1024px) {
  .full-side-banner {
    grid-template-columns: 1fr;
  }
  .full-side-banner__photo {
    order: 1;
  }
  .full-side-banner__content {
    order: 2;
  }
}
.full-side-banner--shadow {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
}
.full-side-banner--bg-white {
  background-color: #fff;
}
.full-side-banner__description {
  font-family: "Basier Circle";
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 2rem;
}
.full-side-banner__content {
  padding-left: 6rem;
  display: flex;
  place-content: center;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (max-width: 1200px) {
  .full-side-banner__content {
    padding-left: 3rem;
  }
}
@media (max-width: 768px) {
  .full-side-banner__content {
    padding-left: 1rem;
  }
}
.full-side-banner__photo__img {
  width: 100%;
}

.full-side-banner {
  margin-top: 7rem;
  margin-bottom: 7rem;
}
