html {
    scroll-behavior: smooth;
}

.mainOne {
    margin: 5% auto;
    width: 80%;
}

.mainOne .top {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 10%;
}

.mainOne .top .text {
    margin-bottom: 3%;
}

/* 로고 */

.mainOne .top .text .logo {
    max-width: 430px;
    margin: 0 auto 3%;
}

.mainOne .top .text .logo >img {
    width: 100%;
    height: 100%;
}

.mainOne .top .text p {
    font-size: 23px;
    line-height: 160%;
}

/* 다운로드 버튼 */

.mainOne .top .down {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3%;
}

.mainOne .top .down > a {
    font-size: 23px;
    border: 1px solid var(--gray);
    padding: 0.5% 3%;
    line-height: 100%;
    
}

/* 영상 삽입 */

.mainOne .top .media iframe {
    min-height: 705px;
}

/* 스크롤탭 네비 */
.tab {
	width: 100%;
}
.tabNav {
    border-bottom: 1px solid var(--black);
    display: flex;
    padding-bottom: 1%;
    justify-content: center;
      flex-wrap: nowrap;
    align-items: center;
    
    position: relative;
}

.tab::-webkit-scrollbar {
    height: 5px;
}

.tab::-webkit-scrollbar-thumb {
    background: var(--black);
    border-radius: 10px;
    background-clip: padding-box;
    border: 1px solid transparent;
}
.tab::-webkit-scrollbar-track {
    box-shadow: inset 0px 0px 5px white;

}

.tabNav>li{
    display: flex;
    white-space: nowrap;
    align-items: center;
    margin: 0 20px;
    justify-content: center;
	
}

.tabNav>li>a {
    font-family: 'Noto Sans KR';
    font-size: 26px;
    font-weight: 600;
    color: var(--gray);
}

.tabNav>li.active>a {
    color: var(--black);
}

/* 탭 박스 */
.tabcon #tab1 , .tabcon #tab2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5% 1%;
    margin: 10% 0;
}

.tabcon #tab1 {
    grid-template-rows: 1fr 1fr;
}
.tabcon .box {
    border: 1px solid var(--gray);
    padding: 3%;
    min-height: 300px;
    position: relative;
}

.tabcon .box p.bold {
    font-size: 28px;
    margin-bottom: 1%;
}

.tabcon .box p:not(:first-of-type) {
    line-height: 160%;
    font-size: 21px;
}

.tabcon .box .imgbox {
    position: absolute;
    bottom: 3%;
    right: 3%;

}

#tab3 > .imgbox {
    margin: 0 auto;
}

#tab3>.imgbox > img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 800px) {
	.mainOne .top .media iframe {
    min-height: 500px;
}

.tabcon .box .imgbox {
    position: absolute;
    bottom: 3%;
    right: 3%;
    width: 47%;
    height: 47%;
}

.tabcon .box .imgbox  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

}


@media screen and (max-width: 610px) {
.tabcon .box .imgbox {
    position: absolute;
    width: 35%;
    height: 30%;
}

}


@media screen and (max-width: 530px) {
.tabNav>li>a {
    font-size: 24px;
}

.tabNav>li {
    margin: 0 10px;
}
}

@media screen and (max-width: 480px) {

.tabcon #tab1, .tabcon #tab2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1% 1%;
    margin: 10% 0;
}
}

@media screen and (max-width: 440px) {
.tabNav>li>a {
    font-size: 22px;
}

}

@media screen and (max-width: 400px) {
.tabNav>li>a {
    font-size: 20px;
}

.tabNav>li {
    margin: 0 7px;
}
}

@media screen and (max-width: 340px) {
	.tab {
		width: 100%;
		overflow-x: auto;
	}
	
	.tabNav>li>a {
    font-size: 18px;
}
}