/* source: problem\index.htm style block 1 */
body {
            margin: 0;
            overflow: hidden;
            font-family: Arial, sans-serif;
        }

        /* Baggrundsstil */
        .background {
            position: relative;
            width: 100vw;
            height: 100vh;
            background-color: #f0f0f0;
        }

        /* Geometriske figurer */
        .parallelogram {
            width: 120px;
            height: 100px;
            background-color: #8A2BE2;
            transform: skew(20deg);
        }

        .trapezoid {
            width: 150px;
            border-bottom: 80px solid #FFD700;
            border-left: 25px solid transparent;
            border-right: 25px solid transparent;
            height: 0;
        }

        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        .shape:not(.circle) {
            animation: rotate 5s linear infinite;
        }

        .shape {
            position: absolute;
            opacity: 0.5;
            z-index: 1; /* Figurerne har lavere z-index, så de kommer bagved overskrift og knapper */
        }

        .circle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #FF6347;
        }

        .triangle {
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-bottom: 100px solid #4682B4;
        }

        .square {
            width: 100px;
            height: 100px;
            background-color: #32CD32;
        }

        /* Knapper */
        .button-container {
            position: relative;
            margin: 70px auto; /* Increase margin to lower the buttons */
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            grid-gap: 20px;
            padding: 20px;
            z-index: 10; /* Sørger for at knapperne er over figurerne */
        }
        
        body {
            overflow-y: auto; /* Allow vertical scrolling */
        }

        .background {
            height: auto;
            min-height: 100vh;
        }


        .button {
            padding: 15px 20px;
            background-color: #333;
            color: #fff;
            text-align: center;
            text-decoration: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .button:hover {
            background-color: #555;
        }

        /* Overskrift */
        .header {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            background-color: lightgreen;
            color: black;
            text-align: center;
            padding: 20px;
            font-size: 24px;
            z-index: 1000; /* Make sure the header stays above everything */
        }
        .fixed-button {
    		position: fixed;
   		bottom: 20px; /* 20px fra bunden */
    		left: 50%; /* Centrerer den vandret */
    		transform: translateX(-50%); /* Justerer for præcis centrering */
    		background-color: #3498db;
    		color: white;
    		padding: 15px 30px;
    		border: none;
    		border-radius: 8px;
    		font-size: 16px;
    		cursor: pointer;
    		transition: background 0.3s ease;
	}

	.fixed-button:hover {
    	background-color: #2980b9;
	}


