@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;
    overflow-x: hidden;
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-image: url('../images/pacvac-tausta1.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: 90%;
    max-width: 1200px;
}

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

.content .column p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #000000;
    text-align: center;
}

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

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

.txt-container {
    width: 100%;
}

.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;
}

.content2 {
    padding: 2rem;
    max-width: 1500px;
    margin: auto;
    justify-content: center;  
    align-items: center;
    text-align: center;         
}

.main-row {
    display: flex;
    flex-wrap: wrap;   
    justify-content: center;
    margin-top: 2rem;
}

.column {
    flex: 1 1 250px; 
    padding: 1.5rem;
    background-color: transparent; 
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.column p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    text-align: left; 
}

.main-row .column h1 {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    text-align: left;
}

.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;       
    gap: 3rem;            
    padding: 3rem 2rem;    
    background-color: rgba(255, 253, 240, 0.3); 
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 150px;      
    transition: 0.3s ease;
}

.logo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.faq-section {
    max-width: 800px;
    width: 100%;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: left;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background: rgba(255, 253, 240, 0.5);
    margin-bottom: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block; 
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

details[open] summary::after {
    transform: rotate(45deg); 
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.6;
    color: #444;
}

summary:focus {
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

.info-text {
    max-width: 800px;
    margin: 3rem auto 2rem auto; 
    text-align: center;
    padding: 0 2rem;
}

.info-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 2rem;
    font-weight: bold;
}

.button2 {
    display: inline-block;
    color: #000000;
    background-color: transparent;
    border: 1px solid #000000;
    padding: 1rem 2rem;
    border-radius: 1rem;
}

.button2 a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

.button2 a:hover {
    color: #000000;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
        padding-top: 6rem; 
    }

    .main-row {
        flex-direction: column;
        align-items: center;
    }

    .column {
        flex: 1 1 100%;
        width: 100%;
        align-items: center;     
        text-align: center;       
        padding: 1rem 0;          
    }

    .column p, 
    .main-row .column h1, 
    .content .column p {
        text-align: center !important;
    }

    .main-row .column {
        width: 90%;
    }

    .column p {
        font-size: 1rem;
    }

    .img-container {
        display: none;
    }

    .img-container img {
        max-width: 100%;
        height: 400px;
    }

    .logo-bar {
        gap: 1.5rem;       
        padding: 2rem 1rem;
    }
    
    .logo-item {
        max-width: 100px;
    }

    .faq-section {
        margin: 2rem auto;
        padding: 0 1rem;
        width: 90%;
    }
}