@media screen and (max-width: 600px) {
  .aboutWrapper {
    display: none;
  }
  .mobileAboutWrapper {
    display: block;
  }
  .aboutText {
    width: 100%;
    padding: 15px;
  }
  .aboutImage,
  .aboutImage img {
    display: block;
    position: relative;
    height: 330px;
    width: 100%;
    overflow: hidden;
    border-radius: 0px;
    margin: auto;
  }
  .impresszumCtn,
  .gdprText {
    width: 95%;
  }
  .gdprText h3 {
    font-size: 22px;
  }
}

@media screen and (max-width: 900px) {
  #home,
  #services,
  #oroklesijog,
  #tarsasagijog,
  #koveteleskezeles,
  #csaladjog,
  #about,
  #contact {
    padding-top: 30px;
  }
  .homeTextCtn {
    position: absolute;
    right: 0%;
    top: 27%;
    margin: 20px;
  }
  .homeText {
    position: relative;
    text-align: center;
    top: none;
    right: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffffc6;
    padding: 35px 25px;
    border: 1px solid #fff;
    border-radius: 8px;
  }

  .homeText h1 {
    font-size: 35px;
  }

  .homeText p {
    margin-top: 5px;
    font-size: 20px !important;
  }

  .homeTextBorder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 6px;
    width: auto;
    height: auto;
    background-color: transparent;
  }
  .homeBtn {
    background-color: var(--mainColor);
  }
  .homeBtn button {
    font-size: 20px !important;
    color: #fff;
  }
  .homePageCtn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(images/mobileHomeBg.jpg);
    background-position: bottom;
    margin-top: -80px;
  }
  .homePageLine {
    width: 95%;
    z-index: 3;
  }
  .mainTitle {
    display: none;
  }
  .mobileTitleCtn,
  .mobileTitleLine {
    display: block;
  }
  .servicesBtn {
    width: 220px;
    height: 40px;
  }
  .servicesBorder {
    width: 230px;
    height: 50px;
    margin-top: 30px;
    margin-bottom: 45px;
  }
  .btnBorder {
    border: none;
  }
  .contactWrapper {
    margin-top: 0;
  }
  .aboutTitle h1,
  .contactTitle h1,
  .sectionTitle h1 {
    font-size: 40px !important;
    text-align: center;
    line-height: 1;
  }
  .aboutTitle {
    margin-bottom: 0px;
  }
  .contactTitle h1 {
    margin-bottom: 10px;
    padding-top: 35px;
  }
  #about {
    padding-top: 100px;
  }
  .mainTitle img {
    transform: scale(0.6);
  }
  .servicesTextCtn {
    min-height: auto;
  }
  .servicesLine {
    padding: 15px;
    min-height: 250px;
  }
  .servicesLine p {
    font-size: 20px !important;
    width: 100%;
  }
  .servicesList {
    width: 100%;
  }
  .servicesListColumn li {
    font-size: 18px !important;
  }
  .listItem li,
  .listItem p {
    font-size: 18px !important;
    width: 100% !important;
  }
  .servicesListColumn,
  .servicesTextCtn {
    width: 100%;
  }
  .servicesImages {
    display: none;
  }
  .sliderCtn {
    display: block;
  }
  .servicesLineCtn {
    padding-top: 0px;
    margin-top: 0;
  }
  .servicesLine {
    margin-top: 0px;
  }
  .mobileItem,
  .serviceImage,
  .serviceImage img {
    display: block;
    position: relative;
    height: 450px;
    width: 100%;
    overflow: hidden;
    border-radius: 0px;
    margin: auto;
  }

  .servicesTextWrapper {
    align-items: center;
  }
  .mainTitle img {
    transform: scale(0.45);
    -webkit-transform: scale(0.45);
  }
  .servicesWrapper {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .servicesWrapper .mainTitle {
    margin-bottom: 20px;
  }
  .contactText {
    margin-bottom: 25px;
  }
  .contactText h3 {
    font-size: 25px !important;
    margin-left: 0px;
    padding-bottom: 30px !important;
    text-align: center;
  }
  .social {
    font-size: 18px;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .fab,
  .fa-solid,
  .fas {
    margin-bottom: 5px;
  }
  .contactColumnOne,
  .contactColumnTwo {
    width: 100%;
  }
  .contactColumnTwo {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    padding: 10px;
  }
  .contactColumnTwo h1 {
    font-size: 35px;
  }
  .contactForm {
    width: 100%;
    box-shadow: none;
  }
  .contactForm input[type="text"],
  .contactForm input[type="email"],
  .contactForm input[type="phone"],
  .contactForm textarea {
    width: 98%;
  }
  .mobileMap {
    display: block;
  }
  .desktopMap {
    display: none;
  }

  .gdprCtn {
    position: relative;
    flex-direction: column;
  }
  .gdprCtn p {
    margin-bottom: 20px;
  }
  .gdprText h3,
  .impresszumCtn h3 {
    font-size: 22px;
  }
  .gdprText h3 {
    text-align: left;
    margin-left: 10px;
  }
  .gdprContainer {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .gdprContainer h1 {
    font-size: 35px !important;
  }
  .gdprTextColumn {
    width: 100%;
  }

  .map-container {
    height: 250px;
  }
}

@media screen and (max-width: 1024px) {
  p,
  li {
    font-size: 18px !important;
  }
  .sectionTitle,
  .sectionTitleCtn {
    padding-top: 30px;
  }
  .logo {
    display: none;
  }
  .mobileLogo {
    display: block;
  }
  .desktopItem {
    display: none;
  }

  .contactNav {
    display: none;
  }
  .mobileNavContact {
    display: block;
  }
  .navCtn {
    top: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .nav {
    position: absolute;
    right: -100%;
    top: 0vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background-color: #fff;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    -webkit-transition: transform 0.5s ease-in-out;
    z-index: 999;
  }
  .nav body {
    overflow: hidden;
  }
  .navBtn {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .navBtn:before {
    display: none;
  }
  .navBtn:hover {
    color: var(--mainColor);
  }
  .menuIcon {
    display: block;
    position: absolute;
    margin-top: 30px;
    z-index: 999;
  }
  .navActive {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    z-index: 999;
  }
  .menuIconActive .top {
    transform: rotate(-45deg) translate(-4px, 7px);
    -webkit-transform: rotate(-45deg) translate(-4px, 7px);
  }
  .menuIconActive .middle {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    opacity: 0;
  }
  .menuIconActive .bottom {
    transform: rotate(45deg) translate(-4px, -7px);
    -webkit-transform: rotate(45deg) translate(-4px, -7px);
  }
  .subNavCtn {
    display: none;
  }
  .mobileDropCtn {
    display: block;
  }

  .homeLineItem {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .homeLineItem p {
    font-size: 20px !important;
  }
}

@media screen and (max-width: 1366px) {
  .homeLineBorder {
    display: none;
  }
}
