/* global variables */

@font-face {
    font-family: pixelFont;
    src: url(./fonts/Jersey20-Regular.ttf);
}

:root{
    --primary-color:#85acff;
    --secondary-color: #344b7e00;
    --maintextcolor: black;
    --background-color: #403963;
    --musicplayerprimarycolor: #8591ff;
    --musicplayersecondarycolor: black;

    --border-radius: 2px;
    --border-width: 3px;
    --border-color: #000000;

    --text-color: white;
    --text-secondary-color: #000000;

    font-family: 'Courier New', Courier, monospace;
    /*letter-spacing: 4px;*/
}

.body {
    display:flex;
    justify-content: center;
    position:static; /* element is positioned according to the normal flow of the document (default) */
    
    
    /*background-color: var(--background-color);*/
    background-repeat:repeat;
    image-rendering: auto;

    background-image:url(img/websitebackground2.png);
}

.background {
    position:fixed;
    display:grid;
}

/* CLASSES */
.container { /* contains the whole site in a grid box */
    display: flex;
    flex-direction: column;
    /*box-sizing:border-box;*/
    padding: 30px 50px;
    padding-bottom: 100px;
    gap: 20px;
    /*border-style: solid;
    border-width: 3px;
    border-color: var(--border-color);*/
}

.headertext {
    text-align: center;
}

.sitebargrid {
    display: flex;
    justify-content: right;
}

.headerdefault {
    margin: 0px 0px;
    padding: 5px 5px;
    text-wrap: nowrap;
}

.headerwrap {
    margin: 0px 0px;
    padding: 5px 5px;
    text-wrap: wrap;
    text-align: center;
}

.centertext {
    justify-self: center;
    align-self: center;
    text-align: center;
}

.outlinetext {
    /* text outline */
    color: #ffffff;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0px 0px 3px var(--text-secondary-color)
    ;  
    /*text-shadow: 0px 0px 6px var(--text-secondary-color);*/
}


.latestprojectcontainer {
    display: flex;
    flex-direction: column;
    padding-top:5px;
    border-style: solid;
    border-width: var(--border-width);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
    /*background-color: var(--primary-color);*/
    background-image:url("img/websitebackground4.png");
    background-repeat: repeat;
    /*
    background-repeat:repeat;
    background-image:url(img/backgroundanimationprototypefullbigger.gif);*/
}

.projectcard {
    display: flex;
    flex-direction:column;

    align-content: center;
    /*
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color); */
    min-height: 350px;
    width: 300px;
    margin: 5px;
    padding: 5px;

    background-color: var(--secondary-color);
    
}

.musiccard {
    display:flex;
    flex-direction: column;
    justify-content: center;
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color);
    height: 50px;
    width: 250px;
    margin: 15px;
    transition: all 0.5s ease;
}

.projectpicture {
    width: 250px;
    height: 250px;
    align-self: center;
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color);

    transition: all 0.5s ease;
}

.projectdescription {
    margin: 10px;
    font-weight: bolder;
}

.floating {
    animation: float 1s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform:translateY(0);
    }
}

@keyframes spin {
    0% {
        transform:rotateZ(0deg);
    }
    100% {
        transform:rotateZ(360deg);
    }
}

/* TITLE */

.sitetitle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: min-content;
    justify-content: center;
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color);
    background-color: var(--primary-color);
    background-image:url("img/websitebackground4.png");
    background-repeat: repeat;
    /*
    background-repeat:repeat;
    background-image:url(img/backgroundanimationprototypefullbigger.gif);*/
}

#titletext {
    font-size:1em;
    font-weight:bold;
    margin: 0px 10px;
    align-self: center;
}

#titletext:active { /* on click hold */
    animation: spin 2s ease-in-out;
}

.sitebaritem {
    text-align: center;
    font-size: 1em;
    padding: 0px 0px;
}

.headerlinks {
    text-decoration:none;
    align-content: center;
    margin: 0px 10px;
}
.headerlinks:hover {
    color: var(--musicplayerprimarycolor);
    animation: float 1s ease-in-out infinite;
}


/* HEADER */
.siteheader {
    align-content: center;
    padding: 0px 0px;
    margin: 0px 0px;
}

#headertext {
    color: var(--text-color);
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    padding: 0;
    margin: 0px 0px;

    /*font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;*/
    text-transform: uppercase;

    -webkit-text-stroke: 1px black;
    text-shadow: 4px 4px 5px var(--border-color);

}

/* LATEST WORKS */
#latestwork {
    display: grid;
    grid-template-columns: 3fr 1fr;
    justify-content: center;
    gap: 5px;
}

#latestgames {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#latestmusic {
    display: flex;
    flex-direction: column;

}

/* ABOUT ME */

#aboutme {
    display: flex;
    flex-direction: column;
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color);
    padding: 5px;
    background-color: var(--primary-color);
    background-image:url("img/websitebackground4.png");
    background-repeat: repeat;
    /*
    background-repeat:repeat;
    background-image:url(img/backgroundanimationprototypefullbigger.gif);*/
}

#aboutmeheader {
    display: grid;
    grid-template-columns: 1fr 5fr;
}

#aboutmetitle {
}

#aboutmedisplay {
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color);
    min-height: 50px;

    background-image:url(img/RiseOfTheDamnedBackground03.png);
    background-size:cover;
    background-position: center;
    overflow: hidden; /* Monkey is hidden when outside of box */
}

#monkeyrun {
    max-height:100px;
    margin-bottom:-10px;
    margin-top:-10px;
    margin-left: -150px;
    overflow: hidden;

    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: monkeyrunning;
}

@keyframes monkeyrunning {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(1550%);
    }
}

#aboutmebody {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#aboutmeimg {
    border-style: solid;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-color: var(--border-color);
    margin: 10px;
    height: 300px;
    width: 500px;
    justify-self: center;
    image-rendering: pixelated;
    background-image: url(img/IMG_4337.JPG);
}

/* PAST PROJECTS*/

#pastprojects { /* flex of title and body */
    display: flex;
    flex-direction: column;
    padding-top:5px;
    border-style: solid;
    border-width: var(--border-width);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    background-image:url("img/websitebackground4.png");
    background-repeat: repeat;
    /*
    background-repeat:repeat;
    background-image:url(img/backgroundanimationprototypefullbigger.gif);*/
}

#pastprojectsbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-evenly;
}

/* CONTACT ME */

#contactme {
    display: flex;
    flex-direction: column;
    padding-top:5px;
    border-style: solid;
    border-width: var(--border-width);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    background-image:url("img/websitebackground4.png");
    background-repeat: repeat;
    /*
    background-repeat:repeat;
    background-image:url(img/backgroundanimationprototypefullbigger.gif); */
}


/* INDIVIDUAL PROJECT CARDS */

#fromulouspane {
    /*background-color:rgb(16, 42, 126);*/
}
#riseofthedamned {
    /*background-color:rgb(87, 19, 19);*/
}

/* PICTURES */

.imagedefault {
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#fromulouspanepic {
    background-image: url(img/FromulousLevel4.png);
}

#riseofthedamnedpic {
    background-image: url(img/rotdmenucrop.png);
}

#fromulouspanemaintheme {
    background-image: url(img/FromulousLevel1.png);
}

#redscarezone {
    background-image: url(img/redscarezone.png);
}

#riseofthedamnedmaintheme {
    background-image: url(img/RiseOfTheDamnedBackground00.png);
}

#breakingrulesdyingyoung {
    background-image: url(img/cigarettes.png);
}

#pangeaandthedinosaursdilemma {
    background-image: url(img/multitrillions.png);
    background-position-y: bottom;
}

#burningmyselfontheaccelerator {
    background-image: url(img/windowuncomprehendable.png);
}

#astatueinacidrainpic {
    background-image: url(img/astatueinacidrain.png);
}

#trillysampslp1pic {
    background-image: url(img/trillysampslp1cover.png);
}

#dontexplainitallpic {
    background-image: url(img/dontexplainitallcover.jpg);
}

/* ANIMATIONS */

.musiccard:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

.projectpicture:hover 
{
    transform: scale(1.05);
    transition: all 0.5s ease;
}



/* mobile styles */

/* small tablet styles */
@media screen and (min-width: 620px) {
    #titlebox {
        justify-content: center;
    }
    #pastprojectsbody {
        display:flex;
        flex-direction:row;
        flex-wrap: wrap;
        justify-content:space-evenly;
        gap: 20px;
        
    }
    .body {
        display:block;
        align-items: stretch;
    }
}

/* large tablet and laptop styles */
@media screen and (min-width: 960px) {

}

/* desktop styles */
@media screen and (min-width: 1100px) {

    .body {
        display:flex;
    }
    .container {
        max-width: 1200px;
        justify-content: center;
    }

    #pastprojects {
        max-width: 1200px;
    }
    #headertext {
        font-size: 2.3em;
    }
}