/* 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;
}

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);
}

/* Body styling */
body {
    background-image: url('https://dtc-wsuv.org/ogarciafarina24/narrative/img/bandimage.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 250vh;
    /* Increased height to fit paragraphs */
    margin: 0;
}

#wrapper {
    overflow-x: hidden;

}

.text-container {
    position: relative;
    font-size: 100px;
    font-family: "8bit";
    font-weight: bold;
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1s ease-out, opacity 1s ease-out;
}

#glass-animals {
    margin-top: 100vh;
    text-shadow: 5px 5px 5px hotpink;
}

#start {
    margin: 60vh auto;
    text-shadow: 5px 5px 5px hotpink;
    opacity: 1;
    padding-bottom: 50vh;

}

#start:hover {
    font-style: italic;
    transform: scale(1.1);
    opacity: 1;
}

/* Paragraph styles */
.paragraph-container {
    position: relative;
    font-size: 20px;
    font-family: "8bit";
    background-color: black;
    color: white;
    padding: 2%;
    text-align: center;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1s ease-out, opacity 1s ease-out;
    width: 90%;
    margin: 20% auto;
    box-shadow: 6px 6px 5px hotpink;
    overflow-x: hidden;
    border-radius: 3px;
    text-align: left;
}


/* Class to trigger the animation */
.animate {
    opacity: 1;
    transform: translateY(-50px);
}

/* 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;
}

/* 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 {
    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:hover {
    background-color: gray;
    border-radius: 4px;
}

/* 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-image: url('https://dtc-wsuv.org/ogarciafarina24/narrative/img/bandimagemobile.jpg');
        background-position: center;
        overflow-x: hidden;
    }

    .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;
    }

}