* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: opacity 300ms ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

h1 {
  font-size: inherit;
  font-weight: inherit;
}

:root {
  --header-bg: #1f1f1f;
  --main-bg: #232323;
  --main-heading-color: #ffffff;
  --text-color: #c8c8c8;
}

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0;
  padding: 0;
}

.container {
  width: 72%;
  min-height: calc(100vh - 5rem);
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/*==== Header ==================*/

.header {
  width: 100%;
  height: 5rem;
  background-color: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/*==== Main =====================*/

.main {
  background-color: var(--main-bg);
  width: 100%;
  min-height: calc(100vh - 5rem);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main-content {
  padding: 2rem 0;
}

.completed-img-desk,
.completed-img-mob {
  width: 3rem;
  height: auto;
}

.completed-img-mob {
  display: none;
}

.main-heading {
  color: var(--main-heading-color);
  font-weight: 700;
  font-size: 40px;
  line-height: 49px;
  text-transform: uppercase;
  margin: 3rem 0 2rem 0;
  font-family: "Montserrat", sans-serif;
}

.thnx-text {
  color: var(--text-color);
  max-width: 590px;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  font-family: "Montserrat", sans-serif;
}

.main-bg-img-desk,
.main-bg-img-mob {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

.main-bg-img-mob {
  display: none;
}

/*==== Counter ====================*/

.counter-wrapper {
  max-width: 390px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
}

.numbers-wrapper {
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.numbers-block-outer {
  width: 100px;
  height: 100px;
  padding: 1px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: -webkit-linear-gradient(#fee874, #e9ae4b);
  margin-bottom: 8px;
}

.numbers-block-inner {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-bg);
}

.current-number {
  background: -webkit-linear-gradient(#fee874, #e9ae4b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 48px;
}

.time-measure {
  color: var(--text-color);
  font-size: 18px;
  line-height: 27px;
}

@media (max-width: 768px) {
  .header {
    height: 3.5rem;
  }

  .container {
    width: 80%;
    min-height: calc(100vh - 3.5rem);
  }

  .main {
    min-height: calc(100vh - 3.5rem);
  }

  .completed-img-desk {
    display: none;
  }

  .completed-img-mob {
    display: block;
  }

  .main-heading {
    font-size: 32px;
    line-height: 39px;
  }

  .thnx-text {
    max-width: 420px;
    font-size: 16px;
    line-height: 24px;
  }

  .main-bg-img-desk {
    display: none;
  }

  .main-bg-img-mob {
    display: block;
  }

  .counter-wrapper {
    max-width: 320px;
    margin-top: 2.5rem;
  }

  .numbers-block-outer {
    width: 85px;
    height: 85px;
  }

  .current-number {
    font-size: 40px;
  }

  .time-measure {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 576px) {
  .main-content {
    text-align: center;
  }

  .completed-img-mob {
    margin: 0 auto;
  }

  .main-bg-img-mob {
    display: none;
  }

  .main-heading {
    font-size: 20px;
    line-height: 24px;
    margin: 1.5rem 0;
  }

  .thnx-text {
    max-width: 100%;
    font-size: 14px;
    line-height: 21px;
  }

  .counter-wrapper {
    margin: 2rem auto 0 auto;
  }

  .numbers-block-outer {
    width: 72px;
    height: 72px;
  }

  .current-number {
    font-size: 32px;
  }

  .time-measure {
    font-size: 14px;
    line-height: 21px;
  }
}
