/* header */
#toptext {
    background: var(--accent-color);
    color: var(--secondary-color);
    height: 30vh;
    padding: 3rem 1rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 8px;
}

/* services table */
.services-table {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.services-table caption {
    color: var(--text-color);
}

/* video container */
aside {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* tartalmak */
p {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    line-height: 1.8;
}

h2 {
    text-align: center;
}

/* responsive adjustments */
@media screen and (max-width: 768px) {
    header {
        height: 30vh;
    }
    
    header h1 {
        font-size: 2rem;
        padding: 1.5rem;
    }
}