/* 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;
    overflow-y: hidden;
}

ol,
ul {
    list-style: none;
}

img {
    width: 100%;
}

video {
    width: 100%;

}

@font-face {
    font-family: "spacey";
    src: url(https://dtc-wsuv.org/ogarciafarina24/narrative/fonts/Spacey.otf);
}

@font-face {
    font-family: "8bit";
    src: url(https://dtc-wsuv.org/ogarciafarina24/narrative/fonts/8bit.ttf);
}


/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    /* Change to absolute */
    top: 50%;
    /* Center vertically */
    left: 50%;
    /* Center horizontally */
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    /* Adjust position to center */
}

/* Horizontal Wrapper */
.horizontal-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
    /* Adjust based on the number of panels */
    overflow-x: auto;
    /* Enable horizontal scrolling */
    margin: 0 auto;
    background-color: rgba(245, 148, 92, 0.5);

    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0 auto;

}

/* Panel Styling */
.panel {
    min-width: 100vw;
    height: 80vh;
    /* Set height to 100vh to fill the viewport */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-content: flex-end;
    font-size: 50px;
    color: white;
    text-align: center;
    padding: 30px;
    scroll-snap-align: start;
}

    #firstpanel {
        height: 80vh;
    }

    #zabacover {
        width: 60vw;
        max-width: 500px;
        justify-content: center;
        align-items: center;
        align-content: center;
        background-color: #f5945c;
        font-size: 32px;
        margin: -5% auto;
        border: #f5945c 20px solid;
        text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.75);
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.75);

    }

    #secondPanel {
        display: flex;
        justify-content: center;
        align-items: center;
        border: red solid 10px;
        width: 50vw;
    }

    #samplecontainer {
        width: 60vw;

    }

    #sample {
        border: #f5945c 8px solid;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 1.0);
        box-sizing: border-box;
        /* Ensures consistent sizing with border */

    }

    .text {
        width: 70%;
        font-size: 16px;
        background-color: #f5945c;
        padding: 4%;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 1.0);
        position: relative;
        bottom: 80px;
        right: 120px;
        max-width: 700px;
        text-align: left;
        border: #f5945c 4px solid;
        font-family: "8bit";
        line-height: 120%;
    }

    .contentcontainer {
        background-color: #f5945c;
        border: solid #f5945c 4px;
        width: 50%;
        background-repeat: no-repeat;
        background-size: cover;
        max-width: 700px;
        transform: scale(1.1);
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 1.0);
    }

    #firstpicture {
        background-image: url("../img/concert3.jpg");
    }

    #secondpicture {
        background-image: url("../img/concert4.jpg");
        border-radius: 100%;
    }

    .supimage {
        border: 4px solid #f5945c;
        width: 50%;
    }

    #thirdpanel {
        /*    display: flex;
        flex-wrap: wrap;
        */
    }

/* 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 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 {
    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;
}

#button {
    font-size: 128px;
    font-family: "8bit";
    text-shadow: 5px 5px 5px hotpink;
    position: relative;
    bottom: 20%;
    background-image: url("../img/htbahbnext.png");
    padding: 3%;
    border: solid 5px #C8A2C8;
}

#button:hover {
    transform: scale(1.2);
}

/* Responsive styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .text {
        font-size: 13px !important;
    }


}

@media (max-width: 768px) {
    .contentcontainer {
        width: 95%;
        padding: 2%;
    }

    .text {
        font-size: 12px !important;
        padding: 7% !important;

        width: 50%;
    }

    .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;
    }

    .panel {
        margin-right: 80%;
    }

    #sample {
        transform: scale(1.3);
        position: relative;
        bottom: 150px;
    }

}