@font-face {
    font-family: 'poppinsregular';
    src: url('/fonts/poppins-regular-webfont.woff2') format('woff2'),
         url('/fonts/poppins-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('/fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html{
    background: rgb(39,116,174);
    background: linear-gradient(-35deg, rgba(39,116,174,1) 0%, rgba(1,66,106,1) 100%) no-repeat center center fixed; 
    background-size: cover;
    margin: 0;
    padding: 0;
}
body{
    color: #fff;
    display: flex;
    height: 100%;
    padding: 0 4vw;
    margin: 0;
    flex-direction: column-reverse;
    font-family: 'Roboto', sans-serif;
}
header{
    text-align: right;
    flex-shrink: 0;
}
main{
    flex: 1 0 auto;
}
h1, h2{
    font-family: 'poppinsregular', sans-serif;
    margin-bottom: 20px;
    text-transform: lowercase;
    letter-spacing: 1px;
}
h1{
    font-size: 4em;
    margin: 0;
}
h2{
    font-size: 3em;
}
.project-list{
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.project-card{
    box-sizing: border-box;
    list-style: none;
    flex: 0 1 100%;
    max-width: 600px;
    padding: 20px 20px 20px 0;
    margin: 20px 20px 20px 0;
    min-width: 325px;
    border-left: 3px solid;
    padding-left: 20px;
}
.project-links{
    display: flex;
}
.project-links a{
    color: #fff;
    flex: 1 1 auto;
    font-family:'poppinsregular', sans-serif ;
    font-weight: bold;
    line-height: 18px;
    transition: all .5s;
    text-decoration: none;
}
.project-links a:hover,
.project-links a:focus{
    color: #C0E585;
    text-decoration: underline;
}
.link-website{
    background: url('./img/globe-small.svg') no-repeat;
    padding-left: 22px
}
.link-github{
    background: url('./img/github-small.svg') no-repeat;
    padding-left: 22px
}
.link-googleplay{
    background: url('./img/googleplay.svg') no-repeat;
    padding-left: 22px
}
.link-codepen{
    background: url('./img/codepen-small.svg') no-repeat;
    padding-left: 22px
}
.link-website:hover,
.link-website:focus{
    background: url('./img/globe-small-g.svg') no-repeat;
}
.link-github:hover,
.link-github:focus{
    background: url('./img/github-small-g.svg') no-repeat;
}
.link-codepen:hover,
.link-codepen:focus{
    background: url('./img/codepen-small-g.svg') no-repeat;
}
.link-googleplay:hover,
.link-googleplay:focus{
    background: url('./img/googleplay-g.svg') no-repeat;
}
h3{
    color: #fff;
    display: block;
    font-family: 'poppinsregular', sans-serif;
    font-size: 2em;
    font-weight: normal;
    line-height: 1em;
    margin: 0;
    text-transform: lowercase;
    text-decoration: none;
}

.links{
    list-style: none;
    margin: 10px 0 30px 0;
    display: flex;
    justify-content: flex-end;
}
.links-item{
    flex: 0 1 auto;
}
.links-item .link{
    margin: 0 20px;
}
.link svg{
    transition: all .5s;
}
.link:hover svg,
.link:focus svg{
    stroke: #C0E585;
}
.links-item:last-of-type .link{
    margin-right: 0;
}


@media only screen and (max-width: 568px) {
    h1, h2{
        font-size: 2em;
    }
    h3{
        font-size: 1.4em;
    }
    header{
        margin-top: 60px
    }
    .project-links a{
        text-indent: -99999px;
        flex: none;
        margin: 0 .5em;
    }
    .project-links a:first-of-type{
        margin-left: 0;
    }
}

@media (prefers-color-scheme: dark) {

}