@font-face {
    font-family: AvenirBook;
    src: url('../fonts/AvenirLTStd-Book.otf');
}
@font-face {
    font-family: AvenirMedium;
    src: url('../fonts/AvenirLTStd-Medium.otf');
}
@font-face {
    font-family: AvenirRoman;
    src: url('../fonts/AvenirLTStd-Roman.otf');
}
/*---------------------*/
/*    HTML ELEMENTS    */
/*---------------------*/
body,html{
    margin:0;
    font-family: AvenirBook, sans-serif;
    letter-spacing: 2px;
}
p {
    font-family: "Dubai Light";
}
img{
    width: 300px;
    height: auto;
}
h2 {
    font-size: 0.7rem;
    color: dimgrey;
}
h1 {
    font-size: 2rem;
}
strong {
    font-weight: bold;
}
section > h1 {
    border-bottom: 1px solid dimgray;
    text-align: center;
    width: 40%;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}
/*header*/
header ul li{
    display: inline;
    margin-left: 0.4rem;
    text-transform: uppercase;
}
header a:hover {
    border-bottom: 1px solid black;
}
/*social*/
#social img{
    height: 30px;
    width: 30px;
}
#social li{
    margin: 0.5em;
}
/*general info*/
#generalInfo > *{
    margin-right: 1rem;
}
#generalInfo h1 {
    margin-bottom: 0.2rem;
}
#generalInfo p, #generalInfo h2 {
    margin-bottom: 1rem;
}
#generalInfo h3 {
    font-weight: bold;
    margin-bottom: 0.1rem;
    font-size: 0.9em;
}
/*intro text*/
#introText p{
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-size: 1.2rem;
    font-family: "Dubai Light";
}
#introText h1 {
    border-bottom: 1px solid dimgrey;
    padding-bottom: 1rem;
    width: 80%;
}
/*timeline*/
/*timeline dot*/
#experience article:before, #education article:before{
    content: '';
    height: 7px;
    width: 7px;
    position: absolute;
    top: 19px;
    background: dimgrey;
    border-radius: 50%;
}
#experience h4, #education h4{
    border-bottom: 1px solid dimgrey;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
}
#experience h5, #education h5 {
    margin-bottom: 0.2rem;
}
#experience p, #education p  {
    margin-right: 2rem;
}
/*skills*/
#skills img{
    width: 100px;
    height: 100px;
    padding: 1rem;
    margin-right: 1rem;
    border-right: 1px solid black;
}
#skills h5 {
    font-weight: bold;
    margin-bottom: 0.2rem;
}
#skills li {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    background-image: url('../../images/dot.png');
    background-size: 5px;
    background-repeat: no-repeat;
    background-position: 0 3px;
    padding-left: 12px;
}
#skills h6 {
    font-size: 0.7rem;
}
/*languages*/
#languages img {
    width: 200px;
    height: 150px;
    padding: 1rem;
    margin-right: 1rem;
    border-right: 1px solid black;
}
/*---------------------*/
/* CONTAINING ELEMENTS */
/*---------------------*/
header {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:1em;
    top: 0;
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 6px 2px 10px rgba(51,53,55,0.4);
}
header ul{
    padding-right: 2rem;
}
main {
    margin-top: 4rem;
}
#intro{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    background: url("../../images/background.jpg");
}
.introCard {
    background-color: white;
    width: 50rem;
    box-shadow: 6px 2px 10px rgba(51,53,55,0.4);
}
#generalInfo{
    display: flex;
}
#centerWrapper, #introText {
    display:flex;
    flex-direction: column;
    justify-content: center;
}
#generalInfo section {
    padding: 2rem 2rem 2rem 4rem;
    width: 100%;
}
.introCard{
    margin: 2rem;
}
#introText{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 0 5rem 0;
}
#introText > * {
    margin: 1rem;
}
#social{
    display: flex;
    justify-content: center;
    background-color: #666;
}
#centerWrapper {
    height: 100%;
}
.cardWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
    margin-bottom: 4rem;
}
#experience .cardWrapper, #education .cardWrapper{
    justify-content: center;
}
#experience article, #education article{
    width: 43%;
    margin: 1rem 0 1rem 0;
}
#experience article, #education article {
    position: relative;
    z-index: -5;
}
/*skills*/
#skills article, #languages article {
    margin: 1rem;
    width: 42%;
    display: flex;
    align-items: stretch;
    padding: 1rem;
    box-shadow: 6px 2px 10px rgba(51,53,55,0.4);
}
#languages article{
    width: 80%;
}
.starWrapper {
    margin-bottom: 0.5rem;
}
.skillInfo{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
/*languages*/
#languages .skillInfo {
    justify-content: flex-start;
    margin-top: 2rem;
}
/*------------------------*/
/* PAGE SPECIFIC ELEMENTS */
/*------------------------*/
@media only screen and (min-width: 1200px) {
    #experience article, #education article {
        width: 29%;
    }
    #skills article{
        width: 29%;
    }
    #languages article {
        width: 42%;
    }
}
a.anchor {
    display: block;
    position: relative;
    top: -6rem;
    visibility: hidden;
}
.checked {
    color: orange;
}
/*scrollbar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* --- Home --- */

