@font-face {
    font-family: "Oswald";
    font-weight: 200;
    src: local("Oswald"), url(../fonts/Oswald-ExtraLight.ttf) format("truetype");
}

@font-face {
    font-family: "Oswald";
    src: local("Oswald"), url(../fonts/Oswald-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Oswald";
    font-weight: 700;
    src: local("Oswald"), url(../fonts/Oswald-Bold.ttf) format("truetype");
}

body {
    font-family: "Oswald", "sans-serif";
}

:root {
    --main-green: 68, 214, 44;
}

.content-container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

.flex {
    display: flex;
    gap: var(--flex-gap, 0px)
}

.aic {
    align-items: center;
}

.jcc {
    justify-content: center;
}

.ttu {
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .sm {
        display: none;
    }
}

@media (max-width: 768px) {
    .md {
        display: none;
    }
}

@media (max-width: 992px) {
    .lg {
        display: none;
    }
}

.section {
    padding: 2rem;
}

@media (min-width: 1050px) {
    .section {
        padding: 4rem;
    }
}

.section-title {
    text-align: center;
    color: rgb(var(--main-green));
    text-transform: uppercase;
    line-height: 1.5rem;
    letter-spacing: .2rem;
    font-weight: 200;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.section-title:not(.one-line)::first-line {
    font-weight: 700;
    font-size: 1.2rem;
}

.section-title.reverse {
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1.9rem;
}

.section-title.reverse::first-line {
    font-weight: 200;
    font-size: 1.2rem;
}

.section p {
    text-align: center;
    font-size: 1.25rem;
    /* text-transform: uppercase; */
    line-height: 2rem;
    max-width: 800px;
    margin: auto;
}

.section p span {
    font-weight: 700;
    color: rgb(var(--main-green));
}

.flow > *:not(:last-child) {
    margin-bottom: var(--flow-gap, 1.5rem);
}

/* ------------------------------- */
/* HEADER                          */
/* ------------------------------- */
.header-top-row {
    background-color: rgb(var(--main-green));
    color: white;
}

.header-top-row .content-container {
    height: 30px;
    justify-content: center;
}

.header-top-row .content-container div:first-of-type {
    margin-right: auto;
}

.header-top-row .content-container img {
    display: block;
}

.header-content {
    padding: 35px 0;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;
}

.header-content .content-container {
    justify-content: space-between;
}

.header-content .logo {
    height: 30px;
    width: 326px;
    position: relative;
    overflow: hidden;

}

.header-content .logo img {
    position: absolute;
    top: 50%;
    transform: translate(-12%, -50%);
    max-width: 100%;
    
}

.header-menu {
    position: fixed;
    top: 0px;
    right: -117px;
    width: 380px;
    height: 380px;
    background-color: rgb(var(--main-green));
    border-radius: 50% 0 0 50%;
    box-shadow: 0px 0px 10px 7px rgb(0, 0, 0, 0.2);
    transform: translateX(270px);
    animation-duration: 0.3s;
    /* animation-name: slideout; */
    z-index: 100;
    transition: transform 0.3s;
}

.header-menu-content {
    position: absolute;
    top: 26px;
    right: 147px;
    bottom: 0;
    left: 0;
    text-align: right;
}

.header-menu.open {
    animation-duration: 0.3s;
    animation-name: slidein;
    animation-fill-mode: forwards;
    z-index: 100;
}

@keyframes slidein {
    60% {
        transform: translateX(-20px);   
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes slideout {
    from {
        transform: translateX(0px);
    }
    40% {
        transform: translateX(-20px);   
    }

}

.header-menu .menu-close {
    text-align: right;
    margin-top: 20px;
    margin-right: 10px;
    margin-bottom: 30px;
}

.header-menu a {
    display: block;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 28px;
    cursor: pointer;
    color: white;
}

@media (min-width: 576px) {
    .header-content .logo {
        gap: 20px;
    }
    
    .header-content .logo img {
        width: unset;
    }
}

@media (min-width: 1050px) {

    .header-content .hamburger {
        display: none;
    }

    .header-menu {
        background-color: unset;
        position: unset;
        height: unset;
        width: unset;
        visibility: unset;
        padding: unset;
        border-radius: unset;
        box-shadow: unset;
        transform: unset;
        transition: unset;
        animation: unset;
    }

    .header-menu-content {
        position: unset;
        display: flex;
        gap: 30px;
    }

    .header-menu .menu-close {
        display: none;
    }

    .header-menu a {
        margin-bottom: 0;
        border: unset;
        text-align: center;
        padding: unset;
        color: rgb(var(--dark-blue)); /* TODO kell? */
    }

    .header-menu a:hover {
        border-bottom: 2px solid rgb(var(--dark-blue));  /* TODO kell? */
    }
}

/* ------------------------------- */
/* START                           */
/* ------------------------------- */
.start {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgb(var(--main-green));
    background: url('../images/pexels-max-vakhtbovych.jpg');
    background-position: right 13%;
    background-size: cover;
    color: white;
    text-align: center;

    position: relative;
}

.start::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(var(--main-green), .8);
    z-index: 10;
    mix-blend-mode: multiply;
}

.section > * {
    z-index: 20;
}

.start h1 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 2.5rem;
}

.start p {
    line-height: 1.8rem;
    font-weight: 200;
    margin-top: 0.5rem;
}

.start a {
    margin-top: 2rem;
    font-size: 1.5rem;
}

@media (min-width: 1050px) {
    .section.start {
        min-height: 330px;
        box-sizing: border-box;
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .start a {
        font-size: 1.8rem;
    }
}

/* ------------------------------- */
/* MAIN PAGE SERVICES              */
/* ------------------------------- */
.section.services {
    padding-bottom: 0;
}
.service-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-icon {
    background-image: url(../images/svg/logO.svg);
    background-repeat: no-repeat;
    width: 89px;
    height: 73px;
    padding-top: 26.5px;
    padding-left: 40px;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.service-icon:hover {
    background-image: url(../images/svg/logO_30.svg);
}

.service-icon:nth-child(3) {
    margin-left: 1.7rem;
}

@media (min-width: 450px) {
    .service-icons {
        gap: 3rem;
    }
}

@media (min-width: 1050px) {
    .service-icons {
        gap: 6rem;
    }
}

/* ------------------------------- */
/* WHY ME?                         */
/* ------------------------------- */
.section.why-me {
    background-image: url(../images/pexels-audiovisual-mx.jpg);
    background-position: top left;
    background-size: cover;
    position: relative;
}

.section.why-me::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255, .8);
    z-index: 10;
}

.section.why-me > * {
    position: relative; /* for z-index to work */
}

.why-me p:nth-of-type(2) {
    margin-top: 2rem;
    font-weight: 700;
}

.fb-container {
    margin-top: 3rem;
    text-align: center;
}

/* ------------------------------- */
/* CONTACT                         */
/* ------------------------------- */
.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.7rem;
    font-weight: 700;
    color: rgb(var(--main-green));
}

.contact-infos .phone {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    align-items: center;
    justify-content: center;
}

.contact-infos .phone span {
    font-size: 1rem;
    font-weight: 200;
    color: black;
    letter-spacing: .1rem;
}

@media (min-width: 1050px) {
    .contact-infos {
        flex-direction: row;
        align-items: flex-start;
        gap: 8rem;
    }
}

/* ------------------------------- */
/* SERVICES PAGE                   */
/* ------------------------------- */
.section .price {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -2.5rem;
    margin-bottom: 3rem;
}

.section.service p {
    font-size: 1.125rem;
    line-height: 1.8rem;
}

.section.service.bg .section-title {
    color: white;
}

.section.service.bg {
    background: linear-gradient(135deg, rgba(68,214,44,1) 0%, rgba(68,214,44,0.67) 100%);
}

.section.service .flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.section.service ul {
    font-size: 1.125rem;
}

.section.service .flex ul li:first-of-type {
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 1050px) {
    .section.service .flex {
        flex-direction: row;
        justify-content: center;
    }

    .section.service .flex ul {
        flex: 1;
    }

    .section.service .flex ul:nth-of-type(1) {
        text-align: right;
    }

    .section.service .flex ul:nth-of-type(2) {
        text-align: left;
    }
}

/* ------------------------------- */
/* CONTACT  PAGE                   */
/* ------------------------------- */
.contacts {
    --gap: 5rem;
}

.contacts .section.cont {
    margin-top: var(--gap);
    margin-bottom: var(--gap);
}

.contacts .flex {
    flex-direction: column;
    gap: var(--gap);
}

.contacts .contact {
    text-align: center;
}

.contacts .contact .contact-title {
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contacts .contact a {
    font-weight: 700;
    color: rgb(var(--main-green));
    font-size: 1.5rem;
}

.contacts .contact .small {
    font-weight: 200;
    margin-top: 0.5rem;
    line-height: 1.4rem;
    letter-spacing: .05rem;
}

.contacts .contact.facebook {
    margin-top: var(--gap);
}

.contacts .contact.facebook .contact-title {
    line-height: 1.4rem;
}

.contacts .contact.facebook .flex{
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.contacts .contact.facebook img {
    width: 28px;
}

.contacts .extra-info {
    margin-top: var(--gap);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4rem;
    font-weight: 700;
    font-size: 1.125rem;
}

@media (min-width: 1050px) {
    .contacts .flex {
        flex-direction: row;
        justify-content: center;
    }

    .contacts .contact a {
        font-size: 1.7rem;
    }
}

/* ------------------------------- */
/* GALLERY                         */
/* ------------------------------- */
.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: auto;
}

.gallery-images a img{
    width: 140px;
    height: 140px;
    object-fit: cover;
}

@media (min-width: 1050px) {
    .gallery-images {
        gap: 3rem;
    }

    .gallery-images a img{
        width: 200px;
        height: 200px;
    }
}


/* ------------------------------- */
/* FOOTER                          */
/* ------------------------------- */
.footer {
    background-color: rgb(var(--main-green));
    color: white;
    text-transform: uppercase;
    font-size: .8rem;


}

.footer .content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;

}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.footer-list:nth-of-type(3) {
    text-align: right;
}

.footer-list div:nth-child(1) {
    font-weight: 700;
}

.footer-list img {
    width: 24px;
    margin-left: auto;
}

@media (min-width: 1050px) {
    .footer .content-container {
        align-items: flex-start;
        gap: 5rem;
    }

    .footer-list:nth-of-type(3) {
        text-align: left;
    }
}
