.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    position: absolute;
    top: -2px;
    background: transparent;
    display: flex;
    z-index: 100;
}

.logo img {
    height: 90px;
    margin-left: 20px;
    margin-top: 5px;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu li {
    margin: 0 10px;
}

.menu li a {
    text-decoration: none;
    font-size: larger;
    color: var(--menuszin);
    font-weight: 700;
    font-size: 20px;
    opacity: 0.7;
    transition: ease-in-out 300ms;
}

.menu li a:hover {
    color: var(--kek4);
    opacity: 1;
}

#contact-btn {
    width: auto;
    font-size: large;
    font-weight: 500;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: var(--piros);
    color: white;
    cursor: pointer;
    transition: var(--transitionMode);
    opacity: 0.8;
    margin-right: 20px;
}

#contact-btn:hover {
    opacity: 1;
}

#contact-btn:active {
    transform: scale(0.96);
}

#navbar-social {
    padding-left: 17px;
    padding-right: 17px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#etkezes {
    background: var(--piros);
    opacity: 0.8;
    color: whitesmoke;
    width: 20px;
    font-size: large;
    font-weight: 500;
    padding: 8px 16px 10px 16px;
    border-radius: 10px;
    border: none;
    text-align: center;
    text-decoration: none;
    margin-right: 18px;
}

#etkezes-mobile {
    background: var(--piros);
    color: whitesmoke;
    min-width: 20px;
    font-size: large;
    font-weight: 500;
    padding: 8px 16px 10px 16px;
    border-radius: 10px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: auto;
    margin-top: -18px;
}

#etkezes:hover {
    opacity: 1;
}

.navbar .fa {
    width: 20px;
    font-size: large;
    font-weight: 500;
    padding: 10px;
    border-radius: 10px;
    border: none;
    text-align: center;
    text-decoration: none;
}

.navbar .fa-facebook {
    background: #3B5998;
    color: white;
    opacity: 0.8;
    margin-right: 20px;
}
.navbar .fa-facebook:hover {
    opacity: 1;
    background: #3B5998;
}

/* MOBILE-MENU --- INNENTŐL CSAK BE VAN MÁSOLVA, MÉG NINCS KÉSZ */

.mobile-menu {
    width: 100%;
    height: 102px;
    position: absolute;
    top: -2px;
    background: transparent;
    display: none;
    flex-wrap: wrap;
    align-content: center;
    z-index: 100;
    overflow: hidden;
}

.mobile-menu .hamburger {
    position: absolute;
    height: 30px;
    width: 40px;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    z-index: 100;
}

.hamb {
    width: 40px;
    margin: auto;
    border-top: 4px solid var(--sotet);
    display: block;
    position: relative;
    z-index: 100;
}

.hamburger:hover {
    cursor: pointer;
}

#teteje {
    margin-top: 10px;
    transition: var(--transitionMode);
}

#kozepe {
    margin-top: 8px;
    border-top: 6px solid var(--sarga);
    transition: var(--transitionMode);
}

#alja {
    margin-top: 8px;
    transition: var(--transitionMode);
}

#mobile-logo {
    position: absolute;
    height: 70px;
    top: 10px;
    left: 20px;
    background: transparent;
    border: none;
    z-index: 100;
}

/* nyitas csukas */
.csukva #teteje {
    transform: rotate(45deg) translateY(19px);
    border-top: 4px solid var(--sarga);
}
.csukva #kozepe {
    transform: translate(100%);
    opacity: 0;
}

.csukva #alja {
    transform: rotate(-45deg) translateY(-18px);
    border-top: 4px solid var(--sarga);
}

.nyitva #teteje {
    transform: rotate(0);
}
.nyitva #kozepe {
    transform: translate(0);
    opacity: 1;
}

.nyitva #alja {
    transform: rotate(0);
}
/* nyitas csukas vege */

#mobile-menu-lenyito {
    position: fixed; /* Changed to fixed to make it fullscreen */
    top: 0; /* Position it at the top of the viewport */
    left: 0; /* Position it at the left of the viewport */
    width: 100%;
    height: 100vh; /* Set height to cover the full viewport height */
    margin: 0; /* Remove margin */
    transform: translateY(-100%); /* Adjust translateY to -100% to start offscreen */
    transition: ease-in-out 550ms;
    display: flex;
    flex-direction: column;
    z-index: 99;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
    background-image: url(../img/contact-overlay.png);
}

#mobile-menu-links {
    display: flex;
    flex-direction: column;
    height: 80%;
    width: 90%;
    align-items: center;
    justify-content: space-evenly;
}

#mobile-menu-lenyito a {
    text-decoration: none;
    color: white;
    font-size: x-large;
    font-weight: 700;
}

#mobile-menu-lenyito #mobile-contact-btn {
    width: 320px;
    text-align: center;
    color: white;
    font-size: 28.08px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-family: 'Quicksand';

}
/* MOBILE-MENU END */

/* CONTACT-FORM START */

#contact-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 110;
    background-image: url("../img/contact-overlay.png");
    transition: ease-in-out 400ms;
}

.overlayClose {
    position: absolute;
    top: 5px;
    right: 30px;
    font-size: 40px;
    background: transparent;
    color: whitesmoke;
    border: none;
    z-index: 100;
}

.overlayClose:hover {
    cursor: pointer;
    color: var(--sarga);
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.contact-form .formitem {
    display: grid;
    margin-top: 5vh;
    width: 70vw;
}

textarea,
input {
    border: none;
    border-radius: 20px;
    background: whitesmoke;
    font-size: 18px;
    resize: none;
    outline: none;
    padding: 20px;
    width: 100%;
}

input {
    height: 1rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

textarea {
    overflow: overlay;
}

#contact-submit {
    width: 8rem;
    padding: 15px;
    background: whitesmoke;
    color: var(--sotet);
    border: none;
    border-radius: 20px;
    font-size: clamp(18px, 19px, 20px);
    font-weight: 700;
    margin: auto;
    margin-top: 1rem;
}

#contact-submit:hover {
    cursor: pointer;
    background: var(--sarga);
    color: var(--sotet);
    transition: ease-in-out 400ms;
}




/* CONTACT-FORM END */