/* GLOBAL STYLES */
:root {
  --site-main-color: #ff7500;
  --site-main-color-two: #252420;
  --site-main-font-family: "Roboto", "Arial", sans-serif;
  --site-heading-font-family: "Roboto Condensed", "Arial", sans-serif;
}

/* FONT-FACE  */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/") format("woff2"),
  url("../fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/RobotoCondensed-Bold.woff2") format("woff2"),
  url("../fonts/RobotoCondensed-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.woff2") format("woff2"),
  url("../fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* LOADER  */
.lds-dual-ring-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--site-main-color-two);
  z-index: 999;
  transition: transform 0.6s ease;
}

.lds-dual-ring-wrapper--none {
  overflow: hidden;
  transform: translateY(-100%);
}

.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid var(--site-main-color);
  border-color: var(--site-main-color) transparent var(--site-main-color) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}

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

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  color: #222;
  font-family: var(--site-main-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.body--overflow {
  overflow-y: hidden;
}

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

*:focus {
  outline: 2px dotted var(--site-main-color);
  outline-offset: 3px;
}

/* CONTAINER  */
.container {
  max-width: 1160px;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}

/* VISUALLY-HIDDEN  */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* BUTTON  */
.button {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  color: #fff;
  background-color: var(--site-main-color);
  border-radius: 4px;
  font-family: var(--site-main-font-family);
  font-size: 13px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: opacity 0.4s ease;
  white-space: nowrap;
  text-align: center;
}

.button:hover {
  opacity: 0.8;
}

.button:active {
  opacity: 0.6;
}


/* MAIN CONTENT  */
.main-content {
  flex-grow: 1;
}

/* SITE HEADER  */
.site-header {
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 5px solid var(--site-main-color);
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO  */
.logo {
  flex-shrink: 0;
  display: flex;
  transition: opacity 0.4s ease;
}

.logo--small {
  display: none;
}

.logo:hover {
  opacity: 0.8;
}

.logo:active {
  opacity: 0.6;
}

.logo__img {
  display: block;
  width: 227px;
  height: 60px;
  object-fit: contain;
}

.logo__img--small {
  width: 38px;
}


/* MENU  */
.menu {
  display: none;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 150;
  flex-shrink: 0;
}

.menu__img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.menu__img-open--block {
  display: none;
}

.menu__img-close {
  display: none;
}

.menu__img-close--block {
  display: block;
}


/* SITENAV  */
.sitenav {
  display: flex;
  align-items: center;
}

.sitenav__list-wrapper--open {
  display: block;
}

.sitenav__list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-right: 32px;
}

.sitenav__item:not(:last-child) {
  margin-right: 32px;
}

.sitenav__link {
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  font-family: var(--site-main-font-family);
  font-size: 13px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.sitenav__link:hover {
  color: var(--site-main-color);
}

.sitenav__link:active {
  opacity: 0.6;
}

.button--orange:focus {
  outline-color: var(--site-main-color-two);
}

/* HERO  */
.hero {
  background-color: var(--site-main-color-two);
  padding-top: 80px;
  padding-bottom: 80px;
  margin-bottom: 50px;
}

.hero__container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 387px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  margin-bottom: 24px;
  color: #fff;
  font-family: var(--site-heading-font-family);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero__heading::before {
  content: "";
  width: 80px;
  height: 3px;
  background-color: var(--site-main-color);
  margin-bottom: 40px;
}

.hero__paragraph {
  padding: 0;
  margin: 0;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  color: #fff;
}

.hero__img {
  display: block;
  position: absolute;
  right: 0;
  top: -40px;
  width: 510px;
  height: 510px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 24px 24px 0px 0px rgba(255, 117, 0, 0.6);
}


/* FEATURES  */
.features {
  padding-top: 57px;
  padding-bottom: 210px;
}

.main-heading {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  margin-bottom: 72px;
  font-family: var(--site-heading-font-family);
  font-size: 72px;
  line-height: 120%;
  letter-spacing: 0.5px;
  max-width: 435px;
  width: 100%;
}

.main-heading::before {
  content: "";
  width: 80px;
  height: 3px;
  background-color: var(--site-main-color);
  margin-bottom: 24px;
}

.features__list {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding-bottom: 90px;
}

.features__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 340px;
}

.features__item:not(:last-child) {
  margin-right: 20px;
}

.features__badge {
  width: 100px;
  height: 100px;
  margin: 0;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 117, 0, 0.2);
  border-radius: 50%;
}

.features__badge-click {
  width: 48px;
  height: 48px;
}

.features__badge-stars {
  width: 45px;
  height: 45px;
}

.features__badge-lightning {
  width: 40px;
  height: 50px;
}

.features__content {
  width: 92%;
}

.features__heading {
  margin: 0;
  padding: 0;
  margin-bottom: 12px;
  font-family: var(--site-heading-font-family);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.features__paragraph {
  margin: 0;
  padding: 0;
  letter-spacing: 0.5px;
}


/* ADDITIONAL */
.additional__container {
  padding-top: 120px;
  padding-bottom: 160px;
  padding-right: 30px;
  padding-left: 30px;
}

.additional__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  padding: 91px 64px 80px;
  background-color: var(--site-main-color-two);
}

.additional__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 440px;
}

.additional__heading {
  margin: 0;
  padding: 0;
  margin-bottom: 24px;
  color: #fff;
  font-family: var(--site-heading-font-family);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.additional__paragraph {
  margin: 0;
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--site-main-font-family);
  letter-spacing: 0.5px;
}

.additional__paragraph--extra {
  margin-bottom: 24px;
}

span {
  font-weight: 500;
  color: var(--site-main-color);
}

.additional__img {
  position: absolute;
  top: -85px;
  right: 64px;
  display: block;
  width: 440px;
  height: 440px;
  border-radius: 12px;
  object-fit: cover;
}


/* SITE FOOTER  */
.site-footer {
  background-color: #F8F8F8;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 56px;
  padding-bottom: 40px;
}

.media-list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.media-list__item:not(:last-child) {
  margin-right: 16px;
}

.media-list__link {
  display: flex;
  color: #252420;
  transition: color 0.4s ease;
}

.media-list__link:hover {
  color: var(--site-main-color);
}

.media-list__link:active {
  opacity: 0.6;
}

.divider {
  padding: 0;
  margin: 0;
  margin-bottom: 64px;
  max-width: 1100px;
  width: 100%;
  height: 2px;
  background-color: rgba(37, 36, 32, 0.5);
  border: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  padding-bottom: 56px;
}

.link-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 25%;
}

.link-list__item:not(:last-child) {
  margin-bottom: 16px;
}

.link-list__link {
  text-align: center;
  color: var(--site-main-color-two);
  text-decoration: none;
  font-family: var(--site-main-font-family);
  line-height: normal;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.link-list__link:hover {
  color: var(--site-main-color);
}

.link-list__link:active {
  opacity: 0.6;
}


/* MEADIA */
/* 1275px */
@media  (max-width: 1275px) {
  body {
    font-size: 14px;
  }

  .menu {
    display: block;
  }

  .sitenav__list-wrapper {
    display: none;
  }

  .sitenav__list-wrapper--open {
    z-index: 100;
    display: block;
  }

  .sitenav__list-wrapper--open::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100vh;
    background-color: #fff;
  }

  .sitenav__list-wrapper--open::after{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 70%;
    height: 100vh;
    background-color: rgba(37, 36, 32, 0.5);
  }

  .sitenav__list {
    position: absolute;
    left: 7%;
    top: 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
  }

  .sitenav__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .button--orange {
    order: -1;
  }

  .hero {
    padding-top: 70px;
    padding-bottom: 70px;
    margin-bottom:  40px;
  }

  .hero__heading {
    font-size: 35px;
    margin-bottom: 19px;
  }

  .hero__paragraph {
    margin-bottom: 27px;
  }

  .hero__img {
    right: 40px;
    width: 410px;
    height: 410px;
  }

  .features {
    padding-bottom: 190px;
  }

  .main-heading {
    font-size: 62px;
    margin-bottom: 62px;
  }

  .features__item {
    max-width: 320px;
  }

  .features__heading {
    font-size: 19px;
  }

  .additional__container {
    padding-top: 80px;
    padding-bottom: 120px;
  }

  .additional__inner {
    padding: 71px 44px 60px;
  }

  .additional__content {
    max-width: 400px;
  }

  .additional__heading {
    font-size: 35px;
    margin-bottom: 19px;
  }

  .additional__paragraph--extra {
    margin-bottom: 19px;
  }

  .additional__img {
    top: -65px;
    right: 44px;
    width: 340px;
    height: 340px;
  }

  .link-list-wrapper {
    width: 50%;
    display: flex;
    justify-content: center;
  }

  .link-list-wrapper {
    margin-bottom: 50px;
  }

  .link-list__item:not(:last-child) {
    margin-bottom: 12px;
  }
}


/* 900px */
@media (max-width: 900px) {
  .logo {
    display: none;
  }

  .logo--small {
    display: flex;
    width: 28px;
    height: 50px;
  }

  .menu__img {
    width: 25px;
    height: 25px;
  }

  .sitenav__list {
    height: 100vh;
    overflow-y: auto;
    padding-right: 3%;
  }

  .hero__container {
    flex-direction: column;
  }

  .hero__content {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .button--hero {
    margin-left: auto;
  }

  .button--additional {
    margin-left: auto;
  }

  .hero__img {
    width: 80%;
    top: 0;
    position: static;
    object-position: top;
  }

  .main-heading {
    text-align: center;
    max-width: 100%;
  }

  .main-heading::before {
    display: none;
  }

  .features__list {
    flex-wrap: wrap;
  }

  .features__item {
    align-items: center;
    text-align: center;
    max-width: 50%;
  }

  .features__item:not(:last-child) {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .additional__inner {
    flex-direction: column;
  }

  .additional__content {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .additional__img {
    width: 80%;
    object-position: top;
    position: static;
    top: 0;
    right: 0;
  }
}


/* 600px */
@media (max-width:600px) {
  .site-header__container {
    justify-content: stretch;
  }

  .logo--small {
    order: -1;
    margin-right: auto;
  }

  .button--orange {
    position: fixed;
    top: 85%;
    right: 17%;
    z-index: 90;
    padding: 10px 20px;
    font-size: 15px;
  }

  .sitenav__list-wrapper--open::before {
    right: 0;
    left: 50%;
    width: 50%;
  }

  .sitenav__list-wrapper--open::after {
    left: 0;
    width: 50%;
  }

  .sitenav__list {
    align-items: flex-end;
    right: 7%;
  }

  .hero__img {
    height: 310px;
  }

  .main-heading {
    font-size: 52px;
    margin-bottom: 52px;
  }

  .features {
    padding-bottom: 160px;
  }

  .features__list {
    padding-bottom: 60px;
  }

  .features__item {
    max-width: 100%;
  }

  .features__content {
    max-width: 75%;
  }

  .additional__inner {
    padding: 51px 24px 40px;
  }

  .additional__img {
    height: 210px;
  }

  .link-list-wrapper {
    width: 100%;
  }

  .link-list-wrapper:not(:last-child) {
    margin-bottom: 50px;
  }

  .link-list {
    align-items: center;
  }

  .link-list__link {
    font-size: 14px;
  }

  .site-footer__bottom {
    padding-bottom: 36px;
  }

}


/* 420px */
@media (max-width: 420px) {
  body {
    font-size: 12px;
  }

  .sitenav__list-wrapper::before {
    left: 0;
    width: 100%;
  }

  .sitenav__list-wrapper::after {
    display: none;
  }

  .sitenav__list {
    align-items: center;
    padding-right: 0;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__heading {
    font-size: 30px;
  }

  .hero__img {
    height: 210px;
  }

  .main-heading {
    font-size: 42px;
    margin-bottom: 42px;
  }

  .features {
    padding-top: 27px;
    padding-bottom: 50px;
  }

  .features__content {
    max-width: 100%;
  }

  .features__badge {
    width: 80px;
    height: 80px;
  }

  .additional__container {
    padding: 50px 0px 90px;
  }

  .additional__content {
    max-width: 100%;
  }

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


/* 320px */
@media (max-width: 320px) {
  .button {
    font-size: 12px;
  }

  .hero__heading {
    font-size: 25px;
    margin-bottom: 14px;
  }

  .hero__paragraph {
    text-align: justify;
    margin-bottom: 22px;
  }

  .main-heading {
    font-size: 35px;
    margin-bottom: 35px;
  }

  .features__paragraph {
    letter-spacing: 0.3px;
  }

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