@font-face {
    font-family: 'UbuntuMono';
    src: url('UbuntuMono-R.ttf') format('ttf'),
         url('UbuntuMono-R.woff2') format('woff2'),
         url('UbuntuMono-R.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UbuntuMono';
    src: url('UbuntuMono-B.ttf') format('ttf'),
         url('UbuntuMono-B.woff2') format('woff2'),
         url('UbuntuMono-B.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'UbuntuMono';
    src: url('UbuntuMono-RI.ttf') format('ttf'),
         url('UbuntuMono-RI.woff2') format('woff2'),
         url('UbuntuMono-RI.woff') format('woff');
    font-weight: normal;
    font-style: oblique;
}

@font-face {
    font-family: 'UbuntuMono';
    src: url('UbuntuMono-BI.ttf') format('ttf'),
         url('UbuntuMono-BI.woff2') format('woff2'),
         url('UbuntuMono-BI.woff') format('woff');
    font-weight: bold;
    font-style: oblique;
}

html {
    height: auto;
    min-height: 100vh;
}

body {
    height: auto;
    margin: 0;
    padding-left: 10pt;
    padding-right: 10pt;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: linear-gradient(to bottom right, rgb(15, 25, 20), rgb(15, 25, 35));
    color: rgb(220,240,230);
    font-family: UbuntuMono, Monospace;
}

a:link, a:visited, a:hover, a:active {
    color: CadetBlue;
}

div#bardagi {
    width: 196px;
    height: 474px;
    background-image: url("/images/bardagi-web-dark.png");
    position: fixed;
    bottom: 0;
    right: 20pt;
}

span {
    display: block;
}

#header-flex-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#header-flex-container #header-name {
    width: 50%;
}

#header-flex-container #media-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: right;
    margin-top: 15pt;
}

#header-flex-container #media-section div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    width: 100px;
}

#header-flex-container #media-section a.media-link {
    display: block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-bottom: 10px;
    opacity: 80%;
    background-size: cover;
    transition: opacity 200ms;
}

#header-flex-container #media-section a.media-link:hover {
    opacity: 100%;
}

#media-link-github {
    background-image: url("/images/media/github_40.png");
}

#media-link-linkedin {
    background-image: url("/images/media/linkedin_40.png");
}

#media-link-twitter {
    background-image: url("/images/media/twitter_40.png");
}

#media-link-email {
    background-image: url("/images/media/email_40.png");
}

#main-flex-container {
    width: 70%;
    height: 70%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.showcase-item {
    text-align: center;
    width: 300pt;
}

.showcase-item-years {
    font-style: italic;
    opacity: 0.65;
}

.showcase-item-description {
    text-align: justify;
    text-justify: inter-word;
}

.showcase-item-technologies {
    font-style: italic;
    opacity: 0.65;
}

@media only screen and (max-width: 1080pt) {
    div#bardagi {
        width: 98px;
        height: 237px;
        background-image: url("/images/bardagi-web-dark-small.png");
        position: fixed;
        bottom: 0;
        right: 10pt;
    }
}

@media only screen and (max-width: 550pt) {
    div#bardagi {
        width: 49px;
        height: 119px;
        background-image: url("/images/bardagi-web-dark-tiny.png");
        position: fixed;
        bottom: 0;
        right: 5pt;
    }

    #main-flex-container {
        width: auto;
    }
    
    #header-flex-container #header-name {
        width: 50%;
    }
}

@media only screen and (max-width: 400pt) {
    div#bardagi {
        display: none;
    }

    #header-flex-container #header-name {
        width: 100pt;
    }
}

@media only screen and (max-width: 375px) {
    #header-flex-container {
        justify-content: space-between;
    }

    #header-flex-container #header-name {
        width: 150px;
    }

    #header-flex-container #media-section {
        width: 100px;
    }
}

video, img{
    display: block;
    width: 100%;
    height: calc(width * 16/9.0);
    fit: fill;
	  margin: 0px auto;
}

video.max720p, img.max720p {
    max-width: 1280px;
    max-height: 720px;
}
