﻿@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');





html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: black;
    scroll-behavior: smooth;
}





.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(10, 10vw);
    grid-template-rows: repeat(9, 10vh);
}

#rubrik {
    grid-row: 2;
    grid-column: 1/11;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Bebas neue';
    font-size: 96px;
    letter-spacing: 10px;
}
#changing-word {
    transition: opacity 0.3s ease-in-out;
}

#help, #share, #borrow {
    color: white;
    font-size: 35px;
    font-family: 'Bebas neue';
}

#help {
    grid-column: 8/9;
    grid-row: 4;
    margin-left: 60%;
    font-family: 'poppins';
}

.line {
    width: 100px;
    background-color: #4ABF63;
    height: 2px;
}

.line-help {
    grid-column: 8/9;
    margin-right: auto;
    margin-top: 13%;
    grid-row: 4;
    filter: drop-shadow(0px 0px 6px #4ABF63);
}

#share {
    grid-column: 9/11;
    grid-row: 6;
    display: flex;
    align-self: center;
    justify-self: center;
    font-family: 'poppins';
    margin-left: 10%;
}

.line-share {
    grid-column: 9/10;
    align-self: center;
    justify-self: center;
    grid-row: 6;
    margin-bottom: 10%;
    filter: drop-shadow(0px 0px 6px #4ABF63);

}

#borrow {
    grid-column: 1/3;
    grid-row: 5;
    display: flex;
    align-self: center;
    justify-self: center;
    font-family: 'poppins';
    margin-right: 10%;
}

.line-borrow {
    grid-column: 2/3;
    align-self: center;
    justify-self: center;
    grid-row: 5;
    margin-bottom: 8%;
    margin-left: 10%;
    filter: drop-shadow(0px 0px 6px #4ABF63);
}
/* Scrollbar-sektion med animationer */
.info-section {
    padding: 100px 20px;
    background-color: black;
    color: white;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    transition: background 0.5s ease;
}

    .info-section.alt {
        background-color: #111;
    }

.info-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

    .info-content.visible {
        opacity: 1;
        transform: translateY(0);
    }

.info-section h2 {
    font-size: 64px;
    margin-bottom: 20px;
    color: #4ABF63;
}

.info-section p {
    font-size: 24px;
    line-height: 1.6;
    font-family:'poppins';
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: arrow-float 2s infinite ease-in-out;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* 🔵 tar bort underlinjen */
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    stroke: #4ABF63;
    filter: drop-shadow(0 0 8px #4ABF63);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.scroll-link:hover .scroll-arrow {
    transform: translateY(5px);
    filter: drop-shadow(0 0 15px #4ABF63);
}

.scroll-text {
    margin-top: 8px;
    font-family: 'poppins', sans-serif;
    color: white;
    font-size: 18px;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(74, 191, 99, 0.4);
    text-decoration: none; /* 🔵 för säkerhets skull */
    text-align: center;
}

@keyframes arrow-float {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}


.site-footer {
    background-color: #111;
    color: #ccc;
    
    margin-top: 0rem;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.footer-left,
.footer-middle,
.footer-right {
    flex: 1 1 200px;
}

.footer-logo {
    width: 100px;
    margin-bottom: 1rem;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

    .footer-middle ul li {
        margin-bottom: 0rem;
    }

        .footer-middle ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-middle ul li a:hover {
                color: white;
            }

.footer-right .social-icons a {
    margin-right: 0.5rem;
    display: inline-block;
}

.footer-right .social-icons img {
    
    height: 24px;
    
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

    .footer-right .social-icons img:hover {
        filter: grayscale(0%);
    }

/* Responsiv */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right .social-icons a {
        margin: 0 0.5rem;
    }
}



@media (max-width: 768px) {
    .wrapper {
        grid-template-columns: repeat(6, 16.66vw);
        grid-template-rows: repeat(9, 10vh);
    }

    #rubrik {
        font-size: 28px;
        letter-spacing: 4px;
        grid-column: 1 / 7;
        text-align: center;
        padding: 0 10px;
    }

    #help {
        grid-column: 5 / 6;
        grid-row: 4;
        margin-left: 0;
        font-size: 22px;
        justify-self: center;
        display: none;
    }

    #share {
        grid-column: 5 / 7;
        grid-row: 6;
        font-size: 22px;
        margin-left: 0;
        justify-self: center;
        display: none;
    }

    #borrow {
        grid-column: 1 / 3;
        grid-row: 5;
        font-size: 22px;
        margin-right: 0;
        justify-self: center;
        display: none;
    }

    .line-help, .line-share, .line-borrow {
        width: 60px;
        margin: 0 auto;
        filter: drop-shadow(0 0 4px #4ABF63);
        display: none;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
    }

    .scroll-text {
        font-size: 14px;
        letter-spacing: 1px;
    }




    .navbar-nav {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: white;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

        .navbar-nav.active {
            display: flex;
        }


}

/* Mobiler */
@media (max-width: 480px) {
    .wrapper {
        grid-template-columns: repeat(4, 25vw);
        grid-template-rows: repeat(9, 10vh);
    }

    #rubrik {
        font-size: 33px;
        letter-spacing: 2px;
        grid-column: 1 / 5;
        text-align: center;
        padding: 0 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    #help {
        grid-column: 3 / 4;
        grid-row: 4;
        margin-left: 0;
        font-size: 18px;
        justify-self: center;
        display: none;
    }

    #share {
        grid-column: 3 / 5;
        grid-row: 6;
        font-size: 18px;
        margin-left: 0;
        justify-self: center;
        display:none;
    }

    #borrow {
        grid-column: 1 / 3;
        grid-row: 5;
        font-size: 18px;
        margin-right: 0;
        justify-self: center;
        display: none;
    }

    .line-help, .line-share, .line-borrow {
        width: 40px;
        margin: 0 auto;
        filter: drop-shadow(0 0 3px #4ABF63);
        display: none;
    }

    .scroll-arrow {
        width: 24px;
        height: 24px;
    }

    .scroll-text {
        font-size: 12px;
        letter-spacing: 1px;
    }

   
    
}