
@font-face {
    font-family: PustBold;
    src: url('/assets/fonts/Arlette Bold.otf') format('opentype');
}

.leva-stran{
    position: sticky;
    top:0;
}


.slika-zadaj {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    background-image: url("../assets/images/prizgi-svecko.jpg");
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 1; /* Ensure it's not blocking content */
}

.slika-zadaj h1{
    font-family: PustBold;
    color: white;
    font-size: 5rem;
}

.slika-zadaj::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background-color: rgba(0, 0, 0, 0.4);  /* Dark overlay */
    z-index: 2; /* Higher than background but lower than content */
}

/* Ensure content inside .slika-zadaj is on top */
.slika-zadaj > * {
    position: relative;
    z-index: 3; /* Content should be above overlay */
}


.svecka-input{
    width: 100%;
            padding: 10px 40px 10px 10px;
            font-size: 18px;
            border: 2px solid white;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            outline: none;
            border-radius: 5px;
}


.svecka-input::-webkit-input-placeholder {
            color: white;
            opacity: 0.8;
        }


.svecka-input::-moz-placeholder {
            color: white;
            opacity: 0.8;
        }


.svecka-input:-ms-input-placeholder {
            color: white;
            opacity: 0.8;
        }


.svecka-input::-ms-input-placeholder {
            color: white;
            opacity: 0.8;
        }


.svecka-input::placeholder {
            color: white;
            opacity: 0.8;
        }

.svecka i{
    font-size: 3em;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 72px; /* Set fixed width */
    height: 72px; /* Set fixed height */
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end; /* Align content to the bottom */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-shadow: none !important;
    padding-bottom: 5px; /* Adjust spacing */
}

.obituary {
    /* max-width: 700px; */
    padding: 10px;
    background: #ffffff;
    border: 3px solid black;
    text-align: center;
    font-family: serif;
}

.poem {
    font-style: italic;
    font-size: 12px;
    margin-bottom: 0;
}

.announcement {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

.name {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}

.nickname {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 10px;
}

.description {
    font-size: 12px;
    margin: 20px 0;
}

.flowers {
    font-size: 12px;
    font-style: italic;
    margin: 20px 0;
}

.line-small{
    line-height: 0.6;
}

@media only screen and (max-width: 980px){
    .leva-stran{
        position: relative;
    }
}
