@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');

#banner h1 {font-family: 'Rock Salt', cursive;}
#banner h2 {font-size: 1em;padding:0;}
#banner h2 p {line-height:1.2em;}

#banner-content {
       height: 580px;
       /* border: 1px solid #aaa; */
  /* min-height:1630px !important; */
}
#banner-content div.rolled {
  height: 560px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  border: 1px solid transparent;
}

#banner-content .section-heading {
  padding-left: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
#banner-content .section-heading h2 {width: 60%;}
#banner-content .section-heading h2 p {
  /* font-size: 1.1em;line-height: 1.4em; */
  text-align:justify;
}
/* #banner-content .section-heading h2 p.large {font-size: 1.1em;} */
p.roll_gap_03 {height: 50px;margin:0;padding:0;}
span.LargeMent {margin-top: 20px;font-size: 3em; letter-spacing:-5px;line-height: 1.5em;}

#testimonials h2 {
  margin-top: 60px;
  font-family: 'Oswald', 'NanumSquareNeo', 'AppleSDGothicNeo-Regular';
}
main#content {margin-top:0;}
h3 {margin-top: 40px;font-size:1.4em;}
#about h3:after, #recently h3:after {
    background: rgba(71,141,226,0.5);
    content: "";
    display: block;
    width: 30px;
    height: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}
span.count {
  color: darkviolet;
  font-weight:bold;
  font-size: 1.4em;
}
#dancer_left {display:none;width:70%;margin-top:50px;margin-left:25%;}
.shorts-container {
   position: relative;
   width: 100%;
   height: 380px;
}
.shorts-iframe {
   position: absolute;
   width: 100%;
   height: 100%;
   left: 0;
   top: 0;
   border: none;
}
div.sub-title-line h3 {
  width: calc(100% - 120px);
}
div.sub-title-line span.more {
  float: right;
  margin-top: -93px;
  margin-right: 5px;
  font-family: 'Oswald', 'NanumSquareNeo', 'AppleSDGothicNeo-Regular';
}

.top_player_title {
  text-align:center;width: 100%;padding-bottom: 50px;
  font-family: 'Oswald', 'NanumSquareNeo', 'AppleSDGothicNeo-Regular';
}

ol#topplayer {
  list-style-type: none;
  counter-reset: my-counter;
}
ol#topplayer>li {
  padding-bottom: 10px;
  width: 20%;
  min-width: 175px;
  float: left;
}
ol#topplayer>li:before {
  font-family: 'Oswald', 'NanumSquareNeo', 'AppleSDGothicNeo-Regular';
  counter-increment: my-counter;
  content: counter(my-counter);
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  text-align: center;
  padding-top: 5px;
  margin-right: 5px;
  vertical-align: middle;
}
ol#topplayer>li:first-child:before {
  background-color: red;
  border: 1px solid red;
  color: white;
}
ol#topplayer>li:nth-child(2):before {
  background-color: orangered;
  border: 1px solid orangered;
  color: white;
}
ol#topplayer>li:nth-child(3):before {
  background-color: orange;
  border: 1px solid orange;
  color: white;
}
ol#topplayer li span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
ol#topplayer li span:last-child {
  width: calc(100% - 110px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.8em;
  font-family: 'Oswald', 'NanumSquareNeo', 'AppleSDGothicNeo-Regular';
  filter: opacity(.7);
  line-height: 1.4em;
}
ol#topplayer li span:last-child strong {
  font-size: 1.1em;
  filter: opacity(1);
}
ol#topplayer li span img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: cover;
}
aside#testimonials blockquote {
  width: 110px;
  max-width: 25%;
  float: left;
  padding: 5px;
}
aside#testimonials blockquote footer {
  font-size: 0.9em;
}
blockquote.testimonial img {
     width: 106px;height: 106px;
     object-fit:cover;
     border: 1px solid #aaa;
     border-radius: 0;
   } 
   .testimonial.classic footer:before {
     display: none;
   }

#banner-nav {margin:0 auto 0 auto;text-align:center;}
#banner-nav i {padding: 0 5px;font-size: 1.3em;color: #333;}
#banner-nav i:hover {color: hotpink;cursor:pointer;}

/* 아이폰 미니에 최적화할 예정입니다. */
@media (max-width: 767px) {
  h1 {line-height: 1.2em !important;}
  main#content {margin:0px; padding-left: 5px !important; width: calc(100% - 10px) !important;}
  #banner h1 {font-size: 2.3em !important;}
  #banner h2 {font-size: 1em;}
  #banner h2 p {line-height: 1.4em !important;}
  div.sub-title-line h3 {font-size: 1.6em; margin-left: 20px; }
  ul.game_list h4 {font-size: 1em;  }
  div.sub-title-line {margin-left: -20px;}
  div.sub-title-line span.more {margin-right: 0px;}
  
  #banner-content.row {
    padding: 70px 0 0 0 !important;
    margin-left: -20px;
    width: calc(100% + 20px);
  }
  #banner-nav {margin: 20px auto 0 auto;}
  #banner-content {height:400px;}
  #banner-content div.rolled {height: 340px;background-size:110%;padding:0px 30px;}
  #banner-content .section-heading {padding-left: 0;border-radius: 0;}
  #banner-content .section-heading h2 {width: 100%;padding: 0;}
  #banner-content .section-heading h2 p {font-size: 0.9em;line-height: 1.1em;}
  #banner-content .section-heading h2 p.large {font-size: 0.9em;line-height: 2em;}
  p.roll_gap_03 {height: 0px;}
  span.LargeMent {font-size: 1.4em; letter-spacing:-2px;}
  
  /* 
  div.play_body li div.status_bar {display:none;}
  div.play_body li div.profile {height:auto;margin:0;padding:0;}
  div.play_body li img.profile_photo {display:none;}
  */
  #banner h1 {display:none;}
  p#COUNT {display:none;}
  .col-3 {padding-left:0;padding-right:0;width:100%;}
  ol#topplayer>li {width: 50%;}
}
@media (min-width: 768px) and (max-width: 1024px) {
  h1 {
    line-height: 0.9em !important;
    font-size: 3.8em !important;
    font-weight: normal !important;
    letter-spacing: -3px !important;
  }
  #banner h1 {white-space:nowrap;}
  #banner h2 p {font-size: 0.9em;line-height: 1.2em;}
  main#content {margin-top:0px;padding-left:0px !important;width: 100%;}
  ol#topplayer {margin-left: 10px;}
  div.play_body {padding: 10px;}
  div.sub-title-line h3 { margin-left: 12px; }
  div.sub-title-line span.more {margin-right: 10px;}
  
  #banner-content.row {height: 410px !important;}
  #banner-content div.rolled {height: 380px;}
  p.roll_gap_03 {padding-top: 0px;display:none;}
  #banner-content .section-heading {border-radius: 0;}
  #banner-content .section-heading h2 p.large {font-size: 1.1em; color: #000 !important;}
  span.LargeMent {font-size: 1.4em; letter-spacing:-2px;}
  
  p#COUNT {display:none;}
  ol#topplayer>li {width: 25%;}
}
@media (prefers-color-scheme: dark) {
  #banner-logo {content: url('/quiz/images/funquiz_bi-wide-dark.svg');}
}