#wrapper {
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  font-size: 100vw;
}

.sections {
  display: flex;
}

/* 모바일 */
@media (max-width: 1199px) {
  /* 헤더 */
  nav {
    position: relative;
    width: 100%;
    z-index: 10;
    font-family: "Inter", sans-serif;
  }
  
  nav .container {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  nav .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
  }

  nav .logo img {
    width: 6rem;
    content: url('../images/ci2.png');
  }
  
  nav a {
    text-decoration: none;
    color: inherit;
  }
  
  nav .menu {
    width: 36rem;
  }

  nav .mobile ul {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5rem;
    list-style: none;
  }

  nav .toggle-menu {
    display: grid;
    gap: 0.3rem;
    grid-template-columns: repeat(2, 1fr);
  }

  nav .toggle-menu .toggle-div {
    width: 1rem;
    height: 1rem;
    background-color: #FFFFFF;
  }
  
  nav .menu ul {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    list-style: none;
  }
  
  #userMenu ul {
    justify-content: space-between;
  }
  
  #menu ul {
    justify-content: flex-end;
  }
  
  nav ul li {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    cursor: pointer;
  }

  nav #menu ul li {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  nav ul li:last-child {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border: 0.125rem solid;
    border-radius: 1.5rem;
  }

  /* 인디케이터 */
  .page-indicator {
    display: none;
  }
}

/* PC */
@media (min-width: 1200px) {
  /* 헤더 */
  nav {
    position: relative;
    width: 100%;
    z-index: 10;
    font-family: "Inter", sans-serif;
  }
  
  nav .container {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
  }
  
  nav .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
  }

  nav .logo img {
    width: 19rem;
  }
  
  nav a {
    text-decoration: none;
    color: inherit;
  }
  
  nav .menu {
    width: 36rem;
  }
  
  nav ul {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    list-style: none;
  }
  
  #userMenu ul {
    justify-content: space-between;
  }
  
  #menu ul {
    justify-content: flex-end;
  }
  
  nav ul li {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    cursor: pointer;
  }

  nav #menu ul li {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  nav ul li:last-child {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border: 0.125rem solid;
    border-radius: 1.5rem;
  }

  /* 인디케이터 */
  .page-indicator {
    position: fixed;
    display: flex;
    align-items: center;
    height: 100vh;
    right: 0;
    margin-right: 2.5rem;
  }
  
  .page-indicator ul {
    list-style-type: none;
    padding: 0;
  }
  
  .page-indicator li {
    margin-bottom: 0.625rem;
  }
  
  .page-indicator .indicator-dot {
    cursor: pointer;
    width: 0.625rem;
    height: 0.625rem;
  }
  
  .bg-active {
    background-color: #FFFFFF;
  }
  
  .bg-inactive {
    background-color: rgba(217, 217, 217, 0.3);
  }
}

/* 메인 */
/* 모바일 */
@media (max-width: 767px){
  #wrapper {
    padding: 0 1rem;
  }

	.main-section {
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    position: relative;
    height: auto;
  }
  
  .main-section .container {
    margin-top: 35vh;
  }

  .main-section .title-box {
    display: flex;
    flex-wrap: wrap;
  }
  
  .main-section .title-box .title {
    animation-fill-mode: both;
    width: 49%;
    font-size: 21%;
    font-weight: 900;
  }
  
  .main-section .title-box .sub-title {
    width: 49%;
    font-size: 6%;
    font-weight: 800;
    align-content: center;
  }
  
  .main-section .title-box .content {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 52vh;
  }
  
  .main-section .main-hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .main-section .info-title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .info-box {
    align-items: center;
    font-size: 1.875rem;
    font-weight: bold;
  }
  
  .main-section .info-box .time-box {
    width: 11.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
  }
  
  .main-section .info-box .info-hr {
    display: none;
  }
  
  .main-section .info-box .distance-box {
    font-style: italic;
    letter-spacing: 0.025em;
  }
  
  /* 비디오 섹션 */
  .second-section {
    margin-top: 50vh;
    height: auto;
  }

  .second-section .container {
    margin-bottom: 30vh;
    font-family: "Montserrat", sans-serif;
  }
  
  .second-section .video {
    display: flex;
    align-items: center;
  }
  
  .second-section .video video{
    width: 100%;
  }
  
  .second-section .video-info {
    align-self: center;
  }
  
  .second-section .video-info .info-title {
    line-height: 1;
    font-weight: 900;
    font-size: 9%;
    margin: 0.75rem 0;
  }

  .second-section .video-info .info-title br{
    display: none;
  }
  
  .second-section .video-info hr {
    margin: 0 auto;
  }
  
  .second-section .video-info .video-title {
    margin-top: 0.75rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-style: italic;
    font-weight: bold;
    text-align: right;
  }
  
  .second-section .video-info .video-sub {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
    text-align: right;
  }
}

/* 태블릿 세로 */
@media (min-width: 768px) and (max-width: 991px) {
  .main-section {
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .main-section .container {
    margin-left: 2.5rem;
    width: 47rem;
    height: 24rem;
  }
  
  .main-section .title-box .title {
    animation-fill-mode: both;
    margin-bottom: 0.5rem;
    font-size: 9rem;
    font-weight: 900;
  }
  
  .main-section .title-box .sub-title {
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
    font-weight: 800;
  }
  
  .main-section .title-box .content {
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .main-hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .main-section .info-title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .info-box {
    display: flex;
    align-items: center;
    font-size: 1.875rem;
    font-weight: bold;
  }
  
  .main-section .info-box .time-box {
    width: 11.5rem;
    letter-spacing: 0.1em;
  }
  
  .main-section .info-box .info-hr {
    width: 10rem;
    padding-right: 1.75rem;
  }
  
  .main-section .info-box .distance-box {
    font-style: italic;
    letter-spacing: 0.025em;
  }
  
  /* 비디오 섹션 */
  .second-section .container {
    font-family: "Montserrat", sans-serif;
    display: flex;
  }
  
  .second-section .video {
    display: flex;
    align-items: center;
    height: 100vh;
    margin-left: 2.5rem;
  }
  
  .second-section .video video{
    width: 60rem;
  }
  
  .second-section .video-info {
    align-self: center;
    margin-left: 1.25rem;
  }
  
  .second-section .video-info .info-title {
    margin-bottom: 0.75rem;
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
  }
  
  .second-section .video-info hr {
    width: 18rem;
    margin: 0;
  }
  
  .second-section .video-info .video-title {
    margin-top: 0.75rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-style: italic;
    font-weight: bold;
  }
  
  .second-section .video-info .video-sub {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
  }
}

/* 태블릿 가로 */
@media (min-width: 992px) and (max-width: 1199px) {
  .main-section {
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .main-section .container {
    margin-left: 2.5rem;
    width: 47rem;
    height: 24rem;
  }
  
  .main-section .title-box .title {
    animation-fill-mode: both;
    margin-bottom: 0.5rem;
    font-size: 9rem;
    font-weight: 900;
  }
  
  .main-section .title-box .sub-title {
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
    font-weight: 800;
  }
  
  .main-section .title-box .content {
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .main-hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .main-section .info-title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .info-box {
    display: flex;
    align-items: center;
    font-size: 1.875rem;
    font-weight: bold;
  }
  
  .main-section .info-box .time-box {
    width: 11.5rem;
    letter-spacing: 0.1em;
  }
  
  .main-section .info-box .info-hr {
    width: 10rem;
    padding-right: 1.75rem;
  }
  
  .main-section .info-box .distance-box {
    font-style: italic;
    letter-spacing: 0.025em;
  }
  
  /* 비디오 섹션 */
  .second-section .container {
    font-family: "Montserrat", sans-serif;
    display: flex;
  }
  
  .second-section .video {
    display: flex;
    align-items: center;
    height: 100vh;
    margin-left: 2.5rem;
  }
  
  .second-section .video video{
    width: 60rem;
  }
  
  .second-section .video-info {
    align-self: center;
    margin-left: 1.25rem;
  }
  
  .second-section .video-info .info-title {
    margin-bottom: 0.75rem;
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
  }
  
  .second-section .video-info hr {
    width: 18rem;
    margin: 0;
  }
  
  .second-section .video-info .video-title {
    margin-top: 0.75rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-style: italic;
    font-weight: bold;
  }
  
  .second-section .video-info .video-sub {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
  }
}

/* 데스크탑 */
@media (min-width: 1200px) {
  .main-section {
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .main-section .container {
    margin-left: 2.5rem;
    width: 47rem;
    height: 24rem;
  }
  
  .main-section .title-box .title {
    animation-fill-mode: both;
    margin-bottom: 0.5rem;
    font-size: 9rem;
    font-weight: 900;
  }
  
  .main-section .title-box .sub-title {
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
    font-weight: 800;
  }
  
  .main-section .title-box .content {
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .main-hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .main-section .info-title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 300;
  }
  
  .main-section .info-box {
    display: flex;
    align-items: center;
    font-size: 1.875rem;
    font-weight: bold;
  }
  
  .main-section .info-box .time-box {
    width: 11.5rem;
    letter-spacing: 0.1em;
  }
  
  .main-section .info-box .info-hr {
    width: 10rem;
    padding-right: 1.75rem;
  }
  
  .main-section .info-box .distance-box {
    font-style: italic;
    letter-spacing: 0.025em;
  }
  
  /* 비디오 섹션 */
  .second-section .container {
    font-family: "Montserrat", sans-serif;
    display: flex;
  }
  
  .second-section .video {
    display: flex;
    align-items: center;
    height: 100vh;
    margin-left: 2.5rem;
  }
  
  .second-section .video video{
    width: 60rem;
  }
  
  .second-section .video-info {
    align-self: center;
    margin-left: 1.25rem;
  }
  
  .second-section .video-info .info-title {
    margin-bottom: 0.75rem;
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
  }
  
  .second-section .video-info hr {
    width: 18rem;
    margin: 0;
  }
  
  .second-section .video-info .video-title {
    margin-top: 0.75rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-style: italic;
    font-weight: bold;
  }
  
  .second-section .video-info .video-sub {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
  }
}
