* {
    box-sizing: border-box;
}

body {
    font-family: futura-pt, sans-serif;
    background: #eef2f3;
    /* Old browsers */
    background: -moz-linear-gradient(-45deg, #eef2f3 0%, #8e9eab 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #eef2f3 0%, #8e9eab 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #eef2f3 0%, #8e9eab 100%);
    background-size: cover;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    display: none;
}

#video-background {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.5);
}

.overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 10;
}

.intro-text {
    text-align: center;
    color: #ffffff;
    user-select: none;
    z-index: 2;
    -webkit-animation: fadein 3s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 3s;
    /* Firefox < 16 */
    -ms-animation: fadein 3s;
    /* Internet Explorer */
    -o-animation: fadein 3s;
    /* Opera < 12.1 */
    animation: fadein 3s;
}

.intro-text img {
    height: 300px;
}

.btn {
    padding: 10px 20px;
    background: #ff7914;
}

.explore-btn {
    position: fixed;
    margin-bottom: 100px;
    margin-left: -47px;
    left: 50%;
    bottom: 0;
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 2px;
    color: #FFFFFF;
    padding: 10px 20px;
    background: #ff7914;
    border-radius: 20px;
    transition-duration: .3s;
    -webkit-animation: fade-in-bottom 2.45s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fade-in-bottom 2.45s;
    /* Firefox < 16 */
    -ms-animation: fade-in-bottom 2.45s;
    /* Internet Explorer */
    -o-animation: fade-in-bottom 2.45s;
    /* Opera < 12.1 */
    animation: fade-in-bottom 2.45s;
    z-index: 999;
}

.explore-btn:hover {
    cursor: pointer;
    -webkit-box-shadow: 0px 3px 28px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 3px 28px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 3px 28px 0px rgba(0, 0, 0, 0.75);
}


/*     LANGUAGE    */

.language-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.70);
}

.language-container .language-box {
    width: 500px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .8);
    font-weight: 500;
    user-select: none;
    -webkit-box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
}


/*     SECTION 1    */

.textbox-container {
    margin-top: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.textbox-container .textbox {
    margin-top: 100px;
    width: 600px;
    background: rgba(255, 255, 255, .9);
    font-weight: 500;
    user-select: none;
    -webkit-box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
}

.textbox-container .text {
    padding: 30px 50px;
}

.textbox-container .text h1 {
    font-weight: 100;
    font-size: 20px;
}

.textbox-container .text h1 span,
h2 {
    font-weight: 500;
}

.textbox-container .text p a {
    color: #ff7914;
}

.textbox-container .text p i {
    color: #ff7914;
}

.textbox {
    background: rgba(255, 255, 255, .9);
    font-weight: 500;
    user-select: none;
    -webkit-box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 50px 0px rgba(0, 0, 0, 0.2);
}


/*     SECTION 1    */

.section1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section1 button {
    margin: 35px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.section1 button.learn-more {
    width: 12rem;
    height: auto;
}

.section1 button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #ff7914;
    border-radius: 1.625rem;
}

.section1 button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.section1 button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.section1 button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.section1 button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    font-weight: 500;
    line-height: 1.3;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.section1 button:hover .circle {
    width: 100%;
}

.section1 button:hover .circle .icon.arrow {
    background: #fff;
    -webkit-transform: translate(1rem, 0);
    transform: translate(1rem, 0);
}

.section1 button:hover .button-text {
    color: #fff;
}


/*     SECTION 2    */

.section2 {
    margin-top: 100px;
    width: 100%;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section2 .intro-textbox {
    width: 42%;
}

.section2 h2 {
    padding: 30px;
    ;
}

.section2 .code-img {
    width: 350px;
    margin: 70px 70px 70px 20px;
}

.header-about {
    background-image: url(../img/about2.jpg);
    background-position: bottom;
}

.parallax {
    background-attachment: fixed;
    height: 50vh;
    background-repeat: no-repeat;
    background-size: cover;
}


/*    MEDIA QUERY    */

@media (max-width:1280px) {}

@media (max-width:768px) {
    .top-header {
        background-image: url(../img/mainheadermobile.jpeg);
        background-position: center;
        height: 100vh;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .index-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background-image: url(../img/mainheadermobile.jpeg);
        background-position: center;
        height: 100vh;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #video-background {
        display: none;
    }
    .language-container {
        position: fixed;
        background: none;
    }
    .language-container .language-box {
        width: 300px;
        border-radius: 40px;
    }
    .textbox-container2 {
        position: absolute;
        margin-top: 100vh;
    }
    .textbox-container {
        margin-top: 0;
    }
    .textbox-container .textbox {
        width: 80%;
    }
    .textbox-container .textbox .text {
        padding: 20px 40px 0 40px;
    }
    .textbox .text h1 span,
    h2 {
        font-weight: 500;
        white-space: normal;
    }
    .textbox .text p {
        font-weight: 500;
        font-size: 16px;
        user-select: none;
    }
    .section1 {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }
    .section1 button {
        width: 200px;
        margin: 30px;
        font-size: 18px;
        letter-spacing: 2px;
    }
    .section2 {
        display: block;
        text-align: center;
        padding: 30px;
    }
    .section2 .intro-textbox {
        width: 100%;
    }
    .section2 .code-img {
        width: 150px;
        margin: 0;
        margin-top: 20px;
    }
    .scroll-btn {
        margin-bottom: 20%;
        width: 20px;
    }
    .parallax {
        background-attachment: scroll;
    }
}


/*    KEYFRAMES    */

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Firefox < 16 */

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Internet Explorer */

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Opera < 12.1 */

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* fade-in-bottom */

@keyframes fade-in-bottom {
    0% {
        opacity: 0;
        transform: translateY(600px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fade-in-down {
    0% {
        opacity: 0;
        transform: translateY(-500px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}


/* SLIDEINUP */

@-webkit-keyframes slideInUp {
    from {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInUp {
    from {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
