:root {
  --main-white: #ffff;
  --main-orange: #ff8200;
  --main-black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.resp_info {
  display: none;
}

.hamburgerbut-style {
  display: none;
}

html {
  scroll-behavior: smooth;
}

/* ------------------ Navbar--------------------------------- */
nav {
  background-color: var(--main-orange);
  color: var(--main-white);
  display: flex;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
  height: 110px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
}

.logoBox {
  width: 450px;
  display: flex;
  justify-content: center;
  margin-right: auto;
  height: 100%;
  /*   background-color: yellow; */
}

.logoBox a img {
  height: 110px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
  /*  background-color: blue; */
  justify-content: center;
  align-items: center;
  padding-right: 40px;
}
nav a {
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  color: var(--main-white);
}

nav a:hover {
  color: rgba(255, 255, 255, 0.589);
}

.flag-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.flag {
  width: 30px;
  box-shadow: white;
}

.flag-item-de {
  outline: 1px solid white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: url(../img/flagDE.png);
  background-size: cover;
  transition: 40ms linear;
}

.flag-item-hu {
  outline: 1px solid white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: url(../img/flagHU.png);
  background-size: cover;
  transition: 40ms linear;
}

.flag-item-de:hover,
.flag-item-hu:hover {
  cursor: pointer;
  transform: scale(1.1);
}

/* ------------------ Header --------------------------------- */

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.486), rgba(0, 0, 0, 0.486)),
    url(../img/jahnHbg.png);
  /*   background: url(../img/jahnHbg.png); */
  background-size: cover;
  background-repeat: no-repeat;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 60px;
  font-weight: bold;
  letter-spacing: 0.2rem;
  color: var(--main-orange);
}

/* ------------------ Main --------------------------------- */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

main img {
  max-width: 394px;
}
main p {
  font-size: 10px;
  font-weight: bold;
}

/* ------------------ Bemutatkozás --------------------------------- */

.introduction-style {
  /*   background-color: rgba(0, 0, 255, 0.493); */
  max-width: 1200px;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.introduction-style h2 {
  font-size: 38px;
  letter-spacing: 0.2rem;
  text-align: center;
  text-transform: uppercase;
}

.me-container {
  /*  background-color: rebeccapurple; */
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.me-txt {
  /*   background-color: red; */
  width: 600px;
  font-size: 20px;
  line-height: 40px;
}

.work {
  font-size: 20px;
  line-height: 33px;
  /*   background-color: blue; */
  padding-left: 50px;
  font-weight: bold;
}

.info-container {
  /*   background-color: yellow; */
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
}

.adressBox {
  width: 500px;
  /* background-color: red; */
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 2rem;
}

.adressBox div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.adressBox div a {
  text-decoration: none;
  color: var(--main-black);
}

.adressBox div a:hover {
  text-decoration: none;
  color: var(--main-orange);
}

.adressBox div img {
  width: 40px;
}

.adressBox p {
  font-size: 18px;
  text-align: center;
}

#bemutatkozas {
  padding-top: 9rem;
}

/* ------------------ Referencia --------------------------------- */

.references-style h2 {
  font-size: 38px;
  letter-spacing: 0.2rem;
  text-align: center;
  padding-top: 120px;
  text-transform: uppercase;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1300px;
  margin-top: 2rem;
  /* background-color: red; */
}

.item img {
  width: 340px;
  outline: 4px solid var(--main-orange);
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1300px;
  margin: 70px auto;
  justify-content: center;
  align-items: center;
  /* background-color: red; */
}

/* ------------------ Elérhetőség --------------------------------- */

.availability-style {
  /*   background-color: blue; */
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem;
  margin-top: 80px;
  margin-bottom: 60px;
}
.availability-style h2 {
  font-size: 38px;
  letter-spacing: 0.2rem;
  text-align: center;
  text-transform: uppercase;
  padding-top: 8rem;
}

.availability-style p {
  font-size: 15px;
  max-width: 600px;
  text-align: center;
}

form {
  background-color: var(--main-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 530px;
  padding: 1rem;
  gap: 1.8rem;
}

input {
  width: 290px;
  height: 40px;
  padding: 0.3rem;
  border: none;
}
.adress-info {
  display: flex;
  gap: 1rem;
}
.adress-info input {
  width: 180px;
}

textarea {
  width: 400px;
  min-height: 150px;
  padding: 1rem;
}
.sub-button {
  width: 120px;
}

/* ------------------ Footer --------------------------------- */
footer {
  background-color: var(--main-black);
  width: 100%;
  min-height: 140px;
  display: flex;
  color: var(--main-white);
  justify-content: center;
  padding: 0.4rem;
}

.footer-box-0 {
  width: 33.33%;
}

.footer-box-1 {
  /*   background-color: rgba(255, 255, 0, 0.397); */
  width: 33.33%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.footer-box-2 {
  display: flex;
  /*   flex-direction: column; */
  align-items: center;
  gap: 0.4rem;
  /*  background-color: rgba(0, 0, 255, 0.527); */
  width: 33.33%;
}
.footer-box-2-txt {
  font-weight: bold;
  text-align: center;
}

.add-con-box-2 {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 2rem;
}

.add-con-email,
.add-con-tel {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

footer a {
  color: var(--main-white);
  text-decoration: none;
}

footer a:hover {
  color: var(--main-orange);
}

.micrologo {
  width: 200px;
  margin: 1rem auto 0.5rem auto;
}

.microCopy {
  font-size: 10px;
  letter-spacing: 0.3rem;
}

.footer-box-1 ul {
  /*   background-color: yellow; */
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-box-1 ul li {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.footer-box-1 ul li a {
  text-align: center;
}
.footerlogo {
  width: 40px;
}

/* ------------------------------------------Impressum Aloldal--------------------------------------------- */
.impressum-container {
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.impressum-container h1 {
  text-align: center;
}

.impressum-container h2 {
  font-size: 19.5px;
  text-align: center;
}

.impres-box h2 {
  font-size: 22px;
  padding-bottom: 15px;
  color: var(--main-orange);
  text-align: start;
}
.impres-box p {
  font-size: 18px;
  width: 900px;
  line-height: 30px;
}

.impres-box a {
  color: var(--main-orange);
}

/* ------------------------------------------Media Queries--------------------------------------------- */

@media only screen and (max-width: 1220px) {
  nav ul {
    font-size: 18px;
    gap: 1.5rem;
    padding-right: 20px;
  }

  .introduction-style h2 {
    text-align: center;
  }
}

@media only screen and (max-width: 1200px) {
  .gallery {
    gap: 0.5rem;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .footer-box-1 {
    order: 2;
    width: 100%;
  }
  .footer-box-1 ul {
    gap: 2.8rem;
  }

  .footer-box-2 {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

@media only screen and (max-width: 1057px) {
  .flag-item-de,
  .flag-item-hu {
    width: 20px;
    height: 20px;
  }
}
@media only screen and (max-width: 920px) {
  nav ul {
    background-color: var(--main-orange);
    position: absolute;
    top: 109px;
    left: 0;
    width: 100%;
    height: 250px;
    flex-direction: column;
    padding: 0;
    gap: 1.8rem;
    padding-top: 30px;
  }
  .hamburgerbut-style {
    display: flex;
    background-color: var(--main-white);
    width: 50px;
    height: 50px;
    padding: 0.1rem;
  }
  nav {
    justify-content: center;
    align-items: center;
    padding-right: 20px;
  }

  .flag-item-de,
  .flag-item-hu {
    width: 30px;
    height: 30px;
  }
  .invis {
    display: none;
  }

  .impres-box h2 {
    font-size: 20px;
  }
  .impres-box p {
    font-size: 14px;
    width: 700px;
  }
}

@media only screen and (max-width: 780px) {
  .logoBox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 10px;
  }

  .logoBox a img {
    height: 90px;
  }

  h1 {
    font-size: 45px;
  }

  .services-container {
    gap: 0.5rem;
  }

  .service-box {
    width: 300px;
    height: 220px;
  }
  .service-box-nav span {
    width: 300px;
    padding: 0.1rem 10px 0.1rem 0.1rem;
  }

  .service-box-nav span p {
    font-size: 15px;
  }

  .item img {
    width: 230px;
  }
  .footer-box-2-txt {
    width: 400px;
  }

  .footer-box-0 {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .impres-box p {
    width: 90%;
    padding: 0 1rem;
  }
  .impres-box h2 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 620px) {
  h1 {
    font-size: 35px;
  }

  .me-txt {
    font-size: 15px;
    width: 100%;
    padding: 0 14px;
  }
  .service-box {
    width: 250px;
    height: 200px;
  }
  .service-box-nav span {
    width: 250px;
    padding: 0.1rem 5px 0.1rem 0.1rem;
  }
  .service-box-nav span p {
    font-size: 15px;
    letter-spacing: 0.1rem;
  }
}
@media only screen and (max-width: 5760px) {
  .impres-box h2 {
    font-size: 13px;
    padding-left: 0.2rem;
  }
  .impres-box p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 520px) {
  .logoBox a img {
    height: 72px;
  }
  .logoBox {
    margin-left: 5px;
  }
  nav {
    height: 70px;
  }

  h1 {
    font-size: 28px;
    text-align: center;
  }

  .service-box {
    width: 380px;
    height: 250px;
  }
  .service-box-nav span {
    width: 380px;
    padding: 0.1rem 5px 0.5rem 0.1rem;
  }

  .item img {
    width: 380px;
  }
  .availability-style p {
    width: 400px;
    line-height: 30px;
  }
  form {
    width: 400px;
  }
  textarea {
    width: 340px;
  }
  .adress-info input {
    width: 160px;
  }

  .micrologo {
    width: 140px;
  }
  .footerlogo {
    width: 30px;
  }
  .footer-box-2 {
    gap: 1rem;
  }
  .footer-box-2-txt {
    font-size: 13px;
    width: 300px;
    line-height: 28px;
  }

  .me-txt {
    font-size: 15px;
    width: 97%;
    margin: 0 auto;
  }
  .adressBox {
    width: 90%;
    flex-direction: column;
  }

  nav ul {
    top: 64px;
    width: 110%;
    height: 250px;
  }

  .availability-style {
    padding: 0;
  }
  
}
