* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    margin: 0;
    padding: 0;
    background: #f2f2f2;
}

header:first-of-type {
    background: url(../img/header.jpeg);
    background-size: cover;
    height: 100vh;
}

header .top .container {
    height: 100%
}

header .top {
    background: rgba(0, 119, 255, 0.85);
    height: 100%;
    width: 100%;
    padding: 0
}

header .top h1 {
    font: 900 60px "Poiret One";
    margin: 0;
    position: relative;
    top: 33%;
    color: #fff;
}

header .top h2 {
    font: 500 32px "Poiret One";
    margin: 0;
    position: relative;
    top: 33%;
    color: #fff;
}

header .top a:first-of-type {
    text-decoration: none;
    color: #fff;
    background: transparent;
    padding: 10px 30px;
    border-radius: 35px;
    border: 1px solid #fff;
    font: 500 14px "Raleway";
    position: relative;
    top: 33%;
    display: block;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-top: 30px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

header .top a:last-of-type {
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    height: 39px;
    width: 24px;
    display: block;
    position: relative;
    top: 54%;
    border-radius: 35px;
}

header .top a:last-of-type:before {
    position: absolute;
    content: "";
    width: 4.5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    top: 8px;
    left: 8px;
    -webkit-animation: scroll 1.5s infinite;
    animation: scroll 1.5s infinite
}

@-webkit-keyframes scroll {
    0% {
        opacity: 0;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0)
    }

    40% {
        opacity: 1
    }

    80% {
        -webkit-transform: translate(0, 12px);
        transform: translate(0, 12px);
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0)
    }

    40% {
        opacity: 1
    }

    80% {
        -webkit-transform: translate(0, 12px);
        transform: translate(0, 12px);
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

header .top a:first-of-type:hover {
    background: #fff;
    color: #07f;
}

.info {
    margin: 80px 0;
}

.me img {
    height: 400px;
    -webkit-box-shadow: 5px 5px 8px #555;
    box-shadow: 5px 5px 8px #555;
    border: 1px solid #dadada;
    padding: 1px;
    background: #fff;
    width: 100%;
    position: relative
}

.me {
    display: inline-block;
    width: 35%;
    vertical-align: top
}

.div {
    display: inline-block;
    width: 65%;
    margin-left: -4px
}

.div h1 {
    font: 600 32px "Raleway";
    margin: 0;
}

.div h2 {
    font: 400 15px "Raleway";
    margin: 5px 0;
}

.name {
    background: #fff;
    margin-top: 195px;
    width: 100%;
    padding: 20px 25px;
    border: 1px solid #ddd;
    border-left: none
}

.social {
    padding: 0 25px;
}

.social h3 {
    font: 400 24px "Raleway";
    color: #aaa;
    display: inline-block;
    margin-right: 15px;
}

.social a {
    border-radius: 50%;
    margin: 2px;
}

.social a .fa {
    color: #fff;
    font-size: 17px;
}

.social a .fa-facebook {
    width: 10px;
}

.social a .fa-twitter {
    width: 15px
}

.social a .fa-instagram {
    width: 15px
}

.social a .fa-behance {
    width: 18px;
    font-size: 16px
}

.social a:first-of-type {
    background: #3b5998;
    padding: 7px 11px;
}

.social a:nth-of-type(2) {
    background: #1da1f2;
    padding: 7px 8px;
}

.social a:nth-of-type(3) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 7px 8px;
}

.social a:nth-of-type(4) {
    background: #1769ff;
    padding: 7px;
}

.personal {
    margin-right: 6%
}

.biography {
    margin-left: 6%
}

.personal,
.biography {
    display: inline-block;
    width: 44%;
    vertical-align: top;
}

.personal h1,
.biography h1 {
    font: 600 30px "Raleway";
    margin: 55px 0 30px
}

.personal h3 {
    display: inline-block;
    font: 600 16px "Raleway";
    width: 42%
}

.personal span {
    font: 400 16px "Open Sans";
    width: 50%
}

.biography p {
    margin-top: 2.7em;
    font: 600 14px "Raleway";
    line-height: 1.8
}

.biography a {
    text-decoration: none;
    color: #07f;
    font: 600 16px "Raleway"
}

.biography .fa {
    margin-top: 50px;
    padding-left: 5px
}

.border {
    border-bottom: 1px solid #ddd;
    height: 1px;
    width: 100%
}

.ed {
    padding-bottom: 90px
}

.ed h1 {
    font: 600 32px "Raleway";
    text-align: center;
    margin-top: 90px;
    margin-bottom: 50px
}

.udacity {
    height: 240px;
}

.udacity div {
    display: inline-block;
    vertical-align: middle;
    background: #fff;
}

.udacity div h2 {
    font: 600 22px "Open Sans";
    margin: 0
}

.udacity div h3 {
    font: 500 15px "Raleway";
    margin: 6px 0
}

.udacity div p {
    font: 400 12px "Raleway"
}

.udacity div:first-of-type {
    width: 9%;
    color: #fff;
    background: #07f;
    height: 240px;
    text-align: center;
    margin-right: -4px;
    position: relative
}

.udacity div:first-of-type:before {
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-left: 15px solid #07f;
    border-right: 10px solid rgba(0, 0, 0, 0);
    position: absolute;
    content: "";
    top: 27%;
    left: 100%;
}

.udacity div:first-of-type h2 {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    width: 150%;
    margin-left: -20px;
    font-size: 18px;
    font-weight: 400;
    margin-top: 110px;
    padding: 0
}

.udacity div:nth-of-type(2) {
    width: 82%;
    padding: 45px 30px 60px;
    border: 1px solid #ddd;
    height: 100%;
}

.udacity div:last-of-type {
    width: 9%;
    background: #ddd;
    height: 240px;
    margin-left: -4px;
}

.udacity:nth-of-type(2) div:first-of-type {
    width: 9%;
    background: #ddd;
    height: 240px;
    margin-right: -4px;
}

.udacity:nth-of-type(2) div:first-of-type:before {
    border: none
}

.udacity:nth-of-type(2) div:last-of-type {
    width: 9%;
    color: #fff;
    background: #07f;
    height: 240px;
    text-align: center;
    margin-left: -4px;
    position: relative
}

.udacity:nth-of-type(2) div:last-of-type:before {
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-right: 15px solid #07f;
    border-left: 10px solid rgba(0, 0, 0, 0);
    position: absolute;
    content: "";
    top: 27%;
    right: 100%;
}

.udacity div:last-of-type h2 {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    width: 150%;
    padding: 0;
    margin-left: -20px;
    font-size: 18px;
    font-weight: 400;
    margin-top: 110px
}

.udacity:nth-of-type(2) div {
    text-align: right;
    margin-top: -1px;
}

.udacity:last-of-type div {
    margin-top: -1.5px;
}

.skill {
    margin-bottom: 90px
}

.skill h1 {
    font: 600 32px "Raleway";
    text-align: center;
    margin-top: 90px;
    margin-bottom: 50px
}

.skills {
    width: 80%;
    margin-right: 3%;
    display: inline-block;
    background: #07f;
    color: #fff;
    height: 360px;
}

.skills div {
    display: inline-block;
    width: 49.6%;
    vertical-align: top
}

.skills div h2 {
    font: 600 20px "Raleway";
    padding: 20px 45px 5px;
}

.skills div h3 {
    font: 400 15px "Open Sans";
    padding: 0 45px;
    margin: 0;
}

.skills progress {
    margin-left: 45px;
    width: 60%;
    height: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative
}

.skills progress:after {
    content: "";
    position: absolute;
    background: #fff;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    top: -5px;
    left: 0%;
    -webkit-box-shadow: inset 0 0 0 2px #07f;
    box-shadow: inset 0 0 0 2px #07f;
    border: 1px solid #fff;
}

.skills div:first-of-type progress:first-of-type:after {
    left: 96%
}

.skills div:first-of-type progress:nth-of-type(2):after {
    left: 90%
}

.skills div:first-of-type progress:nth-of-type(3):after {
    left: 84%
}

.skills div:first-of-type progress:nth-of-type(4):after {
    left: 89%
}

.skills progress:nth-of-type(5):after {
    left: 86%
}

.skills div:last-of-type h2 {
    opacity: 0
}


.skills div:last-of-type progress:nth-of-type(1):after {
    left: 82%
}

.skills div:last-of-type progress:nth-of-type(2):after {
    left: 25%
}

.skills div:last-of-type progress:nth-of-type(3):after,.skills div:last-of-type progress:nth-of-type(4):after  {
    left: 92%
}

.skills progress[value]::-webkit-progress-bar {
    background-color: #282f3d;
    border-radius: 35px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress::-webkit-progress-value {
    border-radius: 50px;
    background: #fff;
    background-size: 100%;
}

.skills span {
    font: 600 16px "Open Sans";
    display: inline-block;
    margin-left: 16px;
    margin-top: -1px;
    vertical-align: -webkit-baseline-middle;
}

.lang {
    width: 17%;
    display: inline-block;
    margin-left: -4px;
    vertical-align: top;
    height: 360px;
}

.lang div {
    background: #ddd;
    padding: 35px 20px;
    height: 48%;
}

.lang div:first-of-type {
    margin-bottom: 10%
}

.lang h2 {
    font: 600 20px "Quicksand";
    text-align: center
}

.lang .fa {
    font-size: 19px;
    color: #07f
}

.lang aside {
    text-align: center
}

.portfolio {
    margin-bottom: 90px
}

.portfolio h1 {
    font: 600 32px "Raleway";
    text-align: center;
    margin-top: 90px;
    margin-bottom: 30px
}

.portfolio ul {
    text-align: center
}

.portfolio ul li {
    display: inline-block;
    font: 600 14px "Open Sans";
    padding: 5px 5px 10px;
    margin: 6px;
    cursor: pointer;
}

.selected {
    border-bottom: 2px solid #07f;
    color: #07f
}

.portfolio .all {
    height: 290px;
    background: url(../img/dracode.png);
    background-size: cover;
    margin-top: 30px;
    width: 47%;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: 2%;
}

.portfolio .all:hover div {
    opacity: 1
}

.portfolio .all:nth-of-type(2) {
    background: url(../img/kreative.png);
    background-size: cover;
    height: 370px;
}

.portfolio .all:nth-of-type(3) {
    background: url(../img/resp.png);
    background-size: cover;
    height: 370px;
    vertical-align: middle;
    margin-top: -60px;
}

.portfolio .all:last-of-type {
    background: url(../img/obookmarks.png);
    background-size: cover;
    margin-top: 20px;
    vertical-align: middle
}

.portfolio .all div {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 255, 0.8);
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.portfolio .all div h2 {
    font: 600 165% "Quicksand";
    color: #fff;
    margin-top: 35%;
    margin-left: 8%;
    margin-bottom: 12px;
}

.portfolio .all div p {
    font: 600 12px "Quicksand";
    color: #fff;
    margin-left: 8%;
}

.portfolio .all div a {
    color: #07f;
    background: #fff;
    display: inline-block;
    border-radius: 50%
}

.portfolio .all div a:first-of-type {
    margin-left: 8%;
}

.portfolio .all div a .fa {
    width: 32px;
    height: 32px;
    font-size: 14px;
    padding: 9px;
}

.contact {
    margin-bottom: 90px
}

.contact h1 {
    font: 600 32px "Raleway";
    text-align: center;
    margin-top: 90px;
    margin-bottom: 35px
}

.contact iframe {
    border-radius: 0 8px 8px 0;
    width: 36%;
    height: 485px
}

.contact .form {
    margin-right: -4px;
    display: inline-block;
    vertical-align: top;
    width: 64%;
    background: #07f;
    border-radius: 8px 0 0 8px;
    height: 485px
}

.contact .form h3 {
    display: inline-block;
    margin: 20px 0 0 0;
    font: 600 80% "Quicksand";
    color: #fff;
    /* text-shadow: 0 0 8px #151515; */
}

.contact .form p {
    margin: -14px 0 0 40px;
    font: 600 80% "Quicksand";
    color: #fff;
    /* text-shadow: 0 0 8px #151515; */
}

.contact .form span {
    font: 600 18px "Open Sans";
    padding: 3px 0 0 11px;
    color: #07f;
    background: #fff;
    display: inline-block;
    margin-top: 20px;
    vertical-align: top;
    margin-right: 3px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    /* -webkit-box-shadow: 0 0 8px #151515; */
    /* box-shadow: 0 0 8px #151515; */
}

.contact .form section article:last-of-type span {
    margin-top: 10px
}

.contact .form section article:first-of-type span {
    padding: 2.5px 0 0 10.5px
}

.contact .form form input:not(:last-of-type),
textarea {
    display: block;
    width: 85%;
    height: 38px;
    padding: 10px 0;
    border: none;
    margin: 12px auto;
    font: 600 12px "Quicksand";
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    border-bottom: 1px solid #fff;
    background: #07f;
    color: #fff;
}

::-webkit-input-placeholder {
    color: #fff;
}

:-moz-placeholder {
    color: #fff;
    opacity: 1;
}

::-moz-placeholder {
    color: #fff;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #fff;
}

::-ms-input-placeholder {
    color: #fff;
}

textarea {
    height: 140px;
    resize: none
}

.contact .form form input:last-of-type {
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    margin: 12px 7.5%;
    font: 600 15px "Quicksand";
    background: #fff;
    color: #07f;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    /* -webkit-box-shadow: 0 0 8px #151515; */
    /* box-shadow: 0 0 8px #151515; */
}

.contact .form form input:focus,
textarea:focus {
    outline: none;
}

.contact .form div {
    display: inline-block;
    vertical-align: top;
    float: right;
    margin-right: 9%;
}

.contact .form aside {
    display: inline-block;
}

.contact .form section {
    display: inline-block;
    margin-left: 7%;
}

.contact .form aside h3 {
    margin-top: 28px;
    /* text-shadow: 0 0 8px #151515; */
}

.contact .form section article:last-of-type h3 {
    margin-top: 17px;
}

.contact .form section {
    float: left
}

footer {
    background: #151515;
    text-align: center
}

footer h1 {
    margin: 0;
    padding: 15px 0 5px 0;
    color: #fff;
    font: 600 1.7em "Quicksand"
}

footer h2 {
    margin: 0;
    color: #fff;
    font: 600 12px "Quicksand";
    padding: 2px
}

footer h2:first-of-type {
    padding-top: 5px
}

footer .social {
    padding: 30px 25px 20px;
    height: 65px;
}

footer h3 {
    font: 500 12px "Open Sans";
    color: #fff;
    margin: 0;
    padding: 12px
}

@media(max-width:480px) {

    header .top h1 {
        font-size: 36px
    }

    header .top h2 {
        font-size: 20px
    }

    .biography .fa {
        margin-top: 30px
    }

    .me {
        width: 100% !important
    }

    .div {
        display: block;
        width: 90% !important;
        margin: auto
    }

    .name {
        width: 90%;
        border-left: 1px solid #ddd;
        text-align: center;
        margin: 25px auto 0;
    }

    .social {
        text-align: center
    }

    .social h3 {
        margin-right: 0
    }

    .personal,
    .biography {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .personal div h3,
    .personal span {
        width: 45%;
    }

    .skills div {
        display: block;
        width: 90% !important;
        ;
        margin: auto
    }

    .skills {
        height: 630px !important;
    }

    .contact .form div {
        float: left;
        margin: -8px 0 10px 7%
    }

    .contact .form {
        height: 530px !important
    }
}

@media(max-width:620px) {

    .hidden-ex {
        display: none
    }

    .lang div:first-of-type {
        margin-bottom: 0;
        margin-right: 1%
    }

    .lang div:last-of-type {
        margin-left: 1%
    }

    .skills {
        height: 630px !important
    }

    .skills div {
        display: block;
        width: 90%;
        margin: auto
    }

}

@media(max-width:686px) {
    
    .udacity div:first-of-type h2,
    .udacity div:last-of-type h2 {
        font-size: 14px !important;
        margin-left: -22px !important;
    }

    .udacity div:first-of-type h2,
    .udacity:nth-of-type(2) div:last-of-type h2 {
        width: 185%
    }

    .me {
        width: 50%
    }

    .div {
        width: 50%
    }

    .social {
        padding: 0 0 0 25px
    }

    .contact .form {
        width: 100% !important;
        border-radius: 8px !important;
        height: 500px
    }

    iframe {
        width: 100% !important;
        border-radius: 8px !important;
        margin-top: 30px;
        height: 450px !important
    }

}

@media(max-width:767px)
/*Mobile & Tablet Rules*/

    {

    .container {
        padding-right: 30px !important;
        padding-left: 30px !important;
    }

    .visible-xs {
        display: block !important
    }

    .hidden-xs {
        display: none !important
    }

    .res-p {
        text-align: center
    }

    .div h1 {
        font-size: 27px
    }

    .div h2 {
        font-size: 12.5px
    }

    .personal h1,
    .biography h1 {
        font: 600 22px "Raleway";
        margin: 55px 0 20px;
    }

    .personal div h3,
    .personal span {
        width: 30%;
        font-size: 12px
    }

    .biography p {
        font-size: 10px
    }

    .udacity div:first-of-type h2 {
        font-size: 15px;
        margin-left: -15px;
    }

    .udacity div:last-of-type h2 {
        font-size: 15px;
        margin-left: -15px;
    }
        
    .udacity div:nth-of-type(2) {
        width: 100%;
        border: none;
        border-top: 1px solid #ddd;
    }
        
    .udacity div:nth-of-type(2) {
        background: #07f;
        color: #fff
    }
        
    .udacity:nth-of-type(2) div:nth-of-type(2) {
        background: #fff;
        color: #07f
    }

    .udacity div p {
        font-size: 10px
    }
        
    .udacity:nth-of-type(2) div {
        text-align: left;
    }

    .skills {
        width: 100%;
        margin-right: 0;
        display: block;
        height: 355px;
    }

    .skills div h2 {
        padding: 30px 30px 5px;
        text-align: center
    }

    .skills div h3 {
        padding: 0px 30px;
    }

    .skills progress {
        margin-left: 30px
    }

    .lang {
        width: 100%;
        display: block;
        margin-top: 10px;
        vertical-align: top;
        height: auto;
        margin-left: 0
    }

    .lang div {
        padding: 35px 20px;
        height: auto;
        width: 49%;
        display: inline-block;
    }

    .lang div:first-of-type {
        margin-bottom: 0;
        margin-right: 1%
    }

    .lang div:last-of-type {
        margin-left: 1%
    }

    .portfolio .all {
        height: 410px !important;
        margin-top: 30px !important;
        width: 100%;
        display: block;
        margin-left: 0
    }

    .portfolio .all:nth-of-type(3) {
        margin-top: 30px !important
    }

    .portfolio .all div h2 {
        font-size: 230%;
        margin-top: 0;
        padding-top: 150px
    }

}

@media(min-width:768px) and (max-width: 991px)
/*Small Screen Rules*/

    {
    .container {
        width: 750px;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .visible-sm {
        display: block !important
    }

    .hidden-sm {
        display: none !important
    }

    .personal div:last-of-type h3 {
        width: 24%
    }

    .personal h1,
    .biography h1 {
        font: 600 22px "Raleway";
        margin: 55px 0 20px;
    }

    .personal h3,
    .personal span {
        font-size: 14px
    }

    .biography .fa {
        margin-top: 40px;
    }

    .biography p {
        font-size: 12px
    }

    .udacity div:first-of-type h2 {
        margin-left: -16px;
        font-size: 17px
    }

    .udacity div:last-of-type h2 {
        margin-left: -16px;
        font-size: 17px
    }

    .skills {
        width: 100%;
        margin-right: 0;
        display: block;
        height: 350px;
    }

    .skills div {
        display: inline-block;
        width: 49%;
        vertical-align: top;
    }

    .skills div h2 {
        padding: 20px 40px 5px;
    }

    .skills div h3 {
        padding: 0px 40px;
    }

    .skills progress {
        margin-left: 40px
    }

    .lang {
        width: 100%;
        display: block;
        margin-top: 10px;
        vertical-align: top;
        height: auto;
        margin-left: 0
    }

    .lang div {
        padding: 35px 20px;
        height: auto;
        width: 49%;
        display: inline-block;
    }

    .lang div:first-of-type {
        margin-bottom: 0;
        margin-right: 1%
    }

    .lang div:last-of-type {
        margin-left: 1%
    }

    .portfolio .all {
        height: 410px;
        margin-top: 30px !important;
        width: 100%;
        display: block;
        margin-left: 0
    }

    .portfolio .all:nth-of-type(2) {
        height: 410px !important;
    }

    .portfolio .all:nth-of-type(3) {
        height: 410px !important;
        margin-top: 30px !important
    }

    .portfolio .all div h2 {
        font-size: 230%;
        margin-top: 0;
        padding-top: 150px
    }

}

@media(min-width:992px) and (max-width: 1150px)
/*Medium Screen Rules*/

    {
    .container {
        width: 970px
    }

    .visible-md {
        display: block !important
    }

    .hidden-md {
        display: none !important
    }

}

@media(min-width:1200px)
/*Large Screen Rules*/

    {
    .container {
        width: 1170px;
        padding-left: 80px !important;
        padding-right: 80px !important;
    }

    .visible-lg {
        display: block !important
    }

    .hidden-lg {
        display: none !important
    }
}

.container {
    padding-left: 60px;
    padding-right: 60px;
    margin: auto
}

.clearfix {
    clear: both
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
    display: none
}

.unstyling {
    padding: 0;
    margin: 0;
    list-style: none
}