
html {
    margin: 0px;
}

body {
    margin: 0px;
    background-image: url('img/sf.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 10%;
    font-size: 16px;
}

#home a #fit-img img {
    max-width: 80px;
}

#home {
    top: 5%;
    left: 17.5%;
    position: absolute;
    width: 5%;
    height: 5%;
    background-color: transparent;
    object-fit: contain;
}

#home img:hover {
    opacity: 80%;
}

#fit-img {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    object-fit: contain;
}

.header {
    top: 5%;
    left: 30%;
    position: absolute;
    width: 40%;
    height: 12.5%;
    background-color: transparent;
    display: block;

    font-family: "graphblack";
    letter-spacing: 0.3em;
    font-size-adjust: 0.2;
    font-size: 600%;
    font-weight: 400;
    font-stretch: expanded;
    font-style: oblique;
    text-align: center;

    color: #ffe4c4;

    /* X-RAY MODE
    border: 2px dashed white;*/

}

.header:hover {
    animation-name: hovering-movement;
    animation-direction: normal;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

#smaller {
    font-size-adjust: 0.75;
}

#ruskinick {
    background: -webkit-linear-gradient(yellow, magenta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 2%;
    padding-right: 2%;
}

.content {
    top: 22.5%;
    position: absolute;
    width: 80%;
    height: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: normal;
    
    /* X-RAY MODE
    border: 2px dashed white;*/
}

.proj-container {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    /*text-align: center;*/
}

.project {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    overflow: visible;
    margin-bottom: 2%;
}

.projinfo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.projtitle {
    position: relative;
    height: 100%;
    margin-left: 4%;
    margin-right: 4%;
    margin-top: -4%;
    margin-bottom: -2.5%;
    font-family: "graphblack";
    letter-spacing: -0.05em;
    font-size-adjust: 0.2;
    font-size: 500%;
    font-weight: 400;
    font-stretch: expanded;
    font-style: normal;
    text-align: center;
    
    color: #ffe4c4;
}

.projdesc {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-content: center;

    font-family: "Garamond";
    font-size: 1.75em;
    color: bisque;
    text-shadow: 1px 1px black;
    line-height: 0.8;
    text-align: center;
}

.projdesc ul {
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    margin: 1.5%;
}

.projdesc ul li {
    font-weight: normal;
    font-size: 0.75em;
}

.download {
    position: relative;
    
    color: tan;
    text-shadow: black;
    width: auto;
}

.showcase {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    width: 33.1%;
    object-fit: cover;
}

.showcase-small {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    width: auto;
    height: 50%;
    object-fit: cover;
}

.showcase img {
    max-width: 100%;
    max-height: 100%;
}




















@keyframes hovering-movement {
    0%   {transform: translate(0%, 0%);}
    13%  {transform: translate(0.79%, -0.414%);}
    21%  {transform: translate(-0.359%, 0.736%);}
    25%  {transform: translate(-0.409%, -0.866%);}
    28%  {transform: translate(-0.209%, 0.766%);}
    33%  {transform: translate(0.257%, 0.558%);}
    50%  {transform: translate(1.5%, -1.7%);}
    63%  {transform: translate(-0.9%, -0.6%);}
    75%  {transform: translate(0.5%, -1%);}
    88%  {transform: translate(0.6%, -1.2%);}
    100% {transform: translate(0%, 0%);}   
}

/* Make a gif for this! */
@keyframes hovering-color {
    0%   {background-image: linear-gradient(-30deg, orange, tan);}
    50%  {background-image: linear-gradient(-35deg, orange, tan);}
    100% {background-image: linear-gradient(-40deg, orange, tan);}
}



















#links {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;

    background-color: transparent;
    width: 100%;
}

.button {
    position: relative;
    height: 50%;
    width: 20%;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    font-family: "Helvetica";
    font-size: x-large;
    text-align: center;
    
    /* X-RAY MODE */
    /*
    background-color: tan;
    border: 2px dotted black;
    box-shadow: 5px 3px black; */
}

.button:hover {
    animation-name: 'hovering-movement-intense';
    transition-timing-function: ease-in-out;
    animation-duration: 9s;
    animation-direction: backwards;
    animation-iteration-count: infinite;
    /*box-shadow: 6px 4px black;*/
}

.img-container {
    position: relative;
    width: 27%;
    overflow: hidden;

    background-color: transparent;
}

.img-container img {
    position: relative;
    max-height: 100%;
    max-width: 100%;
}

.label-text {
    display: inline-block;
    font-family: "unisansthincaps";
    font-size-adjust: 0.2;
    font-weight: 600;
    font-stretch: expanded;
    text-align: left;
    color: bisque;
}

a {
    text-decoration: underline dotted tan;
    font-family: 'unisansthincaps';
    font-size-adjust: 0.2;
    text-align: center;
}

a:hover {
    text-decoration: none;
    
}

a:hover .label-text {
    color: tan;
    font-family: "unisansthinitalic";
    font-size-adjust: 0.3;
    transform: scale(1.04);
}


/* Fonts */

@font-face {
    font-family: 'graphblack';
    src: url('fonts/web/graph-black_0-webfont.woff2') format('woff2'),
         url('fonts/web/graph-black_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'graphbold';
    src: url('fonts/web/graph-bold-webfont.woff2') format('woff2'),
         url('fonts/web/graph-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'graphcondensedbold';
    src: url('fonts/web/graphcondensed-bold-webfont.woff2') format('woff2'),
         url('fonts/web/graphcondensed-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'unisansheavyitaliccaps';
    src: url('fonts/web/uni_sans_heavy_italic-webfont.woff2') format('woff2'),
         url('fonts/web/uni_sans_heavy_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'unisansheavycaps';
    src: url('fonts/web/uni_sans_heavy-webfont.woff2') format('woff2'),
         url('fonts/web/uni_sans_heavy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'unisansthinitalic';
    src: url('fonts/web/uni_sans_thin_italic-webfont.woff2') format('woff2'),
         url('fonts/web/uni_sans_thin_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'unisansthincaps';
    src: url('fonts/web/uni_sans_thin-webfont.woff2') format('woff2'),
         url('fonts/web/uni_sans_thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}