@import url('style.css');
@import url('header.css');

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
h2 {
    font-size: 2.2rem;
    margin: 1.5rem 0;
}
.title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}
/* IMAGES */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.image-wrapper {
    flex: 1 1 calc(25% - 1rem);
    width: 100%;
    min-width: 300px;
    max-height: 400px;
    min-height: 300px;

    overflow: hidden;
    box-shadow: 0 4px 16px var(--box-shadow-color);
    border-radius: 0.8rem;
}
.image-wrapper:hover {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}
/* VIDEOS */
.video {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}
.video-wrapper {
    flex: 2 1 1200px;
}
.video-info {
    flex: 1 3 250px;
}
.video-wrapper video {
    width: 100%;
    height: auto;
    object-fit: cover;

    border-radius: 1rem;
    box-shadow: 0 4px 16px var(--box-shadow-color);
}
.video-description {
    width: 100%;
    
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 4px 16px var(--box-shadow-color);
}
.video-description thead,
.video-description caption {
    color: var(--text-color);
    background-color: var(--tertiary-background);
    padding: 0.5rem 3rem;
}
.video-description th,
.video-description td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #444;
}
.video-description th {
    font-weight: bold;
    font-size: 1.4rem;
}
.video-description td {
    font-size: 1.2rem;
}
.video-description caption {
    font-size: 1.2rem;
    text-align: center;
    font-style: italic;
    border-radius: 0 0 1rem 1rem;
}
.video-summary {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 800px;
    font-size: 1.2rem;
    line-height: 1.6;
    border-radius: 1rem;
    box-shadow: 0 4px 16px var(--box-shadow-color);
    background-color: var(--secondary-background);
}
.javaslat {
    font-size: 1.2rem;
    line-height: 1.6;
}
figcaption {
    font-size: 1rem;
    color: var(--text-color);
    padding-left: 1rem;
}
figure {
    margin: 2rem 0;
}
figure img {
    border-radius: 1rem;
    overflow: hidden;
}
figure:hover {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

@media (max-width: 768px){
    .content {
        width: 100%;
    }
}



