body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

h2 {
    text-align: center;
    color: #007bff;
}

/* Dropdown container styling */
.dropdown {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

/* Styling for select dropdown */
select {
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    background-color: #fff;
    color: #333;
    border: 2px solid #007bff;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.1);
    max-width: 100%;
}

/* Arrow for the dropdown */
select::-ms-expand {
    display: none;
}

/* Icon style for dropdown */
.dropdown-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Hover effect for the select box */
select:hover, select:focus {
    border-color: #0056b3;
    box-shadow: 0 6px 10px rgba(0, 123, 255, 0.2);
}

/* Responsive iframe container */
.video-container {
    position: relative;
    width: 96%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
    display: none; /* Hide all containers initially */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Show active container */
.video-container.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.guide {
    margin: 30px auto;
    text-align: center;
}

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


.margin_header {
    margin: 10px 0 30px 0;
    font-size: 17px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 600px) {
    select {
        font-size: 19px;
        padding: 10px 15px;
    }
}

h2.margin_header {
    margin-bottom: 18px
}

.player-wrapper {
    position: relative;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000
}

.player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0
}

#videoList {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none
}

#videoList li {
    flex: 0 0 160px;
    cursor: pointer;
    max-width: 50%;
    overflow: hidden;
}

#videoList img {
    width: 100%;
    border-radius: 6px;
    display: block
}

#videoList span {
    display: block;
    font-size: .85rem;
    margin-top: 4px;
    line-height: 1.25
}

.guide img {
    max-width: 200px;
    margin-top: 24px
}