@import url('https://fonts.googleapis.com/css?family=Pacifico');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Source Sans Pro";
    max-width: 100vw;
    overflow-x: hidden;


    background-image: linear-gradient(to right,
    #303030,
    #303030 50%,
    #FFF 50%,
    #FFF);
    background-position: 100% 0;
    background-size: 200% 100%;
    transition: all .2s ease-in;
    transition: all .2s ease-in;
}
.text{
    transition: all .2s ease-in;
}
.night{
    background-position: 0 0;
}

.night-text{
    color: white;
}

h1 {
    color: #272727;
    font-size: 96px;
    font-weight: 700;
}

h2 {
    color: #151515;
    font-size: 64px;
    font-weight: 700;
}

h6 {
    color: #D6D6D6;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

p.description {
    color: #888888;
    font-size: 24px;
    font-weight: normal;
}

h1::selection {
    color: white;
    background: #272727;
}

h1::-moz-selection {
    color: white;
    background: #272727;
}

a{
    color: #272727;
}

.section {
    width: 100vw;
    /*height: 100vh;*/
    min-height: 800px;
    position: relative;
}

.sectionWrapper {
    width: 85%;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.background {
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

nav {
    width: 100vw;
    height: 100px;
    position: absolute;
    top: 0;
    animation: 2s fadeInNav ease;
}

@keyframes fadeInNav {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
        top: -25px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

.navWrapper {
    width: 85%;
    margin: auto;
    padding-top: 24px;
}

#logo {
    font-size: 30px;
    font-family: "Pacifico";
    font-weight: normal;
    text-decoration: none;
    transition: all .2s ease-in;
}

.right {
    float: right;
    margin-top:19px;
}


.header {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headerWrapper {
    text-align: center;
    position: relative;
    padding: 56px 71px 128px 108px;
}

.headerWrapper h6 {
    animation: 1s fadeIn ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.headerWrapper h1 {
    animation: 1.5s fadeInTitle ease;
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.circle.blue {
    background: linear-gradient(#4F3DD5, #3DB2D5);
    position: absolute;
    top: 21px;
    left: 0px;
    animation: circleBlueMove 2s ease;
    box-shadow: 3px 3px 15px rgba(61, 178, 213, 0.4);
}

@keyframes circleBlueMove {
    0% {
        opacity: 0;
        transform: translate(200px, 75px) rotate(90deg);
    }
    100% {
        opacity: 1;
    }
}

.circle.orange {
    background: linear-gradient(#D53D3D, #D5B83D);
    position: absolute;
    bottom: 0px;
    right: 0px;
    animation: circleOrangeMove 2s ease;
    box-shadow: 3px 3px 15px rgba(213, 184, 61, 0.4);
}

@keyframes circleOrangeMove {
    0% {
        opacity: 0;
        transform: translate(-200px, -75px) rotate(90deg);
    }
    35% {
        opacity: 0;
        transform: translate(-200px, -75px) rotate(90deg);
    }
    100% {
        opacity: 1;
    }
}

.square {
    width: 100px;
    height: 100px;
}

.square.red {
    background: linear-gradient(135deg, #D53D3D, #D53DC9);
    position: absolute;
    top: 15px;
    right: 0px;
    animation: squareRedMove 2s ease;
    box-shadow: 3px 3px 15px rgba(213, 61, 201, 0.4);
    transform: rotate(45deg);
}

@keyframes squareRedMove {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
        transform: translate(-200px, 75px) rotate(90deg);
    }
    100% {
        opacity: 1;
    }
}

.triangle svg {
    width: 175px;
    height: 175px;
    position: absolute;
    bottom: -17px;
    left: -20px;
    animation: triangleGreendMove 2s ease;
}

@keyframes triangleGreendMove {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
        transform: translate(200px, -75px) rotate(90deg);
    }
    100% {
        opacity: 1;
    }
}

/* Services */

.services h6 {
    margin-bottom: 5px;
}

.services h2 {
    margin-bottom: 15px;
}

.services .description {
    margin-bottom: 60px;
    width: 685px;
    line-height: 40px;
}

.services .grid {
    display: grid;
    grid-template-columns: 500px 500px;
    grid-column-gap: 130px;
    grid-template-rows: 150px 150px;
    grid-row-gap: 30px;
}

.services .grid .card {
    width: 420px;
    padding: 43px 40px;
    background: linear-gradient(to bottom right, #313131, #0F0F0F);
    border-radius: 5px;
    display: block;
}


.services .grid .card h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.services .grid .card p {
    color: #C3C3C3;
    font-size: 22px;
    font-weight: normal;
}


.square.blue {
    position: absolute;
    box-shadow: 3px 3px 15px rgba(61, 178, 213, 0.4);
    background: linear-gradient(#4F3DD5, #3DB2D5);
    top: 100px;
    right: 75px;
    width: 125px;
    height: 125px;
    opacity: 0.01;
    transition: all 0.05s ease;
    transform: translateX(125px);
}

.square.blue.in-view {
    transform: rotate(22.5deg) translateX(0px);
    opacity: 1;
    transition: all 1s ease;
}

.square.orange {
    position: absolute;
    box-shadow: 3px 3px 15px rgba(213, 184, 61, 0.4);
    background: linear-gradient(#D53D3D, #D5B83D);
    /*top: 100px;*/
    left: 19%;
    width: 90px;
    height: 90px;
    opacity: 0.01;
    transition: all 0.05s ease;
    transform: translateX(-125px);
}

.square.orange.in-view {
    transform: rotate(45deg) translateX(0px);
    opacity: 1;
    transition: all 1s ease;
}

.contact{
    position: relative;
    text-align: center;
    height:400px;
}

.contact a{
    font-size: 76px;
    font-weight: 700;
    text-decoration:none;
}

.credits{
    position: absolute;
    width: 100%;
    bottom:0;
    padding-bottom:5px;
}
#year{
    font-weight: 600;
}
#endlogo{
    font-family: "Pacifico";
}
/* Responsive */

@media (max-width: 1280px) {

    .services .grid {
        display: grid;
        grid-template-columns: 500px 500px;
        grid-column-gap: 50px;
        grid-template-rows: 150px 150px;
        grid-row-gap: 30px;
    }

    .square.orange{
        left: 17%;
    }
}

@media (max-width: 1200px) {

    .services .sectionWrapper {
        padding-top: 185px;
        padding-bottom: 185px;
    }

    .services .grid {
        display: grid;
        grid-template-columns: 480px;
        grid-template-rows: 150px 150px;
        grid-row-gap: 30px;
    }

    .services .grid .card {
        width: 420px;
        padding: 43px 40px;
        background: linear-gradient(to bottom right, #313131, #0F0F0F);
        border-radius: 5px;
    }

    .square.orange{
        left: 15%;
    }
}
@media (max-width: 1100px){
    .square.orange {
        left: 8%;
    }
}
@media (max-width: 900px){
    .square.orange{
        width:60px;
        height:60px;
    }
    .contact a{
        font-size:70px;
    }
}
@media (max-width: 850px) {

    .services .sectionWrapper {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    h6 {
        font-size: 22px;
    }

    h2 {
        font-size: 48px;
    }

    .services .description {
        font-size: 22px;
        width: initial;
    }

    .services .square.blue {
        width: 75px;
        height: 75px;
    }

    .services .grid {
        display: grid;
        grid-template-columns: 85%;
        grid-template-rows: initial;
        grid-row-gap: 25px;
    }

    .services .grid .card {
        width: 100%;
        padding: 31.5px 30px;
        background: linear-gradient(to bottom right, #313131, #0F0F0F);
        border-radius: 5px;
    }

    .services .grid .card h3 {
        color: white;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .services .grid .card p {
        color: #C3C3C3;
        font-size: 20px;
        font-weight: normal;
    }
    .contact{
        height: 300px;
    }
    .contact a{
        font-size:55px;
    }
}

@media (max-width: 850px) and (min-width: 440px){

    .headerWrapper {
        position: static;
        padding: 0;
    }

    .overlay a {
        color: white;
        font-size: 36px;
        font-weight: bold;
        text-decoration: none;
        display: block;
        margin-left: 40px;
        margin-bottom: 10px;
        opacity: 0;
        transition: transform 0.2s ease;
        overflow: hidden;
    }

    .overlay p {
        margin-left: 40px;
    }

    #services {
        width: 134px;
    }

    #work {
        width: 150px;
    }

    #contact {
        width: 125px;
    }

    h6 {
        font-size: 22px;
    }

    .headerWrapper h1 {
        font-size: 56px;
        font-weight: 700;
        animation: 1.5s fadeInTitle ease;
    }

    .circle {
        border-radius: 50%;
        width: 75px;
        height: 75px;
    }

    .circle.blue {
        background: linear-gradient(#4F3DD5, #3DB2D5);
        position: absolute;
        top: 129px;
        left: 50px;
        animation: circleBlueMove 2s ease;
        box-shadow: 3px 3px 15px rgba(61, 178, 213, 0.4);
    }

    @keyframes circleBlueMove {
        0% {
            opacity: 0;
            transform: translate(200px, 75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .circle.orange {
        background: linear-gradient(#D53D3D, #D5B83D);
        position: absolute;
        top: 520px;
        right: 50px;
        animation: circleOrangeMove 2s ease;
        box-shadow: 3px 3px 15px rgba(213, 184, 61, 0.4);
    }

    @keyframes circleOrangeMove {
        0% {
            opacity: 0;
            transform: translate(-200px, -75px) rotate(90deg);
        }
        35% {
            opacity: 0;
            transform: translate(-200px, -75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .square {
        width: 75px;
        height: 75px;
    }

    .square.red {
        background: linear-gradient(135deg, #D53D3D, #D53DC9);
        position: absolute;
        top: 130px;
        right: 50px;
        animation: squareRedMove 2s ease;
        box-shadow: 3px 3px 15px rgba(213, 61, 201, 0.4);
        transform: rotate(45deg);
    }

    @keyframes squareRedMove {
        0% {
            opacity: 0;
        }
        20% {
            opacity: 0;
            transform: translate(-200px, 75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .triangle svg {
        width: 125px;
        height: 125px;
        position: absolute;
        top: 480px;
        left: 25px;
        animation: triangleGreendMove 2s ease;
    }

    @keyframes triangleGreendMove {
        0% {
            opacity: 0;
        }
        50% {
            opacity: 0;
            transform: translate(200px, -75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }
}

@media (max-width:660px){
    .contact a{
        font-size:40px;
    }
}

@media (max-width:550px){
    .square.orange{
        width: 40px;
        height:40px;
        left:6%;
    }
}

@media (max-width: 440px) {

    .background {
        max-height: 700px;
    }

    .headerWrapper {
        position: static;
        padding: 0;
    }

    .overlay a {
        color: white;
        font-size: 36px;
        font-weight: bold;
        text-decoration: none;
        display: block;
        margin-left: 40px;
        margin-bottom: 10px;
        opacity: 0;
        transition: transform 0.2s ease;
        overflow: hidden;
    }

    .overlay p {
        margin-left: 40px;
        position: static;
        margin-top: 40px;
    }

    #services {
        width: 134px;
    }

    #work {
        width: 150px;
    }

    #contact {
        width: 125px;
    }

    .headerWrapper h6 {
        color: #D6D6D6;
        font-size: 22px;
        font-weight: 600;
        text-transform: uppercase;
        animation: 1s fadeIn ease;
    }

    .headerWrapper h1 {
        font-size: 48px;
        font-weight: 700;
        animation: 1.5s fadeInTitle ease;
    }

    .circle {
        border-radius: 50%;
        width: 75px;
        height: 75px;
    }

    .circle.blue {
        background: linear-gradient(#4F3DD5, #3DB2D5);
        position: absolute;
        top: 169px;
        left: 25px;
        animation: circleBlueMove 2s ease;
        box-shadow: 3px 3px 15px rgba(61, 178, 213, 0.4);
    }

    @keyframes circleBlueMove {
        0% {
            opacity: 0;
            transform: translate(100px, 75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .circle.orange {
        background: linear-gradient(#D53D3D, #D5B83D);
        position: absolute;
        top: 480px;
        right: 25px;
        animation: circleOrangeMove 2s ease;
        box-shadow: 3px 3px 15px rgba(213, 184, 61, 0.4);
    }

    @keyframes circleOrangeMove {
        0% {
            opacity: 0;
        }
        35% {
            opacity: 0;
            transform: translate(-100px, -75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .square {
        width: 75px;
        height: 75px;
    }

    .square.red {
        background: linear-gradient(135deg, #D53D3D, #D53DC9);
        position: absolute;
        top: 170px;
        right: 25px;
        animation: squareRedMove 2s ease;
        box-shadow: 3px 3px 15px rgba(213, 61, 201, 0.4);
        transform: rotate(45deg);
    }

    @keyframes squareRedMove {
        0% {
            opacity: 0;
        }
        20% {
            opacity: 0;
            transform: translate(-100px, 75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .triangle svg {
        width: 125px;
        height: 125px;
        position: absolute;
        top: 450px;
        left: 5px;
        animation: triangleGreendMove 2s ease;
    }

    @keyframes triangleGreendMove {
        0% {
            opacity: 0;
        }
        50% {
            opacity: 0;
            transform: translate(100px, -75px) rotate(90deg);
        }
        100% {
            opacity: 1;
        }
    }

    .square.blue {
        top: 30px;
        right: 10px;
        transform: translateX(60px);
    }

    .square.blue.in-view {
        transform: rotate(22.5deg) translateX(0px);
    }

}


/*Night time switch*/

.switch {
    position: relative;
    display: block;
    height: 20px;
    width: 44px;
    background: #6f6f6f;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.switch:after {
    position: absolute;
    left: -2px;
    top: -3px;
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 100px;
    background: #b5b5b5;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.05);
    content: '';
    transition: all 0.3s ease;
}
.switch:active:after { transform: scale(1.15, 0.85); }
.cbx:checked ~ label { background: #EBEBEB; }
.cbx:checked ~ label:after {
    left: 20px;
    background: #FFFFFF;
}
.cbx:disabled ~ label {
    background: #d5d5d5;
    pointer-events: none;
}
.cbx:disabled ~ label:after { background: #bcbdbc; }
.hidden { display: none; }