/* import */
@import url(./reset.css);
@import url(./header.css);
@import url(./footer.css);
/* //import */

:root {
  --main-padding: calc((100% - 1680px) / 2);
  --common-radius: 24px;
  --common-button-height: 48px;
}

@media (max-width: 1750px) {
  :root {
    --main-padding: 4%;
  }
}

@import url(./reset.css);
@import url(./header.css);
@import url(./footer.css);
@import url(./popup.css);

:root {
  --main-padding: calc((100% - 1680px) / 2);
  --common-radius: 24px;
  --common-button-height: 48px;
}

[data-trigger] {
  opacity: 0;
}

[data-trigger].visible {
  opacity: 1;
  transition: 0.3s ease;
}

@media (max-width: 1750px) {
  :root {
    --main-padding: 4%;
  }
}

@media (max-width: 1500px) {
  :root {
    --common-button-height: 45px;
    --common-radius: 20px;
  }
}
@media (max-width: 1024px) {
  :root {
    --common-button-height: 42px;
    --common-radius: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --common-radius: 10px;
  }
}

* {
  transition: 0.3s ease;
}

.btn_cta {
  width: fit-content;
  color: #00468b;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.72px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--common-button-height);
  padding: 0 20px;
  min-width: fit-content;
  position: relative;
  z-index: 1;
}

.btn_cta.blue {
  background: #00468b;
  color: #fff;
}
.btn_cta.deepblue {
  background: #0d2155;
  color: #fff;
}

.btn_cta:hover {
  background: #00468b;
  color: #fff;
}

.btn_cta.blue:hover {
  background: #0d2155;
}

@media (max-width: 1500px) {
  .btn_cta {
    font-size: 16px;
    padding: 0 15px;
  }
}
@media (max-width: 1024px) {
  .btn_cta {
    font-size: 15px;
    padding: 0 10px;
  }
  .btn_cta img {
    width: 20px;
  }
}
@media (max-width: 768px) {
  .btn_cta {
    font-size: 14px;
    border-radius: 6px;
  }
}

#common {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0;
}

#visual {
  height: auto;
  border-radius: 24px;
  background-color: #0d2155;
  background-image: url(../images/visual_bg.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  display: flex;
  justify-content: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 30px 30px 50px;
  overflow: hidden;
}

#visual .left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
#visual .left h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -1.6px;
}

#visual .left h1 strong {
  font-size: 40px;
  font-weight: 700;
}

#visual .left p,
#visual .right p {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.36px;
  text-align: left;
  width: 100%;
}

#visual .right {
  width: 550px;
  padding: 30px;
  height: 100%;
  border-radius: 16px;
  background: #0070c0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

#visual .right span {
  display: block;
  width: 100%;
  text-align: left;
  color: #fff9f9;
  font-size: 32px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.8px;
}

#visual .right span strong {
  color: #fff9f9;
  font-size: 36px;
  font-weight: 900;
  line-height: 140%;
  letter-spacing: -0.88px;
}

.visual_item01 {
  width: 740px;
  margin-top: -70px;
  margin-left: 250px;
}

.visual_item02 {
  width: 335px;
  margin: 30px 0 0;
}

#event {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px 4%;

  margin: 20px 0;
  position: relative;
  max-height: 70px;
  background: #0070c0;
  border-radius: var(--common-radius);
  transition: 0.35s ease;
  overflow: visible;
}

#event.is_unroll {
  background: transparent;
  max-height: 500px;
}

#event .btn_event {
  position: absolute;
  top: 10px;
  right: 20px;
  transition: 0.35s ease;
}

#event.is_unroll .btn_event {
  transform: rotate(180deg);
}

#event .event_roll {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 calc((100% - 1200px) / 2);
  height: 70px;
}

#event .event_roll span {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 155%; /* 43.4px */
  align-self: center;
}

#event .event_roll p {
  color: #fff;
  font-family: "Noto Sans KR";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 34px */
  letter-spacing: -0.8px;
}

#event .event_roll img {
  min-height: calc(100% + 20px);
  height: calc(100% + 20px);
  margin-left: auto;
  align-self: end;
}

#event .event_list {
  display: flex;
  gap: 30px;
  display: none;
}

#event .event_list > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

#event .event_list > div span {
  color: #0070c0;
  font-size: 28px;
  font-weight: 700;
  line-height: 130%; /* 36.4px */
  letter-spacing: -1.12px;
}

#event .event_list > div p {
  color: #0d2155;
  font-size: 20px;
  font-weight: 500;
  line-height: 155%; /* 31px */
  letter-spacing: -0.8px;
}

#event.event01 .event_list img {
  max-width: 325px;
  object-fit: contain;
}
#event.event02 .event_list img {
  max-width: 235px;
  object-fit: contain;
}

#event.event02 {
  display: none;
}

.result_page #event.event01 {
  display: none;
}
.result_page #event.event02 {
  display: flex;
}

#event.is_unroll .event_roll {
  display: none;
}

#event.is_unroll .event_list {
  display: flex;
}

@media (max-width: 1680px) {
  #visual {
    height: fit-content;
    border-radius: 0;
  }
  #visual .left h1 {
    font-size: 32px;
  }

  #visual .left h1 strong {
    font-size: inherit;
  }

  #visual .left p,
  #visual .right p {
    font-size: 16px;
  }

  #visual .left p {
    margin-bottom: 20px;
  }

  #visual .right {
    padding: 30px;
  }

  .visual_item02 {
    margin: 20px 0;
  }

  #visual .right span {
    font-size: 24px;
  }

  #visual .right span strong {
    font-size: inherit;
  }

  #event {
    width: 92%;
    margin: 20px auto;
  }
}

@media (max-width: 1500px) {
  .visual_item01 {
    margin-top: -50px;
    margin-left: 0px;
  }
}

@media (max-width: 1350px) {
  #event .event_roll {
    padding-right: 40px;
  }
}

@media (max-width: 1024px) {
  #visual {
    flex-direction: column;
    gap: 0;
    background-image: none;
    align-items: center;
    border-radius: 0;
    padding: 20px var(--main-padding);
  }
  #visual * {
    text-align: center !important;
  }

  #visual .left,
  #visual .right {
    width: 100%;
    padding: 20px;
  }

  #visual .right {
    padding: 20px;
    width: 100%;
    gap: 10px;
  }

  #visual .left {
    width: 100%;
    padding: 0;
    background-image: url(../images/visual_bg.png);
    background-position: bottom 100px center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  #visual .left p {
    margin-bottom: 0;
  }

  #visual .left h1 {
    font-size: 28px;
  }

  #visual a {
    margin: 0 auto;
  }

  .visual_item01,
  .visual_item02 {
    pointer-events: all;
  }

  .visual_item01 {
    margin-top: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .visual_item02 {
    width: 100%;
    max-width: 400px;
    margin: 0;
  }

  #visual .right span {
    font-size: 20px;
  }

  #event .event_list span {
    font-size: 20px;
  }

  #event .event_list p {
    font-size: 16px;
  }

  #event > img {
    width: 250px;
  }

  #event .event_roll {
    height: 60px;
    gap: 10px;
  }

  #event .btn_event img {
    width: 40px;
  }

  #event .event_roll span {
    font-size: 22px;
  }

  #event .event_roll p {
    font-size: 16px;
  }

  #event .event_list li div span {
    font-size: 18px;
  }
  #event .event_list li div p {
    font-size: 14px;
  }

  #event .event_list li > img {
    width: 140px;
  }

  #event .event_list li {
    padding: 15px;
  }

  #event .event_list > div span {
    font-size: 22px;
  }

  #event .event_list > div p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  #visual .left h1 {
    font-size: 24px;
  }

  #visual .left p br {
    display: none;
  }

  #visual .right span {
    font-size: 18px;
  }

  #event {
    flex-direction: column;
  }

  #event .event_list span {
    font-size: 18px;
  }

  #event .event_list > div span {
    padding-right: 10%;
  }

  #event .event_list {
    flex-direction: column;
  }
  #event .event_list li {
    width: 100%;
    padding: 0;
    border: none;
  }

  #event .event_list li:not(:last-child) {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px;
  }

  #event .event_roll p {
    display: none;
  }

  #event .event_list img {
    margin: 0 auto;
  }
}

@media (max-width: 550px) {
  #visual * {
    text-align: left !important;
  }

  #visual .left h1 {
    font-size: 20px;
  }
  #visual .left h1 br {
    display: none;
  }

  #visual .left p,
  #visual .right p {
    font-size: 14px;
  }

  #visual .right span {
    font-size: 16px;
  }

  #event .event_roll span {
    font-size: 20px;
  }

  #event .event_roll img {
    min-height: 95%;
    height: 95%;
  }
}
