html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    overflow-x: hidden;
}
.pixel-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    z-index: 100;
}
.pixel-transition div {
    width: 10%;
    aspect-ratio: 1.15/1;
    background: black;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: translateY(-100px) scale(2.1);
    transform-origin: center;
    transition: 120ms ease-out;
}
h1, h2, h3, h4, h5, h6, p{
    margin: 0;
}
.header{
    background: url(img/header1.jpg) no-repeat center center;
    background-size: cover;
    padding: 250px 10px 320px;
}
.header > div{
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.header > div > div{
    width: 50%;
    margin: 0 0 0 auto;
}
.subtitle{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 0 70px;
    position: relative;
}
.subtitle:before{
    content: '';
    display: block;
    height: 2px;
    width: 60px;
    background: #E84659;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -70px;
}
.header h1{
    font-size: 70px;
    margin: 0 0 10px;
}
.cta{
    display: inline-block;
    background: #E84659;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 3px solid #BD3848;
    border-radius: 1px;
    padding: 17px 40px;
    margin: 30px 0 0;
    box-sizing: border-box;
    color: white;
    text-decoration: none;
}
.hero2{
    background: url(img/hero2-bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 0 10px;
}
.hero2 > div{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.hero2 > div > div{
    width: 31%;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 330px;
    margin: -60px auto 90px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.hero2 > div > div:nth-child(1){
    background-image: url(img/hero2-1.jpg);
}
.hero2 > div > div:nth-child(2){
    background-image: url(img/hero2-2.jpg);
}
.hero2 > div > div:nth-child(3){
    background-image: url(img/hero2-3.jpg);
}
.hero2 > div > div:nth-child(4){
    background-image: url(img/hero2-4.jpg);
}
.hero2 > div > div:nth-child(5){
    background-image: url(img/hero2-5.jpg);
}
.hero2 > div > div:nth-child(6){
    background-image: url(img/hero2-6.jpg);
}
.hero2 .subtitle{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 10px 40px;
    position: relative;
}
.hero2 .subtitle:before{
    content: '';
    display: block;
    height: 2px;
    width: 30px;
    background: #E84659;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -40px;
}
.hero2 h3{
    font-size: 28px;
    margin: 0 0 15px;
}
.hero3{

}
.hero3 > div{
    max-width: 1360px;
    margin: 0 auto;
    color:white;
    background: url(img/hero3-bg.jpg) no-repeat center center;
    background-size: cover;
}
.hero3 > div > div{
    max-width: 1024px;
    margin: 0 auto;
    padding: 50px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.hero3 > div > div> div:first-child{
    width: 60%;
}
.hero3 > div > div> div:last-child{
    width: 190px;
}
.hero3 h3{
    font-size: 40px;
    margin: 0 0 10px;
}
.hero4{
    background: url(img/hero4-bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 230px 10px 0;
    margin: 0 0 100px;
}
.hero4 > div{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.hero4 > div > div{
    width: 50%;
    position: relative;
}
.hero4 > div > div:first-child img{
    width: 100%;
    display: block;
    margin: 0;
    transform:scale(1.5) translateX(-10px);
    transform-origin: top right;
}
.hero4 .name{
    background: #E84659;
    padding: 8px 12px;
    box-sizing: border-box;
    border-radius: 1px;
    font-size: 18px;
    color: white;
    width: fit-content;
    position: absolute;
    top: 55%;
    right: 50px;
    z-index: 1;
}
.hero4 .name span{
    font-size: 12px;
    font-weight: 300;
    display: block;
}
.hero4 h3{
    font-size: 70px;
    margin: 0 0 10px;
}
.hero4 h4{
    font-size: 26px;
}
.hero4 p{
    margin: 0 0 20px;
}
.hero4 .icons{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 30px 0 0;
}
.hero4 .icons div{
    width: 32%;
    margin: 0 0 30px;
    text-align: center;
}
.hero4 .icons div img{
    display: block;
    margin: 0 auto;
    max-width: 95px;
}
.hero4 .icons div h4{
    font-size: 20px;
    margin: 0 0 10px;
}

.hero5{
    padding: 0 10px 50px;
}
.hero5 > div{
    max-width: 1200px;
    margin: 0 auto;
}
.hero5 .velemeny{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 50px;
}
.hero5 .velemeny:nth-child(2){
    flex-direction: row-reverse;
}
.hero5 .velemeny .profil{
    width: 40%;
    display: block;
    margin: 0 auto;
}
.hero5 .velemeny > div{
    width: 55%;
}
.hero5 .aposztrof {
    display: block;
    margin: 0 0 30px;
    width: 100px;
}
.hero5 .velemeny .text{
    font-size: 24px;
    font-weight: 200;
    font-style: italic;
    margin: 0 0 30px;
}
.hero5 .velemeny .name{
    font-size: 16px;
    font-weight: 500;
}

.hero6{
    background: url(img/hero6-bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 100px 10px 150px;
    position: relative;
}
.hero6:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: #F5F5F5;
    clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
}
.hero6 > div{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.hero6 > div > div{
    width: 50%;
    margin: 0 0 0 auto;
}
.hero6 > div > div > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.hero6 > div > div > div p{
    width: 45%;
}
.hero6 h3{
    font-size: 70px;
    margin: 0 0 10px;
}
.hero6 h4{
    font-size: 40px;
    font-style: italic;
    text-align: center;
    margin: 0 0 30px;
    color: #E84659;
}
.hero6 p{
    margin: 0 0 20px;
}

.hero7{
    background: url(img/hero7-bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 125px 10px 150px;
}
.hero7 > div{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.hero7 > div > div{
    width: 50%;
    position: relative;
}
.hero7 > div > div:last-child img{
    width: 100%;
    display: block;
    margin: 0;
    transform:scale(1.45) translateX(20px);
    transform-origin: top left;
}
.hero7 h3{
    font-size: 70px;
    margin: 0 0 10px;
}
.hero7 h4{
    font-size: 28px;
    margin: 0 0 20px;
}
.hero7 p{
    margin: 0 0 20px;
}
.hero7 .icons{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 30px 0 0;
}
.hero7 .icons > div{
    width: 32%;
    margin: 0 0 30px;
    text-align: center;
    mix-blend-mode: darken;
}
.hero7 .icons .count {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 96px;
    font-weight: 700;
    color: white;
    -webkit-text-stroke: 4px transparent;
    background: #E84659;
    -webkit-background-clip: text;
}
.hero7 .inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}
.hero7 .inputs div {
    width: 45%;
    margin: 30px 0 0;
}
.hero7 .inputs input {
    display: block;
    width: 100%;
    height: 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: #333;
    background: none;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #E84659;
}
.hero7 .inputs button{
    display: block;
    width: 45%;
    background: #E84659;
    font-size: 20px;
    font-weight: 700;
    border: 0;
    border-bottom: 3px solid #BD3848;
    border-radius: 1px;
    padding: 17px 0;
    color: white;
    cursor: pointer;
}
@media (max-width:500px){
    .header h1,
    .hero4 h3,
    .hero5 h3,
    .hero7 h3 {
        font-size: 40px;
    }
    .header {
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url(img/header1.jpg) no-repeat 6% center;
        background-size: cover;
        padding: 140px 10px 110px;
    }
    .header > div > div {
        width: 100%;
    }
    .hero2 > div > div {
        width: 95%;
    }
    .hero3 > div > div> div:first-child {
        width: 100%;
    }
    .hero4 > div > div {
        width: 100%;
    }
    .hero4 > div > div:first-child img {
        transform: scale(1.5) translateX(0);
        transform-origin: bottom;
    }
    .hero4 .icons div {
        width: 48%;
    }
    .hero5 .velemeny .profil {
        width: 100%;
    }
    .hero5 .velemeny > div {
        width: 100%;
    }
    .hero5 .velemeny{
        flex-direction: column-reverse !important;
    }
    .hero6 {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 35%), url(img/hero6-bg.jpg) no-repeat 1% top;
        background-size: 216%;
        padding: 30px 10px 90px;
        position: relative;
    }
    .hero6:after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 70px;
        background: #F5F5F5;
        clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    }
    .hero6 > div > div {
        width: 100%;
    }
    .hero6 > div > div > div p {
        width: 100%;
    }
    .hero6 h4 {
        font-size: 28px;
    }
    .hero7 > div > div {
        width: 100%;
    }
    .hero7 > div {
        flex-direction: column-reverse;
    }
    .hero7 > div > div:last-child img {
        width: 100%;
        display: block;
        margin: 0;
        transform: scale(1.45) translateX(0);
        transform-origin: bottom;
    }


}
