/* Body */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(darkslateblue, darkslategrey);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

/* Original headers with glow */
h1 {
    color: gold;
    font-family: Bahnschrift;
    font-size: 5rem;
    text-align: center;
    text-shadow: 0 0 65px gold, 0 0 130px gold;
    margin: 0;
}

h2 {
    color: lightsalmon;
    font-family: Centaur;
    margin-left: 65px;
    text-shadow: 3px 3px 5px;
}

h3 {
    color: cornflowerblue;
    font-family: Century;
    margin-left: 65px;
}

h4 {
    color: darkseagreen;
    font-family: Perpetua;
    margin-left: 65px;
}

h5 {
    color: antiquewhite;
    font-family: "Bradley Hand ITC";
    margin-left: 65px;
}

h6 {
    color: white;
    font-family: "Ink Free";
    margin-left: 65px;
}

#sidebar-toggle {
    display: none;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.sidebar-btn {
    font-size: 2.5rem;
    background: rgba(72, 61, 139, 0.75);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    position: fixed;
    top: 15.5px;
    right: 25px;
    z-index: 3;
}

.sidebar-btn:hover {
    box-shadow: 0 0 25px 5px gold;
    color: gold;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: #111;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 140px 30px 20px 30px;
    box-sizing: border-box;
    font-size: 1.4rem;
    z-index: 2;
}

#sidebar-toggle:checked ~ .sidebar {
    right: 0;
}

.sidebar-link {
    display: block;
    padding: 15px 20px;
    margin: 15px 0;
    background-color: darkslateblue;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 1.3rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    background-color: gold;
    color: black;
    box-shadow: 0 0 20px 5px gold;
}

.sidebar h3 {
    color: white;
    margin-top: 25px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

body > h2,
body > h3,
body > h4,
body > h5,
body > h6,
#box1, img, .div1,
p {
    margin-top: 160px;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .sidebar {
        width: 250px;
        padding-top: 120px;
        font-size: 1.2rem;
    }

    .sidebar-btn {
        font-size: 2rem;
        padding: 12px 18px;
    }

    .sidebar-link {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
}
