/* GLOBAL */

html {
    font-size: 16px;
}

body {
    margin: 0;
    background-color:floralwhite;
    font-family: consolas;
}

* {
    box-sizing: border-box;
}

/* GENERELL */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.screenreader {
    display:none;
}


/* DESKTOP NAVIGATION */

#header-nav {
    height: 5.5rem;
    width:100%;
    background-color: orange;
    z-index: 1;
    font-family: consolas;
}

#header-nav h1 {
    position: absolute;
    font-family: consolas;
    margin-left: 3rem;
    margin-top: 1.75rem;
}

#desktop-nav ul {
    float:right;
    padding-right: 2rem;
}

#desktop-nav ul > li {
    display: inline-block;
    margin-left: 2rem;
    padding: 1rem;
    border: 2px solid black;

}

#desktop-nav ul > li > a {
    text-decoration: none;
    color: white;
    font-family: consolas;
}


#desktop-nav ul > li > a:hover {
    color: black;
}

#desktop-nav ul > li > .active > a:hover {
    color: orange;
}

#mobile-nav {
    display:none;
}

@media (max-width: 980px ) {

    #desktop-nav {
        display:none;
    }

    #mobile-nav {
        display:block;
    }
    
}


/* MOBILE NAVIGATION */

#mobile-nav-btn {
    float: right;
    font-size: 2rem;
    border: 2px solid #fff;
    width: 35px;
    height: 35px;
    position:relative;
    margin-top: 1.5rem;
    margin-right: 1.5rem;
}

#mobile-nav-btn > span {
    position: absolute;
    bottom: -2px;
    left: 7px;

}

#mobile-nav-content > ul > li {
    display: block;
    background-color: black;
    height: 50px;
    padding: .4rem 1.2rem;
    text-align: center;
}

#mobile-nav-content > ul > li > a {
    text-decoration: none;
    color: white;
}

#mobile-nav-content > ul > li > a:hover {
    text-decoration: none;
    color: orange;
}

#mobile-nav-dropdown {
    position:relative;
    float: right;
}

#mobile-nav-dropdown:hover > #mobile-nav-content {
    display: block;
    margin-top: .2rem;
}

#mobile-nav-content {
    position: absolute;
    right: 0;
    top: 50px;
    display: none;
}

.active{
    background-color: black;
}

/* INDEX */

#hero {
    margin-top: 2rem;
    color: black;
    position: relative;
    display: flex;
    font-size: 1.5rem;
    width: 60%;
    justify-self: center;
    border: 2px solid black;
    padding: 0 2rem;
}

#head h1 {
    text-align: center;
    margin-top: 5rem;
    font-size: 3rem;
}

#anleitung {
    margin-top: 3rem;
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-gap: 2rem;
}

#anleitung a {
    text-decoration: none;
}

.container {
    background-color: bisque;
    width: 60%;
    padding: 0.2rem 1rem;
    box-shadow: 5px 5px 8px black;
    align-content: center;
}

.container:nth-of-type(odd) {
    margin-left: auto;
}

@media (max-width: 980px) {

    #hero p {
        font-size: 1rem;
    }

    #anleitung {
        display:flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
        align-items: center;
        width: 95%
    }

    .container:nth-of-type(odd) {
        margin-right: auto;
    }

    .container h1 {
        font-size: 1.2rem;
    }
}

/* TEAM */

#dialogernummerinput, #dialogernameinput, #tage-input{
    text-align: center;
    margin-top: 1rem;
}

.select-all {
    margin-bottom: 1rem;
}

#dialogernummerinput {
    margin-top: 0;
}

#add-dialoger-btn {
    align-self: center;
    margin-top: 1.2rem;
    display:flex;
    margin-left: auto;
    margin-right: auto;
}

#team-container {
    border: 1px solid black;
    padding: 2rem 2rem;
    width: 60%;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}

#team-container button {
    background-color: orange;
    border-radius: 2px;
    border: none;
    padding: 0.5rem;
}

#team-container button:hover {
    box-shadow: 2px 2px 5px black inset;
}

#team-container ul  li {
    list-style: none;
    margin-top: 1rem;
}

#fr-tage {
    background: orange;
}

.submit {
    float: right;
    font-family: consolas;
}

input#fr-id[type=text] {
    width: 40px;
}

#fr-tage.show {
    width: 100px;
    border: none;
}

#fr-tage.hidden {
    display:none;
}

.tutorial-container {
    background-color: bisque;
    width: 50%;
    padding: 0 2rem;
    box-shadow: 5px 5px 8px black;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    border: 2px solid red;
}

#e-h1 {
    text-align: center;
    margin-top: 4rem;
}

#errorbox-success {
    background-color: rgb(34, 170, 34);
    width: 20%;
    padding: 2rem 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    border: 2px solid green;
    text-align: center;
    display: none;
}

#errorbox-failed {
    background-color: red;
    width: fit-content;
    height: fit-content;
    padding: 2rem 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    border: 2px solid rgb(165, 0, 0);
    text-align: center;
}

@media (max-width: 980px) {
    #team-container {
        width: 70%;
    }
    #team-container .tag {
        display: inline-block;
    }
}

/* KOSTEN */

.cost-container-body {
    border: 1px solid black;
    padding: 2rem 2rem;
    width: 60%;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}