* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: hidden; }

#about,
#download,
#contact {
    scroll-margin-top: 70px;
}

@font-face {
    font-family: 'Cafe24Surround';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: 'Cafe24Surround', sans-serif;

    background: #fff;
}

main{
font-family: "Noto Sans KR", sans-serif;
}

.footer {
  text-align: center;
  padding: 0.5rem;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 0.9rem;
}

.copyright {
    font-family: Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: rgba(0, 0, 0);
    color: #fff;

    flex-direction: row;

    padding: 0 8%;

    width: 100%;
    height: 70px;

    position: fixed;
    top: 0; left: 0;

    z-index: 9999;
}

.navbar_logo{
    padding: 20px;
    font-size: 20px;
}

.navbar_logo a{
    text-decoration: none;
    color: #FFFFFF;
    font-size: 30px;
}


.navbar_ul{
    display: flex;
    padding-left: 0;
    align-items: center;
}

.navbar li{
    list-style: none;
    font-weight: 400;
    padding: 8px 15px;
}

.navbar_ul a{
    text-decoration: none;
    color: #FFFFFF;
    padding: 10px;
    text-align: center;
}


.navbar_toggleBtn{
    display: none;
}


.main_menu {
    position: relative;
    width: 100vw;
    height: calc(100vh - 70px);
    margin-top: 70px;
    overflow: hidden;
}

.main_menu img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(50%);
}

.main_text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%; 
    text-align: center; 
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 1;
} 

.main_text h1 { 
    margin: 0; 
    font-size: 48px; 
    font-weight: 700; 
} 

.main_text p { 
    margin-top: 15px; 
    font-size: 20px; 
}

#about {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.about_menu {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about_menu img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(50%);
}

.about_text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%; 
    text-align: center; 
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 1;
} 

.about_text h1 { 
    margin: 0; 
    font-size: 48px; 
    font-weight: 700; 
} 

.about_text p { 
    margin-top: 15px; 
    font-size: 20px; 
}


#download {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.download_menu {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.download_menu img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(50%);
}

.download_text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%; 
    text-align: center; 
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 1;
} 

.download_text h1 { 
    margin: 0; 
    font-size: 48px; 
    font-weight: 700; 
} 

.download_text p { 
    margin-top: 15px; 
    font-size: 20px; 
}

.dl_button { 
    display: inline-block; 
    padding: 12px 28px;  
    border-radius: 10px; 
    color: #ffffff; 
    background: rgba(100, 100, 100, 1); 
    text-decoration: none; 
    font-size: 16px; 
    transition: 0.3s ease;
     
    gap: 15px;

    margin-top: 20px;
} 

.dl_button:hover { 
    background: #ffffff; 
    color: #000000; 
    transform: translateY(-3px); 
}



#contact {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.contact_menu {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contact_menu img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(50%);
}

.contact_text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%; 
    text-align: center; 
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 1;
} 

.contact_text h1 { 
    margin: 0; 
    font-size: 48px; 
    font-weight: 700; 
} 

.contact_text p { 
    margin-top: 15px; 
    font-size: 20px; 
}

.ct_buttons { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    margin-top: 20px; 
}

.ct_button_dc { 
    display: inline-block; 

    padding: 12px 28px;  
    border-radius: 10px; 

    color: #ffffff; 
    background: #4752C4; 
    text-decoration: none; 
    font-size: 16px; 
    transition: 0.3s ease;
} 

.ct_button_yt { 
    display: inline-block; 

    padding: 12px 28px;  
    border-radius: 10px; 

    color: #ffffff; 
    background: #CC0000; 
    text-decoration: none; 
    font-size: 16px; 
    transition: 0.3s ease;
} 

.ct_button_dc:hover { 
    background: #5865F2; 
    color: #FFF; 
    transform: translateY(-3px); 
}

.ct_button_yt:hover { 
    background: #FF0000; 
    color: #FFF; 
    transform: translateY(-3px); 
}

.ct_button_dc i,
.ct_button_yt i {
    margin-right: 8px;
    font-size: 17px;
}


@media screen and (max-width: 768px) {

    .navbar {
        flex-direction: row;
        align-items: flex-start;
        height: 70px;

        padding: 0;
    }

    /* 모바일 메뉴 */
    .navbar_ul {
        display: flex;

        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        margin: 0;
        padding: 0;

        flex-direction: column;

        background-color: transparent;

        z-index: 9999;

        /* 닫힌 상태 */
        max-height: 0;
        overflow: hidden;

        opacity: 0;

        transform: translateY(-10px);

        pointer-events: none;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.35s ease;
    }

    /* 열린 상태 */
    .navbar_ul.active {
        max-height: 300px;

        opacity: 1;

        transform: translateY(0);
        

        pointer-events: auto;
    }

    .navbar_ul li {
        width: 100%;

        margin: 0;
        padding: 0;

        display: block;

        background-color: rgba(0, 0, 0, 0.65);
    }

    .navbar_ul li:hover {
        background-color: rgba(34, 34, 34, 0.75);
    }

    .navbar_ul a {
        display: block;

        width: 100%;

        padding: 18px 0;

        color: #ffffff;

        text-align: center;

        text-decoration: none;
    }

    /* 햄버거 버튼 */
    .navbar_toggleBtn {
        display: block;

        position: absolute;

        right: 25px;
        top: 22px;

        z-index: 10000;

        color: #ffffff;

        font-size: 24px;

        text-decoration: none;
    }

    .navbar_toggleBtn i {
        color: #ffffff;
    }

    .footer {
    font-size: 0.7rem;
    }

    .main_text h1 { 
    margin: 0; 
    font-size: 25px; 
    font-weight: 700; 
    } 

    .main_text p { 
        margin-top: 15px; 
        font-size: 20px; 
    }

    .about_text h1 { 
        margin: 0; 
        font-size: 25px; 
        font-weight: 700; 
    } 

    .about_text p { 
        margin-top: 15px; 
        font-size: 20px; 
    }

    .download_text h1 { 
    margin: 0; 
    font-size: 25px; 
    font-weight: 700; 
    } 

    .download_text p { 
        margin-top: 15px; 
        font-size: 20px; 
    }

    .contact_text h1 { 
    margin: 0; 
    font-size: 25px; 
    font-weight: 700; 
    } 

    .contact_text p { 
        margin-top: 15px; 
        font-size: 20px; 
    }
}