/* Asterisk wildcard selector to override default styles added by the browser */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*********************************** General Styles */

html {
    overflow-x: hidden;
}

body {
    height: 100%;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.content {
    padding: 5px 0;
    position: relative;
}

.content-box {
    width: fit-content;
    padding: 20px;
    margin-top: 15px;
    font-size: 1.3rem;
    text-align: center;
    color: #fff;
    border-radius: 15px;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/* Headers */
h1 {
    font-family: 'Permanent Marker', sans-serif;
}

h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.page-header {
    color: #fff;
    font-size: 35px;
    text-shadow: 3px 3px 2px #020c0e;
}

/* Secondary Text */
p {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
}

/* Colours */

.fade-bg {
    background-color: rgba(0, 0, 0, 0.7);
}

.dark-bg {
    background-color: #020c0e;
}

.errorlist {
    list-style-type: none;
}

/* Links */

.fade-link {
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.6);
}

.fade-link:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #919396;
}

.welcome-link {
    margin-top: -40px;
    margin-bottom: 50px;
}

.link-div {
    width: fit-content;
    padding: 5px;
    color: #fff;
    border-radius: 15px;
    text-align: center;
}

.link {
    color: #919396;
}

.link:hover {
    color: #fff;
}

/*********************************** Background Images */
.index-bg {
    background-image: url('../images/festival-image-5.jpg');
}

.festival-list-bg {
    background-image: url('../images/festival-image-7.jpg');
}

.festival-search-bg {
    background-image: url('../images/festival-image-6.jpg');
}

.add-festival-bg {
    background-image: url('../images/festival-image-2.jpg');
}

.edit-festival-bg {
    background-image: url('../images/festival-image-8.jpg');
}

.user-profile-bg {
    background-image: url('../images/festival-image-1.jpeg');
}

.about-bg {
    background-image: url('../images/festival-image-11.jpg');
}

.contact-us-bg {
    background-image: url('../images/festival-image-3.jpeg');
}

.signup-bg {
    background-image: url('../images/festival-image-4.jpg');
}

.login-bg {
    background-image: url('../images/festival-image-9.jpg');
}

.logout-bg {
    background-image: url('../images/festival-image-10.jpg');
}

.password-change-bg {
    background-image: url('../images/festival-image-12.jpg');
}

/*********************************** Buttons */
.btn, button {
    font-family: 'Montserrat', sans-serif;
}

.search-btn {
    padding: .1rem .5rem;
    margin-bottom: 3px;
    background-color: #373F47;
}

.dark-btn {
    background-color: #020c0e;
    color: #fff;
}

.dark-btn:hover {
    background-color: #fff;
    color: #020c0e;
}

.light-btn {
    background-color: #fff;
    color: #020c0e;
}

.light-btn:hover {
    background-color: #020c0e;
    color: #fff;
}

.profile-dropdown-btn {
    color: rgba(255, 255, 255, .55);
}

.profile-dropdown-btn:hover {
    color: rgba(255, 255, 255, .75);
}

.profile-dropdown-btn:focus {
    color: rgba(255, 255, 255, .75);
}

.artist-btn {
    margin-bottom: 1rem;
}

.btn-margin {
    margin: 0 20px;
}



/*********************************** Navbar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.brand {
    font-family: 'Permanent Marker', sans-serif;
    font-size: 1.6rem;
    font-weight: 200;
}

.active {
    font-weight: 500;
}

.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #919396;
}

.artist-checkboxes .checkbox {
    width: 50%;
}

.scrollable-checkboxes {
    display: flex;
    flex-wrap: wrap;
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px;
}

.navbar-brand-container {
    flex: 1;
}

.navbar-nav {
    flex: 1;
}

/* Profile Dropdown */
.profile-dropdown {
    right: 0;
    transform: translateX(-48%);
    min-width: 7rem;
    text-align: center;
    margin-top: 0.7rem !important;
}

.profile-icon-container {
    position: fixed;
    top: 8px; 
    right: 80px;
    z-index: 1030;
}

.profile-dropdown-menu {
    width: 165px; 
    text-align: center;
    min-width: 0;
    transform: translate3d(-54px, 47px, 0px) !important;
}

/*************************** Hero Box */

.hero-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-box > h1 {
    margin-top: 60vh;
    color: #fff;
    font-size: 65px;
    margin-bottom: -12px;
    margin-right: 5px;
    text-align: right;
    text-shadow: 6px 6px 3px #020c0e;
}

.hero-box > h3 {
    color: #fff;
    margin-bottom: 20px;
    text-align: right;
    margin-right: 5px;
    text-shadow: 2px 2px 2px #020c0e;
}

.search-div {
    margin-bottom: 20px;
    margin-right: 5px;
}

#search-form {
    position: relative;
    z-index: 2;
}

/************************** Slick Slider */

/* Arrows */
.slick-next:before, .slick-prev:before {
    color: #fff;
    font-size: 40px;
    opacity: 1;
}

.slick-prev {
    left: -40px;
}

.slick-prev, .slick-next {
    top: 40%;
}

/* Dots */
.slick-dots li button:before {
    color: #fff;
    font-size: 15px;
    opacity: 0.75;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #fff;
}

/* Event Slide Card */
.event-slide {
    color: #fff;
    margin-bottom: 15px;
    border-radius: 15px;

}

.slick-slide > div {
    margin: 0 10px;
}

.card {
    border: none;
}

.image-container {
    position: relative;
}

.festival-image {
    position: absolute;
}

.card-title {
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.festival-link {
    color: #FCFBEF;
}

.card-body > hr {
        margin: 0.3rem 0;
        opacity: .25;
}

.event-slide:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

.festival-link:hover {
    color: #919396;
}

/* Event Image */
.image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.festival-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/************************** Index */

.content-box > h3 {
    margin-top: 25px;
}

#login-false {
    color: #fff;
    margin-top: 5px;
    margin-bottom: 15px;
}

.content-box h4 {
    color: #fff;
    margin-bottom: 10px;
}

.content-box h4:hover {
    color: #919396;
}

/************************** Festival List */
/* Pagination Controls */
.page-item.active .page-link {
    color: #373F47;
    background-color: #fff;
    border-color: #fff;
}

.page-link {
    color: #fff;
    background-color: #373F47;
    border: 1px solid #373F47;
}

.page-link:hover {
    color: #373F47;
}

.pagination-controls {
    margin-top: 50px;
}

/************************** Add Festival */

.form-box {
    margin-top: 50px;
    text-align: left;
    padding: 25px;
    font-size: 1.3rem;
    color: #fff;
    border-radius: 15px;
}

.form-box > h2 {
    text-align: center;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.map {
    height: 30vh;
    width: 70vw;
    margin: 30px auto;

}

/************************** Edit Festival */

.form-group > a {
    color: #919396;
}

.form-group > a:hover {
    color: #fff;
}

.checked {
    background-color: #919396;
}

/************************** Festival Detail */
.artist-box {
    color: #020c0e;
    margin-top: -15px;
    margin-bottom: 1rem;
}

.artist-box > ul {
    list-style-type: none;
    padding-left: 0;
}

/************************** User Profile */

.second-heading {
    color: #fff;
    margin-top: 20px;
}

/************************** About */
.about-box {
    width: fit-content;
    padding: 20px;
    margin-top: 15px;
    font-size: 1.3rem;
    text-align: center;
    color: #fff;
    border-radius: 15px;
}

.about-box > p {
    margin-top: 15px;
}

.p1 {
    color: #fff !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
}

.updated-on {
    text-shadow: 3px 3px 3px #020c0e;

}

/************************** Contact Us */

.contact-box {
    padding: 25px;
    margin-top: 15px;
    font-size: 1.3rem;
    text-align: left;
    color: #fff;
    border-radius: 15px;
}

/************************** Sign Up */

.account-box {
    width: fit-content;
    padding: 30px;
    margin-top: 15px;
    font-size: 1.3rem;
    text-align: left;
    color: #fff;
    border-radius: 15px;
}

.account-box > h3 {
    text-align: center;
    margin-bottom: 10px;
}

.signup > ul {
    list-style-type: none;
    padding-left: 0;
}

.signup > .errorlist {
    color: #FF0505;
}

/************************** Login */

.login > .errorlist {
    padding-left: 0;
    color: #FF0505;
}

/************************** Change Password */

.account-box > form > .errorlist {
    padding-left: 0;
    color: #FF0505;
}

.account-box > form > ul, .helptext > ul {
    list-style-type: none;
    padding-left: 0;
}

/************************** Messages */
.message-box {
    margin-top: 65px;
    color: #020c0e;
    background-color: #fff;
    text-align: center;
    padding-right: 0;
    border-radius: 15px;
    position: absolute;
    width: 80%;
    left: 10%;
}

.error-message {
    background-color: #FF0505;
    color: #fff;
}

/************************** Error Pages */
.error-box {
    width: fit-content;
    padding: 20px;
    margin-top: 15px;
    font-size: 1.3rem;
    text-align: center;
    color: #fff;
    border-radius: 15px;
}

.error-box > h3 {
    margin-top: 25px;
}

/************************** Footer */
footer {
    margin-top: 80px;
    background-color: #25292E;
}

.footer-icon {
    color: #FCFBEF;
    font-size: 30px;
    margin: 5px 30px;
}

.footer-icon:hover {
    color: #919396;
}

@media (min-width: 500px) {
    /* Hero Box */
    .hero-box > h1 {
        font-size: 80px;
    }

    /* Map */
    .map {
        height: 30vh;
        width: 100%;
        margin: 30px auto;
    }

}

@media (min-width: 768px) {
    /* Hero Box */
    .hero-box > h1 {
        margin-right: 0;
    }

    .search-div {
        margin-right: 0;
    }

    .hero-box > h3 {
        margin-right: 0;
    }

    /* Index */
    .page-header {
        font-size: 45px;
    }

    /* Messages */
    .message-box {
        margin-top: 80px;
        width: 50%;
        left: 25%;
    }

    .footer-icon {
        font-size: 35px;
        margin: 5px 60px;
    }
}


@media (min-width: 992px) {
    /* Hero Box */
    .hero-box > h1 {
        font-size: 100px;
    }

    /* Search */
    .search-div {
        margin-bottom: -20px;
    }

    /* Navbar */
    .navbar-collapse {
        display: flex;
        justify-content: center;
        flex-grow: 1;
    }

    .navbar-brand-container {
        flex: 1;
    }

    .navbar-nav {
        flex: 1; 
    }

    .brand {
        font-size: 2.2rem;
    }

    .profile-icon-container {
        top: 11px;
        right: 0px; 
        font-size: 22px
    }

    .dropdown-toggle::after {
        margin-right: 15px;
    }

    .navbar-links {
        font-size: 1.25rem;
    }

    .profile-dropdown-menu {
        transform: translate3d(-108px, 58px, 0px) !important;
    }

    /* Footer */
    .footer-icon {
        font-size: 40px;
        margin: 5px 100px;
    }

    /* About */
    .about-box {
        margin-top: 70px;
    }

    /* Contact */
    .contact-box {
        margin-top: 70px;
    }

    /* Account Pages */
    .account-box {
        margin-top: 70px;
    }

    /* Error Pages */
    .error-box {
        margin-top: 70px;
    }
    
}
