header {
    margin: 0;
    min-height: 300px;
    height: 30%;
    text-align: center;
    background-image: url("../img/banner-1dd0dd3cd8945fc0bec2508be9f83cf3.wepb");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-title, .main-title-mini {
    margin-top: 35px;
    padding: 5px;
    border: 5px solid white;
    background-color: rgba(255, 255, 255, 0.50);
}

header .main-title-mini {
    display: none;
}

header .main-title h1 {
    font-family: gotham-medium, sans-serif;
    color: var(--dark-blue);
    margin-top: 10px;
}

header .main-title {
    margin-left: 1em;
    display: inline-block;
    text-align: center;
}

header .header-twitter-and-buttons-block {
    float: right;
    margin: 1em;
    position: absolute;
    top: 1em;
    right: 1em;
}

header #change-theme {
    margin-top: 1em;
}
header #admin-link {
    margin-top: 1em;
}

header #logout {
    margin-top: 1em;
}

#header-logo svg{
    width: 5em;
    height: 5em;
}

.main-title a h1{
    display: flex;
    flex-direction: column;
    stroke-width: 1em;
    font-size: 1.5em;
}

@media (width < 1100px) {
    header {
        min-height: 50px;
    }

    header .header-twitter-and-buttons-block {
        display: inline;
        margin: 1em;
    }

    header .header-twitter-and-buttons-block svg {
        height: 37px;
        width: 37px;
    }

    header #admin-link svg,
    header #logout svg{
        height: 16px;
        width: 16px;
    }
    header #admin-link svg,
    header #logout svg,
    header .header-twitter-and-buttons-block svg {
        vertical-align: middle;
    }

    header #change-theme,
    header #admin-link,
    header #logout{
        display: inline;
    }

    header .main-title {
        display: none;
    }

    header nav,
    header .main-title-mini {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 5px;
        display: inline-block;
    }
    .main-title-mini h1 {
        flex-direction: row;
        margin:0;
    }

    #header-logo svg{
        width: 2.5em;
        height: 2.5em;
    }
}
