/*  COLORS
    OceanBlue: #5537af
    Soap: #cdc3f0
    PrincetonOrange: #fa8228
    OuterSpace: #322d4b
    Magnolia: #faf5ff

    Blue-Magenta Violet: #55378c
*/

@font-face {
    font-family: 'AbrilFatface';
    src: url("fonts/AbrilFatface-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "SourceSansPro-Black";
    src: url("fonts/SourceSansPro-Black.ttf") format("truetype");
}

@font-face {
    font-family: "SourceSansPro-Bold";
    src: url("fonts/SourceSansPro-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "SourceSansPro-SemiBold";
    src: url("fonts/SourceSansPro-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "SourceSansPro-Regular";
    src: url("fonts/SourceSansPro-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "SourceSansPro-Light";
    src: url("fonts/SourceSansPro-Light.ttf") format("truetype");
}

@font-face {
    font-family: "SourceSansPro-ExtraLight";
    src: url("fonts/SourceSansPro-ExtraLight.ttf") format("truetype");
}         

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "SourceSansPro-Regular", sans-serif;
    color: #322d4b;
}

html{
    scroll-behavior: smooth;
}

body {
    background: #faf5ff;
}

header {
    width: 100%;
    /*height: 100vh*/;
}

nav {
    width: 100%;
    height: 150px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
    transition: 0.3s;
}

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* new */
}

.logo a {
    display: block;
}

.logo a img {
    /*width: 100%;*/
    height: 60px;
    display: block;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    z-index: 1;
    transition: 0.5s;
}

.menu li {
    list-style-type: none;
}

.menu li a {
    font-family: "SourceSansPro-Light", sans-serif;
    color: #322d4b;
    text-decoration: none;
    font-size: 1.125em;
    line-height: 1;

    padding: 20px;
    display: block;
    transition: 0.3s;
}

.menu li .selected-link {
    font-family: "SourceSansPro-SemiBold", sans-serif;
    color: #5537af;
}

.menu li .selected-link:hover {
    color: #fa8228;
}

.menu li#last-link {
    padding-right: 0;
}

.menu li a:hover {
    color: #fa8228;
}

.hamburger {
    background: #5537af;
    width: 30px;
    height: 4px;

    position: relative;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    background: #faf5ff;
    height: 4px;
    content: "";
    position: absolute;
    right: 0;
    transition: 0.3s;
}

.hamburger:before {
    background: #5537af;
    width: 30px;
    top: -10px;

}

.hamburger:after {
    background: #fa8228;;
    width: 30px;
    top: 10px;
}

.toggle-menu {
    width: 30px;
    height: 100px;

    position: absolute;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
}

.hamburger,
.toggle-menu {
    display: none;
}

.navigation input:checked ~ .hamburger {
    background: transparent;
}

.navigation input:checked ~ .hamburger:before {
    width: 30px;
    background: #faf5ff;
    top: 0;
    transform: rotate(-45deg);
}

.navigation input:checked ~ .hamburger:after {
    width: 30px;
    top: 0;
    transform: rotate(45deg);
} 

.navigation input:checked ~.menu {
    width: 100%;
    height: 100vh;
    right: 0;
}

/*HEADER*/
.container {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
}

.graphic-shape01 {
    background: #cdc3f0;
    width: 3.5%;
    height: 480px;
}

.headline-text {
    width: 50%;
    padding-left: 3.25%;
    display: flex;
    flex-flow: column wrap;
}

h1 {
    font-family: "AbrilFatface", serif;
    color: #5537af;
    font-size: 3em;
    padding-top: 8.8%;
    padding-bottom: 4.4%;
}

h2 {
    font-family: "SourceSansPro-SemiBold", sans-serif;
    font-size: 1.75em;
    padding-bottom: 8.8%;
    line-height: 1.3em;
}

.cta-buttons {
    font-family: "SourceSansPro-Black", sans-serif;
    list-style: none;
    display: flex;
}

.cta-buttons a {
    background: #fa8228;
    font-family: "SourceSansPro-Black";
    color: #faf5ff;
    border: 3px solid #fa8228;
    text-decoration: none;
    text-align: center;
    letter-spacing: 1px;
    
    width: 230px;
    margin-right: 35px;
    padding: 32px 0;
    display: block;
    border-radius: 7px;
    position: relative;
    cursor: pointer;
    transition: ease-out 0.5s;
    box-shadow: inset 0 0 0 0 #fa8228;
}

.cta-buttons a#cta-second-button {
    background: #faf5ff;
    color: #fa8228;
    border: 3px solid #fa8228;

    width: 178px;
    padding: 32px 0;
}
  
.cta-buttons a:hover {
    color: #5537af;
    border: 3px solid #5537af;
    box-shadow: inset 0 100px 0 0 #faf5ff;
}

.cta-buttons a#cta-second-button:hover {
    color: #faf5ff;
    box-shadow: inset 0 -100px 0 0 #fa8228;
}
  
.cta-buttons a:active {
    transform: scale(0.9);
}
/**/

.image-holder {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.headline-image {
    width: 37.5%;
    height: 480px;

    background: bottom;
    background-image: linear-gradient(to left, rgba(250, 130, 40, 0.5), rgba(250, 130, 40, 0.5)), url(img/img01.jpg);
    background-size: cover;
    position: absolute;
    z-index: 1;
}

.graphic-shape02 {
    width: 78%;
    height: 480px;
    border: 5px solid #5537af;

    position: relative;
    top: 10.5%;
    right: 6.5%;
    z-index: -1;
}

/*MAIN - WHAT*/
main {
    width: 100%;
    height: auto;
    margin-top: 6.8%;
}

.what {
    width: 100%;
    /*height: 100vh*/;
    padding: 3.5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content : center;
    align-items: center;

    background-image: linear-gradient(to left, rgba(85, 55, 175, 0.5), rgba(85, 55, 175, 0.5)), url(img/img02.jpg);
    background-size: cover;
}

.background-text {
    height: 380px;
    margin: 10%;
    padding: 4.4% 5%;
    border-radius: 15px;
    text-align: center;

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;

    background: rgba(85, 55, 175, 0.7);
}

.background-text h3 {
    font-family: "AbrilFatface";
    color:#faf5ff;
    font-size: 2.25em;

    padding-bottom: 7%;
    opacity: 1;
}

.background-text p {
    color:#faf5ff;
    line-height: 1.45em;
    padding-bottom: 7%;
    opacity: 1;
}

.diff-weight01 {
    font-family: "SourceSansPro-Bold", sans-serif;
    color:#faf5ff;
}

.background-text p#bt-second-p {
    border-bottom: solid 3px #faf5ff;
}

/*MAIN - HOW*/
.how {
    background: #ffffff;
    width: 100%;
    /*height: 100vh*/;
}

.how-explanation {
    background: #faf5ff;
    width: 100%;
    height: 462px;
    display: flex;
    flex-flow: row nowrap;
    /*justify-content: space-between;*/
    padding: 3.5% 3.5% 0 3.5%;
}

.how-explanation-title {
    width: 50%;
    padding-right: 24%;
}

.how-explanation h3 {
    font-family: "AbrilFatface";
    color: #5537af;
    font-size: 2.25em;
    line-height: 1.34em;

    width: 100%;
    border-bottom: solid 3px #5537af;
    padding-bottom: 31px;
}

.how-explanation-texts {
    width: 50%;
}

.how-explanation-texts p {
    width: 100%;
    line-height: 1.45em;
    padding-bottom: 3.75%;
}

.diff-weight02 {
    font-family: "SourceSansPro-Bold", sans-serif;
}

.how-points {
    background: #ffffff;
    height: 244PX;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 0 3.5%;
}

.how-points-columns {
    width: 25%;
    position: relative;
    top: -18px;
}

.how-points h4 {
    font-family: "SourceSansPro-Black", sans-serif;
    font-size: 1.5em;
    padding-bottom: 8.6%;
}

.how-points p {
    padding-left: 14.5%;
}

.how-numbers {
    font-family: "SourceSansPro-Black", sans-serif;
    color: #5537af;
}

/*MAIN - VIDEO*/

.videos-container {
    background: #ffffff;
    width: 100%;
    height: auto;
    padding: 3.5%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.carousel-wrapper {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    /*background: red;*/
}

.carousel-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 50px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/*
.arrow {
    border: solid #fa8228;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 12px;
}

.arrow-prev {
    left: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
}

.arrow-next{
    right: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
*/
[id^= "item"] {
    display: none;
}

.item-1 {
    z-index: 2;
    opacity: 1;
    background-size: cover;
}
/*
.item-2 {
    background-image: linear-gradient(to left, rgba(50, 45, 75, 0.7), rgba(50, 45, 75, 0.7)), url(img/img02.jpg);
    background-size: cover;
}

.item-3 {
    background-image: linear-gradient(to left, rgba(50, 45, 75, 0.7), rgba(50, 45, 75, 0.7)), url(img/img03.jpg);
    background-size: cover;
}

*:target ~ .item-1 {
    opacity: 0;
}

#item-1:target ~ .item-1 {
    opacity: 1;
}

#item-2:target ~ .item-2, #item-3:target ~ .item-3 {
    z-index: 3;
    opacity: 1
}
*/
/*
.placeholder {
    width: 100%;
    height: 670px;
    display: flex;
    justify-content : center;
    align-items: center;

    background-image: linear-gradient(to left, rgba(50, 45, 75, 0.7), rgba(50, 45, 75, 0.7)), url(img/img03.jpg);
    background-size: cover;
}
*/

/*FOOTER*/
footer {
    background: #5537af;
    height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
}

.footer-logo a {
    display: block;
}

.footer-logo a img {
    height: 60px;
    display: block;
}

.footer-menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

.footer-menu li {
    list-style-type: none;
}

.footer-menu li a {
    font-family: "SourceSansPro-Light", sans-serif;
    color: #ffffff;
    font-size: 1.125em;
    text-decoration: none;
    padding: 20px;

    display: inline-block;
    transition: 0.3s;
}

.footer-menu li a:hover {
    color: #cdc3f0;
}

/*RESPONSIVE BURGER MENU*/

@media screen and (min-width: 360px) and (max-width: 767px) {
    /*
    .hamburger,
    .toggle-menu {
        display: block;
    }
    */
    .menu {
        background: #5537af;
        width: 350px;
        height: 100%;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 90px;
        overflow: hidden;

        position: fixed;
        top: 0;
        right: -350px;
    }

    .menu li {
        width: 100%;
        text-align: center;
    }

    .menu li .selected-link {
        color: #faf5ff;
    }

    .menu li a {
        font-size: 1em;
        color: #faf5ff;
        padding: 75px;
    }

    .menu li a:hover {
        color: #fa8228;
    }
}

@media screen and (min-width: 360px) and (max-width: 767px) {

    /*GLOBAL RESPONSIVE*/

    nav {
        height: 120px;
    }

    .container {
        max-width: 100%;
        /*height: auto;*/
        flex-flow: column nowrap;
    }

    .graphic-shape01 {
        width: 6%;
        height: 370px;
        position: absolute;
    }

    .headline-text {
        width: 100%;
    }

    h1 {
        width: 100%;
        font-size: 2.5em;
        padding-left: 8%;
        padding-right: 8%;
    }

    h2 {
        width: 100%;
        font-size: 1.5em;
        padding-left: 8%;
        padding-right: 8%;
    }

    .cta-buttons {
        width: 100%;
        padding-top: 10%;
        padding-left: 6%;
    }

    .cta-buttons li {
        width: 100%;
    }

    .cta-buttons li#cta-second-item {
        display: none;
    }

    .cta-buttons a {
        font-size: 0.9em;
        padding: 16px 32px;
    }

    
    .cta-buttons a#cta-second-button {    
        display: none;
    }

    .image-holder {
        width: 100%;
        padding-top: 25%;
        z-index: 0;
    }

    .headline-image {
        width: 290px;
        height: 240px;
    }

    .graphic-shape02 {
        width: 290px;
        height: 240px;
        top: 40px;
        right: 35px;
        margin-bottom: 25%;
    }

    .what {
        padding: 6%;
    }

    .background-text h3 {
        font-size: 1.4em;
    }

    .background-text p {
        font-size: 0.9em;
        padding-left: 24px;
        padding-right: 24px;
    }

    .how-explanation {
        height: auto;
        padding-top: 15%;
        padding-bottom: 15%;
        flex-flow: column nowrap;
    }

    .how-explanation-title {
        width: 100%;
        padding-right: 0;
    }

    .how-explanation h3 {
        font-size: 1.7em;
        width: 85%;
        margin-left: 8%;
        margin-right: 8%;
    }

    .how-explanation-texts {
        width: 85%;
        height: auto;
        margin-left: 8%;
        margin-right: 8%;
        padding-top: 12.2%;
    }

    .how-points {
        height: auto;
        flex-flow: column nowrap;
        padding-left: 12%;
        padding-right: 8%;
    }

    .how-points-columns {
        width: 85%;
    }

    .how-points p {
        padding-bottom: 15%;
    }

    .videos-container {
        height: auto;
        padding: 6%;
    }

    .carousel-wrapper {
        height: 167px;
    }

    footer {
        height: auto;
        flex-flow: column nowrap;
        padding: 7% 3.5%;
    }

    .footer-logo {
        width: 100%;
        padding-top: 4%;
        display: flex;
        justify-content: center;
    }

    .footer-links {
        width: 100%;
    }

    .footer-menu {
        flex-flow: column nowrap;
    }

    .footer-menu li {
        width: 100%;
        text-align: center;
    }

    .footer-menu li a {
        font-size: 0.9em;
    }
}

@media screen and (min-width: 360px) and (max-width: 767px) {

    .graphic-shape01 {
        height: 290px;
    }

    h1 {
        font-size: 2.75em;
    }

    h2 {
        font-size: 1.15em;
    }

    .image-holder {
        padding-top: 30%;
    }

    .headline-image {
        width: 400px;
        height: 334px;
    }

    .graphic-shape02 {
        width: 400px;
        height: 334px;
        margin-bottom: 30%;
    }

    .background-text p {
        padding-left: 0;
        padding-right: 0;
    }

    .how-explanation-title {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .how-explanation h3 {
        width: 65%;
    }

    .how-points {
        padding-left: 10%;
        padding-right: 10%;
    }

    .carousel-wrapper {
        height: 223px;
    }

    .footer-menu li {
        padding-top: 3%;
        padding-bottom: 3%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1366px) {

    .menu li a {
        font-size: 0.85em;
        padding: 16px;
    }
    
    .graphic-shape01 {
        height: 460px;
    }

    h1 {
        width: 100%;
        font-size: 2.75em;
        padding-bottom: 7.4%;
    }

    h2 {
        width: 100%;
        font-size: 1.25em;
        padding-bottom: 14.8%;
    }

    .cta-buttons a {
        font-size: 0.85em;
    }

    .headline-image {
        width: 323px;
        height: 270px;
    }

    .graphic-shape02 {
        width: 323px;
        height: 270px;
        top: 20px;
        right: 20px;
    }
    
    .background {
        width: 100%;
        height: 377px;
    }

    .background-text {
        height: 320px;
        padding: 4.4% 4%;
    }

    .background-text h3 {
        font-size: 1.8em;
    }

    .how-explanation {
        height: auto;
        padding-bottom: 10%;
    }

    .how-explanation-title {
        padding-right: 8%;
    }

    .how-explanation h3 {
        font-size: 1.8em;
    }

    .how-explanation-texts p {
        padding-bottom: 10%;
    }

    .how-points {
        height: auto;
        flex-flow: row wrap;
    }

    .how-points-columns {
        width: 50%;
    }

    .how-points h4 {
        font-size: 1.25em;
    }

    .how-points p {
        padding-bottom: 15%;
    }

    .videos-container {
        height: auto;
    }

    .carousel-wrapper {
        height: 377px;
    }

    .footer-menu li {
        font-size: 0.85em;
        width: 100%;
    }
}