
/* 2022 골든벨 메인화면 CSS */
@@charset "UTF-8";

body {
  overflow-x: hidden;

}
.background-sky {
  width: 100vw;
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #8ED6FF;
  background-image: url('../images/background01.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 50px;
}

.background-cloud-a {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: calc(660/2000*100vw);
  background-image: url('../images/cloud_a.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.background-cloud-b {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: calc(450/2000*100vw);
  background-image: url('../images/cloud_b.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.main-header	{
  width: 90%;
  height: 50px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  z-index: 1;
}

.main-header-logo-a {
  width: 200px;
  height: 100%;
  margin-right: auto;
  background-image: url('../images/puac_logo.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.main-header-logo-b {
  width: 200px;
  height: 100%;
  margin-left: auto;
  background-image: url('../images/20th_logo.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.background-student {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../images/background02.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.main {
  width: calc(682 / 1350 * 100%);
  height: calc(667 / 1580 * 100%);
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0.3em;
}

.main-title {
  width: 610px;
  /* height: 340px; */
  height: 32vh;
  background-image: url('../images/2022goldenbell_logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.main-contents {
  width: 550px;
  /* height: 470px; */
  height: 50vh;
  background: #FFFFFF 0% 0%;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 43px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.main-tab-area {
  width: 95%;
  height: 8vh;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 14px;
}

.main-tab.tab-a {
  width: 30%;
  height: 90%;
  background-color: #DD4A48;
  color: #FFFFFF;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: content-box;
  opacity: 0.5;
}

.main-tab.tab-b {
  width: 35%;
  height: 90%;
  background-color: #5463FF;
  color: #FFFFFF;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: content-box;
  opacity: 0.5;
}

.main-tab.on {
  border: 3px solid #FFFFFF;
  opacity: 1;
}

.main-tab-c {
  width: 25%;
  height: 90%;
  background-color: #FFFFFF;
  font-size: 0.8rem;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 29px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0 1.5%;
}

.question-download {
  width: 28%;
  height: 75%;
  background-image: url('../images/question_download.png');
  background-repeat: no-repeat;
  background-size: contain;

}

.content.on {
  width: 90%;
  height: 82%;
  /* border: 2px solid #FFFFFF; */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.content {
  display: none;
}

.sub-content {
  width: 98%;
  height: 13%;
  border-radius: 29px;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: row;
  /* justify-content: space-around; */
  align-items: center;
  padding: 0 3%;
}

.sub-content-title {
  width: 70%;
  font-weight: bolder;
  font-size: 1.1rem;
}

.question-count {
  width: 13%;
  height: 50%;
  color: #FFFFFF;
  font-size: 0.8rem;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.tab-a .question-count {
  background-color: #DD4A48;
}

.tab-b .question-count {
  background-color: #5463FF;
}

.question-link {
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  font-size: 0.8rem;
  margin-left: auto;
  border-left: 2px solid #00000029;
  padding-left: 12px;

}

.question-link-icon {
  width: 30px;
  height: 35px;
  background-image: url('../images/question_icon.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.question-link span {
  color: #2F3B84;
}

.main-footer {
  width: 85vw;
  height: 60px;
  margin: 0 auto;
  margin-top: 40px;
  z-index: 1;
}

.mobileShow {
  display: none;
}

.main-tab.tab-a:hover, .main-tab.tab-b:hover, .main-tab-c:hover, .sub-content:hover {
  cursor: pointer;
  transform: scale(1.03);
  transition: 0.2s;
}

@media (max-width: 900px) {
  .main-contents {
    width: 62vw;
    height: 54vh;
    position: relative;
    top: -20px;
    left: 0%;
  }

  .sub-content-title {
    font-size: 0.92rem;
  }

  .main-tab-area {
    font-size: 0.88rem;
  }
}

@media (max-width: 650px) {
  .background-sky {
    padding-top: 20px;
    background-image: url('../images/background01_m.png');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .background-student {
    height: 88vh;
    background-size: cover;
    position: relative;
  }

  .main-title {
    height: 18vh;
  }

  .main-contents {
    width: 88vw;
    height: 54vh;
    position: relative;
    top: -52px;
    left: 0%;
  }

  .content {
    height: 80%;
  }

  .sub-content-title {
    width: 85%;
    font-size: 0.88rem;
    padding-left: 15px;
    text-indent: -15px;
  }

  .main-tab-area {
    padding: 14px 14px 0 14px;
    font-size: 0.8rem;
  }

  .main-tab.tab-a {
    height: 70%;
  }

  .main-tab.tab-b {
    width: 44%;
    height: 70%;
  }

  .main-tab-c {
    width: 22%;
    height: 70%;
    padding: 0 2%;
    font-size: 0.78rem;
  }

  .pcShow {
    display: none;
  }

  .mobileShow {
    display: flex;
  }

  .question-count {
    display: none;
  }

  .question-download {
    /* width: 22px;
    height: 27px; */
    display: none;
  }

  .question-link {
    padding-left: 9px;
  }

  .question-link span {
     display: none;
  }

  .main-footer {
    font-size: 0.8rem;
    margin-top: 20px;
  }

}
