:root {
    --primary-color: #0C300C;
    --secondary-color: #02a402;
    --accent-color: #0A3B0A;
    --background-color: #151515;
    --text-color: #f1f1f1;
}
html{
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}
section {
    margin-top: 10px;
}
p{
    font-size: 14px;
}
a {
    color: var(--text-color);
    text-decoration: none;
}
button {
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    box-shadow: 0 0 2px var(--accent-color);
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}
header {
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 3px 20px;
    text-align: center;
    max-width: 100%;
    height: 60px;
    span {
        
        color: var(--secondary-color);
    }
    button {
        background-color: var(--accent-color);
        border: none;
        color: var(--text-color);
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    button:hover {
        background-color: var(--secondary-color);
    }
    ul{
        padding: 0;
    }
    #logo {
        width: 38px;
        height: 38px;
        vertical-align: -5px;
    }
}
header div {
    display: flex;
    align-items: center;
    gap: 10px;
}
#openNav {
    display: none;
    width: 0px;
}
header label {
    display: none;
}
.openNav {
    display: none;
    
}

nav a {
    margin: 0 15px;
    font-size: 14px;
    transition: text-shadow 0.3s ease;
    
}
nav a:hover {
    text-shadow: 0 0 5px #00ff00;
}
#n {
    display: none;
}

hero {
    display: flex;
    flex-direction: column;
    
    min-height: 60vh;
    width: 100%;
    box-shadow: 0px 0px 15px var(--primary-color);
    span {
        color: var(--secondary-color);
        
    }
    h1 {
        margin: 20px 0 10px 20px;
        text-transform: uppercase;
        width: 50%;
    }
    h2 {
        margin: 10px 0 10px 20px;
        font-weight: normal;
        text-transform: uppercase;
        width: 50%;
    }
    p {
        margin: 10px 0 10px 20px;
        font-weight: normal;
        width: 50%;
    }

}
.hero-image {
    position: absolute;
    z-index: -1;
    top: 110px;
    right: 50px;
    max-width: 40%;
    height: 50vh auto;
    border: 2px solid var(--accent-color);
}
.hero-buttons {
    margin: 10px 0 20px 20px;
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.hero-details {
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: normal;
    font-size: 14px;
    gap: 20px;
}
.detail p {
    width: 100%;
    
}
#new{
    background-color: var(--secondary-color);
    border: none;
    transition: box-shadow 0.3s ease;
    a {
        color: black;
        font-weight: bold;
        transition: color 0.3s ease;
    }
}
#new:hover {
    box-shadow: 0 0 7px var(--secondary-color);
    a {
        color: var(--text-color);
    }
}
#login {
    transition: box-shadow 0.3s ease;
    a {
        color: var(--text-color);
        font-weight: bold;
        transition: color 0.3s ease;
    }
}
#login:hover {
    box-shadow: 0 0 7px var(--accent-color);
    a {
        color: var(--secondary-color);
    }
}
.detail img {
    filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(90deg);
    vertical-align: -5px;
}

@media (max-width: 800px) {
   header {
    padding: 3px 10px;
        h1 {
            font-size: 28px;
        }
        nav a {
            font-size: 12px;
        }
        button {
            font-size: 14px;
        }
         #logo {
            width: 30px;
            height: 30px;  
    }
    }
    .hero-details {
        align-items: flex-start;
        gap: 5px;
        margin: 0;
    }
     .detail p {
        width: 30%;
        font-size: 10px;
        margin: 5px ;
    }
    .hero-buttons {
        max-width: 80%;
        overflow-x:hidden;
        gap: 10px;
        margin: 10px 0 20px 10px;
        button {
            font-size: 14px;
            padding: 8px 15px;
        }
    }
    
    hero {
        
        min-height: auto;
        
    }
   
}
@media (max-width: 600px) {
    header {
        position: relative;
        h1 {
            z-index: 1000;
            font-size: 23px;
        }
        button {
            z-index: 1000;
        }
        label {
            display: block;
        }
         #logo {
            width: 25px;
            height: 25px;
            vertical-align: -3px;
    }
    }
    
    .openNav {
        display: flex;
        z-index: 1000;
        
    }
    nav  {
        display: none;
    }
    #openNav:checked ~ nav {
        z-index: 1;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0px;
        background: linear-gradient(var(--primary-color),var(--primary-color),var(--primary-color), #0c300ce8, #0c300ccb, transparent);
        width: 100%;
        padding: 15px 0;
        animation: all 0.3s ease-in-out;
        a {
            z-index: 1;
        }
    }
    @keyframes all {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    hero h1, hero h2, hero p {
        width: 80%;
    }
    .hero-image {
        display: none;
    }
   .hero-buttons {
        width: 100%;
        gap: 10px;
    }
    #new {
        width: 50%;
    }
    #login {
        width: 30%;
    }
    .hero-details {
        align-items: flex-start;
    }
     .detail p {
        width: 100%;
        font-size: 10px;
        img {
            width: 20px;
        }
    }
}
@media (max-width: 400px) {
    header h1 {
        font-size: 20px;
    }
    header button {
        display: none;
    }
    nav ul  {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    #n {
        display: block;
        font-weight: bold;
    }
    hero {
        h1 {
        font-size: 24px;
        margin-left: 10px;
        }
        h2 {
            font-size: 18px;
            margin-left: 10px;
        }
        p {
            font-size: 12px;
            margin-left: 10px;
        }
        .hero-details {
            gap: 5px;
            align-items: center;
        }
        .detail {
            text-align: center;
            flex-direction: column;
            margin-left: 0px;
            width: 30%;
        }
    }
    .hero-buttons {
        width: 80%;
        button {
            font-size: 14px;
        }
    }
}

/*=============Main===========*/

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    h2, h3, h4 {
        font-weight: normal;
    }
}
#prblem, #lösung {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    .lösungs-details, .problem-details {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
        justify-content: center;
        .lösungs-detail, .problem-detail {
            overflow-wrap: break-word;
            word-break: break-word;
            hyphens: auto;
            padding: 10px;
            border: 2px solid #0a3b0a7d;
            border-radius: 5px;
            width: 30%;
            background-color: #0c300c88;
            h3, h4 {
                margin: 7px 0;  
            }
            p {
                margin: 0px 0;
                color:rgb(190, 188, 188);
            }
        }     
    }
    .lösungs-details2, .problem-details2 {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
        justify-content: center;
        .lösungs-detail2, .problem-detail2 {
            overflow-wrap: break-word;
            word-break: break-word;
            hyphens: auto;
            padding: 10px;
            border: 2px solid #0a3b0a7d;
            border-radius: 5px;
            width: 16%;
            background-color: #0c300c88;
            .x {
                color: rgb(176, 0, 0);
                font-weight: bold;
            }
            .h {
                color: var(--secondary-color);
                font-weight: bold;
            }
            h3, h4 {
                margin: 7px 0;  
            }
            p {
                margin: 0px 0;
                color:rgb(190, 188, 188);
            }
        }
         
        
    }
}

@media (max-width: 1500px) {
    #prblem, #lösung {
        h2 {
            font-size: 19px;
        }
        .lösungs-details, .problem-details {
            
            .lösungs-detail, .problem-detail {
                h3{
                    font-size: 15px;
                }
                h4 {
                    font-size: 14px;
                }
                p {
                    font-size: 12px;
                }
            }
        }
         .lösungs-detail2, .problem-detail2 {
            min-height: 25px;
            p {
                font-size: 11px;
            }
            
        }

    }
}
@media (max-width: 800px) {
    main {
        padding: 5px;
    }
    #prblem, #lösung {
        gap: 10px;
        .lösungs-details, .problem-details {
            gap: 10px;
            .lösungs-detail, .problem-detail {
              gap: 5px;
              min-height: 150px;
               
            }
        }
        .lösungs-details2, .problem-details2 {
           overflow-x: scroll;
           scrollbar-width: none; /* Firefox */
           -ms-overflow-style: none;  /* Internet Explorer 10+ */
          
        }
         .lösungs-detail2, .problem-detail2 {
            min-height: 30px;
            min-width: 90px;
            gap: 5px;
            
        }

    }
}
@media (max-width: 400px) {
    main {
        padding: 2px;
        
    }
    #prblem, #lösung {
        h2 {
            font-size: 16px;
        }
        padding: 0px;
        gap: 5px;
        .lösungs-details, .problem-details {
            gap: 5px;
            flex-wrap: wrap;
            .lösungs-detail, .problem-detail {
                width: 40%;
              gap: 5px;
              min-height: 150px;
              h3 {
                font-size: 14px;
            }
               
            }
        }
        .lösungs-details2, .problem-details2 {
           overflow-x: scroll;
           scrollbar-width: none; /* Firefox */
           -ms-overflow-style: none;  /* Internet Explorer 10+ */
          
        }
         .lösungs-detail2, .problem-detail2 {
            min-height: 30px;
            min-width: 90px;
            gap: 5px;
            
        }

    }
}
@media (max-width: 260px){
    .lösungs-details, .problem-details {
        padding: 0px;
        
        
         
    }
    .lösungs-detail, .problem-detail {
        min-width: 80vw;
        
    }
}

#funktionen {
    display: flex;
    flex-direction: column;
    gap: 20px;
    h2 {
        font-size: 19px;
        font-weight: normal;
        margin: 20px 0 10px 20px;
    }
    .funktionen-details {
        display: flex;
        justify-content: space-around;
        align-items: center;
        .--- {
            width: 20%;
            height: 80px;
            border-top: 3px dashed var(--text-color);
            background-color: transparent;
        }
        .funktionen-detail {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 20%;
        }
        .funktionen-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #0a3b0a27;
            border: 3px solid #0c300c88;
            display: flex;
            justify-content: center;
            align-items: center;
            img {
                min-width: 80%;
                min-height: 50%;
            }
        }
         .funktionen-icon img {
            width: 25px;
            height: 25px;
        }
        span {
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid var(--accent-color);
            color: var(--accent-color);
            font-size: 24px;
            background-color: var(--secondary-color);
            height: 30px;
            width: 30px;
            border-radius: 50%;
            font-weight: bold;
        }
        h4 {
            font-size: 14px;
            font-weight: normal;
            margin: 0;
            text-align: center;
        }           
    }
    .funktionen-details2 {
        display: flex;
        justify-content: center;
        align-items: center;
        .funktionen-detail2 {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 90%;
            details {
                width: 90%;
                background-color: #0c300c32;
                border: 2px solid #0a3b0a32;
                padding: 10px;
                h3{
                    font-size: 16px;
                    font-weight: normal;
                }
                p {
                    font-size: 14px;
                    color: rgb(190, 188, 188);
                }
                summary {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    transition: color 0.3s ease;
                }
                span{
                    color: var(--secondary-color);
                    font-weight: bold;
                    transition: color 0.3s ease;
                }
                summary:hover {
                    cursor: pointer;
                    span {               
                        cursor: pointer;
                        text-shadow: 0 0 7px var(--secondary-color);
                    }
                }
                
            }
        }
        
            
    }
}
@media (max-width: 800px) {
    #funktionen {
        h2 {
            font-size: 18px;
            margin: 10px 0 10px 10px;
        }
        .funktionen-details {
            .funktionen-detail {
                height: 21vh;
            }
            .--- {
                height: 130px;
            }
            .funktionen-icon {
                width: 60px;
                height: 60px;
            }
        span {
            font-size: 18px;
            height: 25px;
            width: 25px;
        }
        h4 {
            font-size: 12px;
        }
        }
        .funktionen-details2 {
            .funktionen-detail2 {
                width: 100%;
                details {
                    h3{
                        font-size: 14px;
                    }
                    p {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}
@media (max-width: 400px) {
    #funktionen {
        h2 {
            font-size: 14px;
            margin: 10px 0 10px 10px;
        }
        .funktionen-details {
            .funktionen-detail {
                height: 20vh;
            }
            .--- {
                height: 80px;
                width: 10%;
                z-index: -1;
            }
            .funktionen-icon {
                width: 40px;
                height: 40px;
            }
        span {
            font-size: 14px;
            height: 15px;
            width: 15px;
        }
        h4 {
            font-size: 10px;
        }
        }
        .funktionen-details2 {
            .funktionen-detail2 {
                width: 100%;
                details {
                    h3{
                        font-size: 12px;
                    }
                    p {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}
#kontakt {
    display: flex;
    flex-direction: column;
    gap: 20px;
    h2 {
        font-size: 19px;
        font-weight: normal;
        margin: 20px 0 10px 20px;
    }
    .kontakt-details{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }   
    .kontakt-detail{
        width: 30%;
        min-height: 23vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-content: flex-start;
        a {
            text-decoration: underline;
            transition: color 0.3s ease;
        }
        a:hover {
            color: var(--secondary-color);
            
            text-shadow: 0 0 4px rgba(255, 255, 255, 0.433);
        }
        
    }
    #kontakt-form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 30vh;
        gap: 10px;
        width: 50%;
        input, textarea {
            padding: 10px;
            border: 2px solid #0a3b0a7d;
            border-radius: 5px;
            background-color: #0c300c88;
            color: var(--text-color);
            font-size: 14px;
        }
        button {
            width: 150px;
            align-self: flex-start;
            background-color: var(--secondary-color);
            border: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        button:hover {
            box-shadow: 0 0 7px var(--secondary-color);
            color: var(--text-color);
        }
    }
}
@media (max-width: 900px) {
    #kontakt {
        h2 {
            font-size: 18px;
            margin: 10px 0 10px 10px;
        }
        .kontakt-details{
            flex-direction: column;
            gap: 20px;
            min-height: none;
        }   
        .kontakt-detail{
            width: 80%;
            min-height: auto;
        }
        #kontakt-form {
            width: 80%;
            min-height: none;
        }
    }
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    background-color: #0c300c88;
    div {
        display: flex;
        flex-direction: column;
        font-size: 10px;
       gap: 5px;
        a {
            color: rgba(255, 255, 255, 0.592);
            
        }
        a:hover {
            text-decoration: underline;
        }
    }
}
.Container {
    
    margin-left: 20px;
    margin-right: 20px;

}