* {
    list-style-type: none;
}

body {
    height: 100vh;
    margin: auto;
    display: grid;
    grid-gap: 10px;
    /*grid-template-rows: 6rem 20rem 15rem 10rem 15rem;*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
    "nav 			    nav 				nav 				nav"
    "carusel            carusel 		    carusel             carusel"
    "text               text                text                text"
    "button             button              button              button"
    "footer             footer 				footer              footer";
}

.contactGrid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
    "firstname          lastname"
    "mail               mail"
    "maintext           maintext"
    "submit             submit";
}

.form-item {
    padding: 5px;
    margin: 5px;
}

#firstname{
    grid-area: firstname;
}
#lastname{
    grid-area: lastname;
}
#mail{
    grid-area: mail;
}
#maintext{
    grid-area: maintext;
    min-height: 10rem;
    overflow:scroll;
    height: 20rem;
    resize: none;
}
#submit{
    grid-area: submit;
}
#submitbutton{
    background: rgba(0, 132, 204, 1.00);
    min-height: 2.5rem;
    border: 3px solid white;
    border-radius: 10px;
    float: right;
}
#submitbutton:hover{
    opacity: 60%;
}

.responsive {
    /*width: 50px;*/
}


/*DROPDOWN*/
#dropdowns {
    display: flex;
    justify-content: center;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;

}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    opacity: 80%;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/*ENDE DROPDOWN*/

p {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
}

li {
    text-decoration: none;
}

#footerLogo .img {
    margin-left: unset;
    width: 10%;
}

li::marker {
    display: none;
}

header a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.logo {
    z-index: -1;
    width: 140px;
    float: left;
    position: absolute;
    padding-left: 1rem;
    margin-top: 1rem;
}

header {
    width: 100%;
    height: 6rem;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2;
    background: white;
    grid-area: nav;
}

header nav {
    float: left;
    padding-top: 1.5rem;
}

.m-content {
    margin: 5rem 15rem;
    margin-bottom: 5rem;
    text-align: justify;
    text-align-last: center;
}
.contactContent{
    margin: 5rem 15rem;
    margin-bottom: 5rem;
    text-align: justify;
}

header nav ul li {
    float: left;
    margin-left: 90px;
}

.logo img {
    width: 50%;
}

.InstaLogo {
    width: 140px;
    display: block;
    margin-left: auto;
    margin-top: 2rem;
}

.InstaLogo img {
    width: 35%;
}

.carusel {

    background: yellow;
    grid-area: carusel;
}

.mainContainerFerienzeiten{
    grid-area: carusel;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text {
    grid-area: text;
}

.button {
    background: #f0f0f0;
    grid-area: button;
}

footer {
    padding-left: 20rem;
    padding-right: 20rem;
    grid-area: footer;
}

#bewerben {
    padding: 50px;
    text-align: center;
}

#bewerben .btn {
    background: #0084cc;
    font-size: 15pt;
    padding: 16px 105px;
    color: black;
}

#bewerben p {
    margin-bottom: 50px;
}

#header .container {
    display: flex;
}

#header .items {
    flex-grow: 1;
}

footer .container {
    display: grid;
    grid-template-rows:1fr;
    grid-template-columns:30% 17.5% 17.5% 17.5% 17.5%;
}

footer div p {
    font-size: smaller;
    font-weight: unset;
    color: #525252;
}

footer div a {
    color: #525252;
}


/*Slider*/

#slider {
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    z-index: 0;
}

.control {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    padding: 2%;
    background: #2a2a2a;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    z-index: 1;
    cursor: pointer;
}

.control:hover {
    opacity: 1;
    transition: all 0.2s ease;
}

.prev {
    border-radius: 0 14px 14px 0;
}

.next {
    right: 0;
    border-radius: 14px 0 0 14px;
}

@media screen and (max-width: 1070px) {
    #header nav {
        display:none;
    }
}

@media screen and (min-width: 1070px) {
    #header #mobile {
        display:none;
    }
}

.dist {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#slider .mainImg {
    border-radius: 7px 7px 7px 7px !important;
}

#slider img {
    max-height: 600px;
}

#slider .nextImg {
    border-radius: 14px 14px 14px 14px;
    margin: 10px;
    max-height: 350px;
    max-width: 350px;
}

#slider .prevImg {
    border-radius: 14px 14px 14px 14px;
    margin: 10px;
    max-height: 350px;
    max-width: 350px;
}

/*#slider .container img {
    width: 100%;
    z-index: -2;
}*/

#slider body {
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slider .container {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
    0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
}

button {
    height: 10%;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    padding: 1em;
    display: flex;
}

button .arrow {
    border: solid #fff;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 10px;
    transition: transform 0.3s ease-out;
    outline: none;
}

#right-btn {
    z-index: 100;
    margin: auto 0 auto -2em;
}

#right-btn .arrow {
    transform: rotate(-45deg);
}

#left-btn {
    z-index: 100;
    margin: auto -2em auto 0;
}

#left-btn .arrow {
    transform: rotate(135deg);
}
