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

html {
    font-family: 'Space Mono', monospace;
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navbar {
    height: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("/images/Rectangle.png");
    min-height: 80px;
}

main {
    flex: 1;
}

button {
    background-color: #FFF0FE;
    border-radius: 30px;
    padding: 8px 14px;
    border: 3px solid #CB1CB9; 
    opacity: 0.8;
    position: absolute;
    right: 40px;
    top: 15px;
}

.navbar-item {
    text-decoration: none;
    color: #CB1CB9;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
}

.navbar-item:hover {
    text-shadow: 0 0 0.5em #CB1CB9, 0 0 0.5em #CB1CB9, 0 0 0.5em #CB1CB9;
    color: #FFF0FE;
}

h1 {
    color: #CB1CB9;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 10px;
}

.main-container {
    width: 100%;
    background-image: url("/images/Rectangle2.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 10px;
}

.main-container h1 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
}


h3 {
    display: flex;
}

h3 p {
    width: 100%;
    display: flex;
    justify-content: center;
}

h3 a {
    color: #CB1CB9;
    text-decoration: none;
    text-shadow: 0 0 0.1em #CB1CB9, 0 0 0.1em #CB1CB9, 0 0 0.1em #CB1CB9;
    background: #FFF0FE;
    letter-spacing: 2px;
    font-size: 15px;
    text-align: center;   
}

h3 a:hover {
    opacity: 0.8;
}
.projects-wrapper {
    display: flex;
    flex-direction: column;
}
.projects-wrapper-others {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
    margin-top: 20px;
}
#project-container-altitude,
#project-container-Kalkbrenner,
#project-container-luca,
#project-container-landingpages,
#project-container-bsound,
#project-container-Ola,
#project-container-drags {
  width: 100%;
}

#project-container,
#project-container-dressup
{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}   

.image-container,
.image-container-nextproject
 {
    width: 90%;
    max-width: 1020px;
    background: #FDF7FF;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    padding: 30px;
    border-radius: 15px;
}
.image-container img,
.image-container-nextproject img
 {
    border-radius: 5px;
    width: 100%;
    height: auto;
    display: block;
}
.image-container:hover,
.image-container-nextproject:hover {
    box-shadow: 0 0 1em #CB1CB9, 0 0 1em #CB1CB9, 0 0 1em #CB1CB9;
}
.project-title h2 {
    display: inline-flex;
    align-content: center;
    margin-top: 15px;
    font-size: 28px;
}
.project-title span {
    margin-top: 8px;
    cursor: pointer;
}
.project-title p {
    font-size: 18px;
}
.btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.live-site a {
    display: flex;
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #CB1CB9;
    border-radius: 15px;
    padding: 2px 15px;
    justify-content: flex-end;
    color:#CB1CB9;
}
#popup, 
#popup-neighbors, 
#popup-dress-up,
#popup-altitude,
#popup-Kalkbrenner,
#popup-luca,
#popup-landingpages,
#popup-bsound,
#popup-Ola,
#popup-drags {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
}

img {
    width: 100%;
}

.popup-content {
    max-width: 1200px;
    width: 90%;
    max-height: 90%;
    overflow: auto;
    background-color: #FDF7FF;
    border-radius: 5px;
    padding: 20px;
    text-align: justify;
}

.popup-content h1 {
    color: #4F4C4C;
    font-size: 30px;
}

.popup-content h3 {
    color: #4F4C4C;
    font-size: 20px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.popup-content h4 {
    color: #4F4C4C;
    font-size: 17px;
    text-decoration: underline;
}

.popup-content h5 {
    color: #CB1CB9;
    font-size: 16px;
    margin-top: 30px;
}

.popup-content p {
    color: #4F4C4C;
    font-size: 15px;
    margin-bottom: 10px;
}

.popup-content img {
    margin: 10px;
}

.popup-content video {
    margin: 40px 0px;
}

.popup-content li {
    list-style-type: none;
    margin: 10px 0 10px 20px;
}
.spacer {
    margin-top: 30px;
}

.altitude-img {
    margin: 40px 0px !important;
}

.phone-images-container {
    display: flex;
    justify-content: space-between;
}

.phone-images-container > div {
    margin: 20px;
}

#others-project-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.img-cover {
    width: 100%;
    margin-bottom: 10px;
}

.video-container {
    width: 100%;
    background-color: white;
}

.img-cover-bling {
    width: 100%;
    margin-top: 10px;
}


.video-cover {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}


#projects-image-container {
    width: 90%;
    max-width: 1020px;
    background: #FDF7FF;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    padding: 30px;
    cursor: pointer;
    border-radius: 5px;
}

.popup-content .full-img {
    margin: 40px 0px;
}



 /* Responsive Design */

 @media screen and (min-width: 800px) {

    #projects-image-container {
    width: 90%;
    max-width: 1020px;
    background: #FDF7FF;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    padding: 30px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  
    }
    .projects-wrapper {
        flex-direction: row;
    }
    .img-cover-bling {
        margin-top: 0px;
    }

    h1 {
        text-align: left;
    }
    
    .main-container {
        padding: 0 50px;
    }

    .main-container h1 {
        font-size: 30px;
    }

    h3 p {
        justify-content: start;
    }

    h3 a {
        font-size: 20px;
        text-align: left;
    }

    .popup-content {
        padding: 10px 60px 10px 60px;    
    }

    .img-cover {
        width: 49%;
       
    }

    .video-container {
        width: 49%; 
    }

    .img-cover-bling {
        width: 49%;
    }



}



