
body {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background: rgb(80, 68, 80);
    font-family: 'Arial', sans-serif;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 20px rgba(0,0,0,0.5);
    text-align: center;
    color: white;
    back
    /* animation */
    animation: fadeIn 3s;
}

.card img{
   
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    
    
}

.overlay-content{
    display: block;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    
}

h1 {
    margin-top: 0;
    font-size: 5rem;
   
}

p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 5rem;
    margin-top: 1rem;
}

button {
    background-color: white;
    color: #000000;
    border: none;
    width: 150px;
    height: 150px;
    margin-top: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.1);
    background-color: rgb(156, 152, 147); 
    color: white;
    border: solid white;
    border-width: 3px;
}



canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#fireworks-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.firework-particle {
    position: absolute;
    width: 20px; /* Storrelse af billede */
    height: 20px;
    background-image: url('lakrids1.png');
    background-size: cover;
    border-radius: 50%;
    pointer-events: none; 
}

/* Fjernelse af animation */
@keyframes fadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}

@media screen and (max-width:  1024px) {
    .card{
        width: 100%;
        max-width: 100%;
   }

    .card img{
        max-width: 100%;
        height: 100%;
}
}

@media screen and (max-width:  768px)  {
   
    h1{
        font-size: 2.5rem;
    }

    .card{
        width: 100%;
        max-width: 100%;
   }

    .card img{
       max-width: 100%;
       height: 100%;
       
    }

     
}

@media screen and (max-width:  480px){
    body{
        max-width: 480px;
    }
    h1{
        font-size: 2.5rem;
    }
    .card img{
        width: 100%;
        height:100%;
        
    }
}

