/*===== HOME =====*/

.home {
    overflow: hidden;
    margin-top: 5rem;
}

.home__container {
    position: relative;
    /* height: calc(100vh - var(--header-height)); */
    grid-template-rows: repeat(2, max-content);
    align-content: space-around;
    row-gap: 2rem;
}

.home__data {
    border-left: 4px solid var(--first-color-lighten);
    color: var(--first-color-lighten);
    padding-left: 1.5rem;
    z-index: var(--z-tooltip);
    margin-top: 100px;
    margin-left: 2.5rem;
}

.home__data-img {
    width: 290px;
    padding-top: 6rem;
}

.home__data-img img {
    border-radius: 1rem;
}

.home__name {
    font-size: var(--h1-font-size);
    color: var(--first-color-lighten);
}

.home__name-title {
    font-size: var(--h2-font-size);
    color: var(--first-color-lighten);
}

.home__profession {
    display: block;
    font-weight: var(--font-bold);
    font-size: .938rem;
    margin-bottom: var(--mb-3);
}

.home__profession-description {
    display: block;
    font-weight: var(--font-bold);
    font-size: .938rem;
    margin-bottom: var(--mb-3);
}

.home__img {
    background: url('../../default/img/bg-img/breadcrumb_premium_v2.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}

@media screen and (max-width: 425px) {
    .home__img {
        background-size: 100%;
    }

    .home__data {
        margin-top: 110px;
        margin-left: 0rem;
        border-left: 4px solid var(--first-color);
    }

    .home__name,
    .home__profession,
    .home__name-title,
    .home__profession-description {
        color: var(--first-color);
    }
}

/*===== SERVICES =====*/

.services__data {
    padding: 2rem 1rem;
    background-color: #FFF;
    border-radius: .5rem;
    text-align: center;
    transition: .4s;
    box-shadow: 0 4px 6px rgba(120, 178, 73, .3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services__icon, .services__title {
    margin-bottom: var(--mb-2);
}

.services__icon {
    width: 80px;
}

.services__meta {
    font-size: var(--h1-font-size);
    color: var(--premium-color);
    font-weight: var(--font-bold);
}

.services__tittle {
    color: var(--first-color);
}

.services__title {
    font-size: var(--h3-font-size);
}

.services__description {
    margin-bottom: var(--mb-4);
    color: var(--black-color);
}

.services__data:hover {
    transform: translateY(-.5rem);
    box-shadow: 0 6px 8px rgba(120, 178, 73, .4);
}

/*===== ABOUT =====*/

.section#about {
    margin-top: 4rem;
}

.about__data {
    text-align: center;
}

.about__list {
    text-align: left;
    font-weight: var(--font-bold);
}

.about__list .about__item:nth-child(3) {
    line-height: 1.4;
}

.about__list .about__item:nth-child(6) {
    line-height: 1.4;
}

.about__item {
    display: flex;
    align-items: center;
    color: var(--black-color);
    position: relative;
    margin-bottom: .7rem;
}

.about__item img {
    float: left;
    width: 35px;
    padding-right: 10px;
    position: absolute;
    top: 0;
    left: -35px;
}

.about__number {
    font-size: var(--h1-font-size);
    color: var(--first-color);
    display: block;
}

.about__img {
    width: 300px;
}

/*===== MARKETING_1 =====*/

.marketing .section-title {
    margin-top: var(--mb-5);
}
.marketing__container_1 {
    padding: 1.5rem 1rem;
    color: var(--first-color-lighten);
    border-radius: .5rem;
    text-align: center;
}

.marketing__container_1 .marketing__description {
    margin-bottom: var(--mb-4);
    font-size: var(--h2-font-size);
    color: var(--first-color);
}

/*===== MARKETING =====*/

.marketing__container {
    padding: 1.5rem 1rem;
    background-color: var(--premium-color);
    color: var(--first-color-lighten);
    border-radius: .5rem;
    text-align: center;
}

.marketing__icon, .marketing__title {
    margin-bottom: var(--mb-1);
}

.marketing__title {
    font-size: 1.5rem;
}

.marketing__description {
    margin-bottom: var(--mb-4);
    font-size: var(--h2-font-size);
    color: var(--first-color-lighten);
}

section.animation.section.bd-container {
    margin-top: 5rem;
}

/*===== OPTIONS =====*/

.options__container {
    row-gap: 2.5rem;
}

.options__content {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.options__box {
    background-color: #FFF;
    border-radius: .5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(174, 190, 205, .3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .4s;
    position: relative;
    justify-content: space-between;
}

.options__icon, .options__title {
    color: var(--first-color);
}

.options__icon {
    width: auto;
    height: 70px;
}

.options__title {
    font-size: var(--h3-font-size);
    margin: var(--mb-1) 0;
    text-transform: uppercase;
}

.options__description {
    margin-bottom: var(--mb-2);
    color: var(--first-color);
}

.options__description-modal {
    text-align: justify;
}

.options__social {
    color: var(--first-color-light);
    font-size: 1.25rem;
    margin: 0 var(--mb-1);
}

.options__box:hover {
    box-shadow: 0 6px 8px rgba(120, 178, 73, .4);
}

.options__modal {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.options__modal-content {
    position: relative;
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: .5rem;
    width: auto;
    height: 80%;
    overflow-y: auto;
}

.options__modal-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1-5);
}

.options__modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--premium-color);
    cursor: pointer;
}

.modal__title {
    color: var(--premium-color);
    font-size: var(--h1-font-size);
    margin-bottom: 20px;
}

.modal__subtitle {
    line-height: 2.4;
    color: var(--first-color);
}

.premium_logo {
    width: 50%;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.modal__content {
    grid-template-columns: repeat(1, 1fr);
}

.modal__box {
    text-align: left;
    color: var(--first-color);
}

.modal__box h2 {
    color: var(--first-color);
}

.modal__box ul li {
    padding-left: var(--mb-3);
}

.modal__box ul li span {
    color: var(--premium-color);
}

/* Active Modal */

.active-modal {
    opacity: 1;
    visibility: visible;
}

/*===== LINE =====*/

.line {
    width: 80%;
    height: 2px;
    background-color: var(--premium-color);
    margin: auto;
    margin-top: var(--mb-6);
}

/*===== PRICE =====*/

.section#prices {
    margin-top: 4rem;
}

.price__img {
    width: 300px;
    margin: auto;
}

/* Táblázat */

.table {
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #c7c7c7;
    margin: auto;
    box-shadow: 0 6px 20px rgb(0 0 0 / 15%);
}

.thead {
    background-color: var(--premium-color);
    color: var(--first-color-lighten);
    font-size: var(--h3-font-size);
    height: 65px;
}

.thead th {
    text-align: left;
    padding-left: var(--mb-1);
}

.thead th:nth-child(2) {
    text-align: center;
    padding-left: 0;
}

.table td {
    padding: var(--mb-2);
    border-bottom: 1px solid #cfcfcf;
    color: #000;
    text-align: left;
}

.table td:nth-child(2) {
    font-weight: var(--font-bold);
    text-align: center;
    width: 150px;
    color: #979797;
}

.table__subtitle {
    color: var(--first-color);
    margin-left: 5rem;
}

.table__info {
    text-align: center;
    font-weight: var(--font-bold);
    margin-top: var(--mb-3);
    color: var(--first-color);
}

.contact__btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/*===== CONTACT =====*/

.section#contact {
    margin-top: 4rem;
}

.section#contact .section-title {
    margin-bottom: 0px;
}

.section__social {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    display: flex;
    justify-content: center;
}
.section__social_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.section__social_item {
    display: flex;
    align-items: center
}
.section__social_item a {
    color: var(--title-color);
    margin-left: .5rem;
    transition: .3s;
    display: flex;
    align-items: center;
}
.icons {
    position: relative;
    top: .1rem;
    right: .5rem;
}

.contact__container {
    row-gap: 3rem;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.contact-meta {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--first-color-light);
    text-transform: uppercase;
}

.about__img {
    width: 300px;
}

.video__data {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
}

.video__video {
    width: 700px;
}

.video__video_animation {
    width: 90%;
}

.contact__input {
    width: 100%;
    padding: 1rem;
    outline: none;
    border: none;
    border: 1px solid var(--premium-color);
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2);
    border-radius: .5rem;
}

.contact__input::placeholder {
    color: var(--premium-color);
    font-family: var(--body-font);
    font-weight: var(--font-medium);
}

.checkbox__container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 12px;
    color: var(--first-color);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: max-content;
}

.checkbox__container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox__container a {
    color: var(--premium-color);
    text-decoration: underline;
}

span[for="adatkezeles"] {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: .2rem;
}

.checkbox__container:hover input~span[for="adatkezeles"] {
    background-color: #ccc;
}

.checkbox__container input:checked~span[for="adatkezeles"] {
    background-color: var(--premium-color);
}

span[for="adatkezeles"]:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox__container input:checked~span[for="adatkezeles"]:after {
    display: block;
}

.checkbox__container span[for="adatkezeles"]:after {
    left: 10px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*===== USE EP_PREMIUM =====*/

.epuse__container {
    display: flex;
    justify-content: center;
    position: relative;
}

.map {
    position: relative;
}

.popup__budapest {
    position: absolute;
    top: 32%;
    left: 41.6%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 1rem);
    color: var(--premium-color);
    font-weight: 600;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.marker__budapest {
    position: absolute;
    top: 29.4%;
    left: 42.4%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__felsokelecseny {
    position: absolute;
    top: 1.4%;
    left: 63.67%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__tiszavasvari {
    position: absolute;
    top: 14.5%;
    left: 75.39%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__zamardi {
    position: absolute;
    top: 53%;
    left: 25.3%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__uszod {
    position: absolute;
    top: 63.4%;
    left: 39.7%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__bekescsaba {
    position: absolute;
    top: 58.4%;
    right: 22.999%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__gyula {
    position: absolute;
    top: 59.9%;
    right: 20.2%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__kistelek {
    position: absolute;
    top: 66.9%;
    left: 55.7%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__hodmvhely {
    position: absolute;
    top: 66.9%;
    left: 60.7%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__kiskunhalas {
    position: absolute;
    top: 68.9%;
    left: 48.4%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__nemesnadudvar {
    position: absolute;
    top: 72%;
    left: 41.3%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__tompa {
    position: absolute;
    top: 76%;
    left: 49%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__szeged {
    position: absolute;
    top: 74.1%;
    left: 58.1%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

.marker__baja {
    position: absolute;
    top: 77.1%;
    left: 40.2%;
    cursor: pointer;
    font-size: min(max(1rem, 3.9vw), 3rem);
    color: var(--premium-color);
}

/*===== REFERENCE =====*/

.europroof-team-slider {
    position: relative;
    z-index: 2;
    margin-top: 140px;
}

.europroof-team-slider .owl-prev, .europroof-team-slider .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #0000;
    line-height: 60px;
    text-align: center;
    top: 21%;
    margin-top: -30px;
    left: -25px;
    border-radius: 50%;
    color: #a2baff;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

.europroof-team-slider .owl-next {
    left: auto;
    right: -25px;
}

.single-team-slide {
    text-align: center;
}

.europroof-team-slider .single-team-slide .team-meta-info span {
    font-size: 12px;
    font-weight: 900;
    color: var(--black-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 35px;
    display: block;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

.europroof-team-slider .single-team-slide .team-meta-info p {
    font-family: 'Roboto', sans-serif;
    color: var(--black-color);
    font-size: 15px;
    font-weight: 400;
    margin-top: 0;
    line-height: 1.9;
}

.team-thumbnail {
    display: flex;
    height: 160px;
    margin: 10px;
}

.owl-carousel img {
    width: 50% !important;
    margin: auto;
}

/*===== GYIK =====*/

/*=============== ACCORDION ===============*/

.accordion {
    display: grid;
    align-content: center;
    height: 100vh;
}

.accordion__container {
    display: grid;
    row-gap: .75rem;
    padding: 2rem 1rem;
    background-color: var(--container-color);
    border-radius: .5rem;
    box-shadow: 0 6px 8px rgb(120 178 73 / 40%);
}

.accordion__title {
    font-size: var(--small-font-size);
    color: var(--first-color);
    font-weight: 400;
    margin-top: .15rem;
    transition: .2s;
}

.accordion__header {
    display: flex;
    column-gap: .5rem;
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    cursor: pointer;
}

.accordion__description {
    padding: 0 1.25rem 1.25rem 3rem;
    font-size: 0.9rem;
    color: #000 !important;
}

.accordion__icon {
    font-size: 1.5rem;
    height: max-content;
    color: var(--first-color);
    transition: .3s;
}

.accordion__item {
    box-shadow: 0 2px 6px rgba(38, 38, 38, 0.1);
    background-color: var(--container-color);
    border-radius: .25rem;
    position: relative;
    transition: all .25s ease;
}

.accordion__item::after {
    content: '';
    background-color: var(--first-color);
    width: 5px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: .25rem 0 0 .25rem;
}

.accordion__item::after {
    background-color: var(--premium-color);
}

.accordion__content {
    overflow: hidden;
    height: 0;
    transition: all .25s ease;
}

/*Rotate icon and add font weight to titles*/

.accordion-open .accordion__icon {
    transform: rotate(45deg);
    color: var(--premium-color);
}

.accordion-open .accordion__title {
    font-weight: 600;
    color: var(--premium-color);
}

/*=============== MEDIA QUERIES ===============*/

/* For medium devices */

@media screen and (min-width: 576px) {
    .checkbox__container {
        font-size: 15px;
    }

    .accordion__container {
        width: 100%;
        padding: 2.5rem;
        justify-self: center;
        border-radius: .75rem;
        max-width: 70%;
    }

    .accordion__header {
        padding: 1.5rem;
    }

    .accordion__title {
        padding-right: 3.5rem;
    }

    .accordion__description {
        padding: 0 4rem 1.25rem 3.5rem;
    }

    .premium_logo {
        width: 60%;
        margin: auto;
    }
}

/* For large devices */

@media screen and (min-width: 968px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}

/*========== SCROLL BAR ==========*/

::-webkit-scrollbar {
    width: .60rem;
    background-color: var(--scroll-bar-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color);
}

/*===== MEDIA QUERIES =====*/

@media screen and (max-width: 320px) {
    .options__modal {
        padding: 0 .5rem;
    }

    .modal__content {
        grid-template-columns: repeat(1, 1fr);
    }

    .home__data {
        margin-top: 110px;
        margin-left: 0rem;
        border-left: 4px solid var(--first-color);
    }

    .services__tittle {
        font-size: var(--h3-font-size);
    }

    .marketing__description {
        font-size: var(--normal-font-size);
    }

    .options__content {
        grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    }

    .button {
        padding: 1rem 1.75rem;
    }

    .button-white {
        padding: .75rem 1rem;
    }

    .modal__box h2 {
        font-size: var(--h3-font-size);
    }

    .table td {
        width: 60%;
        font-size: .7rem;
    }
}

@media screen and (max-width: 425px) {
    .video__video {
        width: 100% !important;
    }

    .options__modal-close {
        top: 0rem;
        right: 0rem;
    }

    .modal__title {
        margin-top: 15px;
    }

    .table {
        width: 100%;
    }

    .table td {
        width: 60%;
        font-size: .7rem;
    }
}

@media screen and (min-width: 576px) {
    .about__container, .services__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal__content {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
}

@media screen and (min-width: 769px) {
    .home__container {
        grid-template-rows: max-content .5fr;
        align-content: flex-end;
    }

    .home__profession {
        font-size: 2rem;
    }

    .options {
        margin-top: -180px;
    }

    .options__modal-content {
        width: auto;
        height: auto - 5rem;
        overflow-y: auto;
    }

    .about__description {
        text-align: initial;
    }

    .about__img {
        width: 630px;
    }

    .price__description {
        text-align: initial;
    }

    .price__img {
        width: 680px;
    }

    .contact__inputs {
        display: grid;
        column-gap: 1.5rem;
    }

    .services__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .marketing__container {
        padding: 4.5rem 2rem;
    }

    .marketing__data {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
    }

    .marketing__title {
        font-size: 2.5rem;
    }

    .contact__container {
        flex-direction: row;
    }
}

@media screen and (min-width: 1025px) {
    .nav__logo {
        width: 200px;
    }

    .price__container {
        grid-template-columns: repeat(2, 1fr);
    }
}