@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;1,300;1,600&display=swap');


body {
    font-family: 'Montserrat', monospace;
    margin: 0;
    background-color: black;
    color: white;
}

main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 3%;
    display: flow-root;
}

header{
    margin-top: 20px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    vertical-align: middle;
}

/* Logo in header */
.logo{
    float: left;
    margin-right: 15px;
}

h1 {
    top: 8px;
    position: relative;
}


/* General Links */
a:link {
    color: greenyellow;
}
a:visited {
    color: greenyellow;
}
a:hover {
    color: white;
    text-decoration: none;
}
a:active {
    color: gray;
}


/* Vertical Navigation Bar */
nav{
    padding: 3px;
}
nav ul {
    list-style-type: none;
    text-align: center;
}
nav li {
    display: inline;
}
nav a {
    display: inline-block;
    text-decoration: none;
    padding: 10px;
}
nav a:link {
    color: greenyellow;
}
nav a:visited {
    color: greenyellow;
}
nav a:hover {
    color: greenyellow;
    transform: rotate(15deg);
    text-decoration: none;
}
nav a:active {
    color: white;
}

/* <for smaller screens/mobile */
.navbar{
    padding: 0.25rem;
    border-top: 1px grey solid;
    border-bottom: 1px grey solid;

    border-radius: 5px;
    margin-left: 1%;
    margin-right: 1%;
}

.move-down{
    padding-top: 1%;
    padding-left: 1.5%;
}

/* make certain blocks of text (Resume) smaller */
.smaller{
    max-width: 530px;
    margin: 0 auto !important;
    float: none !important;
}

.outline {
    border-left: 2px dashed grey;
    border-right: 2px dashed grey;

    border-radius: 5px;

    padding-left: 25px;
    padding-right: 25px;
}

/* Underline text */
.underline {
    text-decoration: underline dashed;
    text-underline-offset: 10%;
}



/* Gives images a rounded edge and dashed outline */
.rounded {
    margin: auto 0;
    margin-bottom: 1.5em;
    display: block;
    
    border: 3px dashed white;
    border-radius: 15px;
}

/*Javascript Game Canvas*/
canvas {
    background-color: black;
    margin: 0 auto;
    display: block;
    background-image: url(images/bkg.jpeg);
    border-radius: 7px;
    border: 3px dashed white;
    box-shadow: 2px 2px 6px black;
}

.game-controls {
    text-align: center;
}

.myButton {
    
    background-image: url(images/bkg.jpeg);
    border-radius: 7px;
    font-family: monospace;
    border: 2px dashed white;
    color: white;
    margin-top: 15px;
}

/* misc alignment changes */
.center-me {
    text-align: center;
}

footer {
    margin: 0 auto;
    border-top: 1px solid grey;
    padding-top: 10px;
    font-size: .52em;
}
footer ul {
    list-style-type: none;
}
footer li {
    display: inline;
}
footer a {
    display: inline-block;
    text-decoration: none;
    padding-right: 10px;
}
footer a:link {
    color: yellowgreen;
}
footer a:visited {
    color: yellowgreen;
}
footer a:hover {
    color: greenyellow;
    transform: rotate(15deg);
    text-decoration: none;
}
footer a:active {
    color: white;
}

footer .fa {
    font-size: 5.5em;
}

/* JavaScript Game changes for mobile */
.mobile {
    display: none;
}

/* CSS for Smartphones */
@media only screen and (max-width: 768px) {

    .desktop {
        display: none;
    }

    .outline {
        border-left: 0px;
        border-right: 0px;

        border-radius: 0px;

        padding: 0px;
    }

    .mobile {
        display: block;
        touch-action: manipulation;
    }
}
