@import url(színek.css);

body {
    font-family: Arial, sans-serif;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--szín12);
    color: white;
}

main h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

main h2 {
    margin-top: 4rem;
    color: var(--szín11);
    border-bottom: 1px solid var(--szín3);
    padding-bottom: 0.75rem;
    font-size: 1.5rem;
}

.justified-gallery a,
.justified-gallery a:hover,
.justified-gallery a:focus {
    transform: none !important;
    transition: none !important;
    backface-visibility: hidden;
}

.justified-gallery img,
.justified-gallery .caption {
    transform: none !important;
    transition: none !important;
}

.caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
}

a img {
    width: 100%;
    height: auto;
    display: block;
}

.justified-gallery .caption {
    font-size: 0.875rem;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    transform: none !important;
}

.gomb {
    padding: 0.75rem;
    font-size: 1.25rem;
    font-weight: bold;
    box-shadow: 0.0625rem 0.0625rem rgba(0, 0, 0, 0.2);
    background-color: var(--szín16);
    border-radius: 0.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--szín3);
    position: fixed;
    z-index: 5;
}

.gomb:hover {
    background-color: var(--szín4);
}

.footer {
    color: var(--szín3);
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .gomb {
        top: 3rem;
        left: 1vw;
    }

    main h1 {
        margin-top: 3rem;
        font-size: 1.5rem;
    }

    main h2 {
        font-size: 1.25rem;
    }
}
