body {
    font-family: 'Roboto', sans-serif;
    background-color: #fffbf466;
}

#wrapper {
    width: 100%;
}

#header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 33px;
    margin-top: 33px;
}


#header img {
    width: 26%;
}

#header h3 {
    margin-top: 10px;
    text-align: center;
}

#content {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.facebook, .instagram {
    border-left: solid 1px;
}

#top {
    width: 100%;
    background-color: #e50a7f;
    height: 75px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.item {
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 33%;
    min-width: 240px;
    flex-wrap: wrap;
    color: white;
    text-decoration: none;
    padding-top: 10px;
}


a:hover, a:hover .fa {
    text-decoration: none !important;
    color: white !important;
}

.item div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.item p {
    font-size: 18px;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.item i {
    font-size: 25px;
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
}


.unten {
    margin-bottom: 200px;
}

button {
    cursor: pointer;
}

#portfolio {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    grid-template-rows: 1fr 1fr;
    grid-gap: 2px;
}

#fotos, #fotos2, #fotos3, #fotos4, #fotos5, #start {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    justify-content: center;
}

#fotos.active, #fotos2.active, #fotos3.active, #fotos4.active, #fotos5.active, #start.active {
    display: flex;
}

.project {
    position: relative;
    background: #F2DAD7;
    overflow: hidden;
    width: 25vw;
    margin: 3px;
    height: 25vw;
    min-width: 200px;
    min-height: 200px;
}

.project img {
    position: absolute;
    opacity: 0.9;
    width: 100%;
}

.project p {
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 1em 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
}

.project .grid__title {
    position: absolute;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    bottom: 0;
    font-weight: 100;
    font-size: 0.8em;
    z-index: 3;
    text-transform: uppercase;
    color: white;
    letter-spacing: 2px;
    background-color: #e50a7f;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 0;
}

.project:hover .grid__overlay {
    transform: translateY(0%);
}

.grid__overlay {
    background: #e50a7f;
    height: 100%;
    grid-column: 1/-1;
    grid-row: 1/-1;
    position: relative;
    display: grid;
    justify-items: center;
    align-items: center;
    transform: translateY(101%);
    transition: all 0.3s ease-in-out;
}

.grid__overlay button {
    background: none;
    outline: none;
    font-weight: 100;
    letter-spacing: 2px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-transform: uppercase;
    padding: 10px;
}

.grid__overlay button:hover {
    transition: all 0.3s ease-in-out;
    background: #ffffff;
    color: #e50a7f;
    transform: scale(1.05);
}

.overlay {
    position: fixed;
    background: rgba(71, 69, 69, 0.7);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 3;
}

.overlay.open {
    display: grid;
    align-items: center;
    justify-items: center;
}

.overlay__inner {
    background: #ffffff;
    width: 700px;
    padding: 20px;
    position: relative;
    opacity: 1;
}

.close {
    position: absolute;
    top: 3px;
    right: 10px;
    background: none;
    outline: 0;
    color: #474545;
    border: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.close:hover {
    color: #D1A39E;
}

.nav {
    padding-bottom: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.nav li {
    padding: 5px;
    border: solid 1px pink;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.nav li.active {
    background-color: #e50a7f;
}

.nav li.active a {
    color: white;

}

.nav li a {
    color: #1b1e21;
}

.nav li:hover {
    background-color: #e50a7f;
}

.nav li:hover a {
    color: white !important;
}

li a:hover {
    color: #1b1e21 !important;
}
.infotext{
    width: 80%;
    text-align: center;
}

.impressum{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.impressum h2, .impressum p{
    text-align: center;
}
.impressum h2{
    color: #e50a7f;
}
.project a{
    color: white!important;
}
#footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffbac66e;
    padding-left: 20px;
    color: #e50a7f;
}
.impressum_link{
    padding: 20px;
    color: #e50a7f;
    cursor: pointer;
    text-decoration: none;
}
.impressum_link:hover{
    color: black!important;
}


@media only screen and (max-width: 1000px) {
    .item {
        width: 100%;
    }

    #header img {
        width: 45%;
    }
}
@media only screen and (max-width: 480px) {
    .item p {
        font-size: 1em;
    }

    #top {
        flex-direction: column;
        height: auto;
        background-color: white;
    }

    .item {
        background-color: #e50a7f;
        margin-left: 0;
        margin-top: 2px!important;
        margin-bottom: 2px!important;

    }

    .facebook, .instagram {
        border-left: none;
    }
    .grid__title{
        font-size: 0.5em!important;
    }
    ul li{
        margin-bottom: 4px;
    }
}

@media only screen and (max-width: 650px) {

    .item p {
        font-size: 1em;
    }

    #top {
        flex-direction: column;
        height: auto;
        background-color: white;
    }

    .item {
        background-color: #e50a7f;
        margin-left: 0;
        margin-top: 2px!important;
        margin-bottom: 2px!important;

    }

    .facebook, .instagram {
        border-left: none;
    }
    .grid__title{
        font-size: 0.5em!important;
    }
    ul li{
        margin-bottom: 4px;
    }
}






