/* Resets */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Actual styles */

html {
    height: 100%;
}

body {
    height: 100%;
    font-family: 'Orienta', sans-serif;
    font-size: 11pt;
    color: black;
    background-image: url('background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

p {
    margin-bottom: 3%;
}

h1, h2 {
    font-family: 'Orienta', sans-serif;
    color: black ;
}

h1 { font-size:   3em; margin: 0 0 0.6em 0; }
h2 { font-size: 1.5em; margin: 1em 0 0.6em 0; }

a {
    text-decoration: none
}

li {
  margin: 0 1.2em 1em;
}

strong {
  font-weight: bold;
}

#maincontent {
    width: 30%;
    margin: 0% 3% 0% 60%;
    padding: 3%;
    background-color: #FFFFFF;
    opacity:0.9;
    filter:alpha(opacity=90); /* IE8 and earlier */
}

#linklist {
  display: inline;
}

#linklist ul, #projlist ul {
    margin-top: 2em;
    list-style-type: none;
}

#linklist li {
    font-size: 10pt;
    float: left;
    margin: 0% 1% 0% 0%;
    background-color: #FFFFFF;
    width: auto;
    height: 30px;
    overflow: hidden;
}

#linklist li a:link, #linklist li a:visited {
    color: #FFFFFF;
}

#linklist img {
    width: 30px;
    height: 30px;
}

.linkLabel {
    display: inline;
    float: right;
    padding-top: 8%;
}

#projlist {
	clear: both;
	margin-top: 100px;
}

#projlist img{
    width: 150px;
    height: auto;
}

@media only screen
and (max-device-width: 400px)
and (orientation: portrait) {
    body {
        font-size: 30px;
        height: 85%;
    }
    #about {
        width: 70%;
        margin: 10% 10% 0% 10%;
        padding: 5%;
    }

    #linklist li {
        font-size: 30px;
    }

    #linklist img {
        width: 90px;
        height: 90px;
    }

}
