
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    background: url("Skärmbild\ 2026-03-08\ 205828.png") center/cover no-repeat fixed;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* darker or lighter overlay */
    z-index: 0;
}

/* Content container */
.container {
    text-align: center;
    position: relative;
    z-index: 1; /* above overlay */
}

/* Buttons row */
.buttons {
    margin-top: 25px;
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* Each button group */
.btn-wrapper {
    width: 260px;
    position: relative;
}

/* Button */
.btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    text-align: center;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: 0.25s ease;
    position: relative;
    z-index: 2;
}

/* Hidden info panel */
.info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    border-radius: 0 0 8px 8px;

    padding: 0 20px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;

    font-size: 14px;
    line-height: 1.4;

    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

/* Hover effects */
.btn-wrapper:hover .btn {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-wrapper:hover .info {
    opacity: 1;
    max-height: 300px;   /* enough for several rows of text */
    padding: 14px 20px;
}
