/* 
Theme Name: femtomeg.hu 
URI: http://femtomeg.hu 
Author: Szappanos Csaba
Author URI: http://dewin-webdesign.eu 
Description: Basic Theme by Szappanos Csaba
Version: 1.0 
License: GNU General Public License v2 or later License 
URI: http://www.gnu.org/licenses/gpl-2.0.html 
Text Domain: femtomeg.hu 
*/

:root {
    line-height: 1.4;
    font-size: 12px;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: #fdfdfd;
    color: #003366;
}

.box {
    margin-top: 30px;
    padding: 20px;
}

.box p {
    width: 80%;
    margin: 0 auto;
}

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

.container {
    padding: 0 2rem;
    overflow: hidden;
}

.inline-color {
    color: #ffe697;
}

#job,
#offer,
#product,
#contact,
footer {
    padding: 70px 0 70px 0;
}

#home {
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 51, 102, 1) url('img/szerszam-hatterkep.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
    position: relative;
}

#home::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 1);
    background: -moz-linear-gradient(top, rgba(0, 51, 102, 1) 0%, rgba(102, 153, 204, 0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 51, 102, 1)), color-stop(100%, rgba(102, 153, 204, 0)));
    background: -webkit-linear-gradient(top, rgba(0, 51, 102, 1) 0%, rgba(102, 153, 204, 0) 100%);
    background: -o-linear-gradient(top, rgba(0, 51, 102, 1) 0%, rgba(102, 153, 204, 0) 100%);
    background: -ms-linear-gradient(top, rgba(0, 51, 102, 1) 0%, rgba(102, 153, 204, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 51, 102, 1) 0%, rgba(102, 153, 204, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003366', endColorstr='#6699cc', GradientType=0);
    z-index: 2;
}

/*
  header::before {
      content: "";
      width: 0;
      height: 0;
      border-top: 20vw solid transparent;
      border-right: 100vw solid #fff;
      border-bottom: 0vw solid transparent;
      position: absolute;
      right: 0;
      bottom: 0;
      z-index: 3;
  
  }
  */

header {
    width: 100%;
    background: transparent;
    z-index: 4;
    position: relative;
}

header.inner-page {
    background: #003366;
}

#logo {
    width: 9rem;
}

#logo a {
    display: block;
}

#logo img {
    width: 100%;
}

a#logo {
    display: block;
    padding-bottom: 30px;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-container .toggle {
    display: none;
    position: absolute;
    font-size: 2rem;
    right: 2rem;
    bottom: 2rem;
    color: #f5f5f5;
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
    z-index: 100;
}

.nav-container nav ul {
    display: flex;
}

.nav-container nav ul li {
    list-style: none;
    margin-left: 1.5rem;
}

.nav-container nav ul li a {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 400;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.nav-container nav ul li:last-child {
    margin-right: 0px;
}

.nav-container nav ul li a:hover {
    color: #ffe697;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/*ShowCase*/

#showcase {
    color: #f5f5f5;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-text {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.showcase-img {
    width: 50%;
    position: absolute;
    bottom: 0px;
    right: 0;
}

.showcase-img img {
    width: 100%;
}

.showcase-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 6rem 0 20rem 0;
}

#showcase h1 {
    line-height: 1.2;
    text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5);
    color: #f5f5f5;
    margin: 15px auto 0 auto;
}

.showcase-text p {
    width: 80%;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 20px;
    text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.6);
    font-size: 1.2rem;
    color: #f5f5f5;
}

/*Scroll*/

#scroll a {
    position: absolute;
    font-size: 2rem;
    margin-left: -1.75rem;
    margin-top: 3rem;
    z-index: 100;
    display: inline-block;
    color: #f5f5f5;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.3s;
}

#scroll a:hover {
    opacity: 0.5;
}

#scroll span {
    position: absolute;
    font-size: 0.8rem;
    bottom: -2rem;
    left: -40%;
}

/*JOB*/

#job {
    height: 100%;
}

#job h2 {
    margin-bottom: 15px;
    color: #003366;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
}

.about-job {
    display: grid;
    grid-gap: 3rem;
    grid-template-areas: 'jobinfo''job1''job2''job3';
    grid-template-columns: 1fr;
    align-items: center;
    color: #003366;
    padding-bottom: 30px;
}

.job-info {
    grid-area: jobinfo;
    justify-self: stretch;
    margin: 50px auto 50px auto;
    width: 80%;
}

.job-img img {
    grid-area: image;
    width: 100%;
}

.job1 {
    grid-area: job1;
}

.job2 {
    grid-area: job2;
}

.job3 {
    grid-area: job3;
}

.job-one-third {
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    box-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #ffe697;
}

.job-one-third .fas {
    font-size: 1.55279503rem;
    margin-bottom: 15px;
    display: block;
}

/*Offer*/

#offer {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background: rgba(0, 51, 102, 1);
    background: -moz-linear-gradient(45deg, rgba(0, 51, 102, 1) 0%, rgba(48, 112, 176, 1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(0, 51, 102, 1)), color-stop(100%, rgba(48, 112, 176, 1)));
    background: -webkit-linear-gradient(45deg, rgba(0, 51, 102, 1) 0%, rgba(48, 112, 176, 1) 100%);
    background: -o-linear-gradient(45deg, rgba(0, 51, 102, 1) 0%, rgba(48, 112, 176, 1) 100%);
    background: -ms-linear-gradient(45deg, rgba(0, 51, 102, 1) 0%, rgba(48, 112, 176, 1) 100%);
    background: linear-gradient(45deg, rgba(0, 51, 102, 1) 0%, rgba(48, 112, 176, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003366', endColorstr='#3070b0', GradientType=1);
}

.offer-title p {
    color: #f5f5f5;
    font-weight: bold;
    text-transform: uppercase;
    border-left: 0.3rem solid #f5f5f5;
    padding-left: 10px;
    position: relative;
}

/*.offer-title p::before {
    position: absolute;
    content: '';
    top: -1.3rem;
    left: -0.45rem;
    width: 0.6rem;
    height: 0.6rem;
    background: #c6c6c5;
    padding: 0.2rem;
    border: 0.2rem solid #003366;
    transform: rotate(45deg);
  }
  */

.offer-title {
    grid-area: title;
}

.offer-content-box {
    grid-area: content;
}

.offer-row {
    display: grid;
    grid-gap: 3rem;
    grid-template-areas: 'title''content';
    grid-template-columns: 1fr;
}

.offer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 3.5rem 0 3.5rem 0;
    background: #f5f5f5;
    box-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #ffe697;
}

.offer-img-odd {
    order: 1;
}

.offer-text {
    width: 80%;
    padding: 20px;
    order: 2;
}

.offer-img {
    width: 100%;
    padding: 20px 0 20px 0;
}

.offer-text h3 {
    color: #003366;
}

.offer-text p {
    margin: 20px 0;
    color: #003366;
}

.offer-text .btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.3em 0.6em;
    color: #003366;
    border-radius: 0.4em;
    border: 0.1rem solid #003366;
    font-size: 0.8rem;
    font-weight: bold;
    /*ox-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5);*/
    transition: all 0.8s ease;
}

.offer-img img {
    width: 100%;
    display: block;
}

.page-offer p {
    font-weight: 500;
}

.page-offer ul li {
    margin-top: 15px;
}

/*Product*/

#product {
    height: 100%;
}

#product h2 {
    color: #003366;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
    margin: 60px 0 60px 0;
}

.product-content .item a {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 10px 0;
    color: #003366;
    font-size: 1.4rem;
    font-weight: 600;
}

.product-content .item img {
    display: block;
    width: 100%;
    box-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

/*Contact*/

#contact {
    background: #f5f5f5;
    color: #003366;
}

#contact h2 {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-content {
    margin: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 1.15px;
}

.contact-content .one-half {
    margin-bottom: 30px;
    padding: 0;
}

.contact-content .one-half ul li {
    margin-bottom: 15px;
}

.contact-content .one-half ul li a {
    text-decoration: none;
    color: #003366;
}

.contact-content .one-half ul li a .fas {
    margin-right: 5px;
}

.contacts {
    margin: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contacts ul li {
    display: block;
    margin-bottom: 15px;
    text-align: left;
}

.contacts ul li a {
    text-decoration: none;
    color: #003366;
}

.contacts ul li a .fas {
    margin-right: 5px;
}

.contact-form {
    width: 100%;
    margin: 30px 0;
}

.contact,
.contact-wrap .contact-head p {
    margin: 0 0 15px 0;
}

input[type='text'],
input[type='email'] {
    width: 100%;
    height: 30px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid #c6c6c5;
}

label textarea {
    width: 100%;
    height: 100px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid #c6c6c5;
}

input[type='submit'] {
    display: inline-block;
    text-transform: uppercase;
    text-transform: uppercase;
    padding: 0.3em 0.6em;
    color: #003366;
    border-radius: 0.4em;
    border: 0.1rem solid #003366;
    font-size: 0.8rem;
    font-weight: bold;
    /*ox-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5);*/
    transition: all 0.8s ease;
    /*box-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.5);*/
    cursor: pointer;
    transition: all 0.8s ease;
}

input[type='submit']:hover {
    background: #003366;
    color: #f5f5f5;
    border: 0.1rem solid;
}

form.wpcf7-form {
    margin-bottom: 60px;
}

.wpcf7-mail-sent-ok {
    padding: 0.3em 0.6em;
    font-size: 1rem;
}

/*FOOTER*/

footer {
    position: relative;
    left: 0px;
    bottom: 0px;
    background: #2d2d2d;
    color: #f5f5f5;
    font-weight: 200;
}

.footer-contact,
.footer-menu,
.footer-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
    text-align: center;
}

.footer-content .footer-contact a .fas {
    display: inline-block;
    font-size: 1rem;
    margin-right: 15px;
    color: #ffe697;
    text-align: center;
}

.footer-content .footer-contact ul li a {
    display: block;
    text-decoration: none;
    color: #f5f5f5;
}

.footer-content .footer-contact ul li {
    display: block;
    margin-bottom: 15px;
}

.footer-menu ul#menu-footmenu li {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.footer-menu ul#menu-footmenu li a {
    display: block;
    text-decoration: none;
    color: #f5f5f5;
    font-size: 1.15rem;
}

.footer-logo-img {
    width: 10em;
    margin: 0 auto;
}

.footer-logo-img a {
    display: block;
}

/*Data Protection*/
.data-protection {
    text-align: center;
    padding: 15px 0;
    background: #2d2d2d;

}

.data-protection a:link {
    color: #f5f5f5;

}

.data-protection a:visited {
    color: #f5f5f5;
}

.data-protection p {
    font-size: 0.8rem;
    font-weight: 200;
}

/*CopyRight*/

.copyright {
    text-align: center;
    padding: 15px 0;
    background: #000;
    color: #c6c6c5;
}

.copyright p {
    font-size: 0.8rem;
    font-weight: 200;
}

/*Grid*/

.one-fourt {
    width: 25%;
    margin: 30px;
}

.one-half ul li {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.one-half .btn {
    display: block;
    width: 50%;
    margin: 0 auto;
    color: #003366;
    border: .1rem solid #003366;
    padding: 0.3em 0.6em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: .4rem;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

.one-half .btn:hover {}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    :root {
        font-size: 14px;
    }

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

@media only screen and (min-width: 768px) {
    :root {
        font-size: 16px;
    }

    #showcase h1 {
        font-size: 4rem;
    }

    .about-job {
        display: grid;
        grid-gap: 30px;
        grid-template-areas: 'jobinfo jobinfo jobinfo''job1 job2 job3';
        grid-template-columns: repeat(3, 1fr);
        margin: 50px 0 0 0;
    }

    .job-info {
        margin-bottom: 50px;
    }

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

    .job-one-third {
        min-height: 180px;
    }

    .offer-content {
        display: flex;
        flex-direction: row;
    }

    .offer-row {
        display: grid;
        grid-gap: 60px;
        grid-template-areas: 'title content content';
        grid-template-columns: 1fr;
    }

    .offer-title {
        margin-top: 3.5rem;
    }

    .offer-img-odd {
        order: 2;
    }

    .offer-text {
        width: 50%;
        padding: 20px;
        order: 2;
    }

    .offer-img {
        width: 50%;
        padding: 20px 0 20px 0;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 30px;
        text-align: left;
    }

    .footer-content .footer-contact a .fas,
    .footer-content .footer-contact p {
        display: inline-block;
    }

    .contact-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .contact-address,
    .contact-form {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%;
        margin: 30px 0;
    }
}

@media screen and (max-width: 1170px) {
    .nav-container {
        display: block;
    }

    .nav-container .toggle {
        display: block;
        z-index: 10;
    }

    .nav-container nav ul li {
        margin-left: 0;
    }

    .nav-container nav ul {
        display: none;
    }

    .nav-container nav ul.active {
        display: block;
        width: 100%;
        position: absolute;
        left: 0;
        top: 7.5rem;
        background: #003366;
    }

    .nav-container nav ul li a {
        display: block;
        text-align: center;
        padding: 15px 0;
        color: #fff;
    }

    .footer-menu ul#meu-footmenu li {
        display: block !important;
        margin-bottom: 15px;
        text-align: center;
    }

    .footer-menu ul#meu-footmenu li a {
        display: block;
        text-decoration: none;
        color: #f5f5f5;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1171px) {
    :root {
        font-size: 16px;
    }

    .container {
        padding: 0 4rem;
    }

    .one-half .btn:hover {
        background: #003366;
        color: #f5f5f5;
        border: 0.1rem solid transparent;
    }

    .offer-text .btn:hover {
        background: #003366;
        color: #f5f5f5;
        border: 0.1rem solid transparent;
    }

    .product-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 30px;
        margin: 4rem 0 4rem 0;
    }

    #showcase h1 {
        width: 60%;
    }
}