@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../index/IBMPlexMono.woff') format('woff');
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../index/IBMPlexMono-Bold.woff') format('woff');
  font-style: normal;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  font-display: swap;
}

/*==============RESET===================*/

:root {
  --grey: #81888c;
  --box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
  --check-font-regular: 'IBM Plex Mono', IBM Plex, monospace;
}

/*=========check styles=========*/

.un-steps__check {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  display: block;
  margin-right: 15px;
  margin-left: 15px;
}
@media screen and (max-width: 429px) {
  .un-steps__check {
    font-size: 22px;
    line-height: 30px;
  }
}
@media screen and (min-width: 600px) {
.un-steps__check {
    margin-right: 30px;
    margin-left: 30px;
  }
}
@media screen and (min-width: 768px) {
.un-steps__check {
    margin-right: 15px;
    margin-left: 15px;
  }
}
@media screen and (min-width: 906px) {
.un-steps__check {
    margin-right: 30px;
    margin-left: 30px;
  }
}

.check {
  border: 1px grey solid;
  max-width: 100%;
  font-family: var(--check-font-regular);
  font-size: .8rem;
  margin-bottom: 25px;
}

.check__wrapper {
  padding: 0.5rem;
  line-height: 1.5;
}

.check__iban {
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
}

.check__top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.check__top-col-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
}

.check__top-col-1-row {
  display: flex;
  flex-direction: column;
}

.check__top-col-title {
  color: var(--grey);
  margin-bottom: 8px;
  margin-top: 8px;
  font-family: var(--check-font-regular);
  font-weight: 700;
}

.check__top-col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.check__bot {
  border-bottom: 3px solid #000;
}

.check__bot-grid {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr 1fr 1fr;
}

.check__bot-grid-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #000;
}

.check__bot-grid-col-title {
  font-weight: 500;
  background-color: rgba(128, 128, 128, 0.39);
  border-right: 1px solid #000;
  border-bottom: 3px solid #000;
  padding-left: 2px;
}

.check__thanks {
  text-align: right;
  display: block;
  margin: 0.5rem 2rem;
}

.un-steps__check-mobile {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  display: none;
margin-right: 15px;
  margin-left: 15px;
}
@media screen and (max-width: 429px) {
  .un-steps__check-mobile {
    font-size: 22px;
    line-height: 30px;
  }
}
@media screen and (min-width: 600px) {
.un-steps__check-mobile {
    margin-right: 30px;
    margin-left: 30px;
  }
}
@media screen and (min-width: 768px) {
.un-steps__check-mobile {
    margin-right: 15px;
    margin-left: 15px;
  }
}
@media screen and (min-width: 906px) {
.un-steps__check-mobile {
    margin-right: 30px;
    margin-left: 30px;
  }
}

/*=========check mq=========*/

@media screen and (max-width: 1150px) {
  .check {
    font-size: .7rem;
  }
}

@media (max-width: 900px) {
  .un-steps__check {
    display: none;
  }
  .un-steps__check-mobile {
    display: block;
    padding: 2rem;
    border: 1px grey solid;
    font-family: var(--check-font-regular);
	line-height: 1.3;
  margin-bottom: 25px;
  }
  .check-mobile__top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-bottom: 1.5px #666 solid;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .check-mobile__bot {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 1.5rem;
  }
  .check-mobile_lcolumn {
    display: block;
    text-align: left;
    color: #666;
  }
  .check-mobile_rcolumn {
    display: block;
    text-align: right;
    color: #000;
  }
  .check-mobile_sum-text {
    font-size: 1.4rem;
    color: #000;
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: .9rem;
    margin: .7rem 0;
  }
  .check-mobile__logo {
    margin: .5rem auto 1rem auto;
    max-width: 150px;
    width: 100%;
  }
  .check-mobile_amount,
  .check-mobile__date {
    color: #666;
    margin-bottom: 0.5rem;
  }
  .check-mobile_amount {
    font-size: 1rem;
  }
  .check-mobile__date {
    margin: 1rem auto;
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 850px) {
  .un-steps__check-mobile {
    padding: 1.5rem;
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: .8rem;
  }
}

@media (max-width: 580px) {
  .check-mobile__top {
    margin-bottom: 2rem;
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: .7rem;
    margin: .3rem 0;
  }
  .un-steps__check-mobile {
    padding: 1.5rem;
  }
  .check-mobile_sum-text {
    font-size: 1.2rem;
  }
  .check-mobile__date {
    font-size: 0.8rem;
    margin: .5rem auto;
  }
}

@media (max-width: 450px) {
  .check-mobile__top {
    margin-bottom: 1rem;
  }
  .check-mobile_amount {
    font-size: .8rem;
  }
  .check-mobile__logo {
    max-width: 100px;
    margin: .5rem auto;
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: .6rem;
  }
}

@media (max-width: 400px) {
  .un-steps__check-mobile {
    padding: .8rem;
  }
}
