body{
    background: url(Fotky/Background2.gif) no-repeat;
    background-color: #0F0F0F;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {  
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 26.4px;
    color: whitesmoke;
 } 

h2 {
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 15.4px;
    color: whitesmoke;
 }

.domu {
    position: fixed;
    top: 10px;
    left: 15px;
    width: 50px;
    height: 50px;
}

.domu img {
    width: 100%;
    height: auto;
}

.card {
    width: 90%;
    max-width: 1200px;
    height: 78vh;
    background: #ffffff09;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.card img {
    width: 98%;
    height: 89%;
    object-fit: cover;
    border-radius: 10px;
}

.card a {
    text-decoration: none;
    color: whitesmoke;
    font-size: 20px;
}

.card a:hover{
    color: #d4af37;
}

@media (max-width: 768px) {
    .card {
        width: 95%;
        height: 60vh;
    }
    .card img {
        height: 60%;
    }
    .card a {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .card {
        width: 95%;
        height: 50vh;
        justify-content: flex-start;
    }
    .card img {
        height: 55%;
        margin-top: 4px;
    }
    .card a {
        font-size: 20px;
    }
}