
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
}

@font-face {
    font-family: 'Wotham';
    src: url('/static/fonts/Wotham.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quetine';
    src: url('/static/fonts/Quetine.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Showclick';
    src: url('/static/fonts/Showclick.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Travellia';
    src: url('/static/fonts/Travellia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Royalty Free';
    src: url('/static/fonts/Royalty Free.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gate Street';
    src: url('/static/fonts/Gate Street-1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Christmas Garland';
    src: url('/static/fonts/Christmas Garland.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

section,
main,
header,
footer,
article,
address {
    display: block;
    position: relative;
}

html,
body {
    font-family: 'Helvetica', sans-serif;
    font-size: 1.125em;
    font-weight: 200;
    /*color: #303030;*/
    background-color: #EEEEEE;
    background-image: url("/static/images/HintergrundSkizze-small.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.text-content-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 42rem) {
    .text-content-container {
        max-width: 46rem;
    }
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    max-height: 16rem;
    padding: 0.5rem;
}

.header-logo {
    max-height: 14rem;
    display: inline-block;
}

.header-logo img {
    max-height: 14rem;
    max-width: 100%;
    padding: 1rem 1rem 2rem 1rem;
}

em {
    font-style: italic;
}

h1 {
    font-size: 3rem;
    font-weight: 500;
    font-family: 'Travellia', sans-serif;
}

h2 {
    font-size: 2.5rem;
    font-weight: 500;
    font-family: 'Travellia', sans-serif;
    padding-top: 2rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

h3, h4, h5 {
    padding-bottom: 0;
    margin-bottom: 0;
}

a {
    color: #333333;
    font-weight: 700;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-bottom: .7em;
}

ul {
    margin-top: 0;
}

p a {
    font-weight: 500;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

.footer-links {
    display: inline-block;
    margin-left: 4rem;
}

@media (max-width: 800px) {
    .footer-links {
        font-size: 1.0rem;
        margin-left: 0;
    }
}

.footer-links a {
    padding-left: 1rem;
    text-decoration: none;
}

@media (max-width: 24rem) {
    .footer-links {
        padding-left: 0;
    }

    .footer-links a {
        padding-left: 0;
        text-decoration: none;
    }
}

.instagram-svg {
    max-width: 32px;
    top: 0.4em;
    position: relative;
}

.mail-icon {
    max-width: 28px;
    top: 0.3em;
    position: relative;
}

.scgd-logo {
    position: relative;
    top: 1.25rem;
    left: 1.25rem;
    margin-top: 1rem;
    max-width: 180px;
}

@media screen and (min-width: 300px)  and (max-width: 600px){
    .scgd-logo {
        max-width: 200px;
        margin-left: 15%;
        margin-top: 0.25rem;
    }
}


@media (min-width: 48rem) {
    .scgd-logo {
        max-width: 200px;
        display: initial;
    }
}

a.footer-quicklinks {
    padding-left: 0.125rem;
    padding-right: 0.375rem;
    cursor: pointer;
    text-decoration: none;
}

a.footer-quicklinks:hover {
    cursor: pointer;
    text-decoration: none;
}


.padding {
    padding: 0 1em;
}

.button {
    display: inline-block;
    padding: .6em 1em;
    margin: 1em 0;
    font-size: 1em;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 3px solid;
    border-radius: 3px;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.clear {
    clear: both;
}

.clearfix:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    clear: both;
}

#burger-nav {
    width: 2.5em;
    height: 1.8em;
    position: fixed;
    top: 2em;
    right: 2em;
    z-index: 210;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#burger-nav span {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 2px;
    background-color: #ededed;
    transition: all 0.3s ease-in-out;
    background-color: rgba(53, 76, 63, .9);
}

#burger-nav.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    background-color: #ededed;
}

#burger-nav.active span:nth-child(2) {
    opacity: 0;
    background-color: #ededed;
}

#burger-nav.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
    background-color: #ededed;
}

#main-nav-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 85vw;
    height: 100vh;
    z-index: 200;
    background-color: rgba(96, 119, 106, .9);
}

#main-nav {
    display: flex;
    align-items: normal;
    text-align: left;
    padding: 1.2em;
    height: 100vh;
}

#main-nav-ul {
    width: 100%;
    list-style: none;
    padding: 0;
}

#main-nav-ul a {
    font-size: 1.25em;
    display: block;
    color: #eeeeee;
    text-decoration: none;
    text-transform: uppercase;
    padding: .6em 0;
}

.contact-form {
    width: 100%;
}

.contact-form ul {
    padding: 0;
    margin: 0;
}

.contact-form li {
    margin-bottom: 1.5rem;
    list-style: none;
}

.contact-form label {
    display: inline;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    display: inline-block;
}

.contact-form input[type="checkbox"] + label {
    display: inline-block;
    font-weight: normal;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button,
.contact-form input[type="submit"] {
    background-color: #354c3f;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover {
    background-color: #496053;
}

div.contact-form-submitted-message {
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: bold;
}


ul.errorlist {
    color: #ff1d3b;
}
