/*Rólunk*/
#rolunk{
    width: 90%;
    margin: auto;
    margin-bottom: 50vh; 
}
#rolunk h1{
    text-align: center;
    margin-bottom: 3rem;
    color: #c32b2f;
}


#rolunk h3{
    color: rgb(153, 42, 42);
    
}

article{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    
}

#bevezeto-kep{
    flex: 0 0 clamp(320px, 50%,600px);
    margin-right: 2rem;
}

#bevezeto-szoveg p{
    width: 80%; font-size: 110%; text-align: justify;
}
#bevezeto-kep img{
    width: 100%; height: auto;
    display: block;

    margin-right: 2rem;
    border-radius: 10px;


    transition: all;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
}
#rolunk-bevezeto img:hover{
    transform: scale(1.05);
    
}



/*RÓLUNK SZÖVEG MEDIA QUERYK*/
@media (min-width:730px) and (max-width:1100px){

    
    article{flex-direction: column;}
    
    #bevezeto-szoveg p{text-align: center;  margin: auto;}
    #bevezeto-szoveg{width: 80%; text-align: center; margin: auto;}
    #bevezeto-kep{width: 80%; margin-right: 0;}
    #bevezeto-kep img{ width: 100%; margin: auto;}
    #rolunk-bevezeto{margin-left: 0;}
}
@media(max-width:729px){

    article
    {
        flex-direction: column;
        text-align: center;
    }
    #bevezeto-szoveg p{text-align: center;  margin: auto;}
    #bevezeto-szoveg{width: 100%; text-align: center; margin: auto;}
    #rolunk-bevezeto{margin-left: 0;}
    #bevezeto-kep{width: 100%; margin-right: 0;}
    #bevezeto-kep img{ width: 100%; margin: auto; text-align: center;}
    
}

/*KÁRTYÁK*/
#cards{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-flow: row nowrap;

    
    margin: auto; text-align: center;
    margin-top: 25vh;
    width: 85%;
    
    
}
#cards h2{
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: all;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
    
}
#cards img{
    width: 100px; height: auto;
    margin: auto;
    
    
}
#cards div{
    width: 30%;
    text-align: center;
    padding: 1rem;
    
    
    
    background-color: rgb(233, 233, 233) ; 
    color: black;
    transition: all;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
    
    
}
#cards p{
    width: 80%; font-size: 110%;
    margin: auto;
    transition: all;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
}
#cards div:hover{
    
    cursor: pointer;
    background-color: rgb(150, 150, 150) !important;
}
#cards div:hover p{color: white;}

#cards div:hover h2{color: rgb(187, 43, 43);}

#middle-card{
    transform: scaleY(1.17);
    
    background-color: rgb(255, 255, 255) !important;
    border-radius: 10px;
}
#first-card{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
#first-card img{width: 80px;}
#last-card{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
#last-card img{width: 80px;}

/*KÁRTYÁK MEDIA QUERYK*/
@media (min-width:845px) and (max-width:1378px){

    #cards{width: 100%;}
    #rolunk{width: 100%;}
}

@media (min-width:539px) and (max-width:844px){

    #main{padding: 1rem;}
    #rolunk{
        width: 100%;
        margin-left: 0;
    }
    #cards{flex-direction: column;}
    #cards div{
        width: 80% ;
        margin: auto;
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    #middle-card{transform: scaleY(1);}
}

@media(max-width:538px){

    #rolunk{
        width: 100%;
        margin-left: 0;
    }
    #cards div{
        width: 95% ;
        margin: auto;
        margin-bottom: 4rem;
        border-radius: 10px;
        height: 330px;
    }
    #cards{flex-direction: column;}
}
@media(max-width:420px){
    #rolunk{
        width: 100%;
        margin-left: 0;
    }
    #cards div{
        width: 100% ;
        margin: auto;
        margin-bottom: 4rem;
        border-radius: 10px;
        height: 330px;
    }
    #cards{flex-direction: column; width: 100%;}
}

/*ROLUNK LISTA*/
#rolunk-lista{
    
    margin: auto; text-align: center;
    margin-top: 20vh;
    margin-bottom: 5rem;
}
#rolunk-lista h3{color: white;}
#rolunk-lista ul{
    padding-inline-start: 0;
    padding-left: 1.5rem;
    display: inline-block;
    text-align: left;
    font-size: 110%;
    list-style: none;
    
}
#rolunk-lista li{
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;

    transition: all;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
}
#rolunk-lista li:hover{
    transform: scale(1.1);}

#rolunk-lista li::before{
    content: url(./checkmark.png);
    display: inline-block; /*ugyan az mint a display:block csak abban a sorban marad*/
    width: 32px;
    height: 32px;
    flex-shrink: 0; /*ne zsugorodjon a kép*/
}
@media(max-width:500px){
    #rolunk-lista ul{
        font-size: 100%;
    }
}



/*REVIEWS*/
#review-jump{margin-top: 30vh;}
#reviews{
    margin: auto;
    
    margin-bottom: 10vh;
    width: 55%;


    display: flex;
    flex-flow: wrap row;
    justify-content: space-evenly;
    overflow-y: auto;
    height: 450px;

    background-color: rgb(22, 22, 22);  border-radius: 10px;
    padding: 1rem  ;
}
.review-title{
    text-align: center;
    margin-top: 0;
    
}
#reviews a{text-decoration: none; color: white;}

#review-number{text-align: center; text-decoration: none; cursor: pointer;}
#review-number h2{text-decoration: underline; color: #c32b2f;}

#review{
    position: relative;
    background-color: rgb(34, 34, 34); border-radius: 10px;
    width: 280px; height: 400px;
    padding: 1rem; margin-bottom: 3rem;
    
    transition: all;
    transition-duration: .3s;
    transition-delay: .1s;
}
#review:hover{
    transform: scale(1.02);
    cursor: pointer;
}



.profilkep{
    width: 50px; height: auto;
    border-radius: 50%;
    position: absolute;  
    transition: all;
    transition-duration: .3s;
    transition-delay: .1s;
}
#review:hover .profilkep{
    box-shadow: 0 0 2px 2px rgb(255, 255, 255);
}

.facebook-logo{
    position: absolute;
    right: 10px; top: 10px;
}
#review p{
    color: white;
    width: 90%;
    text-align: center; margin: auto;
    margin-top: 5rem;
    font-size: 110%;
}
#review h4{
    position: absolute;
    left: 75px; top: 10px;
}

@media (min-width: 551px) and (max-width:1147px){
    #reviews{
        width: 80%;
        
    }
}
@media (min-width: 401px) and (max-width:550px){
    #reviews{
        width: 95%;
        justify-content: center;
    }
}
@media(max-width:400px){
    #reviews{
        width: 100%;
        justify-content: center;
    }
    #review{width: 100%;}
}




/*ROLUNK EVERTEKELO*/

.rolunk-evertekelo{
    
    margin-top: 30vh;
   /* border: 2px solid white; border-radius: 10px; padding: 2rem;*/

}

.rolunk-evertekelo h2{text-align: center; margin-bottom: 3rem;}

.evertekelo-kep{flex: 0 0 clamp(320px, 50%,600px);}

.evertekelo-szoveg p{
    width: 85%; font-size: 110%; text-align: justify;
}

.evertekelo-kep img{
    width: 100%; height: auto;
    display: block;

    margin-right: 2rem;
    border-radius: 10px;


    transition: all;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
}
.rolunk-evertekelo img:hover{
    transform: scale(1.05);
    
}

#article-bajnoksag{
    margin-top: 20vh;
    
}

#jotekonysag{
    margin: auto; margin-top: 15vh;
    text-align: center;
    width: 50%;
}
#jotekonysag p{
    margin: auto;
    
    font-size: 110%;
}


@media (min-width:730px) and (max-width:1100px){

    
    article{flex-direction: column;}
    #article-bajnoksag{flex-direction: column; margin-right: 0;}
    
    .evertekelo-szoveg p{text-align: center;  margin: auto; margin-bottom: 1.5rem;}
    .evertekelo-szoveg{width: 80%; text-align: center; margin: auto;}
    .evertekelo-kep{width: 80%; margin-right: 0;}
    .evertekelo-kep img{ width: 100%; margin: auto;}
    .rolunk-evertekelo{margin-left: 0;}
}
@media(max-width:729px){

    article
    {
        flex-direction: column;
        text-align: center;
    }
    #article-bajnoksag
    {
        flex-direction: column;
        text-align: center;
    }
    .evertekelo-szoveg p{text-align: center;  margin: auto; margin-bottom: 1.5rem;}
    .evertekelo-szoveg{width: 100%; text-align: center; margin: auto;}
    .rolunk-evertekelo{margin-left: 0;}
    .evertekelo-kep{width: 100%; margin-right: 0;}
    .evertekelo-kep img{ width: 100%; margin: auto; text-align: center;}
    
    #jotekonysag{width: 80%;}
}