* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    background-image: url('/img/bg.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-color: #D0E3FF;
    color: #2a4063;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-weight: 300;
    word-wrap: break-word;
    padding: 0 1rem;
}
h1 {
    font-weight: 300;
    font-size: 2.5rem;
}
h2 {
    font-size: 1.75rem;
    font-weight: 400;
}
h3 {
    font-size: 0.9rem;
    font-weight: 400;
}

h4 {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 400;
    color:#4a6ba0
}

/* Navbar */

.logo {
    height: 6vh;
    width: auto;
    max-width: 60vw;
    object-fit: contain;
}
.navbar {
    background-color: #5f7ba7cc;
    backdrop-filter: blur(0.5rem); 
    position: sticky;
    height: 12vh;
    width: 100%;
    top: 0;
    padding: 0 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2%;
    flex-shrink: 0;
}
.menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}
.menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    transition: color 0.3s ease;
}
.menu a:hover {
    color: #2a4063;
    text-shadow: #00000080 0 0 0.5rem;
}
.menu a.active-link {
    color: #354d74;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}
.hamburger span {
    width: 2rem;
    height: 0.2rem;
    background-color: #2a4063;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}


/* Content */

.content {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 0.5rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    gap: 1.5rem;
}

.img {
    width: 60%;
    margin: 0rem auto;
    border-radius: 1rem;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.media-container {
    display: flex;
    gap: 2rem;
    width: 80vw;
    justify-content: center;
    align-items: center;
}

.media-container iframe,
.media-container .megane-link {
    flex: 1;
    min-width: 0;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: #00000080 0 0 1rem;
}

.media-container iframe:hover {
    box-shadow: #000000c0 0 0 1.5rem;
    transition: all 0.3s ease;
}

.media-container .megane-link:hover {
    box-shadow: #000000c0 0 0 1.5rem;
    transition: all 0.3s ease;
}

.megane-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.megane-link:hover img {
    transform: scale(1.05);
}

.megane-link:hover .megane-text {
    text-shadow: #ffffff 0 0 1rem;
    transition: all 0.3s ease;
}

.megane-text {
    position: relative;
    z-index: 2;
    color: rgb(0, 0, 0);
    font-size: 2rem;
    font-weight: 00;
    padding: 0.5em 1.5em;
    border-radius: 1rem;
}

.social {
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0.5rem;
    font-family: inherit;
}
.social:hover {
    box-shadow: 0 0 1rem #00000080;
    scale: calc(1.05);
    transition: all 0.3s ease;
}

.social-div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2%;
}

/* Footer */

.footer-bar {
    background-color: #5f7ba7cc;
    backdrop-filter: blur(0.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 8vh;
    margin-top: 2rem;
    flex-shrink: 0;
}

.footer-bar p, .footer-bar a {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
}

.footer-bar a:hover {
    color: #ff6347;
}

.footer-logo {
    height: 6vh;
    width: auto;
    max-width: 30vw;
    object-fit: contain;
}

/* Kontakt */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0rem;
    width: 100%;
}
.contact-card {
    background-color: #ffffffcc;
    backdrop-filter: blur(0.5rem);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 0 2rem #0000001a;
    width: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 3rem #00000033;
}
.contact-card b {
    font-size: 1.4rem;
    color: #354d74;
}
.contact-card p {
    font-size: 1rem;
    margin: 0.5rem 0 1.5rem 0;
    color: #5f7ba7;
}
.contact-card .social {
    width: 100%;
    margin: 0;
    font-weight: 600;
}
.contact-icon {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 35%;
    box-shadow: 0 0.25rem 1rem #0000003d;
}

/* Megane */

.megane-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 80vw;
    margin-bottom: 4rem;
}

.megane-row:nth-child(even) {
    flex-direction: row-reverse;
}

.megane-image, .megane-info {
    flex: 1;
}

.megane-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem #00000040;
}

.megane-info {
    text-align: center;
}

/* Lightbox */

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000e6;
    backdrop-filter: blur(0.5rem);
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 0.5rem;
    box-shadow: 0 0 2rem #00000080;
}
.close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}
.img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.img:hover {
    transform: scale(1.02);
}