:root {
    --text: #020D12;
    --background: #EDF8FD;
    --accent: #556CEC;
    --primary: #0070A8;
    --secondary: #7A9BF0;
}


html {
    scroll-behavior: smooth ;
}



body {
 margin: 0;
 padding: 0;
 background: var(--background, #EDF8FD);   
 width: 100%;
 display: flex;
 flex-direction: column;
 align-items: center;
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--buttons-primary, #0070A8);
}


header a {
    color: var(--background);
font-family: Georama;
font-size: 2rem;
font-style: normal;
font-weight: 700;
line-height: normal;
text-decoration: none;
display: flex;
align-items: center;
}


header a:nth-child(2) {
    margin-right: 1rem;

}



#open {
    display: flex;
    justify-content: space-between;
    width: 95%;
    align-items: center;
}


#open div {

}



#open div h1 {
    color: var(--primary, #0070A8);
    font-family: "League Spartan";
    font-size: 6rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;    
}


#open div a {
    color: var(--background, #EDF8FD);
font-family: Georama;
font-size: 2.5rem;
font-style: normal;
font-weight: 700;
line-height: normal;
background-color: var(--primary);
text-decoration: none;
padding: 0.4rem 1rem;
border-radius: 1rem;

}


#open div a img {
    height: 2.5rem;
    transform: translateY(0.4rem);
}


h2 {
    color: var(--buttons-primary, #0070A8);
font-family: "League Spartan";
font-size: 4.6875rem;
font-style: normal;
font-weight: 700;
line-height: normal;
}

#szolgaltatasok {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 95%;
}



.szolgaltatas {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.szolgaltatas img {
    width: 90%;
}


.szolgaltatas h3 {
    color: var(--text, #020D12);
text-align: center;
font-family: "League Spartan";
font-size: 2.625rem;
font-style: normal;
font-weight: 700;
line-height: normal;
width: 80%;
}


#kapcsolat {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin-bottom: 5rem;
}


.kapcsolat {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30vw;

}


.kapcsolat img {
    width: 50%;
}



.kapcsolat h3 {
    color: var(--text, #020D12);
    font-family: "League Spartan";
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 80%;
    margin: 0;
}


.kapcsolat small {
    width: 80%;
    text-align: left;
    color: var(--text);
font-family: "League Spartan";
font-size: 1.25rem;
font-style: normal;
font-weight: 400;
line-height: normal;
}



footer {
    background: var(--buttons-primary, #0070A8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 2rem);
    padding: 0 1rem;
}


footer p {
    color: var(--background);
text-align: center;
font-family: "League Spartan";
font-size: 1.5rem;
font-style: normal;
font-weight: 400;
line-height: normal;
}





@media screen and (orientation:portrait) {
    

header {
    padding: 0.5rem 0;
}


header a {
    color: var(--background);
font-family: Georama;
font-size: 1.5rem;
font-style: normal;
font-weight: 600;
line-height: normal;
text-decoration: none;
display: flex;
align-items: center;
}


header a img {
    width: 40vw;
}


header a:nth-child(2) {
    margin-right: 0.5rem;

}



#open {
    display: flex;
    flex-direction: column-reverse;
    justify-content: none;
    width: 100%;
    align-items: center;
}


#open div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



#open div h1 {
    color: var(--primary, #0070A8);
    font-family: "League Spartan";
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: center;
}


#open div a {
    color: var(--background, #EDF8FD);
font-family: Georama;
font-size: 2rem;
font-style: normal;
font-weight: 700;
line-height: normal;
background-color: var(--primary);
text-decoration: none;
padding: 0.2rem 0.5rem;
border-radius: 0.5rem;
display: flex;


}


#open img {
    width: 90%;
}


#open div a img {
    height: 2rem;
    transform: translateY(0.2rem);
}


h2 {
    color: var(--buttons-primary, #0070A8);
font-family: "League Spartan";
font-size: 3rem;
font-style: normal;
font-weight: 700;
line-height: normal;
}

#szolgaltatasok {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
}



.szolgaltatas {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}



.szolgaltatas img {
    width: 100%;
}


.szolgaltatas h3 {
    color: var(--text, #020D12);
text-align: center;
font-family: "League Spartan";
font-size: 2.2rem;
font-style: normal;
font-weight: 700;
line-height: normal;
width: 100%;
}


#kapcsolat {
    display: flex;
    flex-direction: column;
    justify-content: none;
    width: 90%;
    margin-bottom: 3rem;
}


.kapcsolat {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

}


.kapcsolat img {
    width: 70%;
}



.kapcsolat h3 {
    color: var(--text, #020D12);
    font-family: "League Spartan";
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;
    margin: 0;
    text-align: center;
}


.kapcsolat small {
    width: 100%;
    text-align: left;
    color: var(--text);
font-family: "League Spartan";
font-size: 1.25rem;
font-style: normal;
font-weight: 400;
line-height: normal;
text-align: center;
}



footer {
    background: var(--buttons-primary, #0070A8);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 2rem);
    padding: 2rem 1rem;
}


footer p {
    color: var(--background);
text-align: center;
font-family: "League Spartan";
font-size: 1.5rem;
font-style: normal;
font-weight: 400;
line-height: normal;
margin: 0;
}
}