html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #000000;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.thumbImage {
    border: 0px solid;
    display: block;
    margin: 3px;
    max-width: calc(100vw - 6px);
    height: auto;
}

.thumbLink {
    display: inline-block;
    font-size: 0;
    line-height: 0;
    vertical-align: top;
}

a.thumbImage {
    pointer-events: none;
    border: none;
}

.outerContainer {
    width: 100%;
    background-image: url(../images/glow_bg4.png);
    background-position: center;
    background-repeat: repeat-y;
    animation: pulse 10s infinite;
    background-color: #4a0b0b;
}

.mainContainer {
    width: 100%;
    background-image: url(../images/racs_bg_loop2.svg);
    background-size: 70px;
    background-position: 50%;
}

#headerDiv {
    background-image: url(../images/header.png);
    background-position: center;
    height: 171px;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#footerDiv {
    background-image: url(../images/footer.png);
    background-position: center;
    height: 92px;
}

#imagesContainer {
    text-align: center;
    margin-bottom: 30px;
}

#contactDiv {
    background-image: url(../images/racs_bg_loop2.svg);
    background-size: 70px;
    background-color: #111111;
    background-position: 50%;
    font-size: 21px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

#contactText {
    color: #eceaea;
    font-size: 21px;
    padding: 40px 30px;
    width: 100%;
    max-width: 476px;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
}

* {
    font-family: "Barlow", sans-serif;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.categoryImage {
    margin-top: 13px;
    margin-bottom: 13px;
    /* width: 100%; */

    display: block;
    margin-left: auto;
    margin-right: auto;
    /*  width: 50%;*/
}

.categoryImageDiv {
    margin-top: 13px;
    margin-bottom: 13px;
    background-image: url(../images/slogan.svg);
    background-position: center;
    background-size: cover;
    height: 152px;
}



#headerInner {
    max-width: 1800px;
    margin: 0 auto;
    text-align: right;
}

#menuDiv {
    display: none;
    font-size: 10px;
}

.menuPoint {
    color: #ebe4e4;
    margin: 12px;
    text-decoration: none;
    font-size: 20px;
}

.contactRed {
    color: red;
}

.contactLink {
    color: inherit;
    text-decoration: none;
}

.contactLink:hover {
    text-decoration: underline;
}

/* css as usual */
.this-class {
    font-size: 12px;
}

#menuButton {
    display: none;
    width: 50px;
    height: 50px;
    padding: 1px;
    margin: 10px;
    float: right;
}

#contentDiv1 {
    background-image: url(../images/racs_bg_loop2.svg);
    background-size: 70px;
    background-color: #111111;
    background-position: 50%;
    font-size: 21px;
    position: relative;
    top: -15px;
    /* height: 200px; */
    /* animation: pulse 10s infinite; */
}

@keyframes pulse {

    0%,
    100% {
        background-size: 1200px;
    }

    50% {
        background-size: 2300px;
    }
}

#mainTextDiv {
    margin: auto;
    max-width: 870px;
    padding: 20px;
    color: rgb(231, 223, 223);
    padding-top: 20px;
    padding-bottom: 50px;
    overflow-wrap: break-word;
    word-break: break-word;
}

#contactImages {
    display: none;
}

.sloganDiv {
    background-image: url(../images/slogan_small.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 154px;
    text-align: center;
    position: relative;
    top: -15px;
    z-index: 0;
    margin: 0 20px;
}

/* Mobilos footer: max 899px */
@media (max-width: 899px) {
    #mobileFooter {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 160px;
        background-image: url(../images/mobile_footer.png);
        background-size: cover;
        background-position: center;
        background-color: #111111;
        z-index: 10;
    }

    #footerDiv {
        display: none;
    }

    #contactDiv {
        display: none;
    }

    .outerContainer {
        padding-bottom: 170px;
    }

    #imagesContainer a {
        cursor: default;
        pointer-events: none;
    }

    /* mobilon nincs kezdo szoveg-nagyitas: 2 ponttal kisebb */
    #contentDiv1 {
        font-size: 19px;
    }

    /* mobilon nincsenek kategoria buborekok es "Mutass tobbet" gomb */
    .categoryImageDiv,
    .blackButton {
        display: none;
    }

    /* egyetlen, teljes szelessegu kepfolyam */
    .thumbImage {
        width: 100%;
        max-width: 100%;
        margin: 3px 0;
    }
}

/* Tablet: 700px+ */
@media (min-width: 700px) {
    .this-class {
        font-size: 20px;
    }

    #contactImages {
        display: block;
        max-width: 100%;
        height: auto;
    }

    #contactImages img {
        max-width: 100%;
        height: auto;
    }

    #contactText {
        padding: 60px 30px;
    }

}

/* Menü + slogan váltás: 900px+ */
@media (min-width: 900px) {
    #mobileFooter {
        display: none;
    }

    #menuDiv {
        padding: 7px;
        display: block;
    }

    .sloganDiv {
        background-image: url(../images/slogan.svg);
        background-size: cover;
        background-position: center;
        margin: 0;
    }
}

/* Desktop: 1200px+ */
@media (min-width: 1200px) {
    #contactDiv {
        flex-direction: row;
    }

    #contactImages {
        width: 700px;
        height: 500px;
        flex-shrink: 0;
    }

    #contactText {
        padding: 140px 30px;
        width: 476px;
        height: 400px;
    }

    .thumbImage {
        max-width: calc(100vw - 50px);
    }
}


/*dropdown menu*/
.dropbtn {
    /*  background-color: #04AA6D; */
    color: #ebe4e4;
    padding: 10px;
    font-size: 20px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.673);
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
}

.dropdown-content a {
    font-size: 18px;
    color: black;
    padding: 4px 4px;
    text-decoration: none;
    display: block;
}

.blackButton {
    background-color: #111111;
    color: white;
    padding: 10px;
    font-size: 18px;
    border: none;
    display: inline;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*
  .dropdown:hover .dropbtn {background-color: #505150;}
*/

#mobileFooterContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 20px;
    color: #eceaea;
}

.mobileFooterName {
    font-size: 21px;
}

.mobileFooterLinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobileFooterLink {
    color: #eceaea;
    text-decoration: none;
    font-size: 21px;
}

.mobileFooterLink:hover {
    text-decoration: underline;
}

#mobileMenu {
    z-index: 5;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #eceaea;
    display: none;
    text-align: center;
    font-size: 22px;

}

#mobileMenu a {
    text-decoration: none;
    color: #111111;
}

/* teljes kepernyos kepnezo */
#fullscreenOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 1000;
}

#fullscreenOverlay.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

#fullscreenImage {
    /* a kep a keperyno teljes meretere nagyitva, aranytartassal
       (a globalis img{max-width:100%} felulirasa is kell) */
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.fullscreenControl {
    position: absolute;
    color: #eceaea;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 10px 20px;
    opacity: 0.7;
    user-select: none;
}

.fullscreenControl:hover {
    opacity: 1;
}

#fullscreenClose {
    top: 10px;
    right: 20px;
    font-size: 48px;
}

#fullscreenPrev,
#fullscreenNext {
    top: 50%;
    transform: translateY(-50%);
    font-size: 70px;
}

#fullscreenPrev {
    left: 10px;
}

#fullscreenNext {
    right: 10px;
}