html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #1b1d20;
    overflow-x: hidden;
}

#NavBar {
    position: sticky;
    top: 0;
    background-color: #C8D7EB;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    z-index: 50;
}

@media (max-width: 490px) {
    #NavBar {
        justify-content: center;
        text-align: center;
    }

    #NavBar a {
        width: 100%;
        justify-content: center;
    }
}

#NavBar a {
    font-weight: bold;
    text-decoration: none;
    color: #4f4f4f;
    display: flex;
    align-items: center;
    height: 50px;
    font-weight: 900;
    font-size: 20px;
    padding: 10px;
}

#NavBar a:hover {
    background-color: #A7C0E0;
    color: #000000;
}

#NavBar a:active {
    background-color: #7E9BBF;
    color: #FFFFFF;
}

#logo {
    height: 80px;
}

.SlideShow {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    position: relative;
    margin: 60px auto 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.SlideContainer {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.Slides {
    min-width: 100%;
    position: relative;
}

.carousel_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 20%;
    left: 5%;
    color: white;
    z-index: 10;
    max-width: 70%;

    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    animation: slideFade 1s ease both;
}

.slide-text h1 {
    font-size: clamp(16px, 4vw, 48px);
    margin: 0;
    font-weight: 900;
}

.slide-text p {
    font-size: clamp(14px, 2vw, 20px);
    margin: 10px 0 20px 0;
}

.slide-button {
    padding: 8px 18px;
    font-size: clamp(8px, 2.5vw, 20px);
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    transition: 0.3s ease;
}

.slide-button:hover {
    background-color: rgba(255,255,255,0.3);
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
    opacity: 0.8;
    transition: opacity 0.5s ease;
    gap: 12px;
}

.dot {
    cursor: pointer;
    height: 25px;
    width: 25px;
    margin: 0 20px;
    background-color: #4f4f4f;
    border-radius: 50%;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #ffffff;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.exploremusic {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.discovery-button {
    padding: 10px 20px;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 900;
    color: #4f4f4f;
    background-color: #C8D7EB;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.6s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.discovery-button:hover {
    background-color: #A7C0E0;
    color: #000000;
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

.discovery-button:active {
    background-color: #7E9BBF;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

footer{
    text-align: center;
    font-size: large;
    color: white;
}

.container, .grid{
    width: 75%;
    margin: auto;
}

h1, h2{
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
}

.tile {
    position: relative;
    height: 160px;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    transition: transform .2s ease;
}

.tile:hover {
    transform: scale(1.03);
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.tile .content {
    position: relative;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tile img {
    width: 50px;
    height: 50px;
    filter: invert(1);
}

.tile span {
    font-size: 1rem;
    font-weight: bolder;
}
