:root {
    --link-col: rgb(36, 0, 136);

    --header-height: 80px;
    --header-bg-col: rgb(0, 0, 95);
    --header-text-col: rgb(255, 255, 255);

    --banner-text-col: rgb(255, 255, 255);
    --banner-font-size: 10rem;

    --body-bg-col: rgb(255,255,255);
    --body-text-col: rgb(0,0,0);

    --content-width: 60%;
}

@media screen and (width < 1000px) {
    :root {
        --banner-font-size: 10vw;
    }
}

@media screen and (width < 800px) {
    :root {
        --content-width: 90%;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    /* border: 1px solid black; */
}

html {
    font-size: 62.5%;
}

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.8rem;
    background-color: var(--body-bg-col);
}

.header{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg-col);
    color: var(--header-text-col);
    justify-content: space-between;
    /* padding: 10px 20px 10px 20px; */
}

.header-section{
    display: flex;
    flex-direction: row;
    overflow: hidden;
    align-items: center;
}

.header-section.left{
    justify-content: flex-start;
    width: min-content;
}

.header-section.right{
    justify-content: flex-end;
}

.logo-link {
    display: block;
    height: 100%;
}

.logo {
    height: var(--header-height);
}

.nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
    /* border: 1px solid black; */
    color: var(--header-text-col);
    background-color: transparent;
    transition: 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2)
}

.banner-image {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('./assets/banner.jpeg');
    /* object-fit: cover; */
    background-size: cover;
    background-position: 0% 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.banner-image>span {
    text-align: center;
    font-size: var(--banner-font-size);
    color: var(--banner-text-col);
    font-weight: bold;
    z-index: 1;
}

.banner-image::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.content-container {
    display: flex;
    flex-direction: column;
    /* background-color: green; */
    color: var(--body-text-col);
    width: 100%;
    flex: 1;
    width: var(--content-width);
}

.content-container section {
    display: block;
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.content-container section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.embedded-pdf {
    margin-top: 10px;
    width: 100%;
    height: 1000px;
    /* height: auto; */
}

.image-galery {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.image-galery .headline {
    margin-bottom: 5px;
    font-size: 2rem;
}

.image-galery .images {
    display: grid;
    align-items: center;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, 100px);
}

.image-galery .images img {
    cursor: pointer;
    width: 100%;
}

.popup-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.popup {
    position: relative;
    width: var(--content-width);
    background-color: var(--body-bg-col);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-radius: 10px;
    max-height: 90vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.popup-close-btn {
    border: none;
    padding: 8px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    /* border-left: 1px solid red;
    border-bottom: 1px solid red; */
    font-size: 2rem;
    background-color: rgba(255,0,0,0.5);
    cursor: pointer;
    transition: 0.3s;
    color: var(--body-bg-col);
}

.popup-close-btn:hover {
    background-color: red;
}

.popup-image {
    width: 100%;
    object-fit: cover;
}

.img-popup-description {
    margin-top: 10px;
}

a {
    color: var(--link-col);
    text-decoration: none;
}

footer {
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.contact-table th,td {
    text-align: left;
    padding: 5px;
}