/* Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.4;
    background-image: url('../img/concert7.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

ol,
ul {
    list-style: none;
}

/* Font setup */
@font-face {
    font-family: "8bit";
    src: url(https://dtc-wsuv.org/ogarciafarina24/narrative/fonts/8bit.ttf);
}

@font-face {
    font-family: "spacey";
    src: url(https://dtc-wsuv.org/ogarciafarina24/narrative/fonts/Spacey.otf);
}

@font-face {
    font-family: "varela";
    src: url(https://dtc-wsuv.org/ogarciafarina24/narrative/fonts/Varela.ttf);
}
/* Navigation Bar */
.navbar {
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-family: "spacey";
}

/* Navigation links */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    display: inline-block;
    padding-top: 2%;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}
#wrapper{
    font-family:"8bit";
    width:80%;
    margin: 5%  auto;
    font-size:28px;
    background-color: whitesmoke;
    padding: 1% 3%;
     box-shadow: 5px 5px 5px rgba(0, 0, 0, 1.0);
}
h1{
    text-align: center;
    font-weight:bold;
    margin:10% auto 3% auto;
    font-size:42px
}
p{
    font-family: "varela";
}

ol{
    margin:5% auto;
    font-size:16px;
}
h3{
    margin-top:10%
}
footer{
    font-size:10px;
    background-color: black;
    color: white;
    padding: 1%;
    text-align: center;
}

/* Keyframes for rotating background colors for #HomeLink */
@keyframes colorRotation {
    0% {
        background-color: purple;
    }

    25% {
        background-color: #f5945c;
    }

    50% {
        background-color: #E95088;
    }

    75% {
        background-color: #8EAF65;
    }

    100% {
        background-color: purple;
    }

    /* Loops back to the first color */
}

#HomeLink:hover {
    animation: colorRotation 8s infinite;
    /* Adjust the duration as needed */
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

#ZABALink:hover {
    background-color: purple;
    border-radius: 4px;
}

#HTBAHBLink:hover {
    background-color: #f5945c;
    border-radius: 4px;
}

#DreamlandLink:hover {
    background-color: #E95088;
    border-radius: 4px;
}

#ILYSFMLink:hover {
    background-color: #8EAF65;
    border-radius: 4px;
}

#SourceLink {
    background-color: gray;
    border-radius: 4px;
}
#logo{
    color: white;
    justify-content: flex-end;
    margin: 0 0 0 10%;
}

/* Hamburger menu (hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
}

/* Responsive styles */
@media (max-width: 768px) {

    body {
        background-position: center;
        overflow-x: hidden;
    }
    #wrapper{
        font-size: 14px;
    }
    ol{
        font-size:10px;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: black;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .navbar li {
        padding: 3%;
        border-bottom: 3px solid grey;
    }

    .navbar ul.active {
        display: flex;
        align-items: center;
        border: 1px solid grey;
        padding: 5%;
    }

    .hamburger {
        display: flex;
    }

    .paragraph-container {
        margin: 70vh auto;
    }

}