
h2.h2bevezeto {
    margin: 20px;
}

.bevezeto {
    display: flex; 
    align-items: flex-start;
    flex-direction: row; 
    gap: 20px; 
}

p.bev {
    flex: 2;
    line-height: 1.6; 
    text-align: justify;
}
details {
    flex: 1; 
    font-size: 120%;
}

details table {
    width: 90%; 
    border-collapse: collapse; 
    margin: 10px; 
}

details th, details td {
    border: 1px solid #000000; 
    padding: 8px; 
    text-align: center;
}

details th {
    background-color: #baf5ae;
    font-weight: bold; 
    text-align: center;
}

.harcmuveszet{
    display: flex;
    justify-content: space-between; 
    gap: 20px;
}

.hkep{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 20px;

}

figure.baguazhang img, figure.hunggar img {
    flex : 1; 
    width: 90%; 
    height: auto; 
    font-family: sans-serif;
}

.hszoveg {
    flex: 3;
    display: flex; 
    flex-direction: column; 
    text-align: left; 
    margin-left: 20px; 
}

.kezdetiotlet {
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    margin-bottom: 30px;
}

.oszoveg {
    flex: 1; 
    text-align: justify; 
    margin-left: 10px;
}

figure.otlet {
    flex: 1; 
    text-align: center; 
    margin-right: 10px;
}

figure.otlet img {
    width: 90%; 
    height: auto; 
    font-family: sans-serif;
}

.folytatás {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 20px; 
    margin-bottom: 30px;
}

.folyszoveg {
    flex: 2;
    text-align: left;
    margin-left: 10px;
}

article, article p {
    margin: 20px;
    font-style: italic;
}

figure.korralegendaja {
    flex: 1; 
    text-align: center; 
}

figure.korralegendaja img {
    width: 90%; 
    height: auto; 
}

iframe {
    align-items: center;
    width: 80%; 
    aspect-ratio: 16 / 9;
    margin: 20px auto; 
    display: block; 
    border: 2px solid #333; 
    border-radius: 10px; 
}

/*KVÍZ*/

h2.kvizh2 {
    text-align: center;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.kvizszoveg {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; 
    text-align: center;
}

form.kvíz {
    display: flex; 
    justify-content: space-between;
    align-items: flex-start; 
    gap: 20px; 
    margin-top: 10px; 
    background-image: url('hatter.jpg'); 
    background-size: auto 60%;
    background-repeat: no-repeat;
    background-position: right top; 
    border-radius: 10px; 
    background-color:#D6D3CB ;
    font-size: 100%;
    text-align: left;
    
}

label{
    font-size: 150%;
}

h3{
    font-size: 150%;
    font-weight: bold;
    color: black;
}

.blokk {
    flex: 1;
    padding: 10px; 
    
}

figure.iroh img{
    width: 60%;
    height: auto; 
}

.gombok{
    text-align: right;
    margin-top: 10px; 
}

button.button {
    font-size: 150%; 
    border-radius: 5px; 
    border: 2px solid #333; 
    background-color: #fcebc2;
    color: rgb(0, 0, 0); 
    cursor: pointer; 
    transition: transform 0.3s;
}

button.button:hover {
    transform: scale(1.1); 
    background-color: #ffeca0;
}

input[type="text"] {
    width: 300px; 
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    width: 100%; 
    max-width: 500px; 
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical; 
    
}

@media (max-width: 1180px) {
    .bevezeto{
        flex-direction: column; 
        align-items: center; 
        gap: 10px;
    }

    p.bev{
        font-size: 100%;
    }

    details table {
        font-size: 80%; 
        width: 100%; 
    }
    .harcmuveszet{
        flex-direction: column;
        align-items: center;
    }
    .hkep {
       flex-direction: row;
        gap: 10px; 
    }
    figure.baguazhang, figure.hunggar {
        width: 100%; 
        height: auto; 
        align-items: center; 
    }
    .kezdetiotlet{
        flex-direction: column;
        align-items: center;
    }
    .folytatás{
        flex-direction: column;
        align-items: center;
    }
    .kvizszoveg{
        font-size: 100%; 
    }

    form.kvíz{
        flex-direction: column; 
        align-items: center; 
        gap: 10px; 
        background-color: #D6D3CB;
        background-image: none; 
        font-size: 80%;
    }
    figure.iroh img{
        width: 80%; 
        align-items: center;
    }
    .gombok{
        text-align: center; 
        margin-top: 10px;
        font-size: 80%; 
    }
    p, li{
        font-size: 100%;
        margin: 10px;
    }

}