@font-face {
    font-family: AfacadFlux;
    src: url(AfacadFlux-VariableFont_slnt,wght.ttf);
}

@font-face {
    font-family: Newsreader;
    src: url(Newsreader-VariableFont_opsz\,wght.ttf);
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    font-family: AfacadFlux, sans-serif;
}

body {
    background-color: white;
    color: #02111B;
}

h2 {
    text-align: center;
}

header {
    width:100%;
    overflow: auto;
    margin-top: 0;
}

#inner-header {
    width: 100%;
    max-width: 900px;
    margin: auto;
    margin-top: 20px;
}

#toggle-navbar {
    display: block;
    background: none;
    border: none;
    margin: auto;
    width: 50px;
}

#toggle-navbar img {
    width: 100%;
}

#navbar-div {
    margin-top: 10px;
}

#navbar {
    transition: height 0.5s ease-out;
    height: 0px;
    overflow: hidden;
}

#navbar.visible {
    height: 200px;
}

header .header-logo-link {
    text-decoration: none;
}

header .header-logo-text {
    margin: 0;
    text-align: center;
    color: black;
    font-size: 3em;
    line-height: 1em;
}

header .header-logo-img {
    width: 100px;
}

header nav {
    overflow: auto;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

header nav a {
    font-size: 1.2em;
    display: block;
    padding: 10px;
    color: black;
    background: white;
    text-align: center;
    text-decoration: none;
    font-family: AfacadFlux, Courier, monospace;
}

header nav a:hover {
    background: #bb5959;
    color: white;
}

.container {
    padding: 0;
    margin: 0;
    margin: auto;
}

.not-found-message {
    text-align: center;
}

.not-found-message a {
    color: white;
}

.concert-list {
    padding: 0;
    margin: 0;
}

.concert-date-container {
    height: 3.5em;
    background: white;
    box-shadow: 1px 8px 23px -3px rgba(0,0,0,0.6);
    -webkit-box-shadow: 1px 8px 23px -3px rgba(0,0,0,0.6);
    -moz-box-shadow: 1px 8px 23px -3px rgba(0,0,0,0.6);
}

.concert-date-container:first-child {
    margin-top: 0px;
}

.concert-date-header {
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    display: block;
    color: black;
    background: rgb(255, 255, 255);
    font-family: AfacadFlux;
}

.concert-date-header.active {
    position: fixed;
    width: 100%;
    max-width: none;
    top: 0;
}

.concert-date {
    position: relative;
    top: -4px;
}

.event-venue-container {
    margin-top: 5px;
}

.event-venue {
    text-decoration: none;
    font-size: 1em;
    position: relative;
    top: -7px;
}

.event-description {
    font-size: 0.9em;
}

.concert-container:nth-of-type(2n) {
    background: #974646;
    color: white;
}

.concert-container:nth-of-type(2n + 1) {
    color: white;
    background: #ad5959;
}

.concert-container {
    width: 100%;
}

.concert {
    padding: 15px;
    color: white;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.concert a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-family: AfacadFlux;
    font-size: 1.2em;
}

.reject-button {
    background: rgb(161, 155, 155);
    color: black;
    padding: 10px 20px;
    border: 0;

}
.accept-button {
    background: rgb(38, 158, 38);
    color: white;
    padding: 10px 20px;
    border: 0;
}

.concert-extras {
    list-style: none;
}

.concert-extras li:before {
    content: '★';
    color: #C00;
}


.info {
    max-width: 600px;
    margin: auto;
    padding: 0px 20px;
    text-align: center;
}
.info a {
    color: black;
}

.search-form {
    margin-bottom: 20px;
    text-align:center;
}

.search-form input[type="submit"] {
    border: 0;
    box-shadow:0;
    padding: 10px;
    width: 50px;
}
.search-form input[type="text"] {
    border: 1px solid grey;
    box-shadow:0;
    padding: 10px;
}

#login-form, #add-concert-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: sans-serif;
}

#add-concert-form label {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

#add-concert-form input[type="text"],
#add-concert-form input[type="date"],
#login-form input[type="text"],
#login-form input[type="password"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

#add-concert-form input[type="submit"],
#login-form input[type="submit"] {
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}


#add-concert-form input[type="submit"]:hover {
    background: #822929;
}

@media only screen and (min-width: 900px) {

    #navbar-div {
        margin-top: 20px;
    }

    #toggle-navbar {
        display: none;
    }

    #navbar {
        height: auto;
        margin-top: 10px;
    }

    #navbar.visible {
        height: auto;
    }

    .not-found-message {
        text-align: left;
    }
    
    .search-form {
        position: relative;
        top: -40px;
        float: right;
        z-index: 20;
        margin-bottom: 0;
    }

    .event-title {
        display: inline;
    }

    header {
        text-align: left;
        overflow: show;
        margin-bottom: 0px;
    }

    header nav {
        text-align: left;
        overflow: hidden;
    }

    header nav a {
        font-size: 18px;
        display: block;
        padding: 10px 20px;
        color: black;
        background: white;
        display: inline-block;
        text-align: center;
        text-decoration: none;
    }

    header nav a:hover {
        background: #bb5959;
        color: white;
    }

    header .header-logo-text {
        text-align: center;
        padding: 20px;
    }

    .info {
        padding: 0px;
    }

  }