        html, body {            
            margin: 0;
            padding: 0;
        }
        
body {

    background-color: #f8f8f8;
    position: relative;
  font-family: "Square Peg", cursive;
  font-weight: 400;
  font-style: normal;
    font-size: 30px;
    color: #4C6B85;
    background: url('baggrund.jpg') center/cover no-repeat;
    min-height: 100vh;
}
h1 {
    font-size: 6rem;
    font-weight: 400;
    margin: 0px;
}

h2 {
    font-size: 2.7rem;
    font-weight: 400;
    margin: 0px;
}

h3 {
    font-size: 2.7rem;
    font-weight: 400;
    margin: 0px;
}




.egg {
    background: url('egg.png') center/contain no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
/*    justify-content: center;*/
    height: 1200px;
    width: 850px;  
    margin: auto;
    max-width: 100%;    
}

.background {
    position: fixed;
    top: 0;
    left: 0;
/*    width: 100vw;
    height: 100vh;*/
    background: url('fanfare.jpeg') center/cover no-repeat;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.game-container,
#mobile-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 225px;
}
.drop-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 85px;    
}
.drop-box {
	width: 54px;
    height: 54px;
    border-radius: 42px;
    background: white;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    min-height: 60px;
}
.tile {
    width: 50px;
    height: 50px;
    background: #F6DC75;
    border-radius: 50px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    cursor: grab;
    user-select: none;
}

.result-container {
	z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 325px;
}

.result-container h2 {
	color: white;
    margin-top: 120px;
}

.result-container h3 {
	color: white;
}


        #mobile-container {
            display: none;
        }

        .orientation-warning {display : none;}

/*
        .orientation-warning {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(255, 255, 255, 0.2);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 100;
        }
        .orientation-warning img {
            width: 150px;
            height: auto;
        }
        .game-container.hidden {
            display: none;
        }
*/

/* Medium screens (e.g., tablets) */
@media (max-width: 1024px) {
    .drop-box, .tile {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Small screens (e.g., iPhones) */
@media (max-width: 844px) {

        #mobile-container {
	        display: flex;
        }

        .game-container, .result-container {
                    display: none !important;
        }

    .drop-box, .tile {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .egg {
        height: unset;
        max-width: 370px;
		margin-top: 60px;        
	}
	
	#mobile-container {
	    margin-top: 40px;
        min-height: 450px;
	}
	
	h1 {
		margin-top: 31px;
	}
	
	h2 {
	    font-size: 1.8rem;
    	margin: 13px 0 0;
	    padding: 0 27px;
    	color: white;
	    text-align: center;
    	line-height: 1.1;
	}

}


.formlinkXX {
    color: black;
    background-color: rgba(255, 255, 0, 0.5); /* Transparent yellow */
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.formlinkXX:hover {
    background-color: rgba(255, 255, 0, 0.8); /* Slightly more visible on hover */
}

.submit-button, .formlink {
  font-family: "Square Peg", cursive;
    background-color: #6aa53c;
    color: white;
    font-size: 2rem;
    padding: 12px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: block;
	margin: 85px auto 20px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.submit-button:hover, .formlink:hover {
    background-color: #54872b; /* Slightly darker yellow */
    transform: translateY(-2px); /* Subtle lift */
}

.submit-button:active {
    background-color: #487721;
    transform: translateY(1px); /* Slight push effect */
}

.logo {
	width: 200px;
	margin-top: 120px;
}

.logo.success {
	margin-top: 80px;
}
