*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    word-break: keep-all;
}

body {
     font-family: 'Noto Sans KR', sans-serif !important;
}

a:hover {
    text-decoration-line: none;
}
p, h3 {
    margin: 0;
}

.w1700 {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
}
.w1900 {
    max-width: 1900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
    font-size: 0;
}

.block-img {
    display: block;
    margin: 0 auto;
     width: 100%;
}

.section-1 {
    position: relative;
    overflow: hidden;
    background-color: #19072f;
    text-align: center;
}

.s1-title {
    position: absolute;
    max-width: 1300px;
    width: 68.4%;
    bottom: 0%;
    left: 1.2%;
    right: 0;
    margin: 0 auto;
    
    transform: translate3d(8%, 0, 0);
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
}

.section-1-line {
    background-color: #000000;
    overflow: hidden;
    text-align: center;
}

.section-1-2 {
    position: relative;
    overflow: hidden;
    background-color: #390d5f;
}

/* 팝업 커리큘럼 영상 */
.igg-video {
    position: absolute;
    font-size: 0;
    width: 52.5%;
    height: 53.4%;
    top: 29%;
    left: 0;
    right: 0;
    margin: 0 auto;
    cursor: pointer;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1000px; /* 최대 너비 설정 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 2px solid #ffffff;
    z-index: 1000;
}
.popup .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
}
.popup .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.fp-line {
    background-color: #d6fff9;
    background: linear-gradient( 90deg, #d6fff9 50%, #ffffdd 50%);
    overflow: hidden;
}

.section-2-1 {
    overflow: hidden;
    background-color: #ffffff;
    background: linear-gradient(#ffeef7, #ffffff);
    text-align: center;
}
.section-2 {
    overflow: hidden;
    background-color: #f0bac9;
    text-align: center;
    padding: 140px 0;
}

.course-wrap {
    position: relative;
    text-align: center;
    font-size: 0;
    display: inline-block;
    margin: 0 25px;
    max-width: 476px;
    width: 40%;
    
}
.course-wrap a {
    position: absolute;
    top: 71.8%;
    left: 6%;
    width: 50.5%;
    height: 20.4%;
}
.course-wrap img {
    position: relative;
    transition: transform 0.4s, filter 0.2s;
    max-width: 476px;
    width: 100%;
}
.course-wrap:hover img {
    transform: translateY(-20px);
    -webkit-filter: drop-shadow(0 6px 3px #666);
    filter: drop-shadow(0 6px 3px #666);
}

.section-3 {
    position: relative;
    overflow: hidden;    
    background-color: #ffffff;
    background: linear-gradient(#ffffff 10%, #ffdbe4 99%);
}

.icon-img {
    position: absolute;
    width: 10.5%;
    max-width: 199px;
    transform: translate3d(0, 20%, 0);
}

.icon-1, .icon-2, .icon-3, .icon-4{
    top: 41%;
}
.icon-1{
    left: 23.8%;
}
.icon-2{
    left: 37.8%;
}
.icon-3{
    left: 51.8%;
}
.icon-4 {
    left: 65.8%;
}

.section-4 {
    position: relative;
    overflow: hidden;    
    background-color: #3b1449;
    background: linear-gradient(#712d8c 10%, #3b144a 85%);
}

.section-5 {
    position: relative;
    overflow: hidden;    
    background-color: #ffffff;
}

.btn-wrap a {
    position: absolute;
    width: 15.5%;
    height: 36%;
    top: 22.3%;
    font-size: 0;
}
.btn-1 {
    left: 50.95%;
}
.btn-2 {
    left: 67.35%;
}

/* 팝업 소개 영상 */
#video-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw; /* 화면 너비의 90% */
    max-width: 1000px;
    z-index: 9999;
}
#video-popup .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 비율 유지 */
}
#video-popup iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
#video-popup .close-btn {
    position:absolute; 
    top:-40px; 
    right:0px;
    width: 40px;
    height: 40px; 
    z-index:10000;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
}


@media(min-width:2000px) {
    .w1700 {
        max-width: 1900px;
    }
}

@media(max-width:991px) {
    .section-1 .block-img {
        width: 140%;
        margin-left: -20%;
    }
    .section-1-line .block-img {
        width: 180%;
        margin-left: -40%;
    }
    .section-1-2 .block-img {
        width: 176%;
        margin-left: -38%;
    }
    .fp-line .block-img {
        width: 190%;
        margin-left: -45%;
    }
    .section-2-1 .block-img {
        width: 180%;
        margin-left: -40%;
    }
    .section-2 .block-img {
        width: 180%;
        margin-left: -40%;
    }
    .section-3 .block-img {
        width: 170%;
        margin-left: -35%;
    }
    .section-4 .block-img {
        width: 180%;
        margin-left: -38%;
    }
    .section-5 .block-img {
        width: 142%;
        margin-left: -21%;
    }

    .s1-title {
        width: 95%;
    }

    .section-2 {
        padding: 15% 0;
    }
    .popup-link {
        width: 92.5%;
    }


    .course-wrap {
        display: block;
        margin: 0 auto;
        width: 70%;
    }
    .course-wrap:first-child {
        margin-bottom: 25px;
    }

    .course-wrap a {
        position: absolute;
        top: 71.8%;
        left: 6%;
        width: 50.5%;
        height: 20.4%;
    }
    .course-wrap img {
        position: relative;
        transition: transform 0.4s, filter 0.2s;
        max-width: 476px;
        width: 100%;
    }

    .icon-img {
        width: 18.5%;
    }
    .icon-1 {
        left: 5%;
    }
    .icon-2 {
        left: 28.9%;
    }
    .icon-3 {
        left: 52.8%;
    }
    .icon-4 {
        left: 76.7%;
    }

    .btn-wrap a {
        width: 22%;
    }
    .btn-1 {
        left: 51.3%;
    }
    .btn-2 {
        left: 74.6%;
    }
}

@media(max-width:720px) {
    .video-wrap {
		position: relative;
		width: 100%;
		height: 0;
		padding-bottom: 56.5%;
		max-width: 720px;
        margin-top: 15px;
	}
	.video-wrap iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
} 