section{
    padding-left: 4rem;
    padding-right: 4rem;
}

#profilkep, #profilkep picture{
    max-height: 100%;
    max-width: 50vw;
    width: 100%;
    height: 80%;
    
}

#profilkep{
    padding-top: 2rem;
}

#profilkep img{
    
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 0px solid;
    border-radius: 2px;

}


section {
    height: calc(100vh - var(--header-height) - 55px );
    min-height: 650px;
}

@media(max-width: 720px) {
    section {
        height: calc(100vh - var(--header-height)  );
    }
}

#bemutatkozas{
    position: relative;
    min-height: 600px;
}

#rovidleiras{
    
    min-width: 100%;
    min-height: 100%;
    
    background-color: var(--highlighted-background-color);

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;    
    align-items: center;
    overflow:hidden;

}

#rovidleiras > span:first-of-type {
    font-weight: 600;
    
}

#rovidleiras span {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#rovidleiras_container{
    min-width: 450px;
    width: 50%;
    height: 25%;
    position: absolute;
    bottom: 5%;
    left: 30%;
    align-items: center;
    min-height: 250px;

}


#rovidleiras_container::after{
    content: '';
    width: 100%;
    height: 100%;
    
    border: 2px solid var(--gold-frame-color);
    position: absolute;
    right: -1rem;
    bottom: -1rem; 
    
    
}

#rovidleiras button{
    
    
    background-color: var(--main-text-color);
    color: white;
    padding: .5rem 2rem;
}

@media(max-width: 720px){
    #bemutatkozas{
        position: relative;
        min-height: 650px;
    }
    section{
        padding-top: 2rem;
        padding-right: 0;
        padding-left: 0;
        
    }
    
    #profilkep, #profilkep picture{
        max-height: 100%;
        max-width: 100%;
        width: 100%;
        height: 80%;
        min-height: 300px;
    }
    
    #profilkep img{
        
        width: 100%;
        max-height: 100%;
        object-fit: contain;
        border: 0px solid;
        border-radius: 2px;
    
    }
    
    #rovidleiras_container{
        width: calc(100% - 0.9rem);
        min-width: auto;
        height: 30%;
        
        
        bottom: max(20%, 150px);
        left: 0;
        
        
    }  
    
    #rovidleiras_container::after{
        left: 0.9rem;
        top: 0.9rem; 
    }
    



}


#kezdolap_also_section{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
}

#kezdolap_also_section > div {
    width: 50%;
}

#carousel_container{
    height: 100%;
    width: 100%;
    align-items: center;
    display:flex;
    
    
}

#carousel{
    max-width: 75%;
    width: 75%;
    min-width: 300px;
    max-height: 80%;
    
    aspect-ratio: 1;
    position: relative;
    border: 0px solid;
    border-radius: 2px;
    margin-left: 2rem;
    
}
#carousel::before{
    content: '';
    position:absolute;
    display:block;
    width: 100%;
    height: 100%;
    left: -1rem;
    top: 1rem;
    border: 2px solid var(--gold-frame-color);
}

.carousel-slide{
    position: absolute;
    width:100%;
    height:100%;
    inset: 0;
    opacity: 0;
    border: 0px solid;
    border-radius: 2px;
    transition: 1200ms opacity ease-in-out;
    transition-delay: 1200ms;
}

.carousel-slide[data-active]{
    opacity: 1;
    transition-delay: 0ms;
}

.carousel-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0px solid;
    border-radius: 2px;

}

#carousel_control{
    color: var(--highlighted-background-color-opacity05);
    animation: pulsatingButton 4s forwards;
    animation-iteration-count: infinite;
}

@keyframes pulsatingButton {
    0%{
        color: var(--highlighted-background-color-opacity05);
    }
    50%{
        color: var(--highlighted-background-color);
    }
    100%{
        color: var(--highlighted-background-color-opacity05);
    }
}


@media(max-width: 720px){

    #kezdolap_also_section{
        flex-direction: column-reverse;
        justify-content: flex-start;
        height: 100%;
    }
    #kezdolap_also_section > div {
        height: calc(100vh - var(--header-height));
        width: 100%;
    }

    div[data-slides]{
        width: 100%;
        height: 100%;
    }

    #carousel{
        margin-left:auto;
        margin-right: auto;
        padding-right: 10%;
        aspect-ratio: 1;
        height: calc( 100% - 1rem);
        width: auto;
    }

    #carousel img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }    
}

#velemenyek_container{
    padding-left: 3rem;
    padding-right: 1rem;
    font-size: .75rem;
   
    display: flex;
    flex-direction: column;
    height: 29rem;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    overflow:hidden;

   
}

.velemenyCard{
    background-color: white;
    border: 0px solid var(--main-text-color);
    border-radius: 2px;
    padding: 1rem;
    height: 8rem;
    width: 75%;
    overflow:hidden;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    user-select: none;
    transition: transform 1s ease-in, opacity 1s ease-in-out;
    flex-shrink: 0;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    
    

}

.velemenyKuldo{
    font-weight: 600;
}

.velemenySzoveg {
    height: 5rem;
    scrollbar-width: none;
    overflow-y: scroll;
}
.velemenySzoveg::-webkit-scrollbar {
    display:none;
}

.velemenyCard.left{
    transform: translateX(-15%);
}

.velemenyCard.right{
    transform: translateX(15%);;
}

.left.goingUp{
    transform: translate(-15%, -10rem);
}

.right.goingUp{
    transform: translate(+15%, -10rem);
}

.noTransition{
    transition: none;
}

@media(max-width: 720px){
    #velemenyek_container{
        padding-left: 1rem;
        padding-right: 1rem;
       
        height: 29rem;       
    }
    
    .velemenyCard{
    
        width: 90%;

    }
    
    
    .velemenySzoveg {
        height: 5rem;
        scrollbar-width: none;
        overflow-y: scroll;
    }
    .velemenySzoveg::-webkit-scrollbar {
        display:none;
    }
    
    .velemenyCard.left{
        transform: translateX(-5%);
    }
    
    .velemenyCard.right{
        transform: translateX(5%);;
    }
    
    .left.goingUp{
        transform: translate(-5%, -10rem);
    }
    
    .right.goingUp{
        transform: translate(+5%, -10rem);
    }
}


