.site-inner {
    clear: both;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

.full-width-content .content {
    padding: 0;
    width: 100%;
    height: 100vh;
}

.nav-primary {
    margin-bottom: 0;
}

/* Navigaton bullets styles
--------------------------------------- */

#pp-nav li .active span,
.pp-slidesNav .active span {
    background: #35c5f4;
}

#pp-nav span,
.pp-slidesNav span {
    border-color: #35c5f4 !important;
}

.page-template-experience #pp-nav li .active span,
.page-template-experience .pp-slidesNav .active span {
    background: #fff;
}

.page-template-experience #pp-nav span,
.page-template-experience .pp-slidesNav span {
    border-color: #fff!important
}

/* Sections
--------------------------------------- */

.section {
    background-attachment: fixed;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: none;
    will-change: transform;
    position: fixed;
}

.mixed-scroll .section {
    background-size: cover;
    background-position: center top;
}

.mixed-scroll .scroll-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    padding: calc(50px + (72 - 50) * ((100vw - 300px) / (1920 - 300)));
}

.mixed-scroll .scroll-section > div {
    display: flex;
    flex-direction: column;
}

.mixed-scroll .scroll-section-content {
    justify-content: center;
    column-gap: 1em;
    width: 40%;
}

.mixed-scroll h2 {
    font-size: calc(72px + (180 - 72) * ((100vw - 300px) / (1920 - 300)));
    color: #35c5f4
}

.mixed-scroll h3 {
    font-family: 'akrobatthin';
    font-size: calc(20px + (48 - 20) * ((100vw - 300px) / (1920 - 300)));
    line-height: 1
}

.mixed-scroll h3,
.mixed-scroll p {
    color: #f2f2f2;
}

.mixed-scroll #pp-nav {
    display: none;
}

.page-template-experience .section {
    background-color: #35c5f4 !important;
    top: 0;
}

.page-template-about .section,
.page-template-education #section_1,
.page-template-education #section_2,
.page-template-experience .section,
.page-template-contact .section {
    background-size: cover;
}

.page-template-about #section_1 {
    background-position: 100% 0;
}

.page-template-about #section_2,
.page-template-about #section_3 {
    background-position: left center;
}

.page-template-about #section_4 {
    background-position: 0 100%;
}

.page-template-education #section_2 {
    background-position: 50% -35px;
}

.page-template-about .pp-tableCell,
.page-template-education .pp-tableCell,
.page-template-contact .pp-tableCell {
    background: linear-gradient(transparent 1%,#000000);
}

.page-template-education #section_2 .pp-tableCell {
    background-color: rgba(0,0,0,0.4);
}

/* Intro texts
--------------------------------------- */

[id^="section_"] img {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: top;
    position: absolute;
}

.page-template-experience [id^="section_"] img {
    height: auto !important;
    width: auto !important;
    top: calc(60px + (-60 - 60) * ((100vw - 300px) / (1920 - 300))) !important;
}

/* About Me Page
--------------------------------------- */

.section-intro {
    margin: 0;
    padding: 5em;
    width: 100%;
    color: #f2f2f2;
    font-weight: 500;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

.page-template-about .section-intro,
.page-template-education .section-intro,
.page-template-contact .section-intro {
    width: 60%;
}

.page-template-about #section_2 .section-intro,
.page-template-about #section_3 .section-intro,
.page-template-about #section_4 .section-intro,
.page-template-education .section-intro,
.page-template-contact #section_1 .section-intro,
.page-template-contact #section_2 .section-intro,
.page-template-contact #section_3 .section-intro {
    margin-left: auto;
}

.section-heading h2,
.section-flex h2 {
    font-size: calc(32px + (64 - 32) * ((100vw - 300px) / (1920 - 300)));
    text-transform: uppercase;
    color:#35c5f4;
}

.last-word {
   font-family: 'akrobatthin';
    text-transform: lowercase;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.experience-top {
    position: fixed;
    top: calc(30px + (-160 - 30) * ((100vw - 300px) / (1920 - 300))) !important;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100vw;
}

.experience-period .from,
.experience-period .to {
    font-family: "Anton", sans-serif;
    color: #fff;
    opacity: 0.1;
}

.experience-period .from {
    font-size: calc(110px + (700 - 110) * ((100vw - 300px) / (1920 - 300)));
}

.experience-period .to {
    font-size: calc(36px + (250 - 36) * ((100vw - 300px) / (1920 - 300)));   
    margin-top: -1em; /* Adjusts vertical position */
    align-self: center;
}

.page-template-experience .section-content {
    padding: 3em 8em;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100vh;
}

.job-title h2,
.company-name h2 {
    color: #000;
    margin: 0;
}

.job-title h2 {
    font-size: calc(20px + (38 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-family: 'akrobatthin';
}

.company-name h2 {
    font-size: calc(28px + (48 - 28) * ((100vw - 300px) / (1920 - 300)));
}

.section-flex,
.experience-period {
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.section-flex {
    top: 0;
    grid-gap: 3em;
}

.page-template-experience .section-flex,
.page-template-contact .section-flex  {
    align-items: flex-start;
}

.experience-period {
    flex-flow: row;
    grid-gap: 1em;
}

.section-flex > div,
.experience-period > div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.section-flex > div {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.experience-period > div {
    align-items: baseline;
}

.page-template-about #section_1 .section-flex > div,
.page-template-contact #section_1 .section-flex > div {
    padding-right: 3em;   
}

 .section-flex > div:before,
.experience-period > div:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: rgba(0,0,0,0);
}

:root {
    --black-percentage: 83%; 
}

/*
Media Queries
------------------------------------------------------------------------- */

@media screen and (max-width: 1600px) {

    :root {
        --black-percentage: 80%; 
    }
    
}

@media screen and (max-width: 1450px) {

    :root {
        --black-percentage: 68%; 
    }
    
    .job-title h2 {
        font-weight: 600;
    }
    
}

@media screen and (max-width: 1280px) {

    :root {
        --black-percentage: 57%; 
    }
    
}

@media screen and (max-width: 985px) {

    :root {
        --black-percentage: 46%; 
    }
    
}

@media screen and (max-width: 820px) {

    :root {
        --black-percentage: 40%; 
    }
    
}

@media only screen and (min-device-width: 768px) and (max-device-width:1024px) and (orientation:landscape) {
    
    .page-template-experience [id^=section_] img {
        top: calc(60px + (-120 - 60) * ((100vw - 300px) / (1920 - 300)))!important;
    }

    
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {

    .section-flex {
        flex-direction:initial!important;
        flex-wrap: wrap;
        gap: 2em;
    }

     .page-template-experience .section-content {
        padding: 5em !important;
        align-items: center;
    }

    .section-flex > .section-experience:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-flex > .section-experience:nth-child(2),
    .section-flex > .section-experience:nth-child(3) {
        flex: 0 0 calc(50% - 2em);
        max-width: calc(50% - 2em);
    }

    :root {
        --black-percentage: 42%
    }
    
}

@media screen and (max-width: 600px) {

    :root {
        --black-percentage: 32%; 
    }
    
}

@media screen and (max-width: 510px) {

    :root {
        --black-percentage: 33%; 
    }
    
}

@media screen and (max-width: 360px) {

    :root {
        --black-percentage: 23%; 
    }
    
}

@media only screen and (max-width: 480px) {

    .page-template-experience .section-flex p {
        font-weight: 600;
    }
    
}

@media screen and (min-width: 320px) and (orientation: portrait) {
    
    .section {
        background-size: cover;
		transform: translateZ(0);
		background-attachment: scroll;
    }

    #section_2 {
        background-position: 15% 50%;
    }

    #section_3 {
        background-position: 0 50%;
    }
    
    .page-template-experience .section,
    .page-template-experience #section_2,
    .page-template-experience #section_3 {
        background-size: contain;
        background-position: center top;
    }
    
    .page-template-about #section_2,
    .page-template-about #section_3 {
        background-position: 10% 50%;
    }
    
    .page-template-about #section_4 {
        background-position: 0 -50px;
    }
    
    .page-template-contact #section_1 {
        background-position: 20% -60px;
    }

    .section img {
        margin-top: initial;
    }
    
    .page-template-about .section-intro,
    .page-template-education .section-intro,
    .page-template-contact .section-intro {
        width: 100% !important;
    }
    
    .page-template-about .section-intro,
    .page-template-contact .section-intro {
        height: 100%;
    }
    
    .page-template-experience .section-content {
        padding: 4em;
        align-items: center;
    }

    .page-template-about #section_2 .section-intro {
        justify-content: center;
    }
    
    .page-template-about #section_4 .section-intro {
        justify-content: flex-start;
        padding: 10em 5em;
    }
    
    .page-template-contact #section_1 .section-intro {
        justify-content: flex-end;
    }

    .section-flex {
        flex-direction: column;
    }
    
    .page-template-experience .section-flex {
        grid-gap: 2em;
    }
    
    p {
        margin: 0 0 10px;
    }
    
    .page-template-about #section_4 .pp-tableCell {
        background: linear-gradient(#000000 1%,transparent);
    }

    .page-template-about .section-flex,
    .page-template-education .section-flex,
    .page-template-contact .section-flex {
        grid-gap: 1em;
    }
    
    .mixed-scroll .section {
        background-position: 70% top;
    }
    
    .mixed-scroll .scroll-section-content {
        width: 80%
    }
    
    .mixed-scroll h3 {
        font-family: 'akrobatbold';
    }

}

@media screen and (min-width: 320px) and (max-width: 932px) and (orientation:landscape) {
    
    .page-template-about .section-intro,
    .page-template-education .section-intro,
    .page-template-contact .section-intro {
        width: 100%;
    }
    
    .page-template-about #section_2,
    .page-template-about #section_3 {
        background-size: 70% !important;
        background-position-x: left;
    }
    
    .page-template-about #section_4 {
        background-position: 0 -100px;
    }
    
    .page-template-education #section_2 .section-intro {
        padding: 0 5em 5em;
    }
    
    .page-template-experience .section {
        background-position: center -130px;
    }

    .page-template-experience [id^="section_"] img {
        top: calc(-40px + (-330 - 40) * ((100vw - 300px) / (1920 - 300))) !important
    }

    .experience-top {
        top: calc(-10px + (-230 - 10) * ((100vw - 300px) / (1920 - 300))) !important;
    }
    
    .page-template-experience .section-content {
        padding: 3em 2em;
    }
    
    .page-template-experience .section-flex {
        grid-gap: 2em;
    }

    :root {
        --black-percentage: 72%;
    }

    .job-title h2 {
        font-size: 14px;
    }

    .company-name h2 {
        font-size: 18px;
    }
    
    .page-template-about #section_2 .section-flex br {
        display: none;
    }

    p {
        margin: 0;
    }
	
	.section-heading h2,
    .section-flex h2,
    .section-flex h3 {
        font-size: calc(18px + (36 - 18) * ((100vw - 300px) / (1920 - 300)));
        margin: 0 0 2px;
    }

}