@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: .2s linear;
}

:root {
    --main-color: #424B54;
    --black: #13131a;
    --bg: #F2F7F2;
    --border: .1rem solid rgba(255, 255, 255, .3);
    --white: #F2F7F2;
    --white2: #E6EFE6;
    --red: #da2828;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
}

html,
body {
    overflow-x: hidden;
}

#languageSelect {
    padding: 1rem;
    margin-left: 1rem;
    border-radius: 10%;
    background-color: var(--black);
    color: var(--white2);
    font-size: 1.3rem;
    font-weight: bold;
    border: .1rem solid black;
}

section {
    padding: 2rem 7%;
    margin-bottom: 3rem;
}

.heading {
    text-align: center;
    color: var(--black);
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span {
    color: var(--main-color);
    text-transform: uppercase;
}

#contactH2 span, #contactMe span {
    color: var(--black);
    text-transform: uppercase;
}

.btn1 {
    margin-top: 1rem;
    display: inline-block;
    padding: 1.3rem 3rem;
    font-size: 1.7rem;
    color: var(--white);
    background: var(--black);
    cursor: pointer;
    text-decoration: none;
    border-radius: 0.375rem;
    text-transform: uppercase;
}

.btn1:hover {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid black;
}

.btn2 {
    margin-top: 1rem;
    padding: 0.9rem 3rem;
    max-width: 25rem;
    font-size: 1.7rem;
    color: var(--white);
    background: var(--black);
    cursor: pointer;
    text-decoration: none;
    border-radius: 0.375rem;
    text-transform: uppercase;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.btn2:hover {
    background-color: transparent;
    color: var(--black);
    border: 1px solid black;
}

.btn3 {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 2.7rem;
    color: var(--black);
    background: var(--red);
    cursor: pointer;
    border-radius: 0.6rem;
    margin: 1rem;
    position: fixed;
    right: 1.5rem;
    top: 1rem;
}


.btn3:hover {
    background-color: transparent;
    color: var(--black);
    border: 1px solid black;
}

.btn4 {
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    font-size: 1.7rem;
    color: var(--white);
    background: var(--black);
    cursor: pointer;
    text-decoration: none;
    border-radius: 0.375rem;
    text-transform: uppercase;
}

.btn4:hover {
    background-color: transparent;
    color: var(--black);
    border: 1px solid black;
}

.header {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom: var(--border);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    height: 6rem;
}

header .navbar a {
    margin: 0 1rem;
    font-size: 1.6rem;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    margin: 2rem;
    border-bottom: .1rem solid transparent;
    padding-bottom: .5rem;
    /* Hely a border számára */
}

.header .navbar a:hover {
    color: var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    /*padding-bottom: .5rem;*/
}

.header .navbar select option {
    font-weight: bold;
}

.header .icons div {
    color: var(--black);
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover {
    color: var(--main-color);
}

#menuBtn {
    display: none;
    color: var(--black);
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(images/working1.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Fekete, 50%-os átlátszóságú overlay */
    z-index: 1;
}

.home .content {
    position: relative;
    z-index: 2;
    /* Előtérbe helyezni a szöveget */
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
}

.home .content h3 {
    font-size: 6rem;
    color: var(--white2);
}

.home .content h4 {
    padding-top: 2rem;
    font-size: 4rem;
    color: var(--white2);
}

.home .content #homeP1 {
    font-size: 2rem;
    font-style: italic;
    line-height: 1.8;
    padding: 3rem 0rem;
    color: var(--white2);
    font-weight: bold;
}

.home .content #homeP2 {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.8;
    padding: 3rem 0rem;
    color: var(--white2);
    font-weight: bold;
}


.service .row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Középre igazítja a képeket a sorban */
    background: var(--white2);
    flex-wrap: wrap;
    gap: 5px;
    /* Tetszőleges térköz a képek között */
}

.service .row .image {
    flex: 0 0 auto;
    /* Nem nyúlik a flexbox konténer méretéhez */
    margin-top: 2rem;
}

.service .row .image img {
    width: 400px;
    /* Fix szélesség */
    height: 500px;
    /* Fix magasság */
    object-fit: cover;
    /* Levágja vagy kitölti a képet a megadott mérethez */
}

.imprint {
    display: flex;
    flex-direction: column;
    /* A képek és a bekezdések egymás alatt maradnak */
    align-items: center;
    /* Középre igazítja az összes tartalmat */
    gap: 15px;
    /* Térköz a képek és a szövegek között */
}

.imprint .image-container {
    display: flex;
    gap: 10px;
    /* Térköz a képek között */
    justify-content: center;
    /* Képek középre igazítása */
}

.imprint .image img {
    width: 300px;
    /* Fix szélesség */
    height: 400px;
    /* Fix magasság */
    object-fit: cover;
    /* Levágja vagy kitölti a képet a mérethez */
}

.service .row .content {
    flex: 1 1 45rem;
    padding: 2rem;
}

.service .row .content h3 {
    font-size: 3rem;
    color: var(--black);
}

.service .row .content h2 {
    font-size: 2.5rem;
    color: var(--black);
}

.service .row .content ul li {
    font-size: 1.8rem;
    color: var(--main-color);
    padding: .2rem;
    margin-left: 25rem;
}

.service .row .content p {
    font-size: 1.6rem;
    color: var(--main-color);
    padding: 1rem 0;
    line-height: 1.8;
}

.reference .box-container {
    display: flex;
    flex-direction: column;
    /* A menü és a képek egymás alatt helyezkedjenek el */
    align-items: center;
    margin: 2rem auto;
    width: 90%;
}

.menu {
    display: flex;
    /* Flexbox elrendezés */
    flex-wrap: wrap;
    /* Engedélyezi az új sorokra tördelést */
    justify-content: center;
    /* Középre igazítja a gombokat */
    gap: 1.1rem;
    /* Távolság a gombok között */
    margin-bottom: 2rem;
    /* Távolság a menü és a képek között */
    text-align: center;
    /* Középre igazítja a szöveget */
}

.menu a {
    font-size: 1.1rem;
    text-decoration: none;
    margin: 0 1rem;
    /* Távolság a menü gombok között */
    padding: 1.2rem 2rem;
    background-color: var(--white2);
    border: .1rem solid var(--black);
    border-radius: 5px;
    color: var(--black);
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: .08rem;
}

.menu a:hover,
.menu a.active {
    background-color: var(--black);
    color: var(--white2);
}

.box {
    display: flex;
    flex-wrap: wrap;
    /* A képek sorokba törnek, ha nem férnek el egy sorban */
    gap: 1rem;
    /* Távolság a képek között */
    justify-content: center;
    /* A képek középre igazítása */
    width: 100%;
}

.references {
    padding-top: 13rem;
}

.reference-item {
    width: 300px;
    /* Egyenletes szélesség minden kép számára */
}

.reference-item img {
    width: 100%;
    /* Alapértelmezett: a szülő elem szélességéhez igazodik */
    min-width: 300px;
    /* Minimum szélesség */
    min-height: 400px;
    /* Minimum magasság */
    display: block;
    object-fit: cover;
    /* Arányos nagyítás/kicsinyítés a vágáshoz */
    border-radius: 5px;
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.2);
}

.reference-heading {
    text-align: center;
    color: var(--black);
    padding: 3.5rem;
    font-size: 3rem;
    display: block;
    width: 100%;
}

/* Fejlécek kiemelése az aktív osztállyal */
.reference-heading.active {
    font-weight: bold;
    color: var(--black);
}

.price .content p {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.8;
    padding: 1rem 0;
    font-weight: bold;
    text-align: center;
    margin-top: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0rem;
    padding: 2rem;
    background-color: var(--white2);
    table-layout: fixed;
    /* Az oszlopok szélessége fix */
}

table tr:nth-child(odd) {
    background-color: var(--white);
}

th,
td {
    padding: 10px;
    text-align: center;
}

.empty-tr {
    border: none;
    padding: 3rem;
}

.priceHead {
    font-size: 4rem;
    padding: 1.6rem;
}

th {
    color: var(--main-color);
    font-size: 3rem;
    text-transform: uppercase;
    padding: 1.8rem;
}

td {
    font-size: 1.4rem;
    color: var(--black);
}

.contact {
    margin-bottom: 5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    background-color: var(--white2);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-container .contact-box:first-child {
    align-self: center;
}

.contact-box h2 {
    font-size: 4.5rem;
    color: var(--main-color);
    text-transform: uppercase;
}

.contact-box p {
    font-size: 1.6rem;
    color: var(--black);
    line-height: 1.8;
}

.contact-box .desc {
    margin: 1.5rem 0 2.5rem;
    color: var(--main-color);
}

.contact-box .contact-detail {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.contact-detail i {
    display: inline-flex;
    background: var(--white);
    color: var(--main-color);
    font-size: 3rem;
    padding: 1.2rem;
    border-radius: .6rem;
    margin-right: 1.5rem;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-detail i:hover {
    font-size: 3.2rem;
    color: var(--red);
    transition: 0.3s;
}

.contact-detail .detail {
    font-size: 1.6rem;
    color: var(--black);
}

.contact-detail .detail .detail-email,
.detail-phone {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
}

.contact-box form {
    background: var(--white);
    padding: 2.5rem 3.5rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-box form h3 {
    font-size: 3.5rem;
    color: var(--main-color);
    margin-bottom: 2rem;
}

.contact-box .field-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-box .field-box input,
.contact-box .field-box textarea {
    padding: 1.5rem;
    background: var(--white2);
    border: 0.15rem solid var(--main-color);
    border-radius: .6rem;
    font-size: 1.6rem;
    color: var(--black);
}

.contact-box .field-box textarea {
    grid-column: 1 / -1;
    height: 26rem;
    resize: none;
}

.contact-box .field-box input:focus,
.contact-box .field-box textarea:focus {
    border-color: var(--red);
    outline: none;
}

.contact-box .btn {
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    font-size: 1.7rem;
    color: var(--white);
    background: var(--main-color);
    cursor: pointer;
    border: none;
    border-radius: 0.375rem;
    text-transform: uppercase;
}

.contact-box .btn:hover {
    background: var(--red);
    color: var(--white);
    transition: 0.3s;
}

#scroll {
    position: fixed;
    top: 68rem;
    right: .5rem;
    background-color: var(--white);
    color: var(--black);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scroll i {
    font-size: 5rem;
    color: var(--black)
}

.box h1 {
    text-transform: uppercase;
    font-size: 3rem;
}

.footer {
    background-color: var(--black);
    color: var(--white2);
    text-align: center;
    padding: 8rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 2.5rem;
}

.footer .footer-content p {
    padding-top: 1rem;
}

.footer .imprint-link {
    color: var(--white);
    text-decoration: none;
    margin-top: 1.5rem;
    font-size: 1.8rem;
}

.footer .imprint-link:hover {
    text-decoration: underline;
}

.imprint img {
    padding-top: 12rem;
    width: 50%;
    margin: 0 auto;
    /* Középre igazítja a képet */
    display: block;
    /* A block elemként történő megjelenítés segít a középre igazításhoz */
    margin-bottom: 4rem;
}

.imprint p {
    text-align: center;
    font-size: 1.7rem;
    padding: 1rem;
    color: var(--black);
    text-decoration: none;
}

.imprint p:last-child {
    margin-bottom: 20rem;
}

.imprint p span {
    font-weight: bold;
}

.imprint p span a {
    text-decoration: none;
    color: inherit;
}

.imprint p span a:hover {
    color: var(--red);
}



/*breakpoints*/
@media (max-width:1350px) {
    .btn3 {
        display: none;
    }
}

@media (max-width:1080px) {
    #menuBtn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        background: var(--white);
        width: 20rem;
        height: calc(100vh - 10.5rem);
    }

    .header .navbar a,
    select {
        padding: .5rem;
        margin-bottom: 20rem;
    }

    .header .navbar.active {
        right: 0;
    }

    .header .navbar a {
        display: block;
        margin: 1.8rem;
        font-size: 2rem;
        text-align: center;
    }

    #languageSelect {
        margin-left: 7rem;
    }

    .home {
        background-position: left;
        justify-content: center;
        text-align: center;
    }

    .home .content h3 {
        font-size: 4.5rem;
    }

    .home .content p {
        font-size: 1.5rem;
    }

    .btn3 {
        position: relative;
        font-size: 2.2rem;
        /* Kisebb font méret */
        margin-left: 2rem;
        /* Bal oldali margó */
        margin-right: auto;
        /* Automatikusan jobb oldalon beállít egyenlő távolságot */
        margin-top: 2rem;
        /* Felső margó */
        margin-bottom: 1rem;
        /* Alsó margó */
        display: block;
        /* A gomb block szintű elemként viselkedjen */
        width: fit-content;
        /* A gomb szélessége a tartalomhoz igazodjon */
        left: 0;
        /* A gomb bal oldalról kezdődjön */
        right: 0;
        /* A gomb a jobb oldalra ne nyújtson ki */
        text-align: center;
        /* Középre igazítja a szöveget a gombon belül */
        border-radius: 0.6rem;
        /* Ha szükséges, a gomb lekerekített széleit megtartani */
    }
}

@media (max-width:991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-box {
        padding: 1.5rem;
    }

    .contact-detail .detail {
        text-align: left;
        /* Szöveg balra igazítása */
        padding-left: 1rem;
        /* Kis margó a bal oldalhoz */
    }

    .contact-detail .detail .detail-email,
    .contact-detail .detail .detail-phone {
        display: block;
        /* Minden rész külön sorban */
        margin: 0.5rem 0;
        /* Kis távolság az elemek között */
    }


    @media screen and (max-width: 860px) {
        .service .row .image img {
            width: 300px;
            /* Fix szélesség */
            height: 450px;
            /* Fix magasság */
        }

    }

}

@media screen and (max-width: 810px) {
    .contact-box .field-box {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-box .field-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .imprint .image img {
        width: 200px;
        /* Fix szélesség */
        height: 300px;
        /* Fix magasság */
    }

}

@media (max-width: 660px) {
    .service .row .image img {
        width: 200px;
        /* Fix szélesség */
        height: 350px;
        /* Fix magasság */
    }
}

@media (max-width: 640px) {
    th {
        font-size: 2rem;
    }

    .priceHead {
        font-size: 3rem;
        padding: 1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .contact-box .field-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width:580px) {
    .home {
        background-position: center;
    }
}

@media (max-width: 500px) {
    th {
        font-size: 2rem;
    }

    .priceHead {
        font-size: 2.4rem;
        padding: 1.6rem;
    }
}

@media (max-width:459px) {
    html {
        font-size: 50%;
    }

    #scroll {
        top: 85rem;
    }

    .service .row .image img {
        width: 150px;
        /* Fix szélesség */
        height: 250px;
        /* Fix magasság */
    }

    .imprint .image img {
        width: 170px;
        /* Fix szélesség */
        height: 250px;
        /* Fix magasság */
    }

}

@media screen and (max-width: 410px) {
    .contact-box form {
        padding: 2.5rem 3rem 3.5rem;
    }

    .contact-box h2 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 390px) {
    th {
        font-size: 1.4rem;
    }

    .priceHead {
        font-size: 1.8rem;
        padding: 1.6rem;
    }
}

@media (max-width: 375px) {
    .service .row .content {
        flex: 1 1 100%;
        text-align: center;
        padding: 1rem;
    }

    .service .row .content h3 {
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }

    .service .row .content h2 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .service .row .content ul li {
        font-size: 1.8rem;
        padding-top: 1rem;
        margin-left: 0;
        list-style-position: inside;
    }

    .service .row .content p {
        font-size: 1.4rem;
        padding: 0.5rem 0;
        margin-bottom: 2rem;
    }

    .service .row .content .btn2 {
        margin-bottom: 2rem;
    }

    ul {
        list-style: none;
    }

    li {
        text-decoration: none;
    }

    .contact-detail .detail {
        padding-left: 0;
        /* Bal oldali padding eltávolítása */
    }

    .contact-container {
        padding: 0.3rem;
        /* Csökkentett padding az egész konténerre */
    }

    .contact-box {
        padding: 0.3rem;
        /* Csökkentett padding az egyes boxokra */
    }

    .contact-box form {
        padding: 0.3rem;
        /* Csökkentett padding az űrlapon belül */
    }

    .btn4 {
        margin-bottom: 1rem;
    }

    .service .row .image img {
        width: 120px;
        /* Fix szélesség */
        height: 220px;
        /* Fix magasság */
    }

    .imprint .image img {
        width: 150px;
        /* Fix szélesség */
        height: 230px;
        /* Fix magasság */
    }

}

/*Input confirm beállítások*/
.swal2-html-container {
    font-size: 18px !important;
}

.swal2-title {
    font-size: 24px !important;
}

.swal2-text {
    font-size: 18px !important;
}

.swal2-confirm {
    font-size: 16px !important;
}