@font-face {
    font-family: 'MerriweatherSans-Regular';
    font-display: swap;
    src: url(../font/MerriweatherSans-Regular.ttf);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'MerriweatherSans-Regular', sans-serif;
    font-weight: normal;
}

/*-- PCs top navigation --*/
.topNavigation {
    position: absolute;
    margin: 0;
    width: 100%;
    background-color: #383838;
    z-index: 99;
}

.introMargin {
    margin-left: auto;
    margin-right: auto;
    max-width: 1364px;
}

.navList {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: none;
}

.navList .links {
    float: left;
    position: relative;
}

.navList .links a {
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    padding: 15px 17px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.navList .links a.logo {
    padding: 15.5px 25px;
}

.navList .navRight {
    float: right;
}

.links a.mainlink:hover {
    background-color: #FF9966;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.links a.mainlink:hover::after {
    -webkit-animation: color 0.4s forwards;
    animation: color 0.4s forwards;
    content: '';
    position: absolute;
    bottom: 20px;
    height: 3px;
    left: 0;
    background: white;
}

.mainlink {
    font-size: 16px;
    margin: 20px 0;
}

.navList .icon {
    display: none;
}

.ppbLogo {
    height: 55px;
}

/*-- Mobile top navigation --*/
@media screen and (max-width: 920px) {
    .topNavigation {
        padding-top: 0;
        background-color: #383838;
    }
    .introMargin {
        margin: 0;
    }
    .navList {
        float: left;
        width: 100%;
    }
    .navList .navRight {
        float: left;
    }
    .navList .link {
        display: none;
    }
    .navList .links a {
        padding: 19.5px 25px;
    }
    .navList .links a.logo {
        padding: 0 25px;
    }
    .navList.responsive .links {
        float: none;
        display: inline;
    }
    .navList.responsive .links a {
        display: block;
        text-align: left;
    }
    .navList .icon {
        float: right;
        display: inline-block;
    }
    .navList.responsive .icon {
        position: absolute;
        top: 0;
        right: 0;
    }
    .navList.responsive .navRight {
        width: 100%;
    }
    .mainlink {
        margin: 0;
    }
    .ppbLogo {
        height: 45px;
        margin: 5.5px 0;
    }
    .links a.mainlink::after {
        display: none;
    }
}

.goToTop {
    position: fixed;
    display: none;
    z-index: 99;
    bottom: 2em;
    right: 3em;
    height: 3em;
    width: 3em;
    background: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.arrow-up {
    position: absolute;
    border: solid black;
    border-width: 3px 0 0 3px;
    padding: 10px;
    -webkit-transform: rotate(45deg) translate(90%,20%);
    transform: rotate(45deg) translate(90%,20%);
}

@keyframes swipeup {
    0% {
        opacity: 0;
        transform: translate(0, -20px);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@media screen and (max-width: 920px) {
    .goToTop {
        bottom: 1.3em;
        right: 1.3em;
    }
}

/*-- Intro section --*/
.introPhoto {
    background: url(../images/introphoto.jpg);
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    height: 526px;
    width: 100%;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
    width: 100%;
}

.container {
    position: relative;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.introContainer {
    width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.shortIntro {
    position: absolute;
    top: 240px;
    padding: 0 25px;
}

.introTitle {
    font-size: 31px;
    margin: 0;
    color: white;
    font-weight: normal;
}

.buttonMore {
    margin: 0;
    padding: 27px 0;
}

.buttonMore a {
    position: relative;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 18px;
    background: #FF9966;
    color: white;
}

.buttonMore a::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 3px;
    left: 0;
    background: white;
    opacity: 1;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.buttonMore a:hover::after {
    -webkit-animation: color 0.4s forwards;
    animation: color 0.4s forwards;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

@keyframes color {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@media screen and (max-width: 920px) {
    .introPhoto {
        height: 426px;
    }
    .shortIntro {
        top: 220px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    .introTitle {
        font-size: 24px;
    }
}

@media screen and (max-width: 1024px) {
    .shortIntro {
        top: 220px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/*-- About --*/
.about {
    padding-top: 60px;
}

.cncIcon {
    height: 120px;
    width: 120px;
}

.cncBG {
    border-radius: 100%;
    background: #FF9966;
    padding: 48px 50px;
    width: 120px;
    text-align: center;
    float: left;
}

.paragraph {
    font-size: 16px;
    margin: 0;
}

.uppercaseTitle {
    text-transform: uppercase;
    text-align: center;
}

.title {
    font-size: 31px;
    font-weight: bold;
    margin: 0 0 40px 0;
    text-align: center;
}

.bottomLine {
    border-bottom: 3px solid black;
    border-radius: 2px;
    width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.tMargin {
    margin-top: 6.5px;
}

.lineMargin {
    margin-bottom: 6.5px;
}

.pMargin {
    margin-bottom: 10px;
}

.whatWeDo {
    float: left;
    margin-left: 60px;
}

.clear {
    clear: both;
}

.sectionMargin {
    margin-bottom: 60px;
}

.aboutSection {
    padding-left: 25px;
    padding-right: 25px;
}

.goals {
    background: #FF9966;
    color: #fff;
    padding: 60px;
}

.checkmark {
    margin: 0;
    text-align: center;
}

.checkmark img {
    height: 20px;
    width: auto;
    padding: 0 15px 15px 15px;
}

.whiteText {
    color: white;
}

.allGoals {
    margin-top: 40px;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.goalBox {
    text-align: center;
    float: left;
    padding: 0 8px;
}

.goalBox img {
    width: 100px;
}

.goalBox p {
    font-size: 18px;
    margin: 10px 0;
}

.goalImg {
    height: 100px;
}

.plus {
    float: left;
    font-size: 40px;
    margin: 0;
    padding: 25px 0;
}

.equal {
    float: left;
    font-size: 40px;
    margin: 0;
    padding: 25px 40px;
}

@media screen and (max-width: 920px) {
    .cncBG {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    .whatWeDo {
        float: none;
        margin-left: 0;
        margin-top: 40px;
    }
    .goalBox {
        float: none;

    }
    .plus, .equal {
        float: none;
        text-align: center;
        padding: 5px 0;
    }
}

@media screen and (max-width: 1024px) {
    .cncBG {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    .whatWeDo {
        float: none;
        margin-left: 0;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        max-width: 720px;
    }
}

/*-- Machinery --*/
.machinery {
    background: #F5F5F5;
    padding-top: 60px;
    padding-bottom: 60px;
}

.machine {
    background: white;
    width: 300px;
    margin: 25px;
    float: left;
}

.machine img {
    width: 300px;
}

.machine p {
    padding: 12px 14px;
}

.longTitle {
    padding: 0;
}

@media screen and (max-width: 920px) {
    .machinery {
        padding-bottom: 20px;
    }
    .machine {
        width: inherit;
        float: none;
    }
    .machine img {
        width: 100%;
    }
    .longTitle {
        padding: 0 25px;
    }
}

@media screen and (max-width: 1066px) {
    .machine {
        margin: 18px;
    }
}

/*
@media screen and (max-width: 1024px) and (orientation:landscape) {
    .machine {
        width: 300px;
        margin: 20.67px;
        float: left;
    }
    .machine img {
        width: 300px;
    }
}

@media screen and (max-width: 1024px) and (orientation:portrait) {
    .machine {
        width: 300px;
        margin: 20.67px;
        float: left;
    }
    .machine img {
        width: 300px;
    }
}
*/

@media screen and (max-width: 1024px) {
    .machine {
        width: max-content;
        margin: 20.67px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .machine img {
        width: 500px;
    }
}

@media screen and (width: 768px) and (orientation:portrait) {
    .machine {
        margin: 20.67px;
        width: 500px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}

@media screen and (max-width: 920px) and (orientation:landscape) {
    .machine {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .machine img {
        width: inherit;
    }
}

@media screen and (min-width: 0) and (max-width: 550px) {
    .machinery {
        padding-bottom: 20px;
    }
    .machine {
        width: inherit;
        float: none;
        margin: 20.67px;
    }
    .machine img {
        width: 100%;
    }
    .longTitle {
        padding: 0 25px;
    }
}

.certificate {
    padding-top: 60px;
    text-align: center;
}

.certificate p.paragraph {
    padding: 0 25px;
}

.contact {
    padding-top: 60px;
}

.threeContact{
    max-width: 725px;
    margin-left: auto;
    margin-right: auto;
}

.twoContact {
    max-width: 465px;
    margin-left: auto;
    margin-right: auto;
}

.contactBox {
    float: left;
    margin-left: 30px;
    height: 75px;
    padding-bottom: 25px;
}

.contactBox img {
    height: 40px;
    float: left;
    padding: 5px 30px;
}

.noMarginLeft img {
    padding: 5px 30px 0 0;
}

.contactText {
    float: left;
}

.contactText p {
    margin: 0 0 5px 0;
}

.noMarginLeft {
    margin-left: 0;
}

.twoContact .contactBox {
    padding-bottom: 0;
}

@media screen and (max-width: 920px) {
    .certificate {
        padding-left: 25px;
        padding-right: 25px;
    }
    .certificate p.paragraph {
        padding: 0;
    }    
    .threeContact, .twoContact {
        text-align: center;
    }
    .contactBox {
        float: none;
        width: 100%;
        margin-left: 0;
        padding-bottom: 0;
        margin-bottom: 25px;
        height: auto;
    }
    .contactBox img, .contactText {
        float: none;
    }
    .contactBox img {
        padding: 0 0 10px 0;
    }
}

.map {
    margin-bottom: 60px;
}

.mapy {
    padding: 25px;
}

.googleMaps {
    height: 450px;
    width: 100%;
}

@media screen and (max-width: 920px) {
    .mapy {
        padding: 0;
    }
    .googleMaps {
        height: 300px;
    }
}

footer {
    background: #383838;
    text-align: center;
}

footer img {
    height: 55px;
    width: auto;
    padding-top: 45px;
}

footer p {
    color: white;
    margin: 0;
    padding: 30px 0;
    font-size: 16px;
}

footer p a {
    text-decoration: none;
    color: white;
    border-bottom: 1px transparent solid;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

footer p a:hover {
    border-bottom: 1px white solid;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}