body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh; /* This will be dynamically adjusted by JS */
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
        opacity: .8;

}


.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure logo and other elements are centered */
    justify-content: center; /* Center vertically */
}

.content h1 {
    font-size: 3em;
    margin: 0;
}

.arrow {
    margin-top: 20px;
    font-size: 2em;
}


.section {
    min-height: 100vh;
    background-color: black;
    padding: 50px;
    box-sizing: border-box;
    color: #fffff;
}

.headline {
    font-size: 2.5rem;
    margin-bottom: 5rem;
}





.logo-container {
    width: auto; /* Adjust width automatically based on content */
    margin: 0 auto; /* Center the container */
}

.logo-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


@media (max-width: 768px) {
    .grid-item img {
        max-width: 50%;
    }
}

@media (min-width: 769px) {
    .grid-item img {
        max-width: 10%;
    }
    
     .logo-container img {
        
      height: 13rem;  
        padding: 2rem;
        
    }
    
    .about-text {
    width: 60%;


    
}
}

.menu-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon div {
    width: 100%;
    height: 1px;
    background-color: White;
    transition: all 0.3s ease;
}

.menu-icon.change .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.change .bar2 {
    opacity: 0;
}

.menu-icon.change .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding-top: 100px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
}


.menu.show-menu {
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 20px;
    font-size: 2rem;
    text-decoration: none;
    color: white;
}

.menu-item:hover {
    color: #E0ACF3;
}

.show-menu {
    display: block;
}


.menu.show-menu {
    transform: translateY(0);
}


.arrow {
    margin-top: 20px;
    font-size: 1.4em;
    color: black;
    position: absolute;
    bottom: 5rem;
    left: 50%;
}


.faq-section {
    padding: 20px;
    background-color: black;
        padding-top: 8rem;
        padding-bottom: 1rem;
        position: relative;

}

.faq {
    margin: 0;
    padding: 0;
    list-style-type: none;
    color: white;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    padding: 10px 0;
    color: white;
    align-items: center;

}

.faq-question .plus {
    font-size: 2rem;
    margin-left: 10px;
    margin-right: 2rem;
    transition: transform 0.3s ease; /* För att rotera plus/minus-tecknet smidigt */
}

.faq-answer {
    max-height: 0; /* Startar från 0 höjd för att implementera animationen */
    overflow: hidden; /* Döljer innehållet när det är kollapsat */
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out; /* Animerar höjd och padding */
    font-size: 1.1rem;
    padding-left: 3rem;
    color: white;
    padding-top: 0; /* Tar bort padding när det är kollapsat */
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Tillräckligt stor maxhöjd för att rymma texten */
    padding-top: 1rem; /* Lägger till padding när det öppnas */
    padding-bottom: 2rem;
}

.faq-item.active .faq-question .plus {
    transform: rotate(360deg); /* Roterar plus till minus när det öppnas */
}

.section-headline {
    color: white;
    position: absolute;
    top: 4rem;
    left: 1.5rem;
    font-size:1.2rem;
}
    
    
.client-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    gap: 5px;
    padding: 20px;
}

.client {
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
}

.client .year {
    display: block;
    font-size: 0.9rem;
    color: #999;
}

.client .name {
    font-size: 1.3rem;
    font-weight: 700;
}


    .bullets {
        padding-left:0rem;
        
        
    }
   
   
/* För större skärmar */
@media (min-width: 600px) {
    .client-grid {
        grid-template-columns: repeat(3, 1fr); /* Tre kolumner för större skärmar */
    }

}

@media (min-width: 900px) {
    .client-grid {
        grid-template-columns: repeat(4, 1fr); /* Fyra kolumner för ännu större skärmar */
    }
    
    .faq-answer {
        max-width: 60%;

    }
    
      .faq-section {
padding-left: 18rem;
        padding-right: 18rem;

    }
    
    .section-headline {
            left: 4.5rem;

        
    }
}

@media (min-width: 1200px) {
    .client-grid {
        grid-template-columns: repeat(6, 1fr); /* Sex kolumner för extra stora skärmar */
    }
      .faq-answer {
        max-width: 60%;

    }
    
    
}

#contact {
        background-color: black;

    
    
}


.typing {
    font-size: 1.2rem; 
    color: #252525;
    white-space: nowrap;
    border-right: 2px solid; /* Simulate a blinking cursor */
    width: 0; /* Start with no text */
    overflow: hidden;
    margin: 0 auto; /* Ensure it's centered horizontally */
    position: relative;
    animation: blink 0.75s step-end infinite 0s; /* Blink starts immediately */
}

/* Blinking cursor animation */
@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}

/* Typing animation */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%; /* Ensures the entire text "Digital" is shown */
    }
}

/* Disappearing cursor */
@keyframes hideCursor {
    from {
        border-right: 2px solid; /* Visible cursor at the end */
    }
    to {
        border-right: none; /* Remove cursor */
    }
}

/* Apply animations with proper delays */
.typing {
    animation: blink 0.75s step-end infinite 0s, typing .8s steps(7, end) forwards 2s, hideCursor 0.1s 2.3s forwards; /* Cursor blinks for 2 seconds before typing starts */
}


.typing-wrap {
    
    bottom: 3px;
    position: absolute;
    

    
}

 .typing-wrap {
    bottom: -11px;
    }
    
    
    
     .contact-wrap a {
   
        font-size: 1.8rem;
    color: white;
    }
    
    
         .contact-wrap {
   
        padding-bottom: 7rem;
    }

    ul {
  list-style-type: square; /* options: disc, circle, square, decimal, etc. */
    list-style-position: outside; /* options: inside or outside */

}


