@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    margin: 0;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-image: url('../images/pacvac-tausta4.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
}

.content {
    margin: auto;
    display: flex;
    justify-content: center;  
    align-items: center;
    text-align: center;         
    flex-wrap: wrap; 
    font-weight: 500;
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    width: 100%;
    max-width: 2000px;
}

.column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.column h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.column p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000000;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 2rem;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.txt-container button {
    background-color: #ffe876;
    color: #000000;
    border-radius: 2rem;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.txt-container button a {
    text-decoration: none;
    color: inherit;
}

.txt-container button:hover {
    background-color: #000000;
    color: #ffe876;
}

@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .column {
        flex: none; 
        width: 90%;
    }

    .img-container {
        width: 100%;
        max-width: 450px;
        padding: 0;
        margin-bottom: -1rem; 
    }

    .img-container img {
        display: block;
        width: 100%;
        height: auto;
    }

    .txt-container button {
        background-color: transparent;
        border: 1px solid #000000;
    }

}