/* Responsive CSS for different screen sizes */


/* Small devices (phones, less than 600px) */
@media only screen and (max-width: 800px) {
    body {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
    h2 {
        font-size: 16px; /* Adjust heading size for smaller screens */
    }
    header {
        position: static;
        background-color: #fff;
    }
    nav {
        background-color: #fff;
    }
    #img-w {
        display: none;
    }
    #img-s {
        display: block;
    }
    .landing-banner {
        position: static;
    }
    .topnav {
        display: inline-block;
    }

    .nav-links {
        display: none;
    }
    #weg {
        display: none;
    }
    .slogan {
        font-size: 10pt;
        flex-direction: column;
        margin: 0;
        padding:  10%;
        width: 80%;
    }
    .slogan-h2 {
        font-size: 1em; /* Adjust heading size for smaller screens */
    }
    .aboutme {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        flex-direction: column;
        align-items: center;
        padding-bottom: 50px;
    }
    .aboutme-img {
        width: 70%;
        height: auto;
        padding: 10px;
        padding-top: 30px;
        margin-bottom: 0;
    }
    .aboutme-img img {
        width: 100%;
        height: auto;
        padding: 0;
        margin-bottom: 0;
        top: 0;
    }
    .aboutme-text {
        width: 100%;
        padding: 30px;
        margin-bottom: 0;
        box-sizing: border-box;
        font-size: 1.5em;
    }
    .aboutme-text h1 {
        font-size: 0.8em; /* Adjust heading size for smaller screens */
    }
    .parallax {
        height: 20vh; /* Adjust height for smaller screens */
    }
    
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 0 30px 0; /* Adjust padding for smaller screens */
    }
    .footer-upper {
        flex-direction: column;
        align-items: center;
        width: 90%;
        padding: 0 5px;
    }
    .footer-upper-left-wrapper {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .footer-logo {
        width: 40%;
        padding: 0;
        margin: 0;
    }
    .footer-logo img {
        width: 100%;
        height: auto;
        padding: 0;
        margin-bottom: 0;
    }
    .footer-upper-left {
        width: 100%;
        justify-content: center;
        align-items:flex-start;
        flex-direction: column;
        padding-top: 20px;
    }
    .footer-upper-left-name {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: flex-start; 
        justify-content: flex-start;
    }
    .footer-upper-left-name h2 {
        font-size: 18pt; /* Adjust font size for smaller screens */
        margin: 0;
        padding: 0;
    }
    .footer-upper-left-name h3 {
        font-size: 14pt; /* Adjust font size for smaller screens */
        margin: 0;
        padding: 0;
    }
    .footer-links {
        width: 100%;
        padding-top: 25px;
        padding-left: 0;
    }
    .footer-links a {
        font-size: 12pt; /* Adjust font size for smaller screens */
    }
    .sozial-media {
        width: 40%;
        display: flex;
        padding-top: 5px;
    }
    .sozial-media img {
        width: 30px; /* Adjust icon size for smaller screens */
        height: auto;
        padding: 0;
    }
    .footer-image {
        width: 50%;
        height: auto;
        padding: 0;
        margin: 0;
        margin-top: 50px;
    }
    .footer-agb {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center; /* Center text for smaller screens */
        justify-content: center;
    }
    .footer-agb a, .footer-agb p {
        font-size: 12pt; /* Adjust font size for smaller screens */
        margin: 5px 5px; /* Adjust margin for smaller screens */
    }
    .footer-hr {
        width: 80%;
        height: 1px;
        background-color: #ccc; /* Adjust color for smaller screens */
        margin: 50px 0; /* Adjust margin for smaller screens */
    }
    footer hr {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .about-wrapper {
        flex-direction: column-reverse;
        padding: 0;
        width: auto;
    }
    .about-image {
        margin: 0;
        padding: 20px;
        width: 90%;
    }
    .about-text {
        font-size: 16px; /* Adjust font size for smaller screens */
        line-height: 1.4; /* Adjust line height for smaller screens */
        padding: 20px;
    }
    .about-text h1 {
        font-size: 20px; /* Adjust heading size for smaller screens */
    }

    .aFigcaption {
        font-size: 28pt; /* Adjust font size for smaller screens */
        padding: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        background-color: rgba(0, 0, 0, 40%);
    }
    .aFigcaption span{
        margin-top: 1.5em;
    }

    .element {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0;
        margin: 0;
        padding-top: 20px;
        margin-bottom: 50px;
    }
    .element-image {
        width: 90%;
        padding: 10px;
        
    }
    .element-image img {
        width: 100%;
        
        height: 90vw;
        object-fit: cover;
        padding: 0;
        margin: 0;
    }
    .element-image iframe {
        width: 100%;
        height: 90vw;
        max-height: 90vw;
        object-fit: cover;
        padding: 0;
        margin: 0;
    }
    .element-image video {
        width: 100%;
        height: auto;
    }
    .element-text {
        width: 90%;
        padding: 0;
        margin: 0;
        text-align: center;
        font-size: 14pt;
    }
    .element-text h2 {
        font-size: 16pt; /* Adjust font size for smaller screens */
        margin: 0;
        padding: 10px;
    }
    .element-loral {
        width: 50%;
        padding: 10px;
        margin: 0;
    }
    .not-active {
        display: none;
    }
    .contact-form {
        width: 90%;
        padding: 20px;
    }
    .form-input-name {
        flex-direction: column;
    }
}

/* Medium devices (tablets, 600px to 1024px) */
@media only screen and (min-width: 800px) and (max-width: 2050px) {
    .topnav {
        display: none;
    }
    .resp-nav-links {
        display: none;
    }
    .nav-links {
        width: 350px;
    }
    .nav-links a {
        font-size: 20px; /* Adjust font size for medium screens */
    }
    .about-wrapper {
        flex-direction: column-reverse;
    }
    .about-image {
        margin-right: 0;
    }
    .aboutme-text h1{
        font-size: 25pt;
    }
    .slogan h2{
        font-size: 1em;
    }
    
    .element-text {
        width: 20%;
        font-size: 18pt;
    }
}

@media only screen and (min-width: 2050px) {
    .topnav {
        display: none;
    }
    .resp-nav-links {
        display: none;
    }
    
}