/* CSS DOCUMENT */

/*--------------------------------------------------------------------------------------------*/
/* FONTS IMPORT */
/*--------------------------------------------------------------------------------------------*/

@font-face {
    font-family: Impact;
    src: url("impact.ttf");
}

/*--------------------------------------------------------------------------------------------*/
/* CSS RESET */
/*--------------------------------------------------------------------------------------------*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*--------------------------------------------------------------------------------------------*/
/* BODY SETTINGS */
/*--------------------------------------------------------------------------------------------*/

body {
    color: #000000;
    display: flex;
    flex-direction: column;
    font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", "sans-serif";
    font-size: 18px;
    min-height: 100vh;
}

/*--------------------------------------------------------------------------------------------*/
/* FIXED FULLSCREEN BACKGROUND */
/*--------------------------------------------------------------------------------------------*/

.e-with-fixed-bg {
    position: relative;
    min-height: 100vh;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Page-specific backgrounds */
body .bg,
.background_news .bg {
    background-image: url("images/graffiti.jpg");
}

.background_about .bg {
    background-image: url("images/basketball.jpg");
}

.background_equipment .bg {
    background-image: url("images/turntables.jpg");
}

.background_vinyls .bg {
    background-image: url("images/lights.jpg");
}

.background_contact .bg {
    background-image: url("images/train.jpg");
}

/*--------------------------------------------------------------------------------------------*/
/* NAVIGATION SETTINGS */
/*--------------------------------------------------------------------------------------------*/

a:link,
a:visited {
    color: #000000;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

a:hover {
    color: gray;
}

a:active {
    color: black;
}

.logo {
    transition: all 0.4s ease-in-out;
}

.logo:hover {
    transform: scale(1.08);
}

/* Menübox padding stabil */
.menu_button div {
    padding-left: 6rem;
    padding-right: 6rem;
    transition: background 0.3s ease;
}

.menu_button div:hover {
    background: rgba(255,255,255,0.3);
}

/* Totop-Button */
#totop {
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
    color: #000000;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    padding: 0.5rem;
    z-index: 10;
    cursor: pointer;
}

/*--------------------------------------------------------------------------------------------*/
/* LAYOUT SETTINGS */
/*--------------------------------------------------------------------------------------------*/

#container {
    display: flex;
    width: 100%;
}

header {
    padding: 2rem;
    width: 420px;
    position: fixed;
}

.logo_container {
    text-align: center;
    margin-bottom: 3rem;
}

nav {
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
    display: flex;
    font-size: 1.8rem;
    flex-direction: column;
    line-height: 2.4rem;
    text-align: center;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    padding: 1rem 2rem; /* Innenabstand groß genug */
}

/* TITLE */
main {
    height: 7.22rem;
    margin-bottom: 2rem;
    margin-left: 420px;
    margin-top: 2rem;
    padding-top: 0.7rem;
    width: 50%;
}

h1 {
    font-size: 1.8rem;
}

.title {
    font-size: 3rem;
    background-color: rgba(255,255,255,0.5);
    text-align: center;
    border-radius: 5px;
}

/* CONTENT */
#content {
    background-color: rgba(255,255,255,0.5);
    border-radius: 5px;
    font-size: 1rem;
    line-height: 1.3rem;
    margin: 2rem 0;
    padding: 1.5rem 1.3rem;
}

.clearfix {
    clear: both;
}

/*--------------------------------------------------------------------------------------------*/
/* FORMS */
input,
textarea {
    background-color: rgba(255,255,255,0.0);
    border-bottom: 2px solid black;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    font-family: Impact;
    font-size: 0.9rem;
    padding: 0.2rem;
}

textarea {
    height: 5rem;
}

textarea,
input[type=text] {
    width: 60%;
}

input[type=submit],
button {
    background-color: rgba(255,255,255,0.5);
    border: 2px solid black;
    border-radius: 5px;
    font-family: Impact;
    font-size: 0.9rem;
    padding: 0.5rem;
    cursor: pointer;
}

/*--------------------------------------------------------------------------------------------*/
/* RESPONSIVE / HAMBURGER MENU */
/*--------------------------------------------------------------------------------------------*/

/* Hamburger Checkbox unsichtbar (blauer Haken weg) */
#hamburg {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Hamburger Linien */
.line {
    display: block;
    width: 35px;
    height: 4px;
    background: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

/* Hamburger unsichtbar auf Desktop */
.hamburg {
    display: none;
}

/* Mobile Styles */
@media (max-width: 991.98px) {

    .hamburg {
        display: block;
        position: relative;
        z-index: 50;
        cursor: pointer;
    }

    #container {
        flex-direction: column;
        padding: 1.5rem;
    }

    header {
        width: 100%;
        position: relative;
    }

    main, nav {
        width: 100%;
        margin: 0;
    }

    /* nav topmenu einklappen */
    nav.topmenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        padding: 0;
        background: transparent;
    }

    /* nav topmenu ausklappen */
    #hamburg:checked + .hamburg + nav.topmenu {
        max-height: 600px;
        padding: 1rem 2rem;
        background: rgba(255,255,255,0.5);
    }

    /* Hamburger Linien zu X transformieren */
    #hamburg:checked + .hamburg .line:nth-child(1){
        transform: translateY(10px) rotate(45deg);
    }
    #hamburg:checked + .hamburg .line:nth-child(2){
        opacity: 0;
    }
    #hamburg:checked + .hamburg .line:nth-child(3){
        transform: translateY(-10px) rotate(-45deg);
    }
}

/* Extra kleine Geräte */
@media (max-width: 575.98px) {
    textarea,
    input[type="text"] {
        width: 100%;
    }
}

/*--------------------------------------------------------------------------------------------*/
/* FOOTER */
footer {
    border-top: 1px solid black;
    font-size: 0.8rem;
    padding-top: 0.5rem;
    width: 100%;
}
