html {
    scroll-behavior: smooth;

  }

body {
    font-family: 'Roboto';
    margin: 0;
    overflow-x: hidden;
}

p{
    font-family: 'Helvetica Neue';
    font-weight: bold;
    color: #818181;
}

strong{
    color: white;
}

header{
    height: 60px;
    background-color: #061631;
    border-radius: 0 0 35px 35px;
    font-size: 24px;
    color: white;
    padding-top: 10px;
}

header i{
    padding-top: 20px;
}

header a{
    color: rgba(51, 225, 171, 1);
}

header svg{
    margin-left: 20px;
    transform: translateY(30%);
}

.elsoresz{
    position: relative;
    height: 800px;
    display: flex;
    justify-content: center;
}

.center{
    position: relative;
    width: 1024px;
}

.center h1{
    position: absolute;
    font-size: 45px;
    width: 650px;
    left: 0;
    margin-top: 100px;
}

.cimalatt{
    position: absolute;
    font-size: 20px;
    width: 400px;
    color: #4E4E4E;
    margin-top: 300px;
    left: 0;
}
  
  /* elso gomb */
.center button {
    position: absolute;
    background-color: rgba(51, 225, 171, 1);
    border: solid 2px rgba(51, 225, 171, 1);
    padding: 11px 36px;
    border-radius: 50px;
    transition-duration: 0.4s;
    text-decoration: none;
    font-style: oblique;
    font-size: large;
    display: block;
    margin-top: 450px;
    left: 0;
    z-index: 10000px;
}
  
  /* Change color on hover */
.center button:hover {
    border: solid 2px rgba(77, 94, 239, 1);
    background-color: white;
    color: black;
}
  
  /* kép */
.center img {
    position: absolute;
    right: 0;
    padding-left: auto;
    padding-right: 10px;
    height: 450px;
    width: 450px;
    margin-top: 100px;
}   
.masodikresz{
    background-color: #061631;
    border-radius: 50px;
    height: fit-content;
    padding-bottom: 80px;
    width: 100%;
}

.kozep{
    position: relative;
    top: 100px;
    margin-left: auto;
    margin-right: auto;
    width: 350px;
    font-size: 20px;
    color: white;
}

.kozep h2{
    font-size: 48px;
    color: #4D5EEF;
}

.kinalatok{
    margin-top: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    color: white;
    font-size: 20px;
    line-height: 20px;
}

.column1, .column2, .column3, .column4{
    border: 0.5px solid whitesmoke;
    border-radius: 25px;
    width: 450px;
    height: 200px;
    margin: 10px;
    margin-top: 0;
    padding: 10px;
}

.column1 h3, .column2 h3, .column3 h3, .column4 h3{
    font-size: 28px;
    margin-top: 10px;
}

.column1 svg, .column2 svg, .column3 svg, .column4 svg{
    position: relative;
    width: 30px;
    background-color: rgba(51, 225, 171, 1);
    border: 5px solid rgba(51, 225, 171, 1);
    border-radius: 5px;
}


.tel{
    font-size: 20px;

    position: relative;
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.tel :first-child{
    margin: 10px;
    margin-left: 150px;
    color: #4D5EEF;
    font-size: 48px;
    font-style: normal;
    width: fit-content;
}

.tel :nth-child(2){
    margin: 0;
    margin-left: 10px;
    margin-left: 150px;
    width: fit-content;
}

.tel :last-child{
    margin: 10px;
    margin-left: 10px;
    color: black;
    margin-left: 150px;
    width: fit-content;
}

.tel :last-child :hover{
    color: #4D5EEF;
}

.gugli p{
    font-size: 0px;
    color: white;
}

  
@media only screen and (min-width: 1440px) {
    /* nagy: */
    header{
        left: 20px;
        font-size: 24px;
    }

    .elsoresz{
        height: 800px;
    }

    .center{
        height: 800px;
        width: 100%;
        width: 1050px;
    }
    
    .center h1{
        font-size: 50px;
        width: 750px;
    }
    
    .cimalatt{
        margin-top: 320px;
        font-size: 18px;
        width: 400px;
    }
      
      /* elso gomb */
    .center button {
        padding: 10px 36px;
        border-radius: 50px;
    }     
      
      /* kép */
    .center img {
        margin-top: 150px;
        max-height: 450px;
        width: 450px;
    }

    .kinalatok{
        width: 100%;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }

    .column1, .column2, .column3, .column4{
        width: 40%;
    }

    .tel{
        top: -10px;
        width: 1220px;
        height: 300px;
    }
}    
   

/**********************************************************************/
@media only screen and (max-width: 1280px) {

    .elsoresz{
        height: 600px;
    }
    
    .masodikresz{
        height: fit-content;
        padding-bottom: 80px;
    }

    .kinalatok{
        position: relative;
        width: 90%;
        /*left: 30%;
        transform: translateX(-30%);*/
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .kinalatok h3{
        font-size: 22px;
        margin-top: 15px;
    }



    
}

/**********************************************************************/
@media only screen and (max-width: 1055px) {
    /* For desktop: */
    header{
        margin-left: auto;
        margin-right: auto;
        font-size: 24px;
    }
    
    .elsoresz{
        height: 600px;
    }

    .center{
        height: 600px;
        max-width: 1040px;
    }
    
    .center h1{
        font-size: 40px;
        width: 600px;
        padding-left: 20px;
    }
    
    .cimalatt{
        font-size: 16px;
        width: 300px;
        margin-top: 270px;
        padding-left: 20px;
    }
      
      /* elso gomb */
    .center button {
        padding: 6px 20px;
        margin-top: 400px;
        margin-left: 20px;
    }
      
      /* kép */
    .center img {
        height: 400px;
        width: 400px;
        margin-top: 100px;
    }
    
    .kozep{
        top: 100px;
        margin-left: auto;
        margin-right: auto;
        width: 350px;
    
        font-size: 20px;
    }
    
    .kozep h2{
        font-style: normal;
        font-size: 48px;
        color: #4D5EEF;
    }

    .column1, .column2, .column3, .column4{
        width: 350px;
        height: auto;
        margin-bottom: 20px;
    }
    
    .tel{
        top: -10px;
        width: fit-content;
        height: 300px;
        padding-left: 0;
    }
    
}



/**********************************************************************/
@media only screen and (max-width: 900px) {

    .elsoresz{
        width: 700px;
        height: 480px;
        margin-left: auto;
        margin-right: auto;
        /*left: 30%;
        transform: translateX(-30%);*/
    }
    
    .center{
        height: 480px;
        width: 700px;
        /*margin-left: auto;
        margin-right: auto;*/
    }
    
    .center h1{
        font-size: 38px;
        width: 550px;
        left: 80px;
        margin-top: 50px;
    }
    
    .cimalatt{
        font-size: 15px;
        width: 300px;
        margin-top: 200px;
        left: 80px;
    }
    
    .center button {
        top: -600px;
        left: 30%;
    }

    .center img {
        right: 80px;
        height: 300px;
        width: 300px;
        margin-top: 150px;
    }   

    .kozep{
        width: 290px;
    
        font-size: 16px;
        line-height: 20px;
    }

    .kozep h2{
        font-size: 30px;
    }

    .kinalatok{
        font-size: 14px;
        line-height: 17px;
    }

    .column1, .column2, .column3, .column4{
        width: 300px;
        height: auto;
        margin-bottom: 20px;
    }

    
    



    .tel{
        width: 100%;
        margin-left: -50px;
        
    }

    .tel :first-child{
        font-size: 35px;
        width: fit-content;
    }
    
    .tel p{
        width: fit-content;
    }

}

/**********************************************************************/
@media only screen and (max-width: 768px) {

    .column1, .column2, .column3, .column4{
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .masodikresz{
        height: fit-content;
        padding-bottom: 40px;
    }

    .column1 h3, .column2 h3, .column3 h3, .column4 h3{
        margin-left: 150px;
        margin-top: -120px;
    }


    .column1 p, .column2 p, .column3 p, .column4 p{
        width: 390px;
        margin-left: 150px;
    }

    .column1 svg, .column2 svg, .column3 svg, .column4 svg{
        padding: 30px;
        border-radius: 25px;
        width: 50px;
        height: 50px;
    }
}


/**********************************************************************/
@media only screen and (max-width: 690px) {

    .elsoresz{
        height: 700px;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .center{
        position: relative;
        width: 100%;
    }

    .center h1{
        position: relative;
        font-size: 32px;
        text-align: center;
        margin-top: 30px;
        width: 90%;
        left: 0;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cimalatt{
        position: relative;
        font-size: 15px;
        text-align: center;
        width: 300px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
    }

    .center img {
        margin-left: auto;
        margin-right: auto;
        margin-top: 70px;
        right: 50%;
        transform: translateX(50%)
    }   

    .kinalatok{
        font-size: small;

    }

    .column1 h3, .column2 h3, .column3 h3, .column4 h3{
        margin-left: 150px;
        margin-top: -110px;
    }

    .column1 svg, .column2 svg, .column3 svg, .column4 svg{
        padding: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
        border-radius: 25px;
        width: 30px;
        height: 30px;
    }

    .tel{
        text-align: center;
        font-size: 16px;
        height: 200px;
        width: 100%;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        /*left: 30%;
        transform: translateX(-30%);*/
    }

    .tel :first-child{
        margin-top: 30px;
        font-size: 30px;
        margin-left: 10px;
    }

    .tel :nth-child(2){
        text-align: center;
        margin-left: 0;
        margin: 20px
    }

    .tel :last-child{
        margin-left: 0;
        margin-right: 0;
    }

}

/**********************************************************************/
@media only screen and (max-width: 600px) {

    .elsoresz{
        width: 100%;
    }

    .center{
        position: relative;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .center h1{
        margin-left: auto;
        margin-right: auto;
        font-size: 25px;
    }

    .column1 h3, .column2 h3, .column3 h3, .column4 h3{
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        line-height: 20px;
    }

    .column1 p, .column2 p, .column3 p, .column4 p{
        width: auto;
        margin-left: 0;
    }

    .column1 svg, .column2 svg, .column3 svg, .column4 svg{
        margin-bottom: 15px;
        padding: 5px;
        border-radius: 10px;
        width: 24px;
        height: 24px;
    }

}
/**********************************************************************/
@media only screen and (max-width: 425px) {

    .elsoresz{
        height: 600px;
    }

    .center h1{
        font-size: 22px;
        line-height: 28px;
    }

    .cimalatt{
        font-size: small;
    }

    p{
        font-size: 15px;
        line-height: 20px;
        color: #919191;
    }

    header{
        font-size: 20px;
    }

    .center img{
        margin-top: 30px;
    }

    .masodikresz{
        border-radius: 40px;
    }

}

/**********************************************************************/
@media only screen and (max-width: 375px) {

    header{
        border-radius: 0 0 20px 20px;
    }

    .masodikresz{
        border-radius: 30px;
        height: fit-content;
        padding-bottom: 20px;
    }

}



@keyframes slide-fade-in {
    from {
        opacity: 0;
        transform: translateY(5vh);
    }

}

@media (prefers-reduced-motion: no-preference) {

    .kozep h2 {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 30%;
    }

    .kutyafasza {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 30%;
    }

    .kutyafasza2 {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 30%;
    }

    .column1 {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 40%;
    }

    .column2 {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 40%;
    }

    .column3 {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 40%;
    }

    .column4 {
        view-timeline-name: --item-timeline;
        animation: slide-fade-in both;
        animation-timeline: --item-timeline;
        animation-range: contain 0% contain 40%;
    }

}
