/* General styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Name section */
#name {
    text-align: center;
    background-color: #808080;
    padding: 20px;
    color: #fff;
}

#name h2 {
    margin: 0;
    font-size: 24px;
}

/* Navigation styles */
nav {
    background-color: #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.nav-menu li {
    margin: 0 20px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 10px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #ff6b6b;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b6b;
}

/* Hamburger menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}

/* Profile section */
.profile {
    text-align: center;
    padding: 20px;
}

.profile img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}

.profile-SNS {
    text-align: center;
    margin: 20px 0;
}

.profile-SNS a {
    margin: 0 10px;
}

/* Info section */
#info {
    padding: 20px;
    text-align: center;
}

.info-container {
    font-size: 10px;
    display: flex;
    justify-content: right;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

#timeDisplay {
    font-size: 10px;
    text-align: left;
}

#timeDisplay h3 {
    font-size: 10px;
    margin-bottom: 10px;
}

#timeDisplay p {
    font-size: 10px;
    margin: 5px 0;
}

#kstTime {
    font-weight: bold;
    color: #4CAF50;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.modal-content p {
    color: #333;
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-close:hover {
    color: #000;
}

/* Contact section */
#contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}
