@font-face { font-family: SourceSansPro; src: url('/fonts/SourceSansPro/SourceSansPro-Regular.ttf'); }
@font-face { font-family: SourceSansPro-Light; src: url('/fonts/SourceSansPro/SourceSansPro-Light.ttf'); }
@font-face { font-family: SourceSansPro-Bold; src: url('/fonts/SourceSansPro/SourceSansPro-Bold.ttf'); }
@font-face { font-family: Orbitron; src: url('/fonts/Orbitron/Orbitron-Regular.ttf'); }
@font-face { font-family: Orbitron-Bold; src: url('/fonts/Orbitron/Orbitron-Bold.ttf'); }

body {
    font-family:'SourceSansPro-Light', arial, sans-serif;
    margin: 0;
    font-size: 16px;
    background-image: url(/images/escheresque.png);
}

a[target="_blank"]:not(.noicon):after {
    font-family: Icons;
    content: " \f35d";
    font-size: 10px;
    vertical-align: super;
}

.content-wrap {
    max-width:1000px;
    margin:0 auto;
    position:relative;
    padding: 0 20px;
}

.top-wrapper {
    background-color: rgba(255,255,255,0.2);
    background: linear-gradient(rgba(255,255,255,0.5) 20%,rgba(255,255,255,0.2));
    padding: 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 40px;
}


/* Header */

header h1 {
    background-color: #89C53F;
    padding: 10px;
    color: #006400;
    transform: skewX(-10deg) rotate(-10deg);
    float: left;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    position: absolute;
    top: 20px; left: 0;
    line-height: 1.2em;
    font-size: 32px;
}
header h2 {
    background-color: #F26223;
    color: #B22222;
    padding: 8px;
    transform: skewX(-10deg) rotate(-10deg); /* translateX(-8em) translateY(0.3em) */
    position:absolute;
    top: 58px; left: 120px;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    line-height: 1.2em;
    font-size: 24px;
}
header .logo {
    position: relative;
    height: 150px;
}

@media screen and (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
    }
    header h2 {
        font-size: 1.1em;
        top:48px;
        left:100px;
    }
    header .logo {
        height: 120px;
    }
}
@media screen and (max-width: 400px) {
    header h1 {
        font-size: 1.2em;
    }
    header h2 {
        font-size: .8em;
        top:50px;
        left:70px;
    }
    header .logo {
        height: 120px;
    }
}
@media screen and (min-width: 600px) {
    .socialmedia {
        float:right;
        position: relative;
        z-index: 2;
    }
}


/* Navigation */

.socialmedia img {
    padding:6px;
}
nav {
    clear:both;
}
nav a {
    padding:8px 20px;
    margin:10px 20px 10px 0px;
    float:left;
    text-decoration:none;
    transition: 0.3s ease;
    font-family:'Orbitron-Bold', sans-serif;
}
nav a:hover {
    transform:scale(1.2,1.2);
}

/* Large screen header */
@media screen and (min-width: 1400px) {
    .top-wrapper {
        padding-bottom: 0;
    }
    header {
        display: flex;
        justify-content: space-between;
    }
    header .logo {
        flex-basis: 420px;
    }
    header .socialmedia {
        order: 3;
        margin-top: 26px;
    }
    header nav {
        margin-top: 30px;
    }
}
/* Small screen header */
@media screen and (max-width: 600px) {
    nav a {
        display: block;
        float: none;
        margin:10px 0px 10px 0px;
    }
}

nav a.blue {
    background-color:#10A0C5;
    color:#1D6274;
}
nav a.purple {
    background-color:#602E91;
    color:#dda0dd;
}


/* Content box */

.brighthover {
    clear:both;
    background-color: #127EBE;
    border-radius: 8px;
    padding:12px;
    margin-bottom:60px;
    /*background: radial-gradient(#EEE,#21AF4B); */
    color:#FFFFFF;
    transition: 0.15s ease-in;
}
.brighthover > .left {
    flex: none;
    width: 220px;
}
.brighthover h2 {
    color: #FFC809;
    background-color: rgba(0,0,0,0.2);
    font-size: 1.4em;
    padding: 6px 8px;
    text-align: center;
    font-weight: normal;
    font-family: 'Orbitron', sans-serif;
    display: block;
}
.brighthover h2 a {
    text-decoration:none;
}
.brighthover a {
    color:#FFC809;
}
.brighthover ul {
    margin:0;
    margin-left: 10px;
    padding-left:1em;
    list-style-image: url('/images/star.png');
}
/*
.brighthover:hover {
    background-color:#F26223;
}
*/

.brighthover input, .brighthover textarea {
    width:100%;
    box-sizing:border-box;
    padding:8px;
    border:3px solid #666;
    margin-bottom:15px;
    background-color:#eee;
    font-size:18px;
    font-family:'SourceSansPro', arial, sans-serif;
    letter-spacing:1px;
}
.brighthover textarea {
    height:200px;
    resize: vertical;
}
.brighthover button {
    font-size:18px;
    letter-spacing:1px;
    border:3px solid #ccc;
}


.boldyellow {
    color:#FFC809; font-weight:bold; font-size:1.1em;
}


.twocolumns > div {
    width:49%;
    margin-right:2%;
    float:left;
}
.twocolumns > div:last-child {
    margin:0;
}
img {
    max-width:100%;
}



.clear {
    clear:both;
}

.colourlist {
    color:
    #FFC809
    #FBE508
    #F3EC18
    #C0D72F
    #89C53F
    #4AB848
    #21AF4B
    #27B466
    #10A0C5
    #127EBE
    #185FAD
    #21439C
    #283794
    #3A3091
    #602E91
    #9F3796
    #C41A7D
    #E41A4A
    #EC1D23
    #EE3823
    #F26223
    #F57722
    #F8901F
}

footer {
    clear:both;
    text-align:center;
    margin-bottom: 20px;
}


#skills-content-slider {
    display: block;
    height: 100px;
    overflow: hidden;
    position: relative;
    padding: 0 50px;
}
#skills-content-slider .sliderItems {
    /*position: absolute;
    top: 0;
    left: 0;*/
    /*border: 1px solid #fff;*/
    overflow: visible;
}
#skills-content-slider .sliderItem {
    /*display: none;
    position: absolute;*/
    height: 100px;
    display: inline-block;
    /*width: 25%;*/
    text-align: center;
    background-color: rgba(0,0,0,0.2);
    top: 0;
    color:#FFF;
    padding-top: 25px;
    box-sizing: border-box;
    vertical-align: top;
    margin-left: 1%;
}
#skills-content-slider .sliderItem:nth-child(odd) {
    background-color: rgba(255,255,255,0.2);
}
#skills-content-slider .next,
#skills-content-slider .previous {
    height: 100px;
    width: 50px;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.5);
    z-index: 5;
    text-align: center;
    padding-top: 4%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    -moz-user-select: -moz-none;
}
#skills-content-slider .next {
    position: absolute;
    top: 0;
    right: 0;
}
#skills-content-slider .previous {
    position: absolute;
    top: 0;
    left: 0;
}
#skills-content-slider .sliderItem i {
    font-size: 36px;
}


.history > h2 {
    padding: 20px;
    border-bottom: 5px solid #FFC809;
    font-size: 1.2em;
    letter-spacing: -1px;
}

#photo-posts .item {
    background-color: rgba(0,0,0,1);
    margin-bottom: 40px;
}
#photo-posts .image {
    width: 50%;
}
#photo-posts .image img {
    filter: grayscale(1);
    transition: filter .5s;
}
#photo-posts .item:hover .image img {
    filter: grayscale(0);
}
#photo-posts .item:hover .content {
    background-color: rgba(24, 96, 173, .8);
}
#photo-posts .content {
    background-color: rgba(24, 96, 173, 1);
    padding: 20px;
    position: relative;
    transition: background-color .5s;
}
#photo-posts .content .header {
    color: white;
}
#photo-posts .content .meta {
    color: #d0d0d0;
}
#photo-posts .content .description {
    color: white;
}
@media (max-width: 768px) {
    #photo-posts .content .button {
        float: right;
    }
}
@media (min-width: 768px) {
    #photo-posts .content .button {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }
}