/* Custom styles for IT-Stöckel website */

/* QR Code styling */
#two .image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5em;
}

#two .image img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#two .image img:hover {
    transform: scale(1.05);
}

/* QR Code Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close {
    position: fixed;
    right: 25px;
    top: 10px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
}

.close:hover {
    color: #bbb;
}

/* Navigation Optimierung */
#menu {
    z-index: 10000;
}

.menuToggle {
    transition: none !important;
}

/* Font Awesome icons in three section */
#three .features li {
    position: relative;
    padding-top: 4em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#three .features li i {
    position: absolute;
    top: 0.5em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5em;
    color: #9bf1ff;
    margin-bottom: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

#three .features li h3 {
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 1em;
    width: 100%;
}

#three .features li p {
    text-align: center;
    width: 100%;
}

/* Ensure Font Awesome icons are loaded */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2) format('woff2');
}

/* Mobile responsiveness */
@media screen and (max-width: 736px) {
    #two .spotlight {
        flex-direction: column;
    }

    #two .image {
        margin: 0 auto 1.5em auto;
        width: 100%;
    }

    #two .image img {
        max-width: 120px;
    }

    #two .content {
        width: 100%;
    }
}