@import url('https://fonts.googleapis.com/css2?family=Poppins');

    /* ===== Global ===== */
    * {
        margin: 0;
        padding: 0;
       /* box-sizing: border-box;*/
    }

    a {
        text-decoration: none;
    }

    ul {
        list-style: none;
        float: center;

    }
   

    .active {
        color: #fc036b;
        text-decoration: underline;
        font-weight: bold;
    }

    body,
    html {
        overflow-x: hidden;
    }

    /* Navbar */
    .navbar {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        justify-content: end;
        padding: 20px;
        color: whitesmoke;
    }

    .nav-links {
        display: flex;
        align-items: right;
        margin-left: auto;
    }

    .nav-links li {
        list-style: none;
        margin: 0 15px;
        float: right;
    }

    .nav-links li a {
        color: #f5f5f5;
        text-decoration: none;
        font-size: 10px;
        float: right;
    }

    .nav-links li.active a {
        color: #fc036b;
    }

    .nav-links {
        margin: 0 30px;
    }

    /* 상단 메뉴 및 줄 없애고, 글자색 흰색으로 바꾸기 */
    .nav-links > li > a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
    }

    header {
        width: 100%;
        height: 80vh;
        background-image:linear-gradient(rgba(56, 46, 158, 0.8),rgba(240, 238, 235, 0.2)),url('./img/header-bg.jpg');
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }

    .header-content {
        padding-top: 70px;
        text-align: center;
        color: #fff;
    }

    .header-content h2 {
        font-size: 4vmin;
    }

    .line {
        width: 150px;
        height: 4px;
        background: #fc036b;
        margin: 10px auto;
        border-radius: 5px;
    }

    .header-content h1 {
        font-size: 7vmin;
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .header-content h4 {
        font-family: "굴림",gulim, Arial, Helvetica, sans-serif;
        font-size:  4vmin;
        color: whitesmoke;
    }

    .ctn {
        padding: 8px 15px;
        background: #fc036b;
        border-radius: 30px;
        color: whitesmoke;
    }

    .menu-btn,
    .close-btn {
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
        display: none;
    }
    
    body {
        font-family: Arial, sans-serif;
    }

    #container {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }
    #largeBox {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        background-size: cover;
        background-position: center;
        margin-bottom: 10px;
        }
    #thumbnails {
        display: flex;
        justify-content: space-between;
        }
    #thumbnails img {
        width: 12%;
        height: auto;
        cursor: pointer;
        }

    #container {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        }
    #largeBox {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        background-size: cover;
        background-position: center;
        margin-bottom: 10px;
        }
    #thumbnails {
        display: flex;
        justify-content: space-between;
        }
    #thumbnails img {
        width: 12%;
        height: auto;
        cursor: pointer;
        }

    
    .gallery-container {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }
    
    .large-image {
        margin-bottom: 20px;
    }
    
    .large-image img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    
    .thumbnails {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .thumbnails img {
        width: 100px;
        cursor: pointer;
        transition: transform 0.2s;
    }
    
    .thumbnails img:hover {
        transform: scale(1.1);
    }
    
 
    .flex-container1 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        border: 3px solid rgb(46, 30, 3);
    }

    .flex-container2 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        border: 3px solid rgb(46, 30, 3);
    }

    .flex-container3 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        border: 3px solid rgb(131, 92, 24);
    }

    .flex-container4 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        border: 3px solid rgb(46, 30, 3);
    }

    .flex-box {
        width: 200px;
        height: 30px;
        color: purple;
        background: linear-gradient(#f9faf6, rgb(230, 244, 73));
        text-align: top;
        font-size: 20px;
        margin: 10px;
    }

    body {
        margin: 1px;
    }

    .container5 {
        display: grid;
        width: 100%;
        height: 100vh;
        border: 3px solid red;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .grid-item {
        border: 3px solid blue;
        overflow: hidden;
    }

    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .first- item {
        grid-column: 1 / 2;
        grid-row: 1/3;
    }

    
    /* Events */
    section {
        width: 100%;
        margin: 80px auto;
    }

    .title {
        text-align: center;
        font-size: 4vmin;
        color: #49497e;
    }

   


    .events .row {
        margin-top: 50px;
    }

    h4 {
        font-size: 3vmin;
        color: #484872;
        margin: 20px auto;
    }

    p {
        color: white;
        padding: 0px 40px;
    }

    .events .ctn {
        margin-top: 30px;
    }

    .beach {
        width: 100vw;
        height: 100vh;
        background-image: url('./img/bg7.jpg');
        background-attachment: fixed;
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        align-items: flex-end;
        justify-content : center;
    }
    .beach-content {
        margin-bottom: 150px;
        color: whitesmoke;
        text-align: center;
    }

    

    .beach-content h1 {
        font-size: 7vmin;
    }

    .beach-content .line {
        margin-bottom: 50px;
    }

    .beach-content p {
        color: rgb(221, 221, 221);
    }

    .beach-content .ctn {
        margin-top: 40px;
    }

    .content-col {
        width: 40%;
    }

    .image-col {
        width: 60%;
    }

    .content-col h1 {
        font-size: 7vmin;
        color: #484872;
    }

    .content-col .line {
        margin-left: -1px;
    }

    .content-col p {
        padding: 0;
        margin: 30px auto;
    }

    .content-col .ctn {
        margin-left: -100px;
    }

    
    .person {
        width: 100%;
        height: 100vh;
        background-image: url('https://cdn.pixabay.com/photo/2018/06/12/21/26/person-3471540_1280.jpg' );
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;

    }
    .person-content h1 {
        font-size: 7vmin;
    }

    .person-content .line {
        margin-bottom: 50px;
    }

    .person-content p {
        color: rgb(221, 221, 221);
    }

    .person-content .ctn {
        margin-top: 40px;
    }
    .person-content h1{
        font-size:7vmin;
    }

    .sea {
        width: 100%;
        height: 100vh;
        background-image: url('https://cdn.pixabay.com/photo/2016/11/18/19/14/sea-1836480_640.jpg');
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;

    }
    .sea-content h1 {
        font-size: 7vmin;
    }

    .sea-content .line {
        margin-bottom: 50px;
    }

    .sea-content p {
        color: rgb(221, 221, 221);
    }

    .sea-content .ctn {
        margin-top: 40px;
    }
    .sea-content h1 {
        font-size: 7vmin;
    }

    .ship {
        width: 100%;
        height: 100vh;
        background-image: url('https://cdn.pixabay.com/photo/2015/03/31/13/34/ship-701079_1280.jpg');
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;

    }
    .ship-content h1 {
        font-size: 7vmin;
    }

    .ship-content .line {
        margin-bottom: 50px;
    }

    .ship-content p {
        color: rgb(221, 221, 221);
    }

    .ship-content .ctn {
        margin-top: 40px;
    }
   

    .ship-content h1 {
        font-size: 7vmin;

    }
    .field {
        width: 100vw;
        height: 100vh;
        background-image: url('./img/bg8.jpg');
        background-attachment: fixed;
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        align-items: flex-end;
        justify-content : center;
    }
    .field-content {
        margin-bottom: 150px;
        color: whitesmoke;
        text-align: center;
    }

    

    .field-content h1 {
        font-size: 7vmin;
    }

    .field-content .line {
        margin-bottom: 50px;
    }

    .field-content p {
        color: rgb(221, 221, 221);
    }

    .field-content .ctn {
        margin-top: 40px;
    }

    .content-col {
        width: 40%;
    }

    .image-col {
        width: 60%;
    }

    .content-col h1 {
        font-size: 7vmin;
        color: #484872;
    }

    .content-col .line {
        margin-left: -1px;
    }

    .content-col p {
        padding: 0;
        margin: 30px auto;
    }

    .content-col .ctn {
        margin-left: -100px;
    }

    
    .footer {
        width: 100%;
        min-height: 100px;
        padding: 20px 80px;
        margin: 0;
        background: #484872;
        text-align: center;
    }

    .footer p {
        color: whitesmoke;
        margin: 20px auto;
    }


    /* Mobile device */
    @media only screen and (max-width:850px) {
        .menu-btn {
            display: block;
        }

        .navbar {
            padding: 0;
        }

        .logo {
            position: absolute;
            top: 30px;
            left: 30px;
            display: flex;
            align-self: start;
        }

        .nav-links {
            flex-direction: column;
            width: 100%;
            height: 100vh;
            justify-content: center;
            background: #484872;
            margin-top: 30px;
            transition: all 0.5s ease;
        }

        .mobile-menu {
            margin-top: 0px;
            border-bottom-right-radius: 30%;
        }

        .nav-links li {
            margin: 30px auto;
        }

        /* Events */
        .row {
            flex-direction: column;
        }

        .row .col {
            margin: 20px auto;
        }

        .col img {
            max-width: 100%;
        }

        /* explore */
        .explore-content {
            width: 100%;
        }

        .footer {
            padding: 10px;
        }
    }

    /* Animations */
    img {
        transition: transform .3s ease;
    }

    img:hover {
        transform: scale(1.1);
    }

    .ctn:hover {
        background: whitesmoke;
        color: #fc036b;
        box-shadow: 2px 2px 5px #00000056;
    }

    li:hover {
        color: #fc036b;
        cursor: pointer;
    }

/* Sub-menu 스타일 */
.sub-menu {
    margin: 0 5px;
    padding: 0;
    border-radius: 8px;
}

.sub-menu ul {
    list-style: none;
    margin: 1px;
    padding: 0;
    display: flex;
    justify-content: center; /* center에서 end로 변경 */
    gap: 3px;
}

.sub-menu li {
    background-color: #eff6909e;
    border-radius: 5px;
}

.sub-menu a {
    text-decoration: none;
    color: rgb(66, 13, 13);
    padding: 10px 20px;
    border: 2px solid #4b3434;
    border-radius: 5px;
    display: block;
}

.sub-menu a:hover {
    background-color: rgba(235, 242, 101, 0.805);
}

/* Container 스타일 */
.container11 {
    background-color: rgb(194, 178, 178);
}

.container12 {
    background-color: rgb(243, 244, 247);
}

.container13{
    background-color: rgb(231, 236, 229);

}

.container11 .sub-menu + .sub-menu,
.container12 .sub-menu + .sub-menu,
.container13 .sub-menu + .sub-menu {
    margin-top: 5px;
}

.container11,
.container12,
.container13 {
    margin-bottom: 40px;
    padding: 15px;
    border-radius: 8px;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: rgb(113, 44, 44);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background-color: #0056b3;
}




