body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    font-family: 'Roboto';
    font-weight: 400;

    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #fabe30;
}



/* LAYOUT */

.pageContent {
    position: relative;
}

.pageHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;

    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

    .topLogo {
        width: 300px;
    }

    .topNav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
    }

        .navHamburger { display: none; }
        .mobileNavClose { display: none; }

        .langSelector {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            
            margin-bottom: 3rem;
        }

            .langSelector .langBtn {
                display: block;
                padding: 0.25rem 0.5rem;

                font-family: 'Quicksand';
                font-weight: 500;
                font-size: 13px;
                text-decoration: none;
                
                background: #f0f0f0;
                border: 1px solid #e0e0e0;
            }

        .topNavList {
            list-style: none;
            display: flex;
            flex-direction: row;
            justify-content: space-between;

            margin: 0;
            padding: 0;
        }

            .topNavList li {
                margin: 0;
                padding: 0;
            }

                .topNavList li a {
                    display: block;
                    padding: 1rem 1rem;

                    color: #666;
                    font-family: 'Quicksand';
                    font-weight: 500;
                    font-size: 1rem;

                    text-decoration: none;
                    text-transform: uppercase;

                    transition: all 0.3s ease;
                }

                    .topNavList li a:hover {
                        color: #f2b01a;
                    }

.sectionWrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;

    margin: 5rem 0;
    position: relative;

    overflow: hidden;
}

.leftWrap, .rightWrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .leftWrap img, .rightWrap img {
        height:100%;
        object-fit: cover;
    }

.leftWrap {
    flex: 1 1 50%;
    flex: 1 1 calc(50% - 100px);
    align-items: flex-end;
    position: relative;
}

.rightWrap {
    flex: 1 1 50%;
    flex: 1 1 calc(50% + 100px);
    align-items: flex-start;
    position: relative;
}

.textContentWrap {
    padding: 3.5rem 1.5rem;
    min-width: 380px;
}

    .leftWrap .textContentWrap {
        max-width: 500px;
    }

    .rightWrap .textContentWrap {
        max-width: 640px;
    }

.imgWrap {
    flex: 1 1 auto;
    box-sizing: border-box;

    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;

    height: 100%;
    min-height: 400px;
}

    .imgWrap.right {
        background-position: left center;
    }

    .imgWrap.left {
        background-position: right center;
    }

.o1 { order: 1 }
.o2 { order: 2 }

.dotSphere {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
    transition: all 0.3s ease;

    border-color: #f2b01a;
    border-radius: 100%;
    border-width: 0;
    border-style: solid;
}

    .leftWrap .dotSphere { right: -0.8rem; }
    .rightWrap .dotSphere { left: -0.8rem; }


a.pageLink {
    display: inline-block;

    color: #d0d0d0;
    font-family: 'Quicksand';
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    line-height: 36px;

    margin: 1rem 0;
    width: 40px;
    height: 40px;

    border: 1px solid #e0e0e0;
    border-radius: 100%;

    transition: all 0.3s ease;
}

    a.pageLink:hover {
        border-color: #d79601;
        background: #f2b01a;
        color: #fff;
    }

    .linkWrap {
        text-align: right;
    }



.clientsWrap {
    max-width: 1140px;
    box-sizing: border-box;
    margin: 0 auto;

    text-align: center;

    background: #fff;
    padding: 1rem;

    z-index: 1001
}

    .clientsTitle {
        text-align: center;

        font-family: 'Oswald';
        font-weight: 300;
        text-transform: uppercase;
        font-size: 6rem;
        color: #d0d0d0;
    }

    .clientsList {
        list-style: none;
        padding: 1rem;
        margin: 0;

        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }

        .clientsList .client {
            box-sizing: border-box;
            flex: 0 1 16%;

            display: flex;
            flex-direction: column;
            justify-content: space-between;

            min-width: 150px;
            padding: 1rem;
            margin: 1rem;
            border-radius: 5px;
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);

            opacity: 0.35;

            transition: all 0.3s ease;
        }

        .clientsList .client .clientLogo {
            filter: grayscale(100%);
            transition: all 0.3s ease;
            margin: 0 auto;
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .clientsList .clientLogoName {
            flex: 1 1 auto;
            padding: 2rem 0.5rem;

            font-family: 'Oswald';
            font-weight: 400;
            font-size: 1.2rem;
            color: #333;
        }

        .clientsList .client:hover {
            opacity: 1;
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
        }

        .clientsList .client:hover .clientLogo {
            filter: grayscale(0%);
            opacity: 1;
        }

        .clientsList .client .clientName {
            text-align: center;
            font-family: 'Quicksand';
            font-size: 13px;
            
            color: #222;
            padding: 1rem 0.5rem;
        }

        .clientsList .client .clientDescription {
            text-align: center;
            font-family: 'Quicksand';
            font-size: 11px;
            text-transform: uppercase;
            color: #666;
        }

        .clientsSeeMore {
            display: inline-block;
            margin: 1rem 0 2rem 0;
            padding: 1rem 2rem;
            
            font-family: 'Quicksand';
            font-weight: 400;
            font-size: 1rem;
            color: #666;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;

            border-bottom: 2px solid #e0e0e0;
    
        }


.panaWrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    text-decoration: none;
}

    .leftWrap .panaWrap img, .rightWrap .panaWrap img {
        max-height: 30px;
        object-fit: contain;
        margin-right: 0.75rem;
        flex: 0 1 auto;
    }

    .panaDescription {
        font-family: 'Quicksand';
        font-size: 2rem;
        color: #666;
    }

    .panaSmall {
        display: block;
        font-family: 'Quicksand';
        font-size: 13px;
        color: #888;
        flex: 1 1 auto;
    }

.contactList {
    list-style: none;
    margin: 1rem 0 2rem 0;
    padding: 0;
}

    .contactList li {
        margin: 0.5rem 0;
    }

    .contactList .contactIcon {
        max-width: 25px;
        display: inline-block;
        vertical-align: middle;
    }


/* ANIMATED VERTICAL LINE */

.verticalLineWrap {
    position: absolute;
    top: 0;
    left: calc(50% - 142px + 40px);
    height: 100%;
    width: 4px;
}

    .verticalLine {
        width: 100%;
        height: 0;
        background: #f2b01a;

        transition: all 0.3s ease;
    }

/* TYPOGRAPHY */

h1.pageTitle {
    font-family: 'Oswald';
    font-size: 6.4rem;
    text-transform: uppercase;
    font-weight: 200;

    color: #b9b9b9;
}

.sectionTitle, .sectionParagraph {
    font-family: 'Quicksand';
    font-weight: 500;
}

.sectionTitle {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    color: #F2B019;
}

.sectionParagraph {
    margin: 0 0 1.5rem 0;    
    font-size: 1.25rem;

    color: #141414;
}

    .sectionParagraph:last-child {
        margin-bottom: 0;
    }



/* FOOTER */

.footerWrap {
    align-self: flex-end;
    width: 100%;
    background: #333333;
    color: #fff;
}

.contactData {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footerWrap h4 {
    font-size: 14px;
    color: #e0e0e0;
}

    .footerRow {
        display: flex;
        justify-content: space-between;
    }

    .footerList {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footerList li {
        margin: 0;
        padding: 0;
        margin-bottom: 0.75rem;
        font-size: 14px;
    }

    .footerList .footerIcon {
        max-width: 25px;
        display: inline-block;
        vertical-align: middle;
    }

.panaFooter {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 14px;
}

    .panaFooter img {
        height: 24px;
        margin-right: 1rem;
    }

.disclamer {
    background: #222222;
    color: #737373;
    font-size: 11px;
    padding: 1rem;
    text-align: center;
}

    .disclamer a {
        display: inline-block;
        color: #999;
        padding-bottom: 0.5rem;
    }


/* ANIMATION TRANSITIONS */

.active .dotSphere {
    border-width: 0.8rem;
}

.transitionTitle {
    transition: all 0.3s ease;

    position: relative;
    opacity: 0;
    top: -50px;
}

    .active .transitionTitle {
        opacity: 1;
        top: 0;
    }

.transitionText {
    transition: all 0.5s ease;
    transition-delay: 0.5s;

    position: relative;
    opacity: 0;
    top: 100px;
}

    .active .transitionText {
        opacity: 1;
        top: 0;
    }


.transitionAside {
    transition: all 0.3s ease;

    position: relative;
    opacity: 0;
}

    .leftWrap .transitionAside { left: -100px; }
    .rightWrap .transitionAside { right: -100px; }

    .active .transitionAside {
        opacity: 1;
        left: 0;
        right: 0;
    }

@media (max-width:1080px)  {
    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */

    .mo1 { order: 1 }
    .mo2 { order: 2 }

    .pageHeader {
        padding: 1rem;
    }

    h1.pageTitle, h2.clientsTitle {
        font-size: 3.8rem;
    }

    .verticalLineWrap, .dotSphere {
        display: none;
    }

    .sectionWrap {
        flex-wrap: wrap;
        padding: 0 1rem;
        left: 0;
        margin: 1rem 0;
    }

    .leftWrap, .rightWrap {
        flex: 1 1 100%;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;

        text-align: center;
    }

        .leftWrap .textContentWrap, .rightWrap .textContentWrap {
            text-align: left;
            max-width: 100%;

            margin: 1rem 0;
            padding: 1rem 1rem 0 1rem;
        }

        .leftWrap img, .rightWrap img {
            width: 100%;
        }

    .navHamburger {
        display: block;
        font-size: 2rem;
        color: #696969;

        cursor: pointer;
        padding: 0.25rem 1rem;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
    }

    .navMobileWrap {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100%;
        background: #e0e0e0;
        overflow: hidden;
        overflow-y: auto;

        z-index: 999;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        transition: all 0.5s ease;
    }

        .navMobileWrap.active {
            left: 0;
        }

        .mobileNavClose {
            display: block;
            position: absolute;
            top: 1rem;
            right: 1rem;

            font-size: 2.5rem;
            color: #666;
            cursor: pointer;
        }

        .langSelector {
            margin: 1rem 0;
            font-size: 2rem;
        }

        .topNavList {
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
        }
        
    .clientsList .client {
        flex: 1 1 40%;
        min-width: 100px;
        margin: 0.25rem;
    }

    .contactData {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contactData .footerLogo, .contactData .footerList {
        width: 100%;
        flex: 1 0 45%;
        margin: 1rem 0;
    }

    .footerList {
        flex-wrap: wrap;
    }

}
