@font-face
{
font-family: 'Delicious';
src: url('fonts/Delicious-Roman.otf') format('opentype');
font-weight: normal;
}

@font-face
{
font-family: 'Delicious';
src: url('fonts/Delicious-Italic.otf') format('opentype');
font-style: italic;
}

@font-face
{
font-family: 'Delicious';
src: url('fonts/Delicious-Bold.otf') format('opentype');
font-weight: bold;
}


@font-face
{
font-family: 'Delicious';
src: url('fonts/Delicious-BoldItalic.otf') format('opentype');
font-weight: bold;
font-style: italic;
}


@font-face
{
font-family: 'Delicious';
src: url('fonts/Delicious-Heavy.otf') format('opentype');
font-weight: 900;
}

html
{
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body
{
margin: 0;
font: 15.5px/1.6 Delicious, Arial, sans-serif;
color: #fff;
background: #cacaca url(krisbg.png) no-repeat fixed;
background-size: cover;
}

a
{
color: #fff;
}

p a
{
font-weight: 900;
}

.krisbg
{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #cacaca url(krisbg.png) no-repeat fixed;
background-size: cover; 
transition: all 0.5s;
transform: scale(1.05);
}

section
{
position: relative; /* necessary to work with krisbg */
}

/* ADDITIONAL FONTS */

#top p, #lastupdated, #sites h2, #sites .url, #linksout ul
{
font-family: Lato, Arial, sans-serif;
}


/* TOP SECTION */

#top
{
height: 100vh;
}

#top header
{
font-size: 1.6em;
color: #000;
font-weight: 600;
margin: 20vh 0 0 10vw;
}

#top p
{
margin: 0 0 0 2%;
}

#top header h1
{
display: inline-block;
font: italic 900 8.5vw/1 "Barlow Condensed", Arial, sans-serif;color: #fff;
background-color: #000;
padding: 0 2% 1%;
margin: 0;
}

#lastupdated
{
position: relative;
margin-left: 1em;
opacity: .35;
font-size: .8em;
color: #000;
text-decoration: none;
}


/* CONTENT GENERAL & COLUMN BOXES */

.content
{
padding: 10%;
}

#info > div, .sites2columns
{
column-count: 2;
}

.content h1
{
font: italic 900 2.75em/1 "Barlow Condensed", Arial, sans-serif;
text-transform: uppercase;
margin-left: 5.5%;
}

.content .item
{
padding: 2vw;
background-color: rgba(0, 0, 0, .85);
margin: 0 auto 2vw;
}

#info div > div, .sites2columns div
{
width: 30vw;
-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
}



/* INFO SECTION */

#info h2
{
font-weight: 900;
margin: 0 0 .5em;
line-height: 1;
}

#info p
{
margin: 0;
}

#info li
{
list-style-type: "- ";
list-style-position: inside;
}

#info ul
{
padding-left: 0;
margin: 0;
}

#info #eyethrower-sprite
{
float: right;
}



/* SITE LIST */

#sites div dl
{
font-size: .85em;
}

#sites div dt
{
font-weight: bold;
}

#sites div dd
{
margin-top: -1.6em;
margin-left: 6em;
}

.num /* switching fonts for numbers only, because body font has awful "lowercase" numbers */
{
font-family: "Trebuchet MS", Arial, sans-serif;
font-stretch: condensed;
}

#sites h2, #sites .url
{
font-weight: 900;
}

#sites h2
{
font-size: 1.75em;
margin: -.35em 0 .25em;
line-height: 1.15;
}

#sites h2 i
{
font-weight: lighter;
}

#sites h3
{
margin-top: -.2em;
line-height: 1.2;
}

#sites .url
{
margin: 1em 0 0;
font-size: 1.25em;
display: block;
}

#sites .featured .item
{
width: 70vw;
}
.row-with-image
{
display: flex;
flex-flow: row nowrap;
justify-content: space-evenly;
align-items: stretch;
align-content: flex-start;
}


.info-section
{
flex: 1 0 35%;
}

.sites2columns .info-section
{
flex-basis: 50%;
}

.site-pic
{
flex: 1 1 50%;
margin: 0 0 1em 1em;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

.item p {
  margin-top: 0.3em;
}

.sites2columns .site-pic
{
flex-basis: 20%;
}

#site-staircase .site-pic
{
background-image: url(sites/staircase.png);
background-size: cover;
}

#site-copycat .site-pic
{
background-image: url(sites/copycat.png);
background-size: cover;
background-position: 35%;
}

#site-oblivion .site-pic
{
background-image: url(sites/oblivion.png);
background-size: cover;
background-position: center right;
}

#site-giuseppi .site-pic
{
background-image: url(sites/giuseppi.jpg);
background-position: 32%;
}

#site-jrpg .site-pic
{
background-image: url(sites/jrpg.png);
}

#site-spenser .site-pic
{
background-image: url(sites/ranger.png);
}

#site-amvs .site-pic
{
background-image: url(sites/jack.png);
}

#site-agarest .site-pic
{
background-image: url(sites/agarest.jpg);
}

#site-quakequotes .site-pic
{
background-image: url(sites/q3a.jpg);
}

#site-archived p
{
margin-top: 1em;
}

#site-archived ul
{
list-style-type: none;
padding-left: 1.75em;
}

/* LINKS OUT */

#linksout
{
background-color: rgba(0, 0, 0, .85);
margin-top: 30vh;
padding: 3% 15% 3.5%;
font-size: .9em;
}

#linksout-1
{
width: 70%;
}

#friendsites
{
column-count: 3;
}


@keyframes movearrow{
from {transform: translateX(-5px);}
to {transform:translateX(-12px);}
}

#linksout ul a:before, #sites .url:after
{
color: #fff;
content: "\25B6";
font-style: normal;
display: inline-block;
opacity: 0;
animation: movearrow .35s linear alternate infinite;
}

#sites .url:after
{
margin-left: 1em;
}

#linksout ul a:hover:before, #sites .url:hover:after
{
opacity: 1;
}

#linksout ul
{
padding-left: 0;
font-size: 1.1em;
margin: 0 auto;
margin-left: -1em;
list-style-type: none;
font-weight: 900;
}

#linksout ul a
{
text-decoration: none;
}

#linksout
{
display: flex;
}

#linksout-2
{
margin-left: 10%;
width: 50%;
}

/* MOBILE ADAPTATIONS */


@media screen and (max-width: 1200px) {

body
{
font-size: 10px;
}

#friendsites
{
column-count: 2;
}

.krisbg
{
background: #cacaca url(krisbg2.png) no-repeat fixed left 25%;
background-size: 125%;
}

#top header
{
font-size: 12px;
margin: 12vh 0 0 7vw;
}

}


@media screen and (max-aspect-ratio: 3/2) {



.krisbg
{
background: #cacaca url(krisbg2.png) no-repeat fixed center center;
background-size: cover;
}

#top header
{
margin: 50vh auto 0;
width: 83%;
text-align: center;
background-color: #000;
color: #fff;
padding: .5em .5em .75em;
}

#top header h1
{
font-size: 3em;
}

#info > div, .sites2columns
{
column-count: 1;
}

.content
{
padding: 10% 0;
}

.sites2columns div, #info div > div, #sites .featured .item
{
width: 83vw;
}

.content .item
{
padding: 5vw;
}

#linksout
{
display: block;
padding: 3% 8% 3.5%;
}

#linksout-1, #linksout-2
{
width: 100%;
}

#linksout-2
{
margin-left: 0;
}

}
