
section {
    width: 60%;
}


.rolunk small {
    font-size: 1rem;
    color: var(--secondary);
    text-transform: uppercase;
    line-height: 3rem;
}



.rolunk p {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: -0.25rem;
    line-height: 1.9rem;
}



@media screen and (orientation:portrait) {
    section {
        width: 90%;
    }







}






.openImg {
    width: 100%;
    position: relative;


}


.openImg h1 {
    color: var(--contrast);
    font-size: 5rem;
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 45%;
    
    
}


.openImg img {
    width: 100%;
    height: auto;
    filter: brightness(80%);
}



@media screen and (orientation:portrait) {
    .openImg {
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
    
        background-image: url('../images/munkagepek/main_mobile.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: 50%;
    }
    
    
    .openImg h1 {
        color: var(--contrast);
        font-size: 2.5rem;
        top: 0;

        position: relative;

        
        
    }
    
    
    .openImg img {
        display: none;
    }



}











.tipusok {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

}



.tipusok a {
    width: auto;
    margin: 1rem;
    border-radius: 2rem;
    text-decoration: none;
    border: var(--main) solid 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease-in;
    aspect-ratio: 1/1;
    /*box-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.25);*/

}


.tipusok a h1 {
    font-size: 1.9rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--contrast);
    background-color: var(--main);
    height: auto;
    padding: 0.5rem 0.3rem;
    margin: 0;
    text-align: center;
    text-transform: none;
    overflow: hidden;
    width: 100%;
    padding-bottom: 1rem;
}


.tipusok a img {
    width: 100%;
}



@media screen and (orientation:portrait) {
    .tipusok {
        display: flex;
        flex-direction: column;
        align-items: center;
    
    }
    
    
    .tipusok a {
        width: 85%;
        margin: 1rem 0;

    }


}



.tipusok a:hover {
    transform: scale(101%);
    transition: 0.3s ease-in;
}





#tipus1 {
    background: url("../images/munkagepek/main_mobile.jpg");
    background-size: cover;

}


#tipus2 {
    background: url("../images/uzemanyagok/main_mobile.jpg");
    background-size: cover;

}



#tipus3 {
    background: url("../images/automatikus-betonkevero/main_mobile.jpg");
    background-size: cover;

}


#tipus4 {
    background: url("../images/traktorok/main.png");
    background-size: cover;

}




.tipus-hatter {
    height: 100%;
    width: 100%;
}


#logosdesc {
    font-size: 2rem;
    margin-top: 2rem;
}



#logos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}


#logos img, #logos svg {
    width: auto;
    max-width: 90%;
    margin: 5%;
}



@media screen and (orientation:portrait) {
    #logos {
        display: flex;
        flex-direction: column;
        margin: 0 5%;

    }


}


