.orszag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.orszagtext {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    text-align: justify;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    max-width: 100%;
    margin-top: 30px;
    height: auto;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

th {
    background-color: #5c5e61;
    color: white;
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .orszag {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    video {
        width: 80%;
        height: auto;
    }
}

#videocontainer {
    align-items: center;
    align-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    video {
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    table, thead, tbody, th, td, tr {
        display: block;
    }

    tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
    }
    
    td {
        text-align: left;
        padding-left: 50%;
        position: relative;
        white-space: nowrap;
        overflow: auto;
        max-width: 200px;
        display: block;
    }

    td::before {
        position: absolute;
        left: 10px;
        font-weight: bold;
    }

    td:nth-of-type(1)::before { content: "Ország: "; }
    td:nth-of-type(2)::before { content: "Főváros: "; }
    td:nth-of-type(3)::before { content: "Pénznem: "; }
    td:nth-of-type(4)::before { content: "Látványosság: "; }
}