:root {
    font-size: 62.5%;
}


@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto-Med';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto-Light';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
}

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: left;
}

audio {
    width: 30rem;
    height: 7rem;
    outline: none;
}

.audio-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    border-radius: 1rem;
    height: 2rem;
    margin-bottom: 3.2rem;
}

/* Customize the audio controls (browser-dependent) */
audio::-webkit-media-controls-panel {
    background-color: #e2e2e2;
    border-radius: 0.5rem;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-volume-slider {
    border-radius: 0.5rem;
}

/* Label styling */
.audio-label {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #161616;
}

.important {
    text-align: center;
}

body {
    background-color: #161616;
    color: #e2e2e2;
    font-family: 'Roboto-Light', Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
}

body.home {
    background-color: #e2e2e2;
    animation: fadeBg 3s ease-in-out forwards;
}

.emp {
    font-family: 'Roboto-Med', Arial, Helvetica, sans-serif;
    font-size: 2.4rem;
}

.hidden {
    color: #161616;
}

@keyframes fadeBg {
    from {
        background-color: #e2e2e2;
    }
    to {
        background-color: #161616;
    }
}

header {
    display: flex;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/*For image size optimization with mobile and desktop*/
@media (min-width: 768px) {
    img {
        max-width: 500px; /* Limits width to 600px */
    }
}

h1 {
    font-family: 'Bebas Neue';
    text-transform: uppercase;
    text-align: center;
    font-size: 6rem;
    letter-spacing: 0.3rem;
    margin-bottom: 3rem;
}

h2 {
    font-family: 'Bebas Neue';
    text-transform: uppercase;
    text-align: center;
    font-size: 4rem;
    letter-spacing: 0.3rem;
    margin-bottom: 3rem;
}

p {
    margin-bottom: 3.2rem;
    line-height: 1.5;
}

a {
    color: #e2e2e2; /* White color for links */
    text-decoration: underline; /* Always underlined */
    font-family: 'Roboto-Med', Arial, sans-serif;
}

a:visited {
    color: #e2e2e2; /* Keeps the color white for visited links */
    font-family: 'Roboto-Med', Arial, sans-serif;
}

a:hover {
    color: #e2e2e2; /* Keeps the color white on hover */
    font-family: 'Roboto-Med', Arial, sans-serif;
    cursor: pointer;
}

a:focus {
    color: #e2e2e2; /* Keeps the color white when focused */
    font-family: 'Roboto-Med', Arial, sans-serif;
}

.button {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 34rem;
    padding: 1rem 2rem;
    border: 0.2rem solid #e2e2e2;
    text-decoration: none;
    border-radius: .5rem;
    font-family: 'Roboto-Med', Arial, sans-serif;
    font-size: 1.8rem;
}

footer {
    width: 100%;
    height: 10rem;
    text-align: center;
    color: #e2e2e2;
    margin-top: 8rem;
}

.stuck {
    font-size: 1.5rem;
}

.footerbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 50rem;
    margin: 0 auto;
}

.footerbutton {
    padding: 0.5rem 1rem;
}