﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


/*@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700);*/
* {
    box-sizing: border-box;
    transition: 0.5s ease-in-out;
}

html, body {
   color: #000;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

    html h1, body h1 {
        font-size: 18px;
        color: white;
        line-height: 30px;
        margin-bottom: 0;
        margin-top: 1px;
    }

    html h2, body h2 {
        font-size: 12px;
        color: #fff;
        margin-top: 0;
        font-weight: 500;
    }

    html h3, body h3 {
        font-size: 12px;
        color: #fff;
        font-weight: 400;
    }

.wrapper {
    opacity: 1;
    display: table;
    height: 100%;
    width: 100%;
}
    .wrapper .content {
        display: table-cell;
        vertical-align: middle;
    }

#card {
    height: 500px;
    width: 340px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    perspective: 600px;
    top: 26%;
}

    #card #front, #card #back {
        border-radius: 10px;
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    #card #front {
        transform: rotateY(0deg);
        overflow: hidden;
        z-index: 1;
    }

        #card #front #arrow {
            position: absolute;
            height: 50px;
            line-height: 50px;
            font-size: 30px;
            z-index: 10;
            bottom: 0;
            right: 50px;
            color: rgba(255, 255, 255, 0.5);
            animation: arrowWiggle 1s ease-in-out infinite;
        }

        #card #front #top-pic {
            height: 25%;
            width: 100%;
            background-size: cover;
            padding: 10px
        }

        #card #front #avatar {
            width: 114px;
            height: 114px;
            top: 30%;
            left: 50%;
            margin: -77px 0 0 -57px;
            border-radius: 100%;
            background-size: cover;
            position: absolute;
            z-index: 1;
        }

.header-icons {
    text-align: right;
    color: #fff;
}

.modal-heading {
    color: #000;
    text-align: center;
}

.save-contact-button {
    /*background-image: linear-gradient(#e69c51, #e99443);*/
    /*color: #fff;*/
    padding: 10px 30px 10px 30px;
    width: 35px;
    text-decoration: none;
}

.save-contact-button-2 {
    background-image: linear-gradient(#e69c51, #e99443);
    color: #fff;
    padding: 10px 35px;
    width: 100%;
    text-decoration: none;
    font-size: 12px;
}

.gif-image{
    width: 180px;
    padding-bottom: 15px;
    padding-left: 2%;
}

.button-margin {
    margin-top: 15%;
}

.cp-rl-40 {
    padding-right: 45px;
    padding-left: 45px;
    text-decoration: none !important;
}

.customMargin35 {
    margin-bottom: 33px;
}

#card #front #info-box {
    height: 75%;
    width: 100%;
    position: absolute;
    display: table;
    left: 0;
    bottom: 0;
    /*background-image: linear-gradient(#730e38, #5d0122);*/
    padding-top: 20%;
    padding-right: 20px;
    padding-left: 20px;
}

#card #front #social-bar {
    height: 50px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
}

    #card #front #social-bar a {
        display: inline-block;
        color: #fff;
        text-decoration: none;
        padding: 5px;
        line-height: 18px;
        border-radius: 5px;
        font-size: 14px;
    }

.sw-language{
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

#card #back {
    transform: rotateY(180deg);
    background-color: rgba(255, 255, 255, 0.6);
    display: table;
    z-index: 2;
    font-size: 13px;
    line-height: 20px;
    padding: 50px;
}

    #card #back .back-info {
        text-align: justify;
        text-justify: inter-word;
    }

    #card #back #social-bar {
        height: 50px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        line-height: 50px;
        font-size: 18px;
        text-align: center;
    }

        #card #back #social-bar a {
            display: inline-block;
            line-height: 18px;
            color: #951009;
            text-decoration: none;
            padding: 5px;
            border-radius: 5px;
        }

            #card #back #social-bar a:hover {
                color: #450300;
                background: rgba(223, 74, 66, 0.5);
                transition: 0.25s ease-in-out;
            }

#card .info {
    display: table-cell;
    height: 100%;
    text-align: center;
}

#card.flip #front {
    transform: rotateY(180deg);
}

#card.flip #back {
    transform: rotateY(360deg);
}

#background {
    position: fixed;
    background-color: black;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

    #background #background-image {
        height: calc(100% + 60px);
        width: calc(100% + 60px);
        position: absolute;
        top: -30px;
        left: -30px;
        -webkit-filter: blur(10px);
        background-size: cover;
    }

@keyframes arrowWiggle {
    0% {
        right: 50px;
    }

    50% {
        right: 35px;
    }

    100% {
        right: 50px;
    }
}

/*Modal*/

.modal-window-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-window {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.25);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

    .modal-window:target {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .modal-window > div {
        width: 250px;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 2em;
        background: white;
    }

    .modal-window header {
        font-weight: bold;
    }

    .modal-window h1 {
        font-size: 150%;
        margin: 0 0 15px;
    }

.modal-close {
    color: #aaa;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
}

    .modal-close:hover {
        color: black;
    }

.modal-window > div {
    border-radius: 1rem;
}

.modal-window div:not(:last-of-type) {
    margin-bottom: 15px;
}

small {
    color: lightgray;
}

.download-icon {
    padding-bottom: 25px;
    padding-top: 30px;
    padding-left: 35px;
    padding-right: 35px;
    background: -webkit-radial-gradient(33% 100% circle, #515ECF 4%, #9B36B7 30%, #D92E7F 62%, #F15245 85%, #FED373);
    background: radial-gradient(circle at 33% 100%, #730e38 4%, #730e38 28%, #5d0122 62%, #F15245 85%, #FED373);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 725%;
}

@media only screen and (max-width: 600px) {
    #card {
        height: 740px;
        width: 100%;
        margin: 0 auto;
        position: unset;
        z-index: 1;
        perspective: unset;
    }

        #card #front {
            border-radius: 0;
        }

    html h1, body h1 {
        font-size: 26px;
        color: white;
        line-height: 30px;
        margin-bottom: 0;
        margin-top: 5px;
    }

    html h2, body h2 {
        font-size: 14px;
        color: #fff;
        margin-top: 0;
        font-weight: 500;
    }

    html h3, body h3 {
        font-size: 16px;
        color: #fff;
        font-weight: 400;
    }

    #card #front #avatar {
        width: 150px;
        height: 150px;
        top: 26%;
        left: 46%;
        margin: -77px 0 0 -57px;
        border-radius: 100%;
        background-size: cover;
        position: absolute;
        z-index: 1;
    }

    .customMargin35 {
        margin-bottom: 10%;
    }   

    .button-margin {
        margin-top: 20%;
    }

    .modal-window > div {
        width: 350px;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 2em;
        background: white;
    }

    .gif-image {
        width: 280px;
        padding-bottom: 15px;
        padding-left: 2%;
    }

    .save-contact-button-4 {
        background-image: linear-gradient(#e69c51, #e99443);
        padding: 10px 99px;
        color: #fff;
        width: 35px;
        text-decoration: none;
        font-size: 12px;
    }

    .save-contact-button-3 {
        background-image: linear-gradient(#e69c51, #e99443);
        padding: 10px 85px;
        color: #fff;
        width: 100%;
        text-decoration: none;
        font-size: 12px;
    }
    

    .download-icon {
        padding-left:69px;
        padding-right:69px;
        font-size: 35vw;
    }

    .modal-window > div {
        top: 50%;
    }
}

@media only screen and (max-width: 405px) {
    .button-margin {
        margin-top: 10%;
    }
}

.margin-byt {
    margin-top: 35px;
}

.w-100-cus {
    width: 80%;
    display: block;
}

#card #front .info-box-list {
    height: 100% !important;
    background-image: none !important;
}

.local {
    z-index: 10;
    position: relative;
    padding: 15px;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    cursor: pointer;
}

.no-shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0) !important;
}

/*Card List*/

.contact {
    position: absolute;
    top: 30px;
    left: 25px;
    z-index: 6;
    color: rgba(0, 0, 0, .5);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .4);
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 1px 0px rgba(255, 255, 255, .1);
}

.contact-form {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: white;
    z-index: 5;
    padding: 80px 50px;
    transform: translate3d(-100%, 0, 0);
    transition: 0.3s ease;
    border-radius: 5px;
}

    .contact-form.active {
        transform: translate3d(0, 0, 0);
    }

    .contact-form .close {
        color: rgba(0, 0, 0, .7);
        position: absolute;
        right: 30px;
        top: 30px;
    }

.cards {
    margin: auto;
    background: #fefefe;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1), 3px 5px 20px rgba(0, 0, 0, .2);
    width: 768px;
    height: 550px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

    .cards .card {
        display: inline-block;
        margin-right: 20px;
    }

    .cards .card-toggle {
        z-index: 4;
        position: relative;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: block;
        text-align: center;
        line-height: 1.8;
        font-size: 24px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: 0.3s ease;
    }

        .cards .card-toggle.active {
            color: white;
            border-color: white;
        }

    .cards .card-content {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transition: -webkit-clip-path 1s ease;
        padding: 100px 0 0;
        overflow: hidden;
    }

        .cards .card-content .row {
            display: table;
            width: 100%;
            height: 100%;
        }

        .cards .card-content .col {
            width: 50%;
            height: 100%;
            display: table-cell;
            transition: 0.3s ease 0.3s;
            transform: translate3d(0, 0, 0);
            vertical-align: top;
        }

            .cards .card-content .col h2 {
                font-weight: 300;
                font-size: 3em;
                line-height: 1;
                margin: 0;
            }

                .cards .card-content .col h2 strong {
                    font-weight: 700;
                    display: block;
                }

            .cards .card-content .col img {
                max-width: 90%;
                width: 100%;
            }

            .cards .card-content .col.left {
                transform: translate3d(0, 0, 0);
                opacity: 0;
                padding-left: 25px;
                padding-right: 25px;
            }

            .cards .card-content .col.right {
                transform: translate3d(100px, 0, 0);
                opacity: 0;
                padding-left: 30px;
            }

    .cards .card.active .col {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .cards #overview .card-toggle {
        position: absolute;
        top: 30px;
        right: 30px;
        opacity: 1;
        color: white;
    }

    .cards #overview .card-content {
        background-color: unset;
        background-size: cover;
        -webkit-clip-path: circle(0% at 91.5% 75px);
    }

    .cards #overview.active .card-toggle {
        opacity: 0;
    }

    .cards #overview.active .card-content {
        -webkit-clip-path: circle(270% at 91.5% 75px);
    }

    .cards #overview .right {
        background: url(https://dl.dropboxusercontent.com/u/26808427/cdn/james.png) no-repeat bottom right;
        background-size: contain;
    }

    .cards #dribbble .card-content, .cards #behance .card-content, .cards #linkedin .card-content, .cards #twitter .card-content {
        color: white;
    }

        .cards #dribbble .card-content p, .cards #behance .card-content p, .cards #linkedin .card-content p, .cards #twitter .card-content p {
            color: rgba(255, 255, 255, .8);
        }

    .cards #dribbble .card-content {
        background-color: #f46899;
        -webkit-clip-path: circle(0% at 76px 88%);
        clip-path: circle(0% at 50px 88%);
    }

    .cards #dribbble.active .card-content {
        -webkit-clip-path: circle(270% at 76px 88%);
        clip-path: circle(270% at 50px 88%);
    }

    .cards #behance .card-content {
        background-color: #2f98d1;
        -webkit-clip-path: circle(0% at 150px 88%);
        clip-path: circle(0% at 150px 88%);
    }

    .cards #behance.active .card-content {
        -webkit-clip-path: circle(270% at 150px 88%);
        clip-path: circle(270% at 150px 88%);
    }

    .cards #linkedin .card-content {
        background-color: #03679b;
        -webkit-clip-path: circle(0% at 220px 88%);
        clip-path: circle(0% at 220px 88%);
    }

    .cards #linkedin.active .card-content {
        -webkit-clip-path: circle(270% at 220px 88%);
        clip-path: circle(270% at 220px 88%);
    }

    .cards #twitter .card-content {
        background-color: #7fd0ed;
        -webkit-clip-path: circle(0% at 292px 88%);
        clip-path: circle(0% at 292px 88%);
    }

    .cards #twitter.active .card-content {
        -webkit-clip-path: circle(270% at 292px 88%);
        clip-path: circle(270% at 292px 88%);
    }

form .control {
    position: relative;
    margin-bottom: 10px;
    padding-top: 20px;
}

    form .control label {
        position: absolute;
        top: 30px;
        left: 0;
        transition: 0.3s ease;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 2px;
        font-size: 14px;
    }

    form .control.submit {
        text-align: right;
    }

form input, form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e3e3e3;
    outline: none;
    padding: 10px 0;
}

    form .filled label, form input:focus + label, form textarea:focus + label {
        top: 0;
        font-size: 12px;
    }

form textarea {
    height: 100px;
}

form input[type="submit"] {
    width: auto;
    background-color: #f06292;
    padding: 10px 40px;
    color: white;
    border-radius: 40px;
}

.AdditionalListShortDescription {
    margin-top: 5px;
    text-align: start;
}

.contact-right {
    left: unset !important;
    right: 25px;
}

.color-grey {
    color: #75787b !important;
}

.element-additional-cards {
    margin-top: 5px;
}

.local-sel {
    top: 20px !important;
}

.local-sel-r {
    left: unset !important;
    right: 10px !important;
}

.local-sel-l {
    right: unset !important;
    left: 10px !important;
}

/*MOdal*/
