@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?nuaj1e');
    src:  url('./icomoon/fonts/icomoon.eot') format('embedded-opentype'),
    url('./icomoon/fonts/icomoon.ttf') format('truetype'),
    url('./icomoon/fonts/icomoon.woff') format('woff'),
    url('./icomoon/fonts/icomoon.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.contacts__social-github,
.contacts__social-linkedin,
.contacts__social-fb {

    font-family: 'icomoon';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;


    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 60%;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-top: 8px solid #666666;
    border-bottom: 3px solid #666666;
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-family: 'Crimson Pro', serif;
;
    box-shadow: 5px 9px 20px rgba(0, 0, 0, 0.15);
}

header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    justify-content: space-around;
    border-bottom: #666666 solid 1px;
    padding: 20px 0;
}

h1 {
    text-transform: uppercase;
}

h3 {
    font-style: italic;
    font-weight: 400;
}

header>div {
    padding: 0 3rem;
}

.contacts {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    position: relative;
}

.container {
    display: grid;
    grid-template-rows: minmax(100px, auto) repeat(5, 1fr);
    justify-items: center;
}

section {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    border-bottom: #666666 solid 1px;
    width: 80%;
}

.profDescription {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

section>div:nth-child(odd) {
    padding-right: 2rem;
    font-style: italic;
    font-weight: 700;
}

section>div {
    padding: 20px 0;
}

ul {
    list-style: none;
}

a {
    color: #800000;
    text-decoration: none;
}
.projects li {
    position: relative;
    padding-left: 1.5rem;
}
.projects ul li::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -2px;
    width: 5px;
    height: 11px;
    border-width: 0 3px 3px 0;
    border-style: solid;
    border-color: #346658;
    transform-origin: bottom left;
    transform: rotate(45deg)

}
.contacts__social {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;padding: 0;
}
.contacts__social li {
    margin: 0 15px;
}

.contacts__social-github:before {
    content: "\eab0";
}
.contacts__social-linkedin::before{
    content: "\eac9";
}
.contacts__social-fb::before{
    content: "\ea91";
}
.contacts__social li{
    transition: all .3s ease-in-out;
}
.contacts__social li:hover{
    transform: scale(1.2);
}

@media(max-width:1265px) {
    header {
        display: grid;
        grid-template: 1fr 1fr/1fr;
        justify-items: center;
        text-align: center;
    }
    .contacts__social {
        bottom: 0;
        left: 50%;
        transform:translate(-50%, 100%);
    }

}


@media(max-width:992px) {
    .wrapper {
        width: 70%;
    }
}

@media(max-width: 768px) {
    .wrapper {
        width: 100%;
    }
    .container {
        font-size: 0.8rem;
    }

    section {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;

    }

    section>div {
        padding: 10px 0;
    }

    section>div:nth-child(odd) {
        padding-right: 0;
    }

    ul {
        padding-right: 15px;
    }

    .profDescription {
        justify-items: center;
    }

    h1 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .contacts {
        font-size: 1rem;
    }
    .projects ul li::before {
        width: 2px;
        height: 6px;
    }
    .projects li {
        padding-left: 1rem;
    }

}