html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

#hero {
    position: relative;
    margin-top: 0%;
    pointer-events: none;
    margin-top: calc(6rem + 5vh);
}

section {
    margin-bottom: 12.5vh;

}

.handwriting {
    font-family: "Hurricane";
    color: var(--complement) !important;
    text-transform: lowercase !important;
}

#hero h1 {
    font-size: calc(120cqi / 14);
    color: var(--complement);
    text-transform: uppercase;
    font-weight: 400;
    position: absolute;
    top: -15%;
    transform: translateY(2vh);
    margin: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
}


:lang(en) {
    #hero h1 {
        font-size: calc(120cqi / 18);
    }
}

#hero-img {
    width: 60vw;
    position: absolute;
    top: 0;
    z-index: -1;
    left: 5%;
    transform: translateX(-25%) translateY(5%);
}

#hero-abstract {
    position: absolute;
    bottom: 50%;
    right: 50%;
    width: 25vw;
    opacity: 0.4;
    z-index: -2;
}

#hero-marketing {
    display: flex;
    flex-direction: column;
    width: 40vw;
    gap: 1rem;
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(50%) translateX(0);
    z-index: 3;
    pointer-events: all;
}

#hero-marketing .button.rounded {
    font-size: 1.2cqi !important;
    padding-left: 5cqi;
    padding-right: 5cqi;
}

#hero-marketing small,
#hero-marketing p {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    text-align: left !important;
    margin: 0;
    font-family: "Noto Sans";
    width: 100%;
}

#hero-marketing p {
    color: var(--complement);
}

#hero-marketing small {
    color: var(--main);
}

#hero-marketing h1 {
    font-size: 2.5cqi !important;
    color: var(--main);
    margin: 0;
    text-align: left;
    width: 100%;
    position: relative;
}

@media screen and (orientation: landscape) {
    #hero-marketing-mobile {
        display: none;
    }
}


@media screen and (orientation: portrait) {


    #hero {
        position: relative;
        margin-top: 0%;
        pointer-events: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-items: flex-start;
        margin-bottom: 55vh;
        height: fit-content;
    }


    #hero h1 {
        font-size: 10cqi;
        position: relative;
        top: 0;
        margin: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 0;
        margin-top: 0;
        margin-bottom: 10vh;

    }




    #hero-img {
        width: 120vw;
        position: relative;
        top: 0;
        z-index: -1;
        left: -25%;
        transform: none;
    }

    #hero-abstract {
        position: absolute;
        bottom: -10%;
        right: 0%;
        width: 50vw;
        opacity: 0.4;
        z-index: -2;
    }

    #hero-marketing {
        display: none;
    }

    #hero-marketing-mobile {
        display: flex;
        flex-direction: column;
        width: 90%;
        gap: 1rem;
        position: relative;
        pointer-events: all;


    }

    #hero-marketing-mobile .button.rounded {
        font-size: 1rem !important;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #hero-marketing-mobile small,
    #hero-marketing-mobile p {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
        text-align: left !important;
        margin: 0;
        font-family: "Noto Sans";
        width: 100%;
        font-size: 0.8rem;
    }

    #hero-marketing-mobile p {
        color: var(--complement);
    }

    #hero-marketing-mobile small {
        color: var(--main);
    }

    #hero-marketing-mobile h1 {
        font-size: 2rem !important;
        color: var(--main);
        margin: 0;
        text-align: left;
        width: 100%;
        position: relative;
    }

    #behindTheSmile {
        margin-top: 5rem;
    }
}

#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#services h1 {
    font-size: calc(62.5cqi / 7);
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 400;
}

#services h2 {
    font-size: calc(4.4cqi);
    color: var(--main);
    font-weight: 400;
    /*letter-spacing: 0.4cqi;*/
    margin: 0;
    text-transform: uppercase;
}

#services h2:first-of-type {
    text-align: left;
    width: 75%;
}



/* TODO: Remove this later*/
#services-care,
#gondoskodas {
    position: absolute;
    width: 30vw;
    top: 25%;
    top: 23.5%;
    right: 14%;
    right: 11.5%;
    font-size: 8cqi !important;
}

@media screen and (orientation:landscape) {
    :lang(en) {
        #services h2:first-of-type {
            transform: translateX(10%);
        }

        #services-care,
        #gondoskodas {
            top: 22.5%;
            right: 8%;
        }

        #services-container .button.rounded {}
    }

}

@media screen and (orientation:portrait) {
    :lang(en) {

        #services-container .button.rounded {}
    }

}


#hands-svg {
    width: 50vw;
}

#services-container {
    display: flex;
    width: 60vw;
    justify-content: space-between;
}


.services-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 28%;
    font-size: 1cqi;
}

.services-item p {
    font-family: "Noto Sans";
    font-weight: 500;
    text-align: center;
}




#video {
    margin-top: 40vh;
    position: relative;
}

#video-big {
    width: 100%;
}

#video-small {
    width: 40%;
    position: absolute;
    top: -30%;
    right: 3rem;
}


#contact {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    margin-top: 5rem;

}

#contact h1 {
    font-size: calc(6.5cqi);
    color: var(--main);
    font-weight: 400;
    letter-spacing: 0cqi;
    margin: 0;
    text-transform: uppercase;
    margin: 0;
    line-height: 100%;
    width: 100%;
}

#contact h1:nth-child(1) {
    text-align: left;
    padding-left: 20%;
}

#contact h1:nth-child(2) {
    text-align: left;
}

#contact h1:nth-child(3) {
    text-align: right;

}

#contact h1:nth-child(4) {
    text-align: center;
    margin-bottom: 2rem;
}

/*TODO: Remove useless code*/
#contact-art,
#muveszete {
    position: absolute;
    width: 45%;
    top: -10%;
    top: -4%;
    right: 15%;
    right: -46%;
    font-size: 9rem !important;
}


@media screen and (orientation:landscape) {
    :lang(en) {

        #contact-art,
        #muveszete {
            top: -10%;
            right: -46%;
            font-size: 11cqi !important;
        }
    }

}


#contact h2 {
    font-family: "Parisienne";
    color: var(--complement);
    font-size: calc(100cqi / 12);
    position: absolute;
    top: -5%;
    left: 30%;
    line-height: 90%;
    font-weight: lighter;
}





#about {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-top: 10%;
}


#about img {
    width: 25vw;
    height: calc(25vw * 1422 / 924);
    border: 2px solid var(--main);
    box-sizing: border-box;

}

#about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: calc(100% - 1rem);
    padding-left: 1rem;
    height: 100%;
    justify-content: space-between;
    padding-top: 10%;
}

#about-text div {
    font-size: 2cqi;
    font-weight: 600;
    width: 100%;
    text-align: left;
}

#about-text div b {
    font-weight: 400;
    color: var(--complement);
}

#about-text h2 {
    font-size: calc(70cqi / 11);
    width: fit-content;
    font-weight: 100;
    line-height: 80%;
    transform: translateX(-3rem);
}

#about a {
    font-size: 2cqi;
    width: 100%;
    transform: translateX(2.5rem);

}

#about i {
    font-style: normal;
    text-transform: uppercase;
    font-size: 2.5cqi;
}

#about-experience {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin-bottom: 7rem;
    transform: translateX(25%);
}


#years {
    width: calc(25vw * 0.5);
    margin-bottom: -2rem;
    transform: translateX(-0.5rem);
}

#experience {
    width: 25vw;
}

#hands {
    stroke-dasharray: 3339;
    stroke-dashoffset: 3339;
}


#personalised-care {
    display: block;
}

.personalised-care-mobile {
    display: none;
}



#gellert-dental {}

#gellert-dental-img-old-outer {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: end;
}

#gellert-dental-img-old-inner {
    width: 50%;
    position: relative;
}

#gellert-dental-img-old {
    width: 100%;
}

#gellert-dental-logo-old {
    width: 50%;
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

#gellert-dental-texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
    transform: translateY(-10cqi) translateX(-3cqi);
}

#gellert-dental-texts h2 {
    font-size: calc(4.4cqi);
    color: var(--main);
    font-weight: 400;
    /*letter-spacing: 0.4cqi;*/
    margin: 0;
    text-transform: uppercase;
    line-height: 100%;
}


:lang(en) {
    #gellert-dental-texts h2 {
        font-size: calc(4cqi);
    }
}


#gellert-dental-texts h2.handwriting {
    width: 60%;
    text-align: right;
    margin-top: -0.5cqi;
    transform: translateX(10cqi);
}

#gellert-dental-img-new-container {
    position: relative;
    width: 100%;
    margin-top: 25vh;
}

#gellert-dental-img-new {
    width: 100%;
}

#gellert-dental-logo-new {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--bg);
    padding: 0.3rem;
    width: 25%;
    border-radius: 0.2rem;
}

#gellert-dental-texts-left {
    width: 60%;
}




@media screen and (orientation: portrait) {
    section {
        margin-bottom: 0;
    }




    #services h1 {
        font-size: 15cqi;
        text-transform: uppercase;
        margin-bottom: 0;
        font-weight: 400;
    }


    #services h2 {
        font-size: 6cqi;
        margin: -0.5rem 0;
        text-align: center;
    }

    #services h2:first-of-type {
        text-align: center;
        width: 75%;
        margin-bottom: -1.5rem;
    }

    /* TODO: Remove this later*/
    #services-care,
    #gondoskodas {
        position: relative;
        width: fit-content;
        margin: 0;
        top: 0%;
        right: 0%;
        font-size: 8cqi !important;
        margin: 0rem !important;
        margin-top: 0.2rem;
        margin-bottom: -0.2rem;
    }

    #personalised-care {
        display: none;
    }

    .personalised-care-mobile {
        display: block;
    }



    #hands-svg {
        width: 100%;
    }

    #services-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }


    .services-item {

        width: 100%;
        font-size: 1.2rem;
    }

    .services-item p {
        font-weight: 400;
        text-align: center;
    }


    #video {
        margin-top: 20vh;
        position: relative;
    }

    #video-big {
        width: 100vw;
        left: 0;
        transform: translateX(-5%);
    }

    #video-small {
        width: 40%;
        right: 0;
    }

    #contact-art,
    #muveszete {
        position: absolute;
        width: 45%;
        top: -5%;
        right: -42%;
        font-size: 10cqi !important;
    }

    #contact a {
        font-size: 3cqi;
    }

    #about {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 20vh;
    }


    #about img {
        width: 50%;
        height: calc(50% * 1422 / 924);
        border: 2px solid var(--main);
        box-sizing: border-box;

    }

    #about-text {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: calc(100% - 1rem);
        padding-left: 1rem;
        height: 100%;
        justify-content: space-between;
        padding-top: 10%;
    }

    #about-text div {
        font-size: 3cqi;
        font-weight: 600;
        width: 100%;
        text-align: left;
    }

    #about-text div b {
        color: var(--complement);
    }

    #about-text h2 {
        font-size: calc(100cqi / 11);
        width: fit-content;
        font-weight: 100;
        line-height: 80%;
        transform: translateX(0rem);
    }

    #about a {
        font-size: 2cqi;
        width: 100%;
        transform: translateX(2.5rem);

    }

    #about i {
        font-style: normal;
        font-size: 3.5cqi;
    }

    #about-experience {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: left;
        margin-bottom: 7rem;
        transform: translateX(25%);
    }


    #years {
        width: calc(25vw * 0.5);
        margin-bottom: -2rem;
        transform: translateX(-0.5rem);
    }

    #experience {
        width: 25vw;
    }



    #gellert-dental {
        margin-top: 10vh;
    }

    #gellert-dental-img-old-outer {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #gellert-dental-img-old-inner {
        width: 100%;
        position: relative;
    }

    #gellert-dental-img-old {
        width: 100%;
    }

    #gellert-dental-logo-old {
        width: 50%;
        position: absolute;
        bottom: 30%;
        left: 50%;
        transform: translateX(-50%);
    }

    #gellert-dental-texts {

        margin-top: -5vh;
    }

    #gellert-dental-texts h2 {
        font-size: calc(7cqi);
        transform: none;
    }

    #gellert-dental-texts h2.handwriting {
        font-size: 8cqi;
    }

    #gellert-dental-img-new-container {

        margin-top: 10vh;
    }

    #gellert-dental-img-new {}

    #gellert-dental-logo-new {}


}

#smileStory {
    background-image: url("../images/index/video-small.jpg");
}

#bea {
    background-image: url("../images/index/bea-bg-pc.jpeg");
}

@media screen and (orientation: landscape) {
    #bea {
        display: flex;
        flex-direction: row;
        position: relative;

    }

    #bea-left {
        display: flex;
        flex-direction: column;
        z-index: 2;
        align-items: flex-start;
    }

    #bea-left img {
        width: 20vw;
    }

    #bea-left h1 {
        color: var(--bg);
        font-size: 2cqi;
        margin: 0;
    }

    #bea-left p {
        color: var(--complement);
        font-size: 1cqi;
        margin-top: 0;
    }

    #bea-right {
        display: flex;
        height: 100%;
        width: auto;
        align-items: flex-start;
        justify-content: right;
    }

    #bea-right h1 {
        z-index: 2;
        color: var(--complement);
        font-size: 2.5cqi;
        width: 80%;
        margin-top: 0;
        transform: translateY(-20%);
    }

    #bea-experience {
        z-index: 2;
        position: absolute;
        bottom: 10%;
        right: 35%;
    }

    #bea-experience-30years {
        color: var(--bg);
        text-transform: lowercase;
        margin: 0;
        font-size: 4cqi;
        font-weight: 400;
    }

    #bea-experience .handwriting {
        font-size: 4.5cqi;
        font-weight: 100;
        margin: 0;
        transform: translateY(-45%) translateX(25%);
    }
}

#behindTheSmile small,
#notJustTeeth small {
    font-family: "Noto Sans";
    font-weight: 500;
}


@media screen and (orientation: portrait) {
    #bea {
        background-image: url("../images/index/portrait.jpeg");
    }


    #bea {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        height: fit-content;

        clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%)
    }

    #bea-left {
        display: flex;
        flex-direction: column;
        z-index: 2;
        align-items: flex-start;

    }

    #bea-left img {
        width: 50%;
        margin-top: 5vh;
    }

    #bea-left h1 {
        color: var(--bg);
        font-size: 1.8rem;
        margin: 0;
    }

    #bea-left p {
        color: var(--complement);
        font-size: 1.2rem;
        margin-top: 0;
    }

    #bea-right {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-bottom: 5vh;
    }

    #bea-right h1 {
        z-index: 2;
        color: var(--complement);
        font-size: 2rem;
        width: 100%;
        margin-top: 0;
    }

    #bea-experience {
        z-index: 2;
        position: absolute;
        bottom: 0%;
        right: 0%;
        transform: translateY(-25%) translateX(-40%);
    }

    #bea-experience-30years {
        color: var(--bg);
        text-transform: lowercase;
        margin: 0;
        font-size: 2.5rem;
        font-weight: 400;
    }

    #bea-experience .handwriting {
        font-size: 3rem;
        font-weight: 100;
        margin: 0;
        transform: translateY(-45%) translateX(25%);
    }
}


#logo-alone {
    height: 0;
}

#logo-alone img {
    width: 15%;
    transform: translateY(-50%);
}

@media screen and (orientation: portrait) {
    #logo-alone {
        height: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #logo-alone img {
        width: 30%;
        transform: none;
    }
}


#behindTheSmile {
    background-image: url("../images/index/aMosolyMogott.jpg");
}

#smilefullness {
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    font-size: 3cqi;
}

@media screen and (orientation: portrait) {
    #smilefullness {
        font-size: 2rem;
    }
}

#notJustTeeth {
    background-image: url("../images/index/nemtakartmosoly.jpg");
}


#google,
#google a {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: transparent;
    margin-bottom: 0;
}

#google-mobile {
    display: none;
}

@media screen and (orientation:portrait) {
    #google-desktop {
        display: none;
    }

    #google-mobile {
        display: block;
        width: 60%;
    }
}