
/* Görgethető, kettéosztott div a fő tartalom számára */
.main-area-content {
    height: 100%; 
    position: relative;
    z-index: 10;
    overflow-y: auto; 
    overflow-x: hidden;  
    
}

/* Cím a tartalomhoz */
.title-section {
    /* height: 50px; */
    margin: 17px;
    margin-top: 25px;
}

#title-section-2 {
    /* height: 50px; */
    margin: 17px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 3px solid black;
    
    /* position: relative; */
    /* display: block; */
}

/*Bezáró gomb*/
.closer-button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    outline: 0;
    position: absolute;
    right: 32px;
    width: 4rem;
    z-index: 10;
    -webkit-transition: all .8s;
    transition: all .8s;
    box-sizing: border-box;
}

.closer-link {
    font-size: 5rem;
}

.closer-link:hover {
    cursor: pointer;
    transition: transform 0.3s;
    transform: scale(1.2);
}

/* Fő tartalom - Bal oldal, kép */
.content-section-2 {
    position: absolute;
    width: calc(50% + 8px); 
    /* width: 50%; */
    /* border: 1px solid #000; a szélesség ellenőrzésre */
    height: 100%;    
    z-index: 30;
    box-sizing: border-box;
    
}

/* Fő tartalom - Jobb oldal, szöveg */
.content-section-1 {
    position: absolute; 
    width: calc(50% + 8px);
    /* width: 50%; */
    height: auto;  
    /* border: 1px solid #000; a szélesség ellenőrzésre */
    padding-right: 32px;
    z-index: 30;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    
}

/* Címek design-ja */
h1, h2 {
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 4rem;
}


.center-aligned {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;

}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    font-weight: bold;
}


/* Responsive design */

/* Mobil - álló nézet */

@media screen and (max-width: 1023px) {
    /* .main-area-content {
        top: 16.66667%;
        height: 66.66667%;
    }  */
    
    /*Ez biztosít elegendő helyet a header-nek és a footernek. */

    .title-section {
        margin-bottom: 0px;
    }

    #title-section-2 {
        margin-bottom: 0px;
    }

    .content-section-1 {
        width: 100%;
        padding: 17px;
    }
    
    /* Kis képernyőn nem jelenítek meg képet.*/
    .content-section-2 {
        display: none;
    } 

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2rem;
    }

    /*Ha mégis meg kell jeleníteni a bal oldali konténert, az alábbi két kódot kell aktívvá tenni: */

    /* #content-section-1 {
        width: 100%;
        padding: 17px;
        padding-top: 32px;
        height: auto;
        position: relative;
    }

    #content-section-2 {
        position: relative;
        width: 100%;
        height: 200px; 
    }  */

}

@media screen and (max-width: 423px) {
    h1 {
        font-size: 3.5rem;
        margin-right: 50px;
        
    }
}

/* Nagyképernyő, kétoszlopos nézet */

@media screen and (min-width: 1023px) {
    /* A szöveg kerül jobbra */
    .content-section-1 {
        padding-top: 17px;
        left: calc(50% + 8px);
    }

    h1 {
        font-size: 6rem;
    }
    
}



