﻿@font-face {
    font-family: "MabryPro-Light";
    src: url("../font/MabryPro-Light.ttf");
}

@font-face {
    font-family: "MabryPro-Black";
    src: url("../font/MabryPro-Black.ttf");
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #000;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: MabryPro-Light;
}

#nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: fixed;
    font-size: 2em;
    user-select: none;
    height: 1.5em;
    background-color: #eee;
    flex-wrap:nowrap;
    z-index:9999;
    padding: 5px;
}

#logoBlock {
    font-family: MabryPro-Light;
    width: 30%;
}

#menuBlock {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-family: MabryPro-Light;
    width: 70%;
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 1005px) {
    #menuBlock {
        display: none;
    }

    #logoBlock {
        width: 80%;
    }
}

.navItem {
    margin-right: 1.5rem;
    font-size: 1.5rem;
    padding: 3px;
}


#header {
    width: 100%;
    height:350px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column
}

#header #greeting {
    font-size: 2.5em;
    font-family: MabryPro-Light;
}

#header #greeting-info {
    font-family: MabryPro-Light;
    font-size: 2em;
}

#avatar {
    border: 15px solid white;
    border-radius: 500px;
    width: 350px;
    position: relative;
    bottom: 175px;
}

#about {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #eee;
    margin-top: 100px;
    position: relative;
}

#about p {
    padding: 1em 1em 0em 1em;    
    position: relative;
    bottom: 175px;
    margin: auto;
    text-align:justify;    
    font-size: 1.65em;
}

.block {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.blockHeader {
    font-family: MabryPro-Light;
    font-size: 4em;
}

.cardBlock {
    display: flex;
    justify-content: center;
    margin: 2em;
    flex-wrap: wrap;
}

.skillCard {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 250px;
    margin: 1em;
    padding: 1em;
    border: 3px solid #eee;
    border-radius: 2em;
    min-height: 380px;
    box-shadow: #eee 5px 5px;
}

.skillCard img {
    height: 100px;
}

.skillCard p {
    text-align: justify;
    font-size: 1.25em;
}
.jobBlock {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.JobCard {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 800px;
}

@media (max-width: 800px) {
    #avatar {
        width: 250px;
    }
    
    #header #greeting-info {
        font-family: MabryPro-Light;
        font-size: 1.5em;
    }

    .blockHeader {
        font-size: 2em;
    }

    #header #greeting {
        font-size: 2em;
    }

    .JobCard {
        text-align: center;
        flex-direction: column;
        align-items: center;
        padding-bottom: 3em;
        width: 100vw;
    }

    .EduCard {
        text-align: center;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        padding-bottom: 3em;
    }

    .EduCard img {
        display: none;
    }
}

.JobInfo {
    padding: 3em;
}

.CompanyName {
    font-size: 1.75em;
}

.JobTitle {
    font-size: 1.5em;
}

.JobDescription {
    font-size: 1.25em;
}

.JobCard img {
    width: 150px;
    margin: auto 0 auto .5em;
}

.EduInfo {
    padding: 1em;
}

.EduName {
    font-size: 1.5em;
}

.EduTitle {
    font-size: 1.25em;
}

.EduDescription {
    font-size: 1.5em;
}

.EduCard img {
    width: 360px;
    margin: auto 0 auto .5em;
}

.EduCard {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 95vw;
}

footer {
    background-color: #333;
    color: #eee;
    padding: 20px;
    text-align: center;
}

main {
    flex: 1;
}