*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgb(15, 12, 12);
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: azure;
    overflow-x: hidden;
    position: relative;
}

body::before{
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('HollowKnightBackground.webp') repeat;
    opacity: 0.1;
    animation: drift 120s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 10000px 5000px; }
}

.Navbar {
    background-color: rgba(16, 7, 7, 0.85);
    padding: 50px 30px;
    text-align: center;
    border-bottom: 2px solid #066be8;
    backdrop-filter: blur(5px);
    background-image: url('HollowKnightHeader.webp');
    background-size: cover;
    background-position: center;

}

.Navbar ul {
    list-style: none;
    padding: 5px;
    margin: 4px 0 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    text-decoration: none;
}
.Navbar ul li {
    font-size: 1.1rem;
    color: #0444e6;
    transition: color 0.3s ease, background-color 0.3s ease;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 8px;
}
.Navbar ul li:hover {
    color: #000000;
    background-color: #000000;
}

a {
    color: #151413;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #fefefe;
}

header h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #f1efe7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    opacity: 0.9;
    cursor: pointer;
}

header p:hover {
    color: #0f0f0f;
    text-shadow: 0 0 10px #181818, 0 0 20px #20201f;
    animation: glow 2s infinite alternate;
}

@keyframes glow{
    0%{
        text-shadow: 0 0 10px #000000, 0 0 20px #000000;
    }
}

/*Trailer Section*/

main {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

    .trailer-video {
        width: 100%;
        max-width: 800px;
        height: 450px;
        border-radius: 10px;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
        transition: transform 0.3s, box-shadow 0.3s;

    }
    
section {
    max-width: 800px;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
    transform: translateY(0, 20px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 2px solid #000000;
    display: inline-block;
    padding-bottom: 5px;
}

/* Summary Section */
.summary {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}
.summary p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #3d3a3a;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer {
    background-color: rgba(1, 33, 149, 0.85);
    text-align: center;
    padding: 20px;
    border-top: 2px solid #066be8;
    font-size: 0.9rem;
    color: #ffffff;
    backdrop-filter: blur(5px);
}