*{
    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('Silk.png') 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 #7a1b01;
    backdrop-filter: blur(5px);
    background-image: url('SilksongHeader.jpg');
    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: #830f05;
    transition: color 0.3s ease, background-color 0.3s ease;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 8px;
}
.Navbar ul li:hover {
    color: #6d0101;
    background-color: #7d0404;
}

a {
    color: #451104;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #fefefe;
}

header h1 {
    font-size: 3rem;
    color: #380000;
    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: #570101;
    text-shadow: 0 0 10px #550000, 0 0 20px #950200;
    animation: glow 2s infinite alternate;
}

@keyframes glow{
    0%{
        text-shadow: 0 0 10px #740000, 0 0 20px #620000;
    }
}

/*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(0, 0, 0, 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: #f65858;
    margin-bottom: 20px;
    border-bottom: 2px solid #550303;
    display: inline-block;
    padding-bottom: 5px;
}

/* Summary Section */
.summary {
    background-color: rgba(110, 1, 1, 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: #3e0202;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer {
    background-color: rgba(80, 10, 3, 0.85);
    text-align: center;
    padding: 20px;
    border-top: 2px solid #ff2503;
    font-size: 0.9rem;
    color: #ffffff;
    backdrop-filter: blur(5px);
}