body {
    background-image: url(./background6.png);
    height: 100vh;
    background-size: cover;
    /* Scale to fill the screen while keeping aspect ratio */
    background-repeat: no-repeat;
    /* Prevent tiling */
    background-position: center;
    /* Center the image */
    overflow: hidden;
    margin: 0auto;
    font-family: 'Satoshi', sans-serif;
}

header {
    display: flex;
    flex-direction: column;

}

.ticker-wrapper {
    width: 100%;
    background: #FFD700;
    /* yellow background */
    overflow: hidden;
    /* hide overflowing text */
    position: fixed;
    /* stay at top if desired */
    top: 0;
    left: 0;
    z-index: 9999;
    height: 40px;
    /* adjust height */
    display: flex;
    align-items: center;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    /* start from right side */
    animation: scroll 15s linear infinite;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #000;
    font-weight: bold;
}

/* Keyframes for continuous scrolling */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.secondheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-top: 40px;
}

img {
    height: 50px;
    width: auto;
    margin-left: 30px;
}


/* .links a {
    color: #001f54;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 400;
    font-size: 18px;
}

.links a:hover {
    text-decoration: underline;
} */

.layerbrett {
    height: 60px;
    margin-left: 10px;
    width: 300px;
}

.buttons {
    display: flex;
    gap: 10px;
    padding-right: 30px;
}

.button1 {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 600;
    width: auto;
    padding: 18px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    color: #001f54;
    border: none;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
}

.button1:hover {

    background-color: rgba(205, 202, 202, 0.362);
}

.button2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 600;
    width: auto;
    padding: 18px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    text-decoration: none;
    white-space: nowrap;
    color: #001f54;
    border: none;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: 5px;
}

.button2:hover {

    background-color: rgba(205, 202, 202, 0.362);
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    margin-top: 50px;

}

main div {
    text-align: center;
    color: rgb(248, 235, 235);
    /* max-width: 600px; */
    background: linear-gradient(135deg, #9be29300 0%, #8fdc9524 30%, #a8dea900 100%);
    width: 600px;
    border-radius: 2rem;
    padding: 10px, 20px;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    height: 300px;

}

main div p {
    font-size: 20px;
}

h2 {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .1);
    color: rgba(248, 234, 234, 0.892);
}

p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
}

.buttons2 {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 600;
    width: auto;
    padding: 18px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    color: #001f54;
    border: none;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    margin: 10px;
}



.button3:hover {
    background-color: rgba(205, 202, 202, 0.362);
    transform: translateY(-3px);

}

@media (max-width: 900px) {
    .links {
        display: none;
    }

    .layerbrett {
        width: auto;
    }

}

@media (max-width: 500px) {
    main div {
        width: auto;
        padding: 20px;
        height: auto;
    }

    img {
        width: 170px;
    }

    .layerbrett {
        display: none;
    }

    h2 {
        font-size: 28px;
        font-weight: 900;
    }

    .button1 {
        padding: 12px 10px;
        font-size: 12px;
    }

    .button2 {
        display: none;
    }
}