body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px; /* Add margin to separate header from description */
}

.header h1 {
    margin: 0; /* Remove default margin */
}

.header .title-center {
    margin: 0 auto; /* Center the title */
}

.header button {
    padding: 10px 20px; /* Adjust button padding */
    font-size: 16px; /* Adjust button font size */
    background-color: #1352ad; /* Dark blue tone */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header button:hover {
    background-color: #1a6cdb; /* Lighter shade on hover */
}

.description {
    font-size: 16px;
}

#emotions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
}

.emotion {
    padding: 16px 32px;
    font-size: 18px;
    background-color: #1352ad; /* Dark blue tone */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.emotion:hover {
    background-color: #1a6cdb; /* Lighter shade on hover */
}

#video-container {
    margin-top: 30px;
    position: relative; /* Ensure relative positioning for absolute positioning of buttons */
}

#video-frame {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust the height as needed */
    background-color: #1e1e1e; /* Background color same as page background */
    border: 3px solid #1352ad; /* Border color same as button color */
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box; /* Include border thickness in width and height */
}

#counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: #808080; /* Grey color */
    font-weight: bold;
}


#button-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.video-button {
    padding: 10px 20px; /* Adjust button padding */
    font-size: 16px; /* Adjust button font size */
    background-color: #1352ad; /* Dark blue tone */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-button:hover {
    background-color: #1a6cdb; /* Lighter shade on hover */
}

#back-button {
    float: left;
}

#next-button {
    float: right;
}

.hidden {
    display: none;
}

.smaller-button {
    padding: 8px 16px; /* Adjust smaller button padding */
    font-size: 14px; /* Adjust smaller button font size */
}

#back-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff; /* Text color */
    background-color: #1352ad; /* Darker blue on hover */
    border: none;
    cursor: pointer;
}

#back-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

#back-button:disabled {
    background-color: #6c757d; /* Grey color for disabled state */
    cursor: not-allowed; /* Change cursor to indicate not allowed */
}
