:root {
    /* colors */

    /* font-weight */

    /* font-size */
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-size: 30px;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    font-weight: 700;
}

h3 {
    font-size: 18px;
    font-weight: 700;
}

a:link {
    color: #357b70;
}

a:visited {
    color: #05676e;
}

a:hover a:focus {
    text-decoration: none;
}

a:active {
    color: #489c79;
}

button {
    border: 2px solid #000;
    font-family: inherit;
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
    padding: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

button:hover button:focus {
    cursor: pointer;
    opacity: 0.8;
}

.profile {
    max-width: 700px;
    margin: auto;
    padding-bottom: 130px;
    padding-top: 90px;
    letter-spacing: 3px;
}

.profile__portrait {
    float: left;
    width: 250px;
    margin-right: 40px;
    border-radius: 50%;
    -webkit-box-shadow: 0 4px 6px 0 rgba(2, 6, 8, 0.747);
    box-shadow: 0 4px 6px 0 rgba(2, 6, 8, 0.747);
    -webkit-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
}

.profile__portrait:hover {
    -webkit-box-shadow: 0 8px 12px 0 rgba(34, 60.8, 0.016);
    box-shadow: 0 8px 12px 0 rgba(34, 60.8, 0.016);
    -webkit-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
}

.page-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 50px;
    letter-spacing: 5px;
}

.page-header__item {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 200px;
    flex: 0 1 200px;
}

.page-header .page-header__item:last-child {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: right;
}

.page-footer {
    clear: both;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.navigation-list {
    list-style-type: none;
}

.navigation-list li {
    display: inline-block;
    margin-left: 15px;
}

.svg {
    padding-bottom: 100px;
}

.navigation-list__item--active {
    text-decoration: none;
}

.myProjects {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.skills {
    width: 50%;
    margin: 0 auto;
    padding-top: 100px;
}

@keyframes load {
    from {
        width: 0%;
    }
}

@-webkit-keyframes load {
    from {
        width: 0%;
    }
}

.bar {
    background-color: #eee;
    padding: 2px;
    border-radius: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.bar::before {
    content: attr(data-skill);
    background-color: #886b8d;
    display: inline-block;
    padding: 5px 0 5px 10px;
    border-radius: inherit;
    animation: load 2s 0s;
    -webkit-animation: load 2s 0s;
    -moz-animation: load 2s 0s;
    -o-animation: load 2s 0s;
}

.bar.front::before {
    background-color: #bba86f;
}

.bar.back::before {
    background-color: #334c58;
}

.bar.mongodb::before {
    background-color: #4baf89;
}

.bar.learning::before {
    width: calc(20% - 10px);
}

.bar.basic::before {
    width: calc(40% - 10px);
}

.bar.intermediate::before {
    width: calc(60% - 10px);
}

.bar.advanced::before {
    width: calc(80% - 10px);
}

.bar.expert::before {
    width: calc(100% - 10px);
}

.grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 15px 1fr 15px 1fr 15px 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
    margin: auto;
    padding: 10px;
}

.grid_contact {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin: auto;
    grid-gap: 20px;
    justify-content: center;
    text-align: center;
}

.introText {
    text-align: justify;
}

.grid__item {
    background-color: #fffaf0;
    min-height: auto;
    width: auto;
    padding: 12px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: justify;
}

.projekt_head {
    text-align: center;
}

.grid__item:last-child {
    -ms-grid-column: 4;
    grid-column: 4 / 4;
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1 / 4;
}

.grid__contact {
    width: auto;
    height: auto;
    margin: 0;
    -ms-grid-column: 1;
    grid-column: 1;
}

.findMe {
    padding: 8px;
}

.social-media {
    padding-bottom: 20px;
}

.button {
    border: none;
    display: inline-block;
    font-family: inherit;
    background-color: #fffaf0;
    color: #000;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    margin-bottom: 20px;
}

.button:hover,
.button:focus {
    cursor: pointer;
    opacity: 0.8;
}

.caseStudyButton {
    justify-content: center;
    text-align: center;
    padding-top: 20px;
}

.aboutme {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.aboutme__info {
    margin-bottom: 40px;
    text-align: justify;
    width: 700px;
}

.aboutme__info_skills {
    width: 600px;
    text-align: justify;
}

.aboutme__table {
    margin-bottom: 50px;
}

.sun {
    -webkit-animation: 4s color-change infinite alternate linear;
    animation: 4s color-change infinite alternate linear;
}

.cloud-front {
    -webkit-animation: 30s cloud-move infinite alternate linear;
    animation: 30s cloud-move infinite alternate linear;
}

.cloud-back {
    -webkit-animation: 34s cloud-move-reverse infinite alternate linear;
    animation: 34s cloud-move-reverse infinite alternate linear;
}

.contact-container {
    margin: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

.CaseStudyText {
    justify-content: center;
    text-align: center;
    width: auto;
    margin: 130px;
}

.CaseStudyPicture {
    max-width: 50%;
    height: auto;
    padding-bottom: 30px;
}

.projekt {
    width: 300px;
    height: 200px;
    margin: 5px;
    padding-top: 10px;
}

.projekt_chatapp {
    margin: 5px;
    padding-top: 8px;
}

.projekt:hover {
    -webkit-filter: brightness(0.75);
    filter: brightness(0.75);
    -webkit-box-shadow: 0 8px 12px 0 rgba(34, 60, 80, 0.16);
    box-shadow: 0 8px 12px 0 rgba(34, 60, 80, 0.16);
}

.projekt_chatapp:hover {
    -webkit-filter: brightness(0.75);
    filter: brightness(0.75);
    -webkit-box-shadow: 0 8px 12px 0 rgba(34, 60, 80, 0.16);
    box-shadow: 0 8px 12px 0 rgba(34, 60, 80, 0.16);
}

.thankyou {
    justify-content: center;
    text-align: center;
    padding: 150px;
}

@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400);

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    color: #bbb5af;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: #bbb5af;
}

input::placeholder,
textarea::placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::placeholder,
textarea::focus:placeholder {
    color: #bbb5af;
}

input::-ms-placeholder,
textarea::-ms-placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::-ms-placeholder,
textarea:focus::-ms-placeholder {
    color: #bbb5af;
}

/* on hover placeholder */

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-webkit-input-placeholder,
textarea:hover:focus::-webkit-input-placeholder {
    color: #cbc6c1;
}

input:hover::-moz-placeholder,
textarea:hover::-moz-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-moz-placeholder,
textarea:hover:focus::-moz-placeholder {
    color: #cbc6c1;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::placeholder,
textarea:hover:focus::placeholder {
    color: #cbc6c1;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-ms-placeholder,
textarea:hover::focus:-ms-placeholder {
    color: #cbc6c1;
}

#form {
    position: relative;
    width: 500px;
    margin: 50px auto 100px auto;
}

input {
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    width: 470px;
    height: 50px;
    padding: 0px 15px 0px 15px;

    background: transparent;
    outline: none;
    color: #726659;

    border: solid 1px #b3aca7;
    border-bottom: none;

    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

input:hover {
    background: #b3aca7;
    color: #e2dedb;
}

textarea {
    width: 470px;
    max-width: 470px;
    height: 110px;
    max-height: 110px;
    padding: 15px;
    background: transparent;
    outline: none;
    color: #726659;
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    border: solid 1px #b3aca7;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

textarea:hover {
    background: #b3aca7;
    color: #e2dedb;
}

#submit {
    width: 50px;
    padding: 0px;
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    color: #b3aca7;
    outline: none;
    cursor: pointer;
    border: solid 1px #b3aca7;
}

#submit:hover {
    color: #e2dedb;
}

@media screen and (max-width: 1024px) {
    .work {
        width: 30%;
    }
}

@media screen and (max-width: 1024px) {
    .page-header__item {
        width: 70%;
    }
}

@media screen and (max-width: 1024px) {
    .profile__portrait {
        width: 30%;
    }
}

@media all and (max-width: 400px) {
    .aboutme__info {
        width: auto;
    }

    .svg {
        width: auto;
    }

    .topBefore {
        width: auto;
    }
}

@media all and (max-width: 500px) {
    .grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

@media all and (min-width: 500px) and (max-width: 750px) {
    .grid {
        -ms-grid-columns: 1fr 15px 1fr;
        grid-template-columns: 1fr 1fr;
    }
}

@media all and (max-width: 750px) {
    .grid {
        grid-gap: 10px;
    }

    .grid__item:last-child {
        grid-column: auto / auto;
        grid-row: auto / auto;
    }

    .grid__contact:last-child {
        grid-column: auto;
        grid-row: auto;
    }

    h1 {
        font-size: 22px;
    }
}

@-webkit-keyframes color-change {
    0% {
        fill: #edc655;
    }

    50% {
        fill: #f76414;
    }

    100% {
        fill: #f76414;
    }
}

@keyframes color-change {
    0% {
        fill: #edc655;
    }

    50% {
        fill: #f76414;
    }

    100% {
        fill: #f76414;
    }
}

@-webkit-keyframes cloud-move {
    from {
        -webkit-transform: translate(0, 50px);
        transform: translate(0, 50px);
    }

    to {
        -webkit-transform: translate(200px, 50px);
        transform: translate(200px, 50px);
    }
}

@keyframes cloud-move {
    from {
        -webkit-transform: translate(0, 50px);
        transform: translate(0, 50px);
    }

    to {
        -webkit-transform: translate(200px, 50px);
        transform: translate(200px, 50px);
    }
}

@-webkit-keyframes cloud-move-reverse {
    from {
        -webkit-transform: translate(446px, 48px);
        transform: translate(446px, 48px);
    }

    to {
        -webkit-transform: translate(100px, 48px);
        transform: translate(100px, 48px);
    }
}

@keyframes cloud-move-reverse {
    from {
        -webkit-transform: translate(446px, 48px);
        transform: translate(446px, 48px);
    }

    to {
        -webkit-transform: translate(100px, 48px);
        transform: translate(100px, 48px);
    }
}
