
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Texturina:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Texturina:ital,wght@0,700;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');


html {
    scroll-behavior: smooth;
    background-color: #dddddd;
}

strong{
    color: cadetblue;
}

#top{
    color: gold;
    font-size: 5em;
    font-family: 'Lobster', cursive;
    text-shadow: 4px 4px black;
    margin-bottom: 0.5em;
}

canvas{
    border:1px solid gray;
    font-family: 'Lobster', cursive;
    font-family: 'Trebuchet MS';
    width: 100%;
    position: fixed;
    top: -1px;
    left: -1px;
    z-index: -10;
    height: 100%;
}

#font-loader{
    height: 0;
    width: 0;
    overflow: hidden;
}

#lobster{
    font-family: 'Lobster', cursive;
}

#skills ul {
    font-size: 1.5em;
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

img {
    border-radius: 10px;
}

#projectImage {
    display: block;
    max-width:60%;
    max-height: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    border: black;
    border-style: solid;
    border-width: 5px;
    border-radius: 20%;
}

#face {
    display: block;
    max-width:60%;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    border: black;
    border-style: solid;
    border-width: 5px;
    border-radius: 40%;
}

.skill {
    width: 30%;
    text-align: center;
    font-family: 'Sansita Swashed', cursive;
    color: gold;
    margin-top: 0;
    align-content: space-evenly;
    border: black;
    border-style: solid;
    border-width: 5px;
    border-radius: 5px;
    background-color: rgba(11,11,11,0.85);
    font-family: 'Changa', sans-serif;
    padding: 10px;
}

.skill h2{
    text-shadow: 2px 2px black;
    margin: 0;
}
.skill p {
    margin-top: 10px;
    margin-bottom: 10px;
}
h1, h2 {
    text-align: center;
    font-size: 1.5em;
    text-shadow: 2px 2px black;
}

h1 {
    font-size: 4em;
    margin-bottom: 0em;
    color: gold;
    font-family: 'Lobster', cursive;
}

#work ul {
    list-style-type: none;
    padding: 0%;
    width: 60%;
    min-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.job {
    align-content: space-evenly;
    top: 0px;
    margin: 50px;
    margin-bottom: 1em;
    font-size: x-large;
    position: relative;
    color: gold;
    text-shadow: 2px 2px black;
    font-size: 1.5em;
    border: black;
    border-style: solid;
    border-width: 5px;
    border-radius: 5px;
    text-align: center;
    font-family: 'Sansita Swashed', cursive;
    background-color: rgba(11,11,11,0.85);
    z-index: 1;
    font-family: 'Changa', sans-serif;
    padding: 10px;
}

.job h2, .job p {
    margin: 0;
}


.job img {
    width: 45%;
    min-width: 340px;
}

#projects ul, #websites ul {
    list-style: none;
    display: grid;                  /* Use CSS Grid instead of flex */
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); 
    gap: 20px;                      /* Space between the two columns */
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;              /* Keeps columns from stretching too wide */
}

.intro > * {
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.intro p, .WhatIDid p {
    font-family: 'Teko', sans-serif;
}
.WhatIDid h1 {
    margin-bottom: 20px;
}

.WhatIDid p {
    margin-bottom: 10px;
    margin-top: 0;
    padding: 0;
    line-height: 1;
}

.WhatIDid a {
    margin: 0;
    font-family: 'Teko', sans-serif;
}

.intro {
    width: 45%;
    align-content: space-evenly;
    flex: 1 1 0;
    margin-right: 10px;
    margin-left: 10px;
}

.WhatIDid {
    text-align: center;
    padding: 0px;
    width: 45%;
    flex: 1 1 0;
    margin-right: 10px;
    margin-left: 10px;
}

.project, .website {
    align-content: space-evenly;
    top: 0px;
    min-height: 320px;
    width: 70%;
    margin: 5px;
    margin-bottom: 1em;
    font-size: x-large;
    position: relative;
    color: white;
    text-shadow: 2px 2px black;
    font-size: 1.5em;

    border: black;
    border-style: solid;
    border-width: 5px;
    border-radius: 5px;

    text-align: center;
    font-family: 'Sansita Swashed', cursive;
    background-color: rgba(11,11,11,0.85);
    z-index: 1;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.website{
    color: white;
    min-height: 320px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.website > * {
    width: 45%;
    margin-left: 3.33%;
}
#work img{
    border-style: solid;
    border-radius: 10px;
    border-width: 5px;
    width: 40%;
    min-width: 350px;
    margin: auto;
}
.project img, .website img{
    z-index: -1;
    width: 40%;
    margin-bottom: 10px;
    margin-top: 10px;
    flex-shrink: 3;
    border-radius: 10px;
}

a:link {
    text-decoration: none;
    color: white;
}
  
a:visited {
    text-decoration: none;
    color: rgb(238, 238, 238);
}
  
a:hover {
    text-decoration: underline;
    color: white;
}
  
a:active {
    text-decoration: underline;
    color: white;
}

.project h2 {
    text-align: center;
}

#topbar 
{
    z-index: 5;
    border-width: 5px;
    border-radius: 5px;
    border-style: solid;
    border-color: black;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(11,11,11,0.85);
    display: flex;
    justify-content: space-around;
    
}

#topbar li {
    float: left;
    
}

#topbar a {
    display: block;
    color: gold;
    text-align: center;
    padding: 16px;
    padding-left: 128px;
    padding-right: 128px;
    text-decoration: none;
    border-radius: 5px;
}

#topbar a:hover {
    background-color: #000;
}

#ddw {
    color: rgb(0, 255, 200);
}

#ddw h2 {
    font-family: 'Acme', sans-serif;
}

#dnd{
    color: orange;
}

#dnd h2{
    font-family: 'VT323', monospace;
}

#BattleBlimps{
    color: gold;
}

#BattleBlimps h2{
    font-family: 'Texturina', serif;
}

#bbb{
    color:  rgb(106, 121, 255);
    text-shadow: 1px 1px black;
    font-family: 'Acme', sans-serif;
}

#TFTD{
    top: 0px;
    color: red;
}
#TFTD h2, #walle h2{
    font-family: 'Changa', sans-serif;
}


#satisfaction{
    color: rgb(255, 136, 0);
    text-shadow: 1px 1px black;
}

#wheel{
    color: gold;
}

#disco{
    color: yellowgreen;
}

.credit {
    color: white;
}

.project, .website {
    
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: border-box;
    background-position: center;
}

    .project {
        flex-direction: column;
    }

    .project > * {
        width: auto;
    }

    .project img {
        width: 90%;
    }
    #topbar a {
        padding-left: 30px;
        padding-right: 30px;
    }
    .project, .website {
        width: auto;
    }

@media only screen and (max-width: 670px) {
}

#aboutMe {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    min-width: 300px;
}

html {
    background-color:rgb(46, 46, 46);
}