* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
}

header {
    background-image: url('img/header.webp');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    background-color: #292929;
    overflow: hidden;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    float: left;
    display: block;
    color: #00aced;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover {
    background-color: #575757;
    color: white;
}

.content {
    padding: 3rem 1.25rem;
}

.content h2 {
    text-align: center;
}

.section-1 {
    background-color: #1f1f1f;
}

.section-2 {
    background-color: #2c2c2c;
}

.section-3 {
    background-color: #383838;
}

.section-4 {
    background-color: #2c2c2c;
    margin-bottom: 4rem;
}

.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.team-member {
    background-color: #3a3a3a;
    margin: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 10px 0;
    font-size: 1.5em;
}

.team-member p {
    margin: 5px 0;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(138, 43, 226, 0.5);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
    z-index: -1;
}

.team-member:hover::before {
    opacity: 1;
}

a {
    color: #00aced;
}

a:hover {
    color: #0094ba;
}

.audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #292929;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
}

#audio-player {
    display: none;
}

#play-pause-btn {
    background-color: #00aced;
    border: none;
    color: white;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 16px;
}

#play-pause-btn:hover {
    background-color: #0094ba;
}

#seek-slider {
    flex-grow: 1;
    margin-right: 10px;
}

#volume-slider {
    margin-left: 10px;
}

#current-time, #duration {
    font-size: 14px;
}

.crown-container {
    position: relative;
    display: inline-block;
}

.crown {
    position: absolute;
    top: -20px; /* Adjust this value as needed */
    left: 55%;
    transform: translateX(-50%);
    width: 60px; /* Adjust the size of the crown as needed */
}

.gallery-container {
    position: relative;
    max-width: 70vw;
    margin: auto;
}

@media (max-width: 768px) {
    .gallery-container {
        max-width: 90vw;
    }
}

.gallery-slide {
    display: none;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    border-radius: 10px;
}

.gallery-caption {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    max-width: 80%;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}