/* Basic */

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    font-size: 16px;
}

body {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #06061d;
    height: 100%;
    background-color: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.max-content-width {
    max-width: 1440px;
    margin: 0 auto;
}

.full-height-minus-nav {
    min-height: calc(100% - 6rem);
}

.full-height {
    height: 100%;
}

/* Links */

.simple-link {
    color: #1d1c29;
    text-decoration: none;
}

.anim-next {
    padding: .5rem 0;
}

.anim-next:hover {
    position: relative;
    left: -5px;
    animation-name: next;
    animation-iteration-count: infinite;
    animation-duration: 1.5s;
}

@keyframes next {
    0% { left: -5px; }
    50% { left: 10px; }
    100% { left: -5px; }
}

.icon-link {
    margin: 3rem 0;
    position: relative;
}

.icon-link a {
    text-decoration: none;
    color: inherit;
}

.icon-link a:hover {
    opacity: .75;
}

.icon-link .icon {
    display: block;
    width: 2em;
    height: 2em;
    text-align: center;
    float: left;
    vertical-align: top;
    margin-right: 1rem;
}


/* Text */

p {
    max-width: 1000px;
}

p, li {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem 0;
}

ul {
    margin: 1rem 0;
}

.green-dots ul {
    margin: 1rem 0;
    padding: 0;
    list-style-type: none;
}

.green-dots ul li::before {
  content: "\2022";
  color: #19D86D;
  display: inline-block; 
  width: 1em;
}


p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

ul.compact-list {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

ul.compact-list li:before {
    content: "";
    display: block;
    width: .5rem;
    height: .5rem;
    background-color: #19d86d;
    border-radius: .33rem;
    position: absolute;
    left: 0;
    transform: translate(0%,0.5rem);
}

ul.compact-list li {
    font-size: 1rem;
}

h1, h2 {
    font-family: "Playfair Display", "Times New Roman", Times, serif;
    font-weight: bold;
    line-height: 1.1;
    margin: 3rem 0 1.5rem 0;
    position: relative;
    left: -.15rem;
}


h3, h4 {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.3;
    margin: 2rem 0 1.5rem 0;
}

h5 {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: normal;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    position: relative;
    display: inline-block;
    padding-right: .5rem;
}


h5.hp-subtitle span {
    position: relative;
    z-index: 1;
}

h5.hp-subtitle:after {
    content: "";
    display: block;
    background-color: #19d86d;
    height: 50%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
    margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child {
    margin-bottom: 0;
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2.big-title {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

h2.large-title {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h2.medium-title {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h2.small-title {
    font-size: 2rem;
    letter-spacing: 0;
}

.subtitle {
    font-size: 1.5rem;
    line-height: 1.35;
    padding: 0.5rem 0;
}

.subtitle-small {
    font-size: 1.25rem;
}

.text-block {
    display: block;
}

.text-large {
    font-size: 1.5rem;
    line-height: 1.4;
}


.text-medium {
    font-size: 1.25rem;
    line-height: 1.4;
}

.hp-text-medium {
    font-size: 1.25vw;
    line-height: 1.4;
}

.text-small {
    font-size: 0.875rem;
}


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

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

.text-middle * {
    vertical-align: middle;
}

.text-caps {
    text-transform: uppercase;
}

/* Foreground/Text Colours */

.cl-black {
    color: #1d1c29 !important;
}

.cl-green {
    color: #19d86d;
}

.cl-dark-grey {
    color: #505060;
}

.cl-medium-grey {
    color: #82828e;
}

.cl-grey {
    color: #c2c6ce;
}


/* Header and Navigation */

.header-content {
    display: flex;
    flex: 1 1 auto;
    height: 6rem;
    align-items: center;
    padding-right: 2rem;
}

.logo {
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform .3s;
    outline: none;
}

.logo:hover {
    transform: scale(1.1);
}

nav.main-navigation {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}

nav.main-navigation > a {
    display: block;
    padding: .2rem;
    margin: 0 2rem;
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

nav.main-navigation > a span {
    position: relative;
    z-index: 1;
}

nav.main-navigation > a.active:before {
    content: "";
    display: block;
    background-color: #08aa4f;
    height: .66rem;
    width: 100%;
    position: absolute;
    bottom: .33rem;
    left: 0;
    z-index: 0;
    opacity: 1;
}

nav.main-navigation > a:before {
    content: "";
    display: block;
    background-color: #08aa4f;
    height: .66rem;
    width: 0;
    position: absolute;
    bottom: .33rem;
    left: 0;
    z-index: 0;
    transition: width .3s, opacity .3s;
    opacity: 0;
}

nav.main-navigation > a:not(.active):hover:before {
    opacity: .75;
    width: 100%;
}

.nav-extras {
    margin-left: 2rem;
    display: flex;
}

nav.main-navigation .nav-extras a {
    display: block;
    padding: .2rem;
    margin: 0 0 0 1rem;
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform .3s;
}

nav.main-navigation .nav-extras a:hover {
    transform: scale(1.2);
}

.nav-icon {
    position: relative;
    top: -.25rem;
    width: 2rem;
    height: 1.25rem;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: bottom;
}

.header-black {
    background-color: #1d1c29;
}

.header-black .logo {
    background-image: url("images/aa-logo-white.svg");
}

.header-black a,
.header-black li {
    color: #fff;
}

.header-black .icon-cv {
    background-image: url("images/icon-cv-white.svg");
    background-size: 2em auto;
}

.header-black .icon-linkedin {
    background-image: url("images/icon-linkedin-white.svg");
    background-size: 1.25em auto;
}

.header-black .icon-dribble {
    background-image: url("images/icon-dribble-white.svg");
    background-size: 1.25em auto;
}

.header-white {
    background-color: #fff;
}

.header-white .logo {
    background-image: url("images/aa-logo-white.svg");
    background-color: #1d1c29;
    background-size: 3rem auto;
    position: absolute;
    top: 0;
    left: 0;
    padding: 4rem;
}

.header-white a,
.header-white li {
    color: #06061d;
}

.header-white .icon-cv {
    background-image: url("images/icon-cv-black.svg");
}

.header-white .icon-linkedin {
    background-image: url("images/icon-linkedin-black.svg");
}

.header-white .icon-dribble {
    background-image: url("images/icon-dribble-black.svg");
}


/* Footer */

footer {
    background-color: #1d1c29;
    color: #c2c6ce;
    padding: 2rem;
    text-align: center;
}

footer img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 2rem;
    opacity: .33;
    margin-top: 1.5rem;
}


/* Homepage */



.homepage-content {
    display: grid;
    grid-template-columns: 50% auto auto;
    align-items: flex-end;
    text-align: right;
    max-height: 100%;
}

.homepage-left-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.flex-spacer {
    flex: 1;
    height: 100%;
}

.homepage-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.homepage-content img.full {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.homepage-inset {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: flex-end;
    text-align: right;
    white-space: nowrap;
    max-width: calc(100% - 6rem);
    margin-left: auto;
}

.homepage-inset div img {
    align-self: flex-end;
    text-align: right;
    margin-left: auto;
}

/* Sections */

section {
    padding: 3rem;
    margin: 0;
    position: relative;
}

.section-content {
}

.section-base {
    padding: 0;
    margin: 0;
    background: transparent;
}

.section-grey {
    background-color: #f8f8f8;
}

.section-black {
    background-color: #1d1c29;
}

.section-black p,
.section-black li,
.section-black h1,
.section-black h2,
.section-black h3,
.section-black h4 {
    color: #fff;
}

.section-head {
    margin-bottom: 2rem;
}

.section-head h1,
.section-head h2,
.section-head p {
    margin: 0;
}


/* Special Sections */

/* CV nav */
.cv-navigation {
    display: flex;
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 1rem .75rem;
}

.cv-nav-item {
    display: block;
    flex: 1;
    padding: 1rem .5rem;
    text-decoration: none;
    transition: all .3s;
    color: #1d1c29;
    white-space: nowrap;
    overflow: auto;
    text-overflow: ellipsis;
    border: 1px solid transparent;
}

.cv-nav-item:hover {
    transform: scale(1.05);
    padding: 1rem 1rem;
    overflow: visible;
    border: 1px solid #ddd;
}

.cv-nav-item .cv-title {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-nav-item .cv-location {
    display: block;
    font-size: .9rem;
    color: #c2c6ce;
    line-height: 1;
    padding: .5rem 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-nav-item .cv-date {
    display: block;
    font-size: .8rem;
    color: #82828e;
    text-transform: uppercase;
    border-top: 2px solid #f1f1f4;
    line-height: 1;
    padding-top: .5rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-nav-item.cv-current-item .cv-title {
    font-size: 1.2rem;
    color: #19d86d;
}

/* Card Lists */
.list-card {
    padding: 0;
    list-style: none;
}

.list-card li {
    list-style: none;
    display: block;
    border: 1px solid rgba(128,128,128,.25);
    border-left: 2px solid #19d86d;
    padding: 2rem 1rem 2rem 1.5rem;
    margin: 0 0 1rem 0;
}

.list-card.vertical {
    display: block;
}

.list-card.vertical li {
    width: 100%;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: min-content auto;
    grid-template-rows: min-content auto;
    grid-template-areas:
            "icon content1"
            "icon content2";
    align-items: center;
}

.list-card.vertical li:first-child {
    margin-top: 0;
}

.list-card.vertical li:last-child {
    margin-bottom: 0;
}

.list-card.vertical img {
    display: block;
    float: left;
    margin-right: 1rem;
    grid-area: icon;
}

.list-card.horizontal {
    display: flex;
    flex: 1 1 auto;
    justify-items: stretch;
}

.list-card.horizontal li {
    width: 100%;
    margin: 0 .5rem;
    display: grid;
    grid-template-columns: min-content auto;
    grid-template-rows: min-content auto;
    grid-template-areas:
            "icon content1"
            "icon content2";
    align-items: center;
}

.list-card.horizontal li:first-child {
    margin-left: 0;
}

.list-card.horizontal li:last-child {
    margin-right: 0;
}

.list-card.horizontal img {
    display: block;
    float: left;
    margin-right: 1rem;
    grid-area: icon;
}

.list-card.horizontal-simple {
    display: flex;
    flex: 1 1 auto;
    justify-items: stretch;
}

.list-card.horizontal-simple li {
    width: 100%;
    margin: 0 .5rem;
    display: grid;
    grid-template-columns: min-content auto;
    align-items: center;
}

.list-card.horizontal-simple li:first-child {
    margin-left: 0;
}

.list-card.horizontal-simple li:last-child {
    margin-right: 0;
}

.list-card.horizontal-simple img {
    display: block;
    float: left;
    margin-right: 1rem;
}

.list-card li.invisible {
    border: transparent;
    background: transparent;
}

.back-diploma {
    background-image: url("images/icon-diploma.svg");
    background-repeat: no-repeat;
    background-size: 10rem auto;
    background-position: calc(100% + 5rem) center;
}

.back-cap {
    background-image: url("images/icon-students-cap.svg");
    background-repeat: no-repeat;
    background-size: 10rem auto;
    background-position: calc(100% + 5rem) center;
}

/* Skills */
.skill-item {
    display: grid;
    grid-template-columns: min-content auto;
    grid-column-gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.skill-item p {
    margin: 0;
    margin-bottom: .5rem;
}

.skill-item img {
    display: block;
    width: auto;
    height: 3rem;
}

.skill-progress {
    background-color: #e2e6ee;
    height: .34rem;
    width: 100%;
    border-radius: 1rem;
}

.skill-bar {
    display: block;
    background-color: #19d86d;
    width: 0;
    height: .4rem;
    border-radius: 1rem;
    top: -.03rem;
    position: relative;
}

.green-bar-label {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    color: #19d86d;
}

.green-bar-label:before {
    content: "";
    display: block;
    background-color: #e2e6ee;
    height: .34rem;
    width: 100%;
    border-radius: 1rem;
    position: absolute;
    left: 0;
    bottom: calc(-.5rem - -.03rem);
}

.green-bar-label:after {
    content: "";
    display: block;
    background-color: #19d86d;
    height: .4rem;
    width: 50%;
    border-radius: 1rem;
    position: absolute;
    left: 0;
    bottom: -.5rem;
}

/* CTA section*/
.section-cta {
    background-color: #08aa4f;
    background-image: url("images/sketch-2-background@2x.png");
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 4rem;
    box-shadow: inset 0 3px 128px 0 rgba(0,0,0,.123);
}

.cta-block {
    background-color: #fff;
    padding: 4rem;
    text-align: center;
    display: block;
    margin: 0 auto;
    max-width: 50%;
    white-space: nowrap;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.2);
    position: relative;
    transition: all .33s cubic-bezier(0.175, 0.885, 0.320, 1.475);
}

.cta-block:hover {
    transform: translate(0, -1rem) scale(1.05) perspective(50rem) rotateX(8deg);
}

.cta-block:hover > .button-large {
    box-shadow: 0 32px 40px 0 rgba(0,0,0,.5);
    border-bottom: 2px solid rgba(255,255,255,.5);
    transform: translate(0, -1rem) scale(1.05) perspective(50rem) rotateX(10deg);
}

.cta-block:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 64px 128px 0 rgba(0,0,0,.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity .33s;
}

.cta-block:hover:after {
    opacity: 1;
}

.cta-block h2.small-title {
    font-size: 2rem;
    margin: 0;
}

.cta-block .button-large {
    margin-top: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Project info */
.project-info {
    display: grid;
    grid-template-columns: max-content max-content auto;
    grid-column-gap: 4rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #19d86d;
}

.project-info p {
    margin: 0;
}

.project-info .cl-grey {
    color: #c2c6ce
}

/* Quote */

.quote h2 {
    margin: 0 0 1.5rem 0;
}

.quote-text {
    font-family: "Playfair Display", "Times New Roman", Times, serif;
    font-size: 1.5rem;
    line-height: 1.75;
    font-weight: normal;
    font-style: italic;
    background-color: #f8f8f8;
    margin: 0;
    padding: .75rem 1.25rem;
    border-radius: 1rem;
    color: #82828e;
    max-width: none;
}

/* Projects */

.projects-grid {
    width: 100%;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3px;
    grid-row-gap: 3px;
    grid-template-rows: auto;
    grid-template-areas:
            "projectA projectA projectB"
            "project1 project1 project2"
            "project3 project4 project2"
            "project3 project4 projectother";
    align-items: center;
}

.projects-grid > div {
    height: 100%;
    padding: 0;
    align-items: center;
}

.projects-grid > div > div:first-child {
    padding: 3rem 3rem 1rem 3rem;
    width: 100%;
    height: 100%;
}

.projects-grid > div > div:last-child {
    padding: 1rem 0;
    width: 100%;
    height: 100%;
}

.projects-grid > div {
    height: 100%;
    padding: 0;
}

.projectA {
    grid-area: projectA;
        background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
}

.projectA .project-image {
    display: block;
    width: 26rem;
    height: auto;
    margin: 0 0 0 auto;
}

.projectB {
    grid-area: projectB;
    background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
    padding: 3rem 3rem 1rem 3rem !important;
}

.projectB > div {
    padding: 8rem;
    min-height: 20rem;
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
}


.project5 {
    grid-area: project5;
    background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
}

.project5 .project-image {
    display: block;
    width: 26rem;
    height: auto;
    margin: 0 0 0 auto;
}

.project1 {
    grid-area: project1;
    background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
}

.project1 .project-image {
    display: block;
    width: 26rem;
    height: auto;
    margin: 0 0 0 auto;
}

.project2 {
    grid-area: project2;
    background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
}

.project2 .project-image {
    display: block;
    width: 100%;
    height: auto;
}

.project3 {
    grid-area: project3;
    background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
}

.project3 .project-image {
    display: block;
    width: 80%;
    margin: 0 auto;
    height: auto;
}

.project4 {
    grid-area: project4;
    background: linear-gradient(135deg, #f5f5f5 0%,#e0e1e6 50%,#ffffff 100%);
}

.project4 .project-image {
    display: block;
    width: 90%;
    margin: 0 auto;
    height: auto;
}

.projectother {
    grid-area: projectother;
    background-color: transparent;
}

.projectother > div {
    padding: 8rem;
    min-height: 20rem;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

/* About */
.about-gallery {
    position: relative;
}

.about-gallery-images {
    width: 100%;
    position: absolute;
}

.about-image {
    position: absolute;
    display: block;
    width: 100%;
    height: auto;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "dogs gym"
        "churros gym"
        "churros coffee";
}

.about-gallery-images img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.about-gallery-images .img-caption {
    background-color: #19D86D;
    color: white;
    font-weight: 600;
    font-size: .9rem;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: .5rem;
    padding: .7rem 1.25rem;
}

.about-gallery-images .img-caption img {
    display: inline-block;
    vertical-align: middle;
}

.dogs {
    grid-area: dogs;
    position: relative;
}

.gym {
    grid-area: gym;
    position: relative;
}

.churros {
    grid-area: churros;
    position: relative;
}

.coffee {
    grid-area: coffee;
    position: relative;
}

.wow {
    grid-area: wow;
    position: relative;
}



/* Contact */
.contact-graphics {
    width: 100%;
    height: 100%;
    background: url("images/contact-graphics.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 90% auto;
    text-align: right;
}

.contact-graphics img {
    width: auto;
    height: 100%;
    padding: 4rem 4rem 0 0;
}

.email-arrow {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(213%, -5%);
}


/* Flex Layout */

.flex-cols {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.flex-rows {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
}

.v-spacer {
    flex: 1;
    min-height: 1rem;
}

.v-spacer.x2 {
    flex: 1;
    min-height: 2rem;
}

.v-spacer.x4 {
    flex: 1;
    min-height: 4rem;
}

.stick-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
}


/* Column Layout */

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 4rem;
}

.two-columns.small-gap {
    grid-column-gap: 2rem;
}

.three-columns.small-gap {
    grid-column-gap: 1.5rem;
}

.two-columns.auto-width {
    display: grid;
    grid-template-columns: 20% calc(80% - 4rem);
    grid-column-gap: 4rem;
    align-items: center;
}

.three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2rem;
}

.two-columns-80-100 {
    display: grid;
    grid-template-columns: .8fr 1fr;
    grid-column-gap: 4rem;
    align-items: center;
}

.align-items-top {
    align-items: flex-start;
}


/* Borders */

.frame-light-white {
    border: 1px solid rgba(194, 198, 206, .2);
    padding: 1rem;
}

.frame-light-grey {
    border: 1px solid #f1f1f4;
    background-color: #fff;
}


/* Icons */

.icon-medium {
    display: block;
    width: auto;
    height: 2.5rem;
}

.centered {
    margin: 0 auto;
}


/* Images */

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

.original-size-image {
    width: 50% !important;
    height: auto;
}

.big-size-image {
    width: 66%;
    height: auto;
}

.align-center {
    display: block;
    margin: 0 auto;
}


/* buttons */

.button-bar {
    margin-top: 3rem;
}

.button-large {
    display: inline-block;
    background-color: #19d86d;
    color: #fff;
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform .3s;
    position: relative;
    text-decoration: none;
}

.button-large:after {
    content: "";
    display: block;
    background-color: rgba(0,0,0,.2);
    height: 100%;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    transition: width .3s ease-out;
    opacity: 0;
}

.button-large:hover {
    transform: scale(1.05);
}

.button-large:hover:after {
    width: 100%;
    opacity: 1;
}

.button-large span {
    position: relative;
    z-index: 1;
    display: none;
}

.button-large img {
    display: inline-block;
    margin-right: 1rem;
    vertical-align: middle;
}

.button-large span {
    display: inline-block;
    vertical-align: middle;
}


/* Widhts */

/* Percent */
.pc10 {
    width: 10%;
}

.pc20 {
    width: 20%;
}

.pc30 {
    width: 30%;
}

.pc40 {
    width: 40%;
}

.pc50 {
    width: 50%;
}

.pc60 {
    width: 60%;
}

.pc70 {
    width: 70%;
}

.pc80 {
    width: 80%;
}

.pc90 {
    width: 90%;
}

.pc100 {
    width: 100%;
}


/* Extras */

.hidden {
    display: none;
}

.display-inline {
    display: inline-block;
}

.max-width-initial {
    max-width: initial;
}

.no-pointer-events {
    pointer-events: none;
}

.paddingX2 {
    padding: 2rem;
}

.paddingX3 {
    padding: 3rem;
}

.paddingX4 {
    padding: 4rem;
}

.no-padding {
    padding: 0;
}

.no-top-padding {
    padding-top: 0;
}

.no-bottom-padding {
    padding-bottom: 0;
}

.nowrap {
    white-space: nowrap;
}

.thin-bar {
    margin: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.thin-bar p {
    margin: 0;
    max-width: none;
}

a.back-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    background-image: url("images/icon-arrow-left.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: -1rem;
}

.flex-ver-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-green {
    background: #16c262;
}

/* Marging */

.mb-0 {#19d86d
    margin-bottom: 0
}

.mt-0 {
    margin-top: 0
}

.mt-02 {
    margin-top: .2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mtb-085 {
    margin: -0.75rem 0 -0.75rem 0;
}

.ml-1 {
    margin-left: 1rem;
}


/* ///////////////////////// NEW CSS//////////////////// */
/* ///////////////////////// NEW CSS//////////////////// */
/* ///////////////////////// NEW CSS//////////////////// */


/* Navbar 2.0 */

header {
  z-index: 10000;
  position: relative;
}

.nav {
  display: flex;
  flex: 1 1 auto;
  height: 6rem;
  align-items: center;
  padding-right: 2rem;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title {
  background-color: #1d1c29;
  padding:2rem 2.3rem 2rem 2rem; 
  position: absolute;
  top: 0;
  left: 0;
  z-index: 333;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.nav > .nav-links > a {
  display: block;
  padding: .2rem;
  margin: 0 2rem;
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  color: #06061d;
}

.nav > .nav-links > span {
  padding-left: 2rem;
}

.nav > .nav-links > span >a {
  text-decoration: none;
}

.nav > #nav-check {
  display: none;
}

.nav-title img {
    width: 110%;
    height: auto;
    display: block;
}

.ln-icon-desktop {
  display: inherit;
  }

.ln-icon-mobile {
  display: none;
  }

.cv-icon-desktop {
  display: inherit;
  }

.cv-icon-mobile {
  display: none;
  }

@media (max-width:875px) {

  .nav > .nav-header > .nav-title {
  padding: 1.3rem; 
 }

 .nav-title img {
    width: 100%;
}

  .nav > .nav-btn {
    display: flex;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 333;
  }

  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }

  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: #fff;
  }

  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #1d1c29;
  }

  .nav > .nav-links {
    position: absolute;
    display: flex;
    width: 100%;
    background-color: #1d1c29;
    height: 0px;
    transition: all 0.2s ease-in-out;
    overflow-y: hidden;
    top: 0px;
    left: 0px;
    color: #fff;
    text-align: center;
    font-size: 0rem;
    justify-content: center;
    align-items: center;
    flex-flow: column; 
  }

  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }

  .nav > .nav-links > a > span {
    color: #fff;
    font-size: 2rem;
    line-height: 4rem;
  }

  .nav > .nav-links > span {
    padding-left: 0;
    margin-top: 1.5rem;
    display: flex;
    text-decoration: none;
  }

  .cv-icon-desktop {
    display: none;
  }

  .cv-icon-mobile {
    width: 2.8rem;
    display: block;
  }

  .ln-icon-desktop {
    display: none;
  }

  .ln-icon-mobile {
    width: 1.4rem;
    display: block;
    margin-top: -3px;
  }

  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }

  .nav > #nav-check:checked ~ .nav-links {
    height: 100vh;
    overflow-y: auto;
  }
}



/* Homepage v2.0 */

.border {
    border: 1.5rem solid #1d1c29;
}

.homepage-section {
    padding: 0;
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    height: calc(100% - 6rem);
}


.homepage-grid-template {
    display: grid;
    width: 100%;
    grid-template-columns: [col-1] 1fr [col-2] 4fr [col-3] 7.5rem [col-4] 3fr [col-5] 3fr;
    grid-template-rows: 1fr [row-1] 2fr [row-2] 7.5rem [row-3] 3fr [row-4];
}

.homepage-grid-mid {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 5;
    display: flex;
}

.homepage-grid-mid > img {
    object-fit: cover; 
    width: 100%; 
    max-height: 100%;
}


.homepage-grid-text {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
    display: flex;
}

.homepage-text {
    text-align: left;
    padding: 3vw;
}

.homepage-grid-arrow {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
    display: flex;
    background-color: #19d86d;
    overflow:hidden;
}

.homepage-grid-arrow > a {
    margin: auto; 
}

.homepage-grid-arrow img {
    margin: auto;
    display: block;
    animation-name: arrowright;
    animation-duration: 3s;
    animation-iteration-count: infinite; position: relative; 
}

@keyframes arrowright {
  0%   {left:-5px;}
  50% {left:5px;}
  100% {left:-5px;}
}

.homepage-grid-cor {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 4;
    grid-row-end: 5;
    display: flex;
}

.homepage-grid-cor a {
   overflow: hidden;
   min-height: 0;   
   background-image: url('images/home/h_cor_v3.png');
   background-repeat: no-repeat; 
   width: 100%;
   background-size: cover; 
   background-position: top;
}

.homepage-grid-bw {
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 2;
    grid-row-end: 4;
    display: flex;
}

.homepage-grid-bw a {
    overflow: hidden;min-height: 0;
    background-image: url('images/home/h_bw_v3.png');
    background-repeat: no-repeat; 
    width: 100%;  
    background-size: cover; 
    background-position: top left;
}

.homepage-grid-af {
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 4;
    grid-row-end: 5;
    display: flex;
}

.homepage-grid-af a{
    overflow: hidden;min-height: 0;
    background-image: url('images/home/h_af_v3.png');
    background-repeat: no-repeat; 
    width: 100%; 
    background-size: cover; 
    background-position: top;
}



/* General 2.0 */




/* Colours 2.0 */

.cl-black {
    color: #1d1c29 !important;
}

.cl-green {
    color: #19d86d;
}

.cl-dark-grey {
    color: #505060;
}

.cl-medium-grey {
    color: #82828e;
}

.cl-grey {
    color: #c2c6ce;
}


/* Text 2.0 */


h1.hp-title {
    font-size: 5.5vw;
    line-height: 100%;
    margin-top: 0;
    margin-bottom: .5rem;
}

h5.hp-subtitle {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 2vw;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    position: relative;
    display: inline-block;
    padding-right: .5rem;
}

.hp-text-large {
    font-size: 1.3vw;
    line-height: 1.4;
}

.hp-text-small {
font-size: 1vw;

}

.text-bold {
    font-weight: bold;
}

.text-bold-line {
    font-weight: bold;
    text-decoration: line-through
}
