@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style:inherit;
}

/* Alapértelmezett stílusok */
.container {
    display: block;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
}

/* Fixált navigációs sáv */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

.navbar .logo img {
    height: 40px;
    width: auto;
}

.navbar .logo {
    display: flex;
    align-items: center;
    color: white;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    font-size: 1.2rem;
}

.navbar a:hover {
    background-color: #575757;
}

.menu-icon {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.nav-links {
    text-decoration: underline;
    color: white;
    display: flex;
}

.nav-links li {
    list-style-type: none;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
}

.nav-links li.active a {
    color: white;
    background-color: #0078d7;
    border-radius: 4px;
}

.bannerContainer{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 25rem;
    background-color: #0078d7;
    text-align: center;
}

.bannerContainer .banner h1{
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 5rem;
}

.bannerContainer .banner h2{
    font-size: 2rem;
}
/* A kártyák konténerének beállításai */
.boxCardType {
    display: flex;
    justify-content: center;
    gap: 2rem; /* A kártyák közötti távolság */
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* A kártyák stílusa */
.card {
    background-color: #333;
    color: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    text-align: left; /* Balra igazítás */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px); /* Kártya emelése hover esetén */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Az ikonok középre helyezése */
.card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem; /* Különbség az ikon és a szöveg között */
}

/* A kártya címe */
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center; /* Balra igazítás */
}

/* A kártya leírása */
.card p {
    font-size: 1rem;
    text-align: left; /* Balra igazítás */
    line-height: 1.5;
}


/* Különböző boxok */
.boxContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 4rem;
}

.box{
    width: 75%;
    padding: 2rem;
    margin: 2rem;
}

/* Szövegek igazítása */

.bemutatkozas p,
.miertminketvalassz p, .kuldetes p {
    text-align: justify;
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* Kapcsolat felvétel form */
.kapcsolatFelvetel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.kapcsolatFelvetel label{
    text-align: left;
}

.kapcsolatFelvetel p {
    margin-top: 1rem;
    font-size: 1.2rem;
}
.kuldetes p {
    margin-top: 1rem;
}
.LogoBox{
    display: flex;
    justify-content: center;
    margin: 0px;
    padding: 0px;
}

.LogoBox img{
    max-width: 10rem;
}

form {
    margin-top: 2rem;
    background: #333;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

label {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border-color: #0078d7;
    outline: none;
}

button {
    background: #0078d7;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: block;
    margin: 0 auto;
}

button:hover {
    background: #005bb5;
}

/* Reszponzív dizájn */
@media (max-width: 768px) {

    .box h1{
        text-align: center;
    }

    .bannerContainer .banner h1{
        font-size: 3rem;
    }

    .bannerContainer .banner h2{
        font-size: 1.2rem;
    }
    /* Form */
    form {
        padding: 1.5rem;
    }

    .boxCardType {
        justify-content: space-around;
    }

    .card {
        width: 100%; /* A kártyák kitöltik a teljes szélességet mobil nézetben */
        margin-bottom: 2rem; /* Több hely a kártyák között */
    }

    .box {
        width: 90%;
    }

    .nav-links {
        text-align: center;
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
        flex-direction: column;
        text-decoration: none;
        padding: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
}

/* Scroll to Top Gomb */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: opacity 0.3s, transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer {
    width: 100%;
    background-color: #333;
    height: 5rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
}

.footer p {
    margin: 0;
}
