#login {
    margin: 0px auto;
    background-color: rgba(0, 0, 0, 0.76);
    max-width: 500px;
    width: 100%;
    height: 400px;
    border-radius: 1em;
    box-shadow: 0px 0px 15px 5px black;
    position: relative;
    top: 2.5rem;
}

#form {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-family: monospace;
}

#submit {
    position: relative;
    top: 2.5rem;
}

#username,
#password {
    margin: 1rem;
}

#navdiv {
    display: flex;
    justify-content: space-evenly;
    padding: 0 20px;
    margin: 0px auto;
}

a {
    color: white;
    font-family: monospace;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    position: relative;
}

#maindiv {
    margin: 0px auto;
    background-color: rgba(0, 0, 0, 0.76);
    width: 100%;
    max-width: 500px;
    height: 600px;
    box-shadow: 0px 0px 15px 5px black;
    margin-top: 2.5em;
    padding: 0px 1rem;
    border-radius: 0.5rem;
}

p {
    line-height: 2rem;
    color: white;
    font-family: monospace;
    font-size: 1.3em;
    text-align: center;
}

body {
    background-image: url(./backgroundimg.jpg);
    padding-bottom: 60px;
}

#nava::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    text-align: center;
    opacity: 0%;
    text-align: center;
    transform: translateY(0px);
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
    display: flex;
}

#nava:hover::after {
    opacity: 100%;
    transform: translateY(10px);
    transform: scaleX(1);
}

#title {
    width: 600px;
    background-color: rgba(0, 0, 0, 0.76);
    box-shadow: 0px 0px 15px 5px black;
    border-radius: 0.5rem;
    margin: 0px auto;
    position: relative;
    top: 1.5rem;
}

.event {
    background-color: rgba(0, 0, 0, 0.76);
    box-shadow: 0px 0px 15px 5px black;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto;
    position: relative;
    top: 2.5rem;
    font-family: monospace;
    color: white;
    text-align: center;
}

.countdown {
    font-family: monospace;
    color: white;
    text-align: center;
    font-size: 1.25rem;
    position: relative;
}

#firstrow {
    position: relative;
    top: 2.5rem;
    display: flex;
    justify-content: space-evenly;
    justify-items: center;
    padding: 20px 0px;
}

#rowelement {
    background-color: rgba(0, 0, 0, 0.76);
    box-shadow: 0px 0px 15px 5px black;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}


#playlist {
    display: flex;
    justify-content: center;
    justify-items: center;
    position: relative;
    top: 2.5rem;
}

iframe {
    max-width: 700px;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 5px black solid;
}

footer {
    position: relative;
    top: 1rem;
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

@media (max-width: 475px) {
    #navdiv {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        padding: 0 20px;
        margin: 0px auto;
        max-width: 500px;
        width: 100%;
    }

    #firstrow {
        position: relative;
        top: 2.5rem;
        display: flex;
        flex-direction: column;
        row-gap: 1.5rem;
        max-width: 475px;
        width: 90%;
        margin: 0px auto;
    }

    #footer {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    #login {
        margin: 0px auto;
        background-color: rgba(0, 0, 0, 0.76);
        max-width: 500px;
        width: 90%;
        height: 400px;
        border-radius: 1em;
        box-shadow: 0px 0px 15px 5px black;
        position: relative;
        top: 2.5rem;
    }
}

@media (max-width: 400px) {

    #maindiv {
        margin: 0px auto;
        background-color: rgba(0, 0, 0, 0.76);
        width: 90%;
        max-width: 500px;
        max-height: 850px;
        height: 100%;
        box-shadow: 0px 0px 15px 5px black;
        margin-top: 2.5em;
        padding: 0px 1rem;
        border-radius: 0.5rem;
    }

    #title {
        width: 100%;
        max-width: 400px;
        background-color: rgba(0, 0, 0, 0.76);
        margin: 0px auto;
        position: relative;
        top: 1.5rem;
    }
}

@media (max-width: 412px) {
    #navdiv {
        display: flex;
        justify-content: space-evenly;
        padding: 0 20px;
        margin: 0px auto;
        max-width: 800px;
        width: 100%;
    }
}


