section{
    margin: 8px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

#section-1{
    background-image: url("img/etc/front.jpg");
    height: calc(100vh - 16px);  
}

#section-1-shade{
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 50vw;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 1.0), rgba(0, 0, 0, 0.0));
}

#front-div{
    position: absolute;
    right: 1vw;
    top: 20vh;
    text-align: center;
    width: 30vw;
}

#logo-main{
    height: 20vh;
}

#logo-main *{
    stroke-width: 2;
    stroke: var(--feher);
    fill: rgba(0, 0, 0, 0.0);
}

h1{
    font-family: Poppins-extralight;
    font-size: 30px;
}

h2{
    font-family: Poppins-extralight;
    font-size: 20px;
}

#mainmenu{
    height: calc(40vh - 80px);
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 12px;
}

#mainmenu a{
    display: block;
    font-size: 20px;
    padding: 8px; 
}

#mainmenu a p{
    margin: 4px 40px 4px 40px;
    font-family: Poppins-light;
    transition: 0.2s;
}


#mainmenu a div{
    height: 1px;
    width: 100%;
    margin-left: 100%;
    opacity: 0.0;
    transition: 0.2s;
}

#nava-0 > p{
    color: var(--barna_1); 
}
#nava-0 > div{
    background-color: var(--barna_1); 
}

#nava-1 > p{
    color: var(--kek_1);
}

#nava-1 > div{
    background-color: var(--kek_1); 
}

#nava-2 > p{
    color: var(--lila_1);
}
#nava-2 > div{
    background-color: var(--lila_1); 
}

#mainmenu a:hover p{
    color: var(--feher);
    margin: 0px 40px 8px 40px;
}

#mainmenu a:hover div{
    margin-left: 0%;
    opacity: 1.0;
}

#front-img-rotator .fri{
    display: flex;
    position: absolute;
    top: 0;
    left: -100vh;
    width: 55vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    transition: 0.6s;
    opacity: 0.0;
}

#front-img-rotator .active{
    left: 0;
    opacity: 1.0;
}

#front-img-rotator .prev{
    left: 100vw;
    opacity: 0.0;
}

#front-img-rotator img{
    display: block;
    width: auto;
    height: auto;
    max-width: 50vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 24px;
}

/*ROLAM*/

#rolam{
    height: 44.2vw;
    background-image: url("img/etc/rolam.jpg");
    background-size: contain;
}

#szlogen{
    text-align: center;
    color: var(--feket);
    font-size: 30px;
    font-family: Poppins-extralight;
    padding-top: 2vw;
}

#rolam-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    height: calc(42vw - 58px);
}

#rolam-wrapper *{
    color: var(--fekete);
    text-align: center;
    font-family: Poppins-light;
}

#rolam-text-div{
    width: 44vw;
    margin-left: 2vw;
}

#rolam-wrapper h3{
    
    margin-bottom: 24px;

    
}

#rolam-kontakt-div p{
    font-size: 20px;
    font-family: Poppins-light;
}

#kontakt-ico-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

#kontakt-ico-wrapper a{
    width: 60px;
    height: 60px;
    padding: 4px 8px;
    margin: 4px;
}

#kontakt-ico-wrapper svg{
    width: 100%;
}

.kontakt-ico-teli{
    fill: var(--fekete);
}

.kontakt-ico-vonal{
    fill: rgba(0, 0, 0, 0.0);
    stroke: var(--fekete);
    stroke-width: 8;
}

#kontakt-ico-wrapper a:hover .kontakt-ico-teli{
    fill: var(--feher);
}

#kontakt-ico-wrapper a:hover .kontakt-ico-vonal{
    stroke: var(--feher);
}



/*GALERIA*/

#galeria{
    height: 100vh;
    background-color: var(--kek_3);
}

#gal-nav{
    display: flex;
    justify-content: space-evenly;
}

#gal-nav > div{
    margin-top: 24px;
    
}

#gal-nav > div > p{
    margin: 4px 40px 4px 40px;
}

#gal-nav > div > div{
    height: 1px;
    background-color: var(--kozepes);
}

#gal-nav > div:hover{
    cursor: pointer;
}

#gal-nav *{
    transition: 0.2s;
}

#gal-nav > div:hover p{
    margin: 0px 40px 8px 40px;
}

#gal-nav > div:hover div{
    background-color: var(--feher);
}

#gal-nav .active{
    pointer-events: none; 
}

#gal-nav .active > p{
    color: var(--kek_1);
    margin: 0px 40px 8px 40px;
}

#gal-nav .active > div{
    background-color:  var(--kek_1);
}


#gal-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 4px 0 4px;
}

.gal-inner{
    grid-template-columns: repeat(3, 1fr);
    display: none;
    max-width: 1200px;
    height: calc(94vh - 60px);
    overflow: auto;
}

.gal-inner.active{
    display: grid;
}

.gal-col{
    display: flex;
    flex-flow: column;
}

.gal-col img{
    display: block;
    margin: 2px 0;
    width: 100%;
    transition: 0.2s;
}

.gal-col img:hover{
    cursor: pointer;
    margin: 8px 0;
}

#gal-fulla{
    padding: 8px 40px;
    border: 1px solid var(--feher);
    margin-top: 24px;
    display: none;
    text-align: center;
    width: 50vw;
    border-radius: 24px;
    margin-left: 25vw;
}


#gal-showbox{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
	display: none;
	z-index: 999;
}

#gal-showbox.active{
	display: flex;
	justify-content: center;
	align-items: center;
}

#gal-show-close{
	position: fixed;
	top: 4px;
	right: 12px;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	border: 1px solid var(--piros_1);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.15s;
	background-color: var(--sotet);
}

#gal-show-close p{
	font-size: 30px;
	font-family: Poppins-light;
	margin-top: -4px;
	transition: 0.15s;
	color: var(--piros_1);
}

#gal-show-close:hover{
	cursor: pointer;
	background-color: var(--piros_1);
}

#gal-show-close:hover p{
	color: var(--vilagos);
}

#gal-show-img{
	width: 98%;
	max-height: 98%;
	object-fit: contain;
}


/*LILALO*/

#lilalo{
    height: 50vw;
    background-image: url("img/etc/lila.jpg");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
}

#lilalo-overlay{
    width: 100%;
    height: 20vw;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1.0), rgba(0, 0, 0, 0.0));
    margin-bottom: -20vw;
}


#lilalo h4{
    padding: 24px 0;
    font-size: 30px;
    font-family: Poppins extralight;
    text-align: center;
}

#lilalo h4 a{
    color: var(--barna_1);
}

#lilalo h4 a:hover{
    color: var(--lila_1);
}

#lilalo > p{
    width: 50vw;
    margin-left: 25vw;
    font-family: Poppins-light;
    text-align: justify;
}


#lilalo-wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: absolute;
    bottom: 12px;
}

.lila-tile{
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--lila_1);
    margin: 4px;
    border-radius: 24px;
    padding: 6px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

.lila-tile img{
    border-radius: 24px;
}

.lila-tile *{
    color: var(--fekete);
}

.lilapost-text-holder{
    margin: 8px;
}