* {
    margin: 0;
    padding: 0;
    font-family: arial;

    /* Firefox */
    -moz-transition: all .2s ease-in;
    /* WebKit */
    -webkit-transition: all .2s ease-in;
    /* Opera */
    -o-transition: all .2s ease-in;
    /* Standard */
    transition: all .2s ease-in;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: rgb(31, 31, 31);
}

h1,
h2 {
    padding: 10px 0 25px 0;
    text-align: center;
}

p {
    margin-bottom: 18px;
}

.bold {
    font-weight: bold;
}

.outer-wrapper {
    color: rgb(66, 69, 64);
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
    max-width: 800px;
    box-shadow: 0 0 10px black;
}

.inner-wrapper {
    width: calc(100% - 200px);
    padding-left: 100px;
    padding-right: 100px;
    position: relative;
}

.header-image-wrapper {
    position: relative;

    height: 300px;

}

.header-image {
    height: 300px;

    max-width: 800px;

    background-image: url(img/header_flight.jpg);
    background-size: cover;
}

.header-image-gradient {
    position: absolute;

    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .5) 80%);
}

.header-image-wrapper>*>h1 {
    position: absolute;
    bottom: 20px;
    left: 300px;
    font-size: 24pt;
    color: white;
    letter-spacing: 1.5px;

}

.profile-image {
    height: 150px;
    width: 150px;
    border-radius: 200px;
    border: 6px solid white;
    margin-top: -75px;
    box-shadow: 0 -3px 10px black;
}

.head-section {
    position: relative;

    margin-top: -4px;
    background-color: #FFFFFF;
    padding-bottom: 50px;

    box-shadow: 0 -3px 10px -2px black;
}

.head-section .text {
    margin-left: 200px;
    margin-top: -56px;
}

.head-section .navigation {
    float: left;
    width: 150px;
    margin-top: 75px;
    border-left: 1px solid gray;
    padding-left: 10px;
}

@-moz-document url-prefix() {

    /* firefox */
    .head-section .navigation {
        padding-left: 11px;
    }
}

@supports (-ms-ime-align:auto) {

    /* edge */
    .head-section .navigation {
        padding-left: 10.5px;
    }
}


.navigation ul {
    margin: -28px 0;
}

.navigation li {
    margin: 20px 0;
    cursor: pointer;
    color: rgb(98, 99, 101);
}

.navigation li:hover {
    color: #333333;
}


.quote-wrapper {
    background-color: rgb(98, 99, 101);
    text-align: center;
    box-shadow: 0 -3px 5px -2px rgb(98, 99, 101);
}

.quote-wrapper * {
    color: white;
    letter-spacing: 0.5px;
}

.quote-wrapper * span:nth-child(1) {
    font-style: italic;
}

#quote {
    /*opacity: 0;*/
}

.resume-wrapper,
.social-wrapper,
.publications-wrapper {
    background-color: white;
    overflow: auto;
}

.social-wrapper ul {
    text-align: center;
}

.social-wrapper ul li {
    text-align: center;
    display: inline-block;
    padding: 20px;
    list-style: none;
    line-height: 50px;
}

.social-image {
    background-image: url(img/earthrise.jpg);
    background-size: cover;
    background-position: center;
    height: 450px;
}

.social-wrapper .other-platform-logo {
    width: 100px;
    vertical-align: middle;
}

.default-wrapper-padding {
    padding-top: 35px;
    padding-bottom: 35px;
}

.hobbies-wrapper,
.contact-wrapper {
    background-color: rgb(58, 62, 66);
}

.hobbies-wrapper *,
.contact-wrapper * {
    color: white;
}

.hobbies-wrapper {
    overflow: auto;
    /*box-shadow: 0 -3px 5px -2px rgb(58, 62, 66), 0 3px 5px -2px rgb(58, 62, 66);*/
    z-index: 2;
}

.hobbies-wrapper .hobby-icons {
    text-align: center;
}

.hobbies-wrapper .hobby-icons>div {
    display: inline-block;
}

/* competence icons */
.ch-item {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: default;
    /*box-shadow: inset 0 0 0 16px rgba(255,255,255,0.6);*/
    transition: all 0.4s ease-in-out;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    margin: 15px;
}

.ci-1 {
    background-image: url('img/code.svg');
}

.ci-1 .ch-info {
    background: rgba(129, 34, 46, 0.8);
}

.ci-2 {
    background-image: url('img/microcontroller.svg');
}

.ci-2 .ch-info {
    background: rgba(0, 114, 157, 0.8);
}

.ci-3 {
    background-image: url('img/math.svg');
}

.ci-3 .ch-info {
    background: rgba(150, 100, 0, 0.8);
}

.ch-info {
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    transform: scale(0);
}

.ch-info h3 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 0;
    text-shadow:
        0 0 1px #fff,
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.ch-info p.small-text {
    color: #fff;
    padding: 5px 5px;
    font-style: italic;
    margin: 0 20px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: all 1s ease-in-out 0.4s;
}

.ch-item:hover {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.ch-item:hover .ch-info {
    transform: scale(1);
    opacity: 1;
}

.ch-item:hover .ch-info p {
    opacity: 1;
}

.contact-wrapper {
    text-align: center;
}

.contact-wrapper input,
.contact-wrapper textarea {
    padding: 10px;
    border-width: 0 0 2px 0;
    background-color: transparent;
    margin: 5px 0;
    border-color: rgb(37, 47, 54);
    border-style: solid;
    font-size: 10pt;
}

.contact-wrapper input:focus,
.contact-wrapper textarea:focus {
    border-color: white;
    background-color: transparent;
}

.contact-wrapper {
    color: white;
    background: url(img/footer_bg2.png) repeat #555;
    box-shadow: inset 0 -50px 80px rgb(37, 47, 54);
    /*, inset 0 10px 10px -2px rgb(37,47,54);*/
}

#contact-form {
    margin-top: 25px;
}

.contact-wrapper input {
    width: calc(150px - 15px);
    ;
}

.contact-wrapper textarea {
    width: 294px;
    height: 100px;
    resize: vertical;
    max-width: calc(100% - 20px);
    transition-duration: 0s;
}

.spacer {
    clear: both;
}

textarea:focus,
input:focus {
    outline: 0;
}

.copyright {
    font-size: 10pt;
    text-align: center;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid #2F3E45;
}

.no-transition {
    /* Firefox */
    -moz-transition: none;
    /* WebKit */
    -webkit-transition: none;
    /* Opera */
    -o-transition: none;
    /* Standard */
    transition: none;
}

@media screen and (max-width: 750px) {
    #navigation {
        display: none;
    }

    .head-section .text {
        margin-left: 0;
        margin-top: 0;
    }

    /* disable hover effects */
    .ch-item {
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.1),
            0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .ch-item .ch-info {
        transform: scale(1);
        opacity: 1;
    }

    .ch-item .ch-info p {
        opacity: 1;
    }
}

@media screen and (max-width: 550px) {
    .inner-wrapper {
        width: calc(100% - 60px);
        padding-left: 30px;
        padding-right: 30px;
    }

    .head-section>div:nth-child(1) {
        text-align: center;
    }

    .header-image-wrapper {
        height: 250px;
    }

    .header-image-wrapper>*>h1 {
        text-shadow: 0 0 30px black;
        width: 100%;
        left: 0;
        text-align: center;
        bottom: 110px;
    }

    .header-image-gradient {
        background-image: none;
    }
}


/* resume */
.resume {
    position: relative;
}

.resume * {
    color: rgb(33, 50, 70);
}

.resume .field:not(:last-child) .activities {
    margin-bottom: 40px;
}

.resume .center-line {
    height: 100%;
    background: rgb(219, 222, 231);
    top: 0;
    bottom: 0;
    width: 2px;
    left: 50%;
    margin-left: -1px;
    position: absolute;
}

.resume .field .name {
    position: relative;
    background: rgb(219, 222, 231);
    padding: 10px;
    display: block;
    margin: auto;
    width: 130px;
    text-align: center;
}

.resume .field .activity {
    width: 50%;
    position: relative;
    margin: 10px 0;
    padding-top: 10px;
}

.resume .field .activity>div {
    padding: 0 10px 6px;
    position: relative;
}

.resume .field .activity::before {
    content: ' ';
    background: rgb(33, 50, 70);
    display: block;
    width: 10px;
    height: 2px;
    /* border-radius: 5px; */
    position: absolute;
    margin-top: 8px;
    border-right: 10px rgb(33, 50, 70) solid;
}

.resume .field .activity:nth-child(even) {
    text-align: left;
    left: 50%;
}

.resume .field .activity:nth-child(even)::before {
    margin-left: -5px;
    left: 0;
}

.resume .field .activity:nth-child(even)>div {
    margin-left: 16px;
}

.resume .field .activity:nth-child(odd) {
    text-align: right;
}

.resume .field .activity:nth-child(odd)>div {
    margin-right: 16px;
}


.resume .field .activity:nth-child(odd)::before {
    right: 0;
    margin-right: -5px;
}

.resume .field .activity .title {
    font-weight: bold;
    font-size: 110%;
}

.resume .field .activity .title a {
    text-decoration: none;
}

.resume .field .activity .subtitle {
    font-size: 90%;
}

.resume .field .activity .description {
    font-size: 80%;
}

.resume .field .activity:not(:first-child) {
    margin-top: -55px;
}

.resume .activity>div.bg {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    background-position-y: center center;
    filter: blur(15px);
}

.resume .activity:hover .bg {
    filter: blur(0);
    opacity: 0.3;
}

.blog-wrapper {
    background-color: rgb(58, 62, 66);
    ;
    color: white;
}

.blog-wrapper>.link,
.blog-wrapper>.link a,
.blog-wrapper .loading {
    color: white;
    text-align: center;
}

.post .featured {
    position: absolute;
    width: 280px;
    background-size: cover;
    top: 0;
    background-position: center center;
    left: 0;
    bottom: 0;
    filter: brightness(90%);
}

.post {
    display: block;
    text-decoration: none;
    height: 106px;
    overflow: hidden;
    margin: 20px 0;
    background: #F7F9FA;
    color: #333333;
    padding: 25px;
    position: relative;
}

.post>div {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 280px;
}

.post:hover {
    box-shadow: 1px 1px 5px #0e0e0e;
}

.post:hover .featured {
    filter: brightness(100%);
}

.post h3 {
    overflow: hidden;
}

.post h3,
.post p,
.post span {
    margin-bottom: 5px;
    position: relative;
}

.post p.date {
    font-size: 90%;
}

/* resume mobile */
@media screen and (max-width: 750px) {
    /* blog section */

    .post .featured {
        right: 0;
        width: auto;
        opacity: .4;
        filter: brightness(100%);
    }

    .post h3,
    .post p,
    .post span {
        position: relative;
    }

    .post>div {
        padding-left: 0;
    }


    .resume .field .activity {
        margin: 10px 0;
        width: auto;
    }

    .resume .field .activity:nth-child(even) {
        text-align: left;
        left: 0;
    }

    .resume .field .activity:nth-child(odd) {
        text-align: left;
    }

    .resume .field .activity::before {
        display: none;
    }

    .resume .field .activity:not(:first-child) {
        margin-top: 10px;
    }

    .resume .field .activity:nth-child(even)>div,
    .resume .field .activity:nth-child(odd)>div {
        margin: 0;
    }


    .resume .center-line {
        left: 0px;
    }

    .resume .field .name {
        margin: 0;
    }
}