/*-- Imports --*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/*--Colors & Fonts--*/
:root {
    --color-bg: rgb(241, 241, 241);
    --color-bg-surface: #78c3cd;
    --color-text-primary: rgb(79, 79, 79);
    --color-text-deactivated: rgb(157, 157, 157);
    --color-text-hover: #22b2cc;
    --color-text-hover-alt: rgb(19, 19, 19);
    --color-border: #78c3cd;
    --color-button: #78c3cd;
    --color-button-hover: #22b2cc;
}

/*--General--*/

html, body {
    background-color: var(--color-bg);
    /*font-family: 'Myriaf;*/
    /*font-size: 1.2rem;*/
    color: var(--color-text-primary);
}

body {
    margin-top: 170px;
}

p, a {
    font-family: 'Myriad Pro Light', sans-serif;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    /*text-transform: uppercase;*/
    transition: 0.5s;
}

a:hover {
    color: var(--color-text-hover);

}

h1 {
    font-family: 'Myriad Pro Regular', sans-serif;
    font-size: 2.0rem;
    color: var(--color-text-primary);
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h2, h3 {
    font-family: 'Myriad Pro Regular', sans-serif;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 21px;
}


/*Header*/

header {
    display: flex;
    background-color: var(--color-bg);
    flex-direction: row;
    /*justify-content: space-between;*/
    justify-content: center;
    border-bottom: 1.5px solid var(--color-border);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /*padding: 0 100px 15px 100px;*/
}

.header-filler{
    margin-right: 375px;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

header ul {
    display: flex;
    flex-direction: row;
    /*margin: auto 200px auto 0;*/
    margin: auto 0 auto 0;
}

header ul li {
    margin: 0 15px;
}

header img {
    width: 160px;
    height: auto;
    /*margin: 20px 0 0 350px;*/
    margin:  0 100px 0 20px;
}

.active {
    color: var(--color-text-hover);
}

/*About me*/
.about-me-presenter {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 100px 100px 0 100px;
}

.about-me-presenter img {
    width: 400px;
    height: auto;
    margin-left: 30px;
}

.about-me-text {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    margin: auto 30px auto 100px;
    line-height: 25px;
}

.about-me-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-surface);
}

.about-me-contact-elements {
    margin: auto 0;
    display: flex;
    flex-direction: row;
}

.about-me-contact-elements h1 {
    margin: auto 0;
    padding: 25px;
    border-right: 1px solid var(--color-text-primary);
}

.about-me-contact-options {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    padding-left: 25px;
}

.about-me-contact-elements a,
.about-me-contact-elements p {
    font-size: 1.5rem;
    margin: 7px 0;
}

/*Footer*/
footer {
    display: flex;
    height: 70px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
    justify-content: center;
}

footer a, footer p {
    margin: auto 20px;
}

.footer-content {
    margin-top: 100px;
}

.imprint-body {
    margin-top: 200px
}

.imprint-body p {
    margin-bottom: 20px;
    line-height: 25px;
}

.imprint-body h1 {
    margin: 0 50px 20px 50px;
}

.imprint-body h2{
    font-size: 1.8rem;
}

.imprint-body h3{
    font-family: 'Myriad Pro Regular', sans-serif;
    font-size: 1.5rem;

}

.imprint-body .content {
    margin: 0 50px 20px 50px;
}

.image-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    min-height: 500px;
    margin: 17% auto;
}

.image-sub-container {
    width: 100%;
    height: auto;
    margin: 5px;
    display: flex;
    flex-direction: column;
}

.image-sub-container img {
    width: 100%;
    height: auto;
    transition: opacity 0.5s;
}

.image-wrapper {
    position: relative;
    background-color: var(--color-bg-surface);
    margin-bottom: 10px;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*color: var(--color-bg);*/
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    pointer-events: none; /* Ensure text doesn't interfere with hover */
}

.image-wrapper:hover img {
    opacity: 0.1;
}

.image-wrapper:hover .overlay-text {
    opacity: 1;
}


/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scrolling if needed */
    background-color: rgba(0,0,0,0.8); /* Black background with opacity */
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%; /* Adjust based on your design */
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.modal-images {
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    justify-content: center;
}

.modal-image-wrapper {
    /*flex: 1 0 45%; !* Two images per row *!*/
    margin: 5px;
}

.modal-image-wrapper img {
    width: 100%;
    height: auto;
}

#modal-title {
    text-align: center;
    margin-bottom: 20px;
}


/*Responsive Design*/

@media only screen and (max-width: 1100px) {
    .image-container {
        flex-direction: column;
        margin: 20% auto;
    }

    .about-me-presenter {
        flex-direction: column;
        margin: 0;
    }

    .about-me-presenter img {
        margin-left: auto;
        margin-right: auto;
        width: 350px;
    }

    .about-me-text {
        padding: 50px;
        margin: 0;
        background-color: var(--color-bg-surface);
    }

    .about-me-contact {
        background-color: var(--color-bg);
    }

    .about-me-contact-elements {
        flex-direction: column;
        margin: auto 0;
    }

    .about-me-contact-elements h1 {
        border-right: none;
        border-bottom: 1px solid var(--color-text-primary);
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .about-me-contact-options {
        margin: 25px 0;
    }

    h1 {
        text-align: center;
    }

    header img {
        margin: 20px 0 0 20px;
    }

    header ul{
        margin: auto 30px auto 0;
    }
}

@media only screen and (max-width: 600px) {
    body{
        margin-top: 190px;
    }

    header{
        justify-content: space-between;
    }

    header ul {
        flex-direction: column;
        justify-content: space-between;
    }

    header ul li {
        margin: 20px 0 0 0;
        text-align: right;
    }

    footer {
        flex-direction: column-reverse;
    }

    footer a, footer p {
        margin-top: 5px;
    }

    .content {
        margin: 0 auto;
    }

    .modal-images {
        flex-direction: column;
    }
}