body {
  background-image: url(/assets/img/back.png);
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body::after {
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: -1;
  opacity: 0.5;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}

:root {
  font-family: "Gilroy", sans-serif;
}

.payment-page {
  max-width: 1200px;
  margin: 20px auto 50px;
  padding: 0 20px;
}

.payment-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-title {
  font-weight: 600;
  font-size: 28px;
  color: #fff;
  margin: 30px 0;
}

/* Список банков */
.bank-list-container {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  max-width: 430px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.bank-list {
  background-color: #fff;
  border-radius: 10px 10px 0 0;
  padding: 20px;
  width: 100%;
  height: 600px;
  max-width: 100%;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.bank-list h3 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 28px;
  color: #000;
}

.bank-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bank-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: scroll;
  height: 400px;
  margin-top: 20px;
}

.bank-list input[type="radio"] {
  position: absolute;
  right: 20px;
}

.payment-button.pay-now.spb-pay::after {
  content: "";
  background-image: url(/assets/icons/spb_w.svg);
  width: 70px;
  height: 38px;
}


.hidden {
  display: none;
}

#mainPaymentInterface {
  display: flex;
  gap: 30px;
  align-items: center;
}

#cardPaymentInterface {
  width: 100%;
}

.payment-button.pay-now.spb-pay {
  gap: 10px;
}

.bank-list li>label {
  border-radius: 15px;
  padding: 10px 10px 10px 20px;
  width: 100%;
  background: #ebebeb;
  position: relative;
  color: #000;
  font-weight: 500;
  font-size: 18px;
  color: #000;
  min-height: 73px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.bank-list li:last-child {
  border-bottom: none;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: #000;
  cursor: pointer;
}

.payment-button.tpay::after {
  content: "";
  width: 70px;
  display: block;
  background-image: url(/assets/icons/tpay.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  height: 29px;
}

.payment-button.tpay {
  background-color: #ffdd2d;
  grid-row-start: 2;


}

.payment-button.mir::before {
  content: "";
  width: 70px;
  display: block;
  background-image: url(/assets/icons/mir.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  height: 25px;
}

.payment-button.mir {
  background: #0f754e;
  color: #fff;
  font-weight: 300;
  grid-row-start: 2;

}

.payment-button.sber::before {
  content: "";
  width: 30px;
  display: block;
  background-image: url(/assets/icons/sber.svg);
  background-size: contain;
  background-repeat: no-repeat;
  height: 29px;
}

.payment-button.sber {
  background: #21A038;
  color: #fff;
  font-weight: 300;
  grid-row-start: 3;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
  max-width: 300px;
}

.toast.error {
  background: #d32f2f;
}

.toast.success {
  background: #2e7d32;
}

.toast.show {
  opacity: 1;
}


/* Анимация появления списка банков */
@keyframes slide-up {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Анимация исчезновения списка банков */
@keyframes slide-down {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(100%);
  }
}

.slide-up {
  animation-name: slide-up;
}

.slide-down {
  animation-name: slide-down;
}

/* Кнопка "Оплатить" после выбора банка */
.pay-with-bank {
  margin-top: 20px;
}

.pay-with-bank p {
  margin-bottom: 10px;
  font-size: 16px;
}

.search-container input {
  border-radius: 15px;
  padding: 10px 10px 10px 20px;
  width: 100%;
  color: #000;
  background: #ebebeb;
  height: 73px;
  position: relative;
}

.search-container {
  position: relative;
}

.payment-button.spb {
  grid-row-start: 3;

}

.spb-pay {
  width: 100%;
  background: linear-gradient(360deg, #9378ff 0%, #5c3cdb 100%);
  border-radius: 15px;
  padding: 10px;
  height: 70px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  z-index: 999999;
  position: relative;
  bottom: 90px;
  left: 0;
}

.bank-list .close-button {
  background-image: url(/assets/icons/close_pay.svg);
  width: 20px;
  height: 20px;
  background-size: contain;
  position: absolute;
  top: 26px;
  right: 20px;
}

.search-container:after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  background-image: url(/assets/icons/search_bar.svg);
}

.search-container input::placeholder {
  font-weight: 500;
  font-size: 18px;
  color: #8d8d8d;
}

.discounted-price {
  font-weight: 600;
  font-size: 48px;
  color: #fff;
}

.original-price {
  font-weight: 500;
  font-size: 28px;
  text-decoration: line-through;
  color: #FD4A76;
}

.discount {
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  border-radius: 50px;
  padding: 9px 13px;
  background: radial-gradient(766.78% 137.07% at 100% 6.25%, #ff3b83 0%, #f68944 100%);
}

.payment-price {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-email {
  display: flex;
  flex-direction: column;
}

.payment-email label {
  font-weight: 500;
  font-size: 18px;
  color: #7d7d7d;
  margin-bottom: 10px;
}

.payment-email input {
  border-radius: 15px;
  padding: 10px 10px 10px 20px;
  width: 100%;
  background: #ebebeb;
  color: #000;
  height: 73px;
  font-weight: 500;
  font-size: 18px;
}

.payment-email input::placeholder {
  font-weight: 500;
  font-size: 18px;
  color: #8d8d8d;
}

.payment-terms {
  margin-top: 20px;
}

.terms-block label {
  font-weight: 400;
  font-size: 14px;
  color: #7d7d7d;
}

.terms-block a {
  color: #fd4c74 !important;
}

input[type="checkbox"] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5);
  /* IE */
  -moz-transform: scale(1.5);
  /* FF */
  -webkit-transform: scale(1.5);
  /* Safari and Chrome */
  -o-transform: scale(1.5);
  /* Opera */
  transform: scale(1.5);
  padding: 10px;
  accent-color: #FD4A76;

  position: relative;
  transform: scale(1.5);
  padding: 10px;
  top: 5px;
}

.terms-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
}

.terms-block label a {
  font-weight: 400;
  font-size: 14px;
  color: #fd4c74;
}

.payment-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  flex-direction: column;
}

.payment-button:not(fist-child) {
  font-weight: 600;
  font-size: 18px;
  color: #000;
  border-radius: 15px;
  padding: 10px;
  width: 100%;
  display: flex;
  height: 70px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.payment-button.spb::after {
  content: "";
  width: 70px;
  height: 38px;
  display: block;
  background-image: url(/assets/icons/spb.svg);
}

.card-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.payment-button.card {
  background: radial-gradient(766.78% 137.07% at 100% 6.25%, #ff3b83 0%, #f68944 100%);
  border-radius: 15px;
  padding: 10px;
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  height: 70px;
  grid-column: span 2 / span 2;

}

.payment-image {
  flex: 1;
}

.payment-block {
  flex: 1;
}

.payment-buttons button:disabled {
  opacity: 0.5;
}

.card-form-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-button {
  font-weight: 500;
  font-size: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #7d7d7d;
}

.back-button::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url(/assets/icons/close.svg);
  display: block;
}

.card-form .card-input:first-child {
  background-image: url(/assets/img/backcard.webp);
  background-size: cover;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 340px;
  justify-content: flex-end;
  padding: 120px 15px 15px;
  position: relative;
  width: 50%;
  z-index: 9;
  left: 81px;
}

.payment-buttons button:disabled {
  opacity: 0.5;
}

.payment-buttons button {
  opacity: 1;
  transition: 0.2s;
}

.card-form .card-input:first-child label {
  margin-bottom: 5px;
}

.card-form .card-input:nth-child(2) {
  padding-left: 50px;
  background: #1d1d1d;
  border-radius: 15px 0 0 15px;
  flex: 1 1;
  padding: 15px;
  position: relative;
  top: -15px;
  width: 270px;
  z-index: 1;
  top: 130px;
  left: -79px;
}

.card-form .card-input:nth-child(2) input {
  background: #ebebeb;
  border-radius: 15px;
  height: 72px;
  color: #000;
  padding: 0 0 0 15px;
  width: 100%;
}

.card-form .card-input:nth-child(2) label {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
  margin-top: 49px;
}

.card-form .card-input:nth-child(3) {
  background: #1d1d1d;
  border-radius: 0 15px 15px 0;
  flex: 1 1;
  padding: 15px;
  position: relative;
  top: -15px;
  width: 280px;
  z-index: 1;
  top: 130px;
  left: -79px;
}

.total-amount {
  color: #7d7d7d;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  left: 81px;
  position: relative;
}


#cardPayButton {
  margin-top: 100px;
}

.total-amount .amount {
  font-weight: 600;
  font-size: 48px;
  color: #fff;
}

.pay-now {
  width: 100%;
  background: linear-gradient(360deg, #9378ff 0%, #5c3cdb 100%);
  border-radius: 15px;
  padding: 10px;
  height: 70px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.card-form .card-input:nth-child(3) input {
  background: #ebebeb;
  border-radius: 15px;
  width: 100%;
  color: #000;

  height: 72px;
  padding: 0 0 0 15px;
}

.cvv-input {
  position: relative;
}

.show-cvv {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

.card-form .card-input:nth-child(3) label {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
  margin-top: 49px;
}

.card-input {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#card-number {
  background: #ebebeb;
  border-radius: 15px;
  padding: 0 10px 0 20px;
  height: 72px;
  color: #000;
}

.card-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer__container {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 60px 0;
  flex-wrap: wrap;
  background: #1D1D1D;
}

footer {
  background: #1D1D1D;
}

.footer__right {
  display: flex;
  flex-direction: column;
}

.footer__right a {
  font-family: Gilroy;
  font-weight: 400;
  font-size: 18px;
  line-height: 21.6px;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 0%;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: inherit;
}

.footer__left {
  font-family: Gilroy;
  font-weight: 400;
  font-size: 18px;
  line-height: 21.6px;
  color: #fff;
  letter-spacing: 0%;
}

.footer__left a {
  color: #fff;
}

@media (max-width: 768px) {
  .footer__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 60px 15px;
    gap: 60px;
  }

  footer {
    background: #1d1d1d;
  }

  #cardPayButton {
    margin-top: 20px;
  }

  .payment-image {
    width: 100%;
  }

  .payment-container {
    display: flex;
    gap: 20px;
    flex-direction: column;
  }

  .payment-title {
    font-weight: 600;
    font-size: 28px;
    color: #fff;
    margin: 30px 0;
  }

  .discounted-price {
    font-weight: 600;
    font-size: 48px;
    color: #fff;
  }

  .original-price {
    font-weight: 500;
    font-size: 28px;
    text-decoration: line-through;
    color: #5c3cdb;
  }

  .discount {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    border-radius: 50px;
    padding: 9px 13px;
    background: linear-gradient(360deg, #9378ff 0%, #5c3cdb 100%);
  }

  .payment-price {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .payment-email {
    display: flex;
    flex-direction: column;
  }

  .payment-email label {
    font-weight: 500;
    font-size: 18px;
    color: #7d7d7d;
    margin-bottom: 10px;
  }

  .payment-email input {
    border-radius: 15px;
    padding: 10px 10px 10px 20px;
    width: 100%;
    background: #ebebeb;
    color: #000;
    height: 73px;
    font-weight: 500;
    font-size: 18px;
  }

  .payment-email input::placeholder {
    font-weight: 500;
    font-size: 18px;
    color: #8d8d8d;
  }

  .payment-terms {
    margin-top: 20px;
  }

  .terms-block label {
    font-weight: 400;
    font-size: 14px;
    color: #7d7d7d;
  }

  input[type="checkbox"] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5);
    /* IE */
    -moz-transform: scale(1.5);
    /* FF */
    -webkit-transform: scale(1.5);
    /* Safari and Chrome */
    -o-transform: scale(1.5);
    /* Opera */
    transform: scale(1.5);
    padding: 10px;
    accent-color: #F68944;

    position: relative;
    transform: scale(1.5);
    padding: 10px;
    top: 5px;
  }

  #mainPaymentInterface {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: column;
  }

  .terms-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 15px;
  }

  .terms-block label a {
    font-weight: 400;
    font-size: 14px;
    color: #fd4c74;
  }

  /* .payment-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-direction: column;
  } */

  .payment-button.spb {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    border-radius: 15px;
    padding: 10px;
    width: 100%;
    display: flex;
    height: 70px;
    background: #fff !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .payment-button.spb::after {
    content: "";
    width: 70px;
    height: 38px;
    display: block;
    background-image: url(/assets/icons/spb.svg);
  }


  .payment-button.card {
    background: linear-gradient(360deg, #9378ff 0%, #5c3cdb 100%);
    border-radius: 15px;
    padding: 10px;
    width: 100%;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    height: 70px;
  }

  .card-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .back-button {
    font-weight: 500;
    font-size: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #7d7d7d;
  }

  .back-button::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(/assets/icons/close.svg);
    display: block;
  }

  .card-form .card-input:first-child {
    background-image: url(/assets/img/backcard.webp);
    background-size: cover;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    max-height: fit-content;
    padding: 120px 15px 15px;
    position: relative;
    width: 100%;
    z-index: 9;
    left: auto;
    width: 100%;
    height: 230px;
  }

  .payment-buttons button:disabled {
    opacity: 0.5;
  }

  .payment-buttons button:not(:first-child) {
    font-size: 0 !important;
    gap: 0;
    transition: 0.2s;
  }

  .card-form .card-input:first-child label {
    margin-bottom: 5px;
  }

  .card-form .card-input:nth-child(2) {
    background: #1d1d1d;
    padding: 15px;
    border-radius: 0 0 0 15px;
    position: relative;
    width: 48%;
    top: -15px;
    flex: 1;
    left: auto;

    z-index: 1;
  }

  .card-form .card-input:nth-child(2) input {
    background: #ebebeb;
    border-radius: 15px;
    height: 72px;
    color: #000;
    padding: 0 0 0 15px;
    width: 100%;
  }

  .card-form .card-input:nth-child(2) label {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
    margin-top: 49px;
  }

  .card-form .card-input:nth-child(3) {
    background: #1d1d1d;
    padding: 15px;
    border-radius: 0 0 15px 0;
    position: relative;
    top: -15px;
    z-index: 1;
    left: auto;
    flex: 1;
    width: 48%;
  }

  .total-amount {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 18px;
    left: auto;
    color: #7d7d7d;
  }

  .total-amount .amount {
    font-weight: 600;
    font-size: 48px;
    color: #fff;
  }

  .pay-now {
    width: 100%;
    background: linear-gradient(360deg, #9378ff 0%, #5c3cdb 100%);
    border-radius: 15px;
    padding: 10px;
    height: 70px;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
  }

  .card-form .card-input:nth-child(3) input {
    background: #ebebeb;
    border-radius: 15px;
    width: 100%;
    color: #000;

    height: 72px;
    padding: 0 0 0 15px;
  }

  .cvv-input {
    position: relative;
  }

  .show-cvv {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .card-form .card-input:nth-child(3) label {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
    margin-top: 49px;
  }

  .card-input {
    display: flex;
    flex-direction: column;
  }

  #card-number {
    background: #ebebeb;
    border-radius: 15px;
    padding: 0 10px 0 20px;
    height: 72px;
    color: #000;
  }

  .card-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Список банков */
  .bank-list-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }

  .bank-list {
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    width: 100%;
    height: 600px;
    max-width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  }

  .bank-list h3 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 28px;
    color: #000;
  }

  .bank-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .bank-list ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-x: scroll;
    height: 400px;
    margin-top: 20px;
  }

  .bank-list input[type="radio"] {
    position: absolute;
    right: 20px;
  }

  .payment-button.pay-now.spb-pay::after {
    content: "";
    background-image: url(/assets/icons/spb_w.svg);
    width: 70px;
    height: 38px;
  }

  .payment-button.pay-now.spb-pay {
    gap: 10px;
  }

  .bank-list li {
    border-radius: 15px;
    padding: 10px 10px 10px 20px;
    width: 100%;
    background: #ebebeb;
    position: relative;
    color: #000;
    font-weight: 500;
    font-size: 18px;
    color: #000;
    min-height: 73px;
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  .bank-list li:last-child {
    border-bottom: none;
  }

  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #000;
    cursor: pointer;
  }

  /* Анимация появления списка банков */
  @keyframes slide-up {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  /* Анимация исчезновения списка банков */
  @keyframes slide-down {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(100%);
    }
  }

  .slide-up {
    animation-name: slide-up;
  }

  .slide-down {
    animation-name: slide-down;
  }

  /* Кнопка "Оплатить" после выбора банка */
  .pay-with-bank {
    margin-top: 20px;
  }

  .pay-with-bank p {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .search-container input {
    border-radius: 15px;
    padding: 10px 10px 10px 20px;
    width: 100%;
    color: #000;
    background: #ebebeb;
    height: 73px;
    position: relative;
  }

  .search-container {
    position: relative;
  }

  .spb-pay {
    width: 100%;
    background: linear-gradient(360deg, #9378ff 0%, #5c3cdb 100%);
    border-radius: 15px;
    padding: 10px;
    height: 70px;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    z-index: 999999;
    position: relative;
    bottom: 90px;
    left: 0;
  }

  .bank-list .close-button {
    background-image: url(/assets/icons/close_pay.svg);
    width: 20px;
    height: 20px;
    background-size: contain;
    position: absolute;
    top: 26px;
    right: 20px;
  }

  .search-container:after {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    background-image: url(/assets/icons/search_bar.svg);
  }

  .search-container input::placeholder {
    font-weight: 500;
    font-size: 18px;
    color: #8d8d8d;
  }
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}