/* SECTION Rings */

.rings {
  max-height: 950px;
  padding-bottom: 100px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.rings .ringsPosition {
  position: relative;
  user-select: none;
  transition: width 0.2s ease, height 0.2s ease;
}

.rings .ringsPosition:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100px;
  top: calc(100% + 100px);
  background-image: url('/img/rings-shadow.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ANCHOR Media Query */

/* ANCHOR Mobile */

@media (max-width: 767px) {
  .home .rings {
    width: 100%;
  }
  .home .rings .ringsPosition {
    width: 400px;
    height: 170px;
  }
}

@media (max-width: 425px) {
  .home .rings .ringsPosition {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 375px) {
  .home .rings .ringsPosition {
    height: 150px;
  }
}

@media (max-width: 320px) {
  .home .rings .ringsPosition {
    width: 280px;
    height: 130px;
  }
}

/* ANCHOR Tablet */

@media (max-width: 1023px) {
  .home .rings .ringsPosition {
    margin: 70px auto;
  }

  @media (min-width: 768px) {
    .home .rings .ringsPosition {
      width: 680px;
      height: 315px;
    }
  }
}

/* ANCHOR Desktop */

@media (min-width: 1024px) {
  @media (hover: none) {
    .home .rings {
      align-items: center;
    }
  }

  @media (hover: hover) {
    .home .rings {
      min-height: 640px;
    }
  }

  .home .rings .ringsPosition {
    margin: 180px auto 200px;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) and (orientation: portrait) {
  .home .rings {
    margin-top: 150px;
  }

  .home .rings .ringsPosition {
    margin: 100px auto;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .home .rings {
    flex: 1 1 0;
  }
}

@media (max-height: 900px) and (min-width: 1024px) {
  .home .rings .ringsPosition {
    width: 440px;
    height: 205px;
    margin: 130px auto 120px;
  }
}

@media (max-height: 900px) and (min-width: 1280px) {
  .home .rings .ringsPosition {
    width: 500px;
    height: 230px;
  }
}

@media (min-height: 901px) and (min-width: 1024px) and (max-width: 1279px) {
  .home .rings .ringsPosition {
    width: 470px;
    height: 225px;
  }
}

@media (min-height: 901px) and (min-width: 1280px) and (max-width: 1439px) {
  .home .rings .ringsPosition {
    width: 510px;
    height: 230px;
  }
}

@media (min-height: 901px) and (min-width: 1440px) and (max-width: 1659px) {
  .home .rings .ringsPosition {
    width: 590px;
    height: 280px;
  }
}

@media (min-height: 901px) and (min-width: 1660px) {
  .home .rings .ringsPosition {
    width: 680px;
    height: 315px;
  }
}

@media (min-width: 3840px) {
  .home .rings .ringsPosition {
    width: 880px;
    height: 410px;
  }
}

/* !SECTION */

/* SECTION Ring error */

.ringErrorPage .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
  border-radius: 15px;
}

.ringErrorPage .wrapper h2 {
  margin-bottom: 10px;
  text-align: center;
}

.ringErrorPage .wrapper h3 {
  margin-bottom: 40px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

/* ANCHOR Media Query */

@media (min-width: 768px) {
  .ringErrorPage .wrapper {
    width: 730px;
  }
}

@media (max-width: 767px) {
  .ringErrorPage .wrapper {
    width: calc(100% - 20px);
  }
}

/* !SECTION */

/* SECTION Ring Click */

/* ANCHOR Click */

.ringClick {
  width: var(--ring-size);
  height: var(--ring-size);
  display: flex;
  z-index: 1;
  position: absolute;
  transition: width 0.2s ease, height 0.2s ease;
}

.ringClick:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  transition: border 0.2s ease;
  border: var(--ring-thickness) solid;
  top: 8px;
  left: 0;
  z-index: -1;
}

/* ANCHOR Media Query */

/* ANCHOR Mobile */

@media (max-width: 767px) {
  .ringClick {
    --ring-size: 125px;
    --ring-thickness: 12px;
  }

  .ringClick:before {
    top: 6px;
  }
}

@media (max-width: 425px) {
  .ringClick {
    --ring-size: 115px;
    --ring-thickness: 12px;
  }
}

@media (max-width: 375px) {
  .ringClick {
    --ring-size: 105px;
    --ring-thickness: 10px;
  }
}

@media (max-width: 320px) {
  .ringClick {
    --ring-size: 90px;
    --ring-thickness: 8px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ringClick {
    --ring-size: 215px;
    --ring-thickness: 21px;
  }
}

@media (max-height: 900px) and (min-width: 1024px) {
  .ringClick {
    --ring-size: 140px;
    --ring-thickness: 14px;
  }
}

@media (max-height: 900px) and (min-width: 1280px) {
  .ringClick {
    --ring-size: 160px;
    --ring-thickness: 16px;
  }
}

@media (min-height: 901px) and (min-width: 1024px) {
  .ringClick {
    --ring-size: 150px;
    --ring-thickness: 14px;
  }
}

@media (min-height: 901px) and (min-width: 1280px) {
  .ringClick {
    --ring-size: 160px;
    --ring-thickness: 16px;
  }
}

@media (min-height: 901px) and (min-width: 1440px) {
  .ringClick {
    --ring-size: 190px;
    --ring-thickness: 19px;
  }
}

@media (min-height: 901px) and (min-width: 1660px) {
  .ringClick {
    --ring-size: 215px;
    --ring-thickness: 21px;
  }
}

@media (min-width: 3840px) {
  .ringClick {
    --ring-size: 280px;
    --ring-thickness: 26px;
  }
}

@media (hover: hover) {
  .ringsPosition:hover .ringClick:not(:hover) {
    opacity: 0.2;
  }

  .ringClick:hover h2,
  .ringsPosition:hover .ringClick:not(:hover) h2 {
    opacity: 0;
  }
}

.ringClick.one {
  top: 0;
  left: 0;
}

.ringClick.two {
  bottom: 0;
  left: calc(33% - (var(--ring-size) / 2));
}

.ringClick.three {
  top: 0;
  left: calc(50% - (var(--ring-size) / 2));
}

.ringClick.four {
  bottom: 0;
  left: calc(66% - (var(--ring-size) / 2));
}

.ringClick.five {
  top: 0;
  left: calc(100% - var(--ring-size));
}

.ringClick .ring {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: var(--ring-thickness) solid;
}

.ringClick.one .ring {
  border-color: var(--blue-darker);
}

.ringClick.two .ring {
  border-color: var(--blue-lighter);
}

.ringClick.three .ring {
  border-color: var(--blue-dark);
}

.ringClick.four .ring {
  border-color: var(--blue-light);
}

.ringClick.five .ring {
  border-color: var(--blue-med);
}

.ringClick.one:before {
  border-color: var(--blue-darker-shadow);
}

.ringClick.two:before {
  border-color: var(--blue-lighter-shadow);
}

.ringClick.three:before {
  border-color: var(--blue-dark-shadow);
}

.ringClick.four:before {
  border-color: var(--blue-light-shadow);
}

.ringClick.five:before {
  border-color: var(--blue-med-shadow);
}

/* ANCHOR Click Title */

.ringClick h2 {
  pointer-events: none;
  font-weight: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.ringClick:nth-child(odd) h2 {
  bottom: calc(100% + 20px);
}

.ringClick:nth-child(even) h2 {
  top: calc(100% + 20px);
}

.ringClick h2 span {
  font-weight: var(--medium);
}

/* ANCHOR Media Query */

/* ANCHOR Mobile */

@media (max-width: 767px) {
  .ringClick h2 {
    font-size: var(--F12);
    width: 100px;
  }
}

@media (max-width: 425px) {
  .ringClick h2 {
    font-size: var(--F10);
    width: 90px;
  }
}

/* ANCHOR Tablet */

@media (min-width: 768px) and (max-width: 1023px) {
  .ringClick h2 {
    font-size: var(--F10);
    width: 100px;
  }
}

/* ANCHOR Desktop */

@media (min-width: 1024px) {
  .ringClick h2 {
    font-size: var(--F18);
    width: 170px;
  }
}

@media (max-height: 900px) and (min-width: 1024px) {
  .ringClick h2 {
    font-size: var(--F16);
    line-height: var(--F19);
    width: 130px;
  }
}

/* !SECTION */

/* SECTION Ring Description */

/* ANCHOR Media Query */

@media (min-width: 1024px) {
  .ringDescription {
    position: absolute;
    bottom: 50px;
    left: 50px;
  }

  @media (hover: none) {
    .ringDescription {
      display: none;
    }
  }

  @media (hover: hover) {
    .ringDescription.hidden {
      opacity: 0;
    }

    .ringDescription.show {
      opacity: 1;
    }
  }
}

@media (max-height: 900px) and (min-width: 1024px) {
  .ringDescription {
    bottom: 30px;
  }
}

@media (max-width: 1023px) {
  .ringDescription {
    display: none;
  }
}

.ringDescription .currentRing {
  font-size: var(--F18);
  text-transform: uppercase;
  margin-bottom: 10px;
  user-select: none;
}

.ringDescription .phasesWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.ringDescription h3 {
  font-size: var(--F40);
  line-height: var(--F40);
  font-weight: var(--black);
  text-transform: uppercase;
  text-align: left;
  width: 300px;
  user-select: none;
}

/* ANCHOR Media Query */

@media (min-height: 901px) and (min-width: 1024px) {
  .ringDescription h3 {
    width: 350px;
  }
}

@media (max-height: 900px) and (min-width: 1024px) {
  .ringDescription h3 {
    font-size: var(--F35);
    line-height: var(--F35);
  }
}

.ringDescription .phases {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}

.ringDescription .phaseItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 110px;
}

.ringDescription .phaseItem.done {
  opacity: 0.5;
}

/* .ringDescription .phaseItem + .phaseItem {
  margin-left: 30px;
}
 */
.ringDescription .phaseItem p {
  font-size: var(--F16);
  line-height: var(--F18);
  font-weight: var(--bold);
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  top: 90%;
  user-select: none;
}

.ringDescription .currentPoints {
  background-color: var(--white);
  border-radius: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px 20px;
}

.ringDescription .currentPoints .title {
  font-size: var(--F09);
  line-height: var(--F10);
  font-weight: var(--bold);
  text-transform: uppercase;
  width: 70px;
}

.ringDescription .currentPoints .content {
  font-size: var(--F40);
  font-weight: var(--black);
  text-transform: uppercase;
  color: var(--blue-med);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}

.ringDescription .currentPoints .content span {
  font-size: var(--F15);
  font-weight: var(--medium);
  text-transform: uppercase;
  color: var(--blue-darker);
  margin-top: -5px;
}

/* !SECTION */
