* {
    padding: 0;
    margin: 0;
    color: white;
    overflow-anchor: none;
}

* a {
    text-decoration: none;
    color: white;
}

body {
    background-image: url("../media/images/NIU! Background.webp");
    background-attachment: fixed;
}

footer {
    margin-top: auto;
}

.centre {
    margin-left: auto;
    margin-right: auto;
}

.infoCard {
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.9);
}

#videoBackground {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    filter: opacity(0.8);
}

#top {
    position: absolute;
    width: 100%;
    z-index: 999;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#navBar {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    z-index: 1000;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: 1px solid hsla(0, 0%, 100%, .2);
    background-color: #542557;
    box-shadow: 0 1px 15px -5px #000;
    font-family: 'Dinot medium', sans-serif;
    background: rgba(84, 37, 87, 0.98);
    color: white;
}

#navToTop {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 10px;
    padding: 2px 10px;
    background-color: rgba(31, 31, 31, 0.5);
    font-weight: bold;
    font-size: large;
    cursor: pointer;
}

#navToTop:hover {
    background-color: rgba(31, 31, 31, 0.9);
}

#navToTop:active {
    background-color: #658bd8;
}

#siteBadge {
    padding: 10px;
    margin-left: 100px;
}

.nav-item {
    margin-right: 10px;
    font-size: large;
    font-family: 'Dinot medium', sans-serif;
}

.nav-item div {
    cursor: pointer;
}

.nav-link {
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.nav-link:hover {
    color: #658bd8;
    text-shadow: none;
    text-decoration: none;
}

.nav-link:active {
    color: red;
}

.navbar-toggler {
    border-color: black;
    border-width: 2px;
    filter: grayscale(1) invert(1);
}

.header_pad {
    margin-top: 150px;
}

#eventInfo div {
    padding: 5px;
    border-radius: 5px;
}

#eventInfo a {
    text-decoration: none;
    color: white;
}

#eventInfo_addr:hover {
    background: rgba(84, 37, 87, 0.8);
}

#eventInfo_addr:active {
    background: rgba(84, 37, 87, 1);
}

#eventInfo_hours {
    font-size: large;
}

#eventInfo_hours td {
    padding-right: 10px;
}

#about {
    margin-left: 3px;
}

#about a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#about a:hover {
    color: red;
}

#beneficiary a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#beneficiary a:hover {
    color: purple;
}

.btn-outline-purple {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0);
    border-color: #cb41d8;
    color: #cb41d8;
    margin: 5px;
}

@media (max-width: 990px) {
    #about {
        margin-left: 0;
    }

    .modal-xl {
        max-width: 90%;
    }
}

.tab-pane {
    margin-left: auto;
    margin-right: auto;
}

.social-media-icons {
    margin-left: 25px;
    margin-right: 25px;
}

.nav-tabs .nav-item .nav-link {
    background-color: #0080ff00;
    color: #FFF;
}

.nav-tabs .nav-item .nav-link.active {
    background-color: #542557;
    outline: #542557;
    color: #FFF;
}

#background {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 90%;
}

#backToHome {
    position: fixed;
    padding: 10px;
    bottom: 0;
    right: 0;
    z-index: 1000;
    opacity: 30%;
    background-color: rgb(0, 0, 0);
}

#backToHome:hover {
    opacity: 100%;
}

/* iOS Specific */
@supports (-webkit-touch-callout: none) {
    body {
        background-image: url("../media/images/NIU! Background.webp");
        /* background-attachment: fixed; */
        background-attachment: initial;
    }

    #videoBackground {
        display: none;
        opacity: 0%;
    }
}