.popup {
  position: fixed;
  z-index: 110;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  overflow-y: auto;
  display: none;
  overflow: hidden;
}
.popup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/box.png") top center repeat-y;
  background-size: 100% auto;
}
.popup__wrapper {
  position: relative;
  z-index: 3;
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
  padding: 8vw 0 5vw;
  border-radius: 30px;
  background: url("../images/bg.jpg") top right no-repeat ;
  background-size: cover;
}
@media (min-width: 996px) {
  .popup__wrapper {
    padding-top: 60px;
    padding-bottom: 20px;
    width: 80%;
  }
}
.popup__inner {
  position: relative;
  z-index: 5;
}
@media (min-width: 996px) {
  .popup__inner {
    height: 80vh;
    margin-top: 5vh;
  }
}
@media (min-width: 1930px) {
  .popup__inner {
    max-width: 1700px;
  }
}
.popup__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
}
.popup__header {
  position: relative;
  text-align: center;
  font-size: var(--title-xl);
  padding-bottom: 35px;
  text-shadow: #534c4c 0.5px 1px 1px;
}
.popup__header::after {
  content: "";
  display: block;
  position: relative;
  width: 150px;
  height: 10px;
  margin: 10px auto;
  background: url("../images/line.png") top center no-repeat ;
  background-size: cover;
}
.popup__content {
  overflow-y: auto;
  height: 80vh;
  line-height: 1.8;
  text-shadow: #534c4c 0.5px 1px 1px;
  padding: 0 25px;
}
@media (min-width: 996px) {
  .popup__content {
    padding: 0 60px;
    height: 65vh;
  }
}
.popup__content h3 {
  font-size: 20px;
  padding-bottom: 20px;
}
.popup__content ul {
  margin-left: 20px;
}
.popup__content ul li {
  list-style: disc;
  padding: 5px 0;
}
.popup__content::-webkit-scrollbar {
  width: 6px;
  background: #43322b;
}
.popup__content::-webkit-scrollbar-thumb {
  background: url("../images/paper-bg.jpg") left bottom no-repeat ;
  background-size: cover;
}
.popup-close {
  position: fixed;
  right: calc(50% - 25px);
  bottom: 20px;
  z-index: 5;
  width: 45px;
  height: 45px;
  border-radius: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: url("../images/bg-content.png") left bottom no-repeat ;
  background-size: cover;
}
.popup-close::before {
  content: "\ea02";
  font-family: "msi-icons";
}
.popup-close:hover {
  filter: drop-shadow(0 0 5px rgba(240, 255, 0, 0.75)) brightness(1.2);
}

.winner .title {
  text-align: center;
}
@media (min-width: 768px) {
  .winner .title {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.winner .title h2 {
  font-size: 20px;
}
.winner .title p {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 25px;
}
@media (min-width: 768px) {
  .winner .title p::before {
    content: "X";
    margin-right: 25px;
  }
}
.winner .title span {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url("../images/btn.jpg") center center no-repeat ;
  background-size: cover;
  color: #000;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  margin-right: 8px;
}
.winner__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 25px;
}
.winner__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/bg-content.png") center center no-repeat ;
  background-size: cover;
  opacity: 0.3;
}
.winner__item ol {
  display: flex;
  flex-wrap: wrap;
}
.winner__item ol li {
  position: relative;
  width: calc(50% - 20px);
  margin: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.winner__item ol li span {
  position: relative;
  z-index: 2;
}
@media (min-width: 996px) {
  .winner__item .title {
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: #444 2px solid;
  }
  .winner__item .title h2 {
    font-size: 22px;
    font-style: italic;
  }
  .winner__item .list li {
    width: calc(20% - 20px);
  }
}
