body {
    padding: 0;
    margin: 0;
    background-color: #343435;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.background-image {
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/desktopbackground.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

#wrapper {
    width: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header {
    width: 100%;
    color: white;
    display: flex;
}

header h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.3vw;
    margin-left: 2%;
    margin-top: 30px;
}

header a {
    text-decoration: none;
    color: white;
}

#profilePicture {
    flex-wrap: wrap;
    width: 50%;
}

main {
    display: flex;
    height: auto;
    flex-direction: column;
}

h2 {
    color: #87CEEB;
    text-shadow: 2px 2px 5px black;
}

li {
    text-shadow: 2px 2px 4px black;
}

p {
    color: #F9F6EE;
}

main h2 {
    clear: right;
}

main p {
    padding-left: 10px;
    flex: 20%;
}

nav {
    position: sticky;
    margin-top: 5px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-style: italic;
    flex: 50%;
    text-align: center;
}

#hamButton {
    position: sticky;
    display: none;
}

nav ul {
    display: flex;
    float: right;
    flex-wrap: wrap;
    list-style-type: none;
}

nav ul li {
    flex: 10px;
    font-size: 1.3vw;
}

a {
    text-decoration: none;
    color: white;
}

nav a {
    padding: 10px 25px;
    display: block;
    transition: 0.5s ease;
}

nav a:hover,
nav a:focus {
    transform: translate(0, -3px);
    color: rgb(253, 152, 0);
}

#landing {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 2fr 1.5fr 1fr;
    margin-top: 5%;

}

#intro {
    max-height: 80%;
    transition: 1s ease;
    margin-left: 25px;
    font-size: 1.25em;
    font-weight: bold;
    color: #87CEEB;
    grid-column: 1/3;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/mobilebackground.jpg);
    border-radius: 100px;
    padding: 50px;
    padding-bottom: 0;
    grid-row: 1/2;
}

#intro h2 {
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 0;
}

#intro img {
    display: block;
    margin-top: 25px;
}

#intro ul li img {
    width: 70px;
}

#intro #denPic2 {
    width: 175px;
    float: right;
    display: none;
}

#intro ul {
    list-style-type: none;

}

#intro li {
    display: inline-block;
    margin-left: 10px;
}


#introButtons {
    margin-top: 25%;
}

#introButtons a {
    margin-left: 13%;
}


#dennisIntro {

    grid-row: 1/2;
    grid-column: 3/5;
    margin-left: 50px;
}

#dennisIntro img {
    position: relative;
    bottom: 60px;
    width: 600px;
    border-radius: 1000px;
}

#dennisAboutPic {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
}

footer {
    padding: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: black;
    transition: 0.5s ease;
}

footer div {
    font-size: 1.25em;
    display: flex;
    align-items: center;
}

footer img:hover {
    transform: translate(0, -5px);
}

footer p {
    margin-left: auto;
    margin-right: auto;
}

.apps {
    transition: 0.5s ease;
}

.apps:hover {
    padding-right: 10px;
    transform: translate(-2px, -5px);
    transition: 0.5s;
}

.fancyButton {
    color: black;
    font-weight: normal;
    border: 2px solid black;
    border-radius: 500px;
    background-color: #e25822;
    width: 200px;
    font-size: 1.25em;
    padding: 25px 35px;
    margin-right: 8px;
    margin-left: 8px;
    transition: 0.5s ease;
}


.fancyButton:hover,
.fancyButton:focus {
    border: 2px solid white;
    color: #e25822;

    box-shadow: 1px 1px 5px white;
    background-color: black
}

img {
    transition: 0.5s ease;
}

.imageHover img:hover {
    transform: translate(0, -10px) rotate(1deg);
    transition: 0.5s ease;
}

.pod {
    transition: 0.5s ease;
    display: flex;
    flex-wrap: wrap;
    flex: 25%;
    justify-content: center;
    max-width: 300px;
    min-width: 300px;
    margin: 20px;
    border-radius: 10px;
    height: 300px;
    background-color: #18425c;
    border: 5px double #bae8e8;
    margin-top: 50px;
    margin-bottom: 100px;

}

.pod:hover {
    box-shadow: 2px 2px 5px cyan;
    transform: translate(0, -5px) scale(1.05);
}

.pod a {
    max-height: 100%;
}

.pod img {
    max-height: 100%;
    width: 100%;
}

.pod p {
    border: 2px double #bae8e8;
    font-weight: bold;
    text-align: center;
    font-size: 1.25em;
    padding: 10px;
    background-image: url(../images/cssPattern.png);

}

.podSection {
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 50px;
    background-image: url(../images/mobilebackground.jpg);
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.podSection h2 {
    text-align: center;
    position: absolute;
}

/*used for most of the sections on the page*/
/*USes a two column layout for each section while inside a 1 column layout*/
.desc {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 50px;
    background-image: url(../images/mobilebackground.jpg);
    background-size: cover;
}

.desc h3 {
    text-shadow: 4px 4px 5px black;
}

.desc p {
    text-shadow: 2px 2px 3px black;
}

.desc .sec1 {
    font-size: 1.5em;
    margin: 50px;
    grid-column: 1/2;
    grid-row: 1/2;
}

.desc .sec2 {
    font-size: 1.4em;
    margin: 50px;
    grid-column: 2/3;
    grid-row: 1/2;
}

.desc .sec3 {
    font-size: 1.5em;
    margin: 50px;
    grid-column: 1/3;
}

.desc h4 {
    text-shadow: 2px 2px 3px black;
}

.desc img {
    width: 600px;
    border-radius: 50px;
}



.desc #gameImg {
    width: 400px;
    border-radius: 0;
}

.desc img:hover {
    transform: translate(0, -5px) rotate(2deg) scale(1.075);
}

.desc video {
    margin: 10px;

    transition: 1s;
    border-radius: 20px;
    border: 2px solid white;
    max-width: 100%;
    min-width: 250px;
}



.desc video:hover {
    transform: translate(0, -20px);
    transition: 1s;
}

#earth {
    text-align: center;
    transition: 2s ease;
}

#earth:hover {
    transform: rotateY(180deg);
}

#earth img {
    width: 60%;
}



/*Photo Galleries*/
.photoGallery {
    display: flex;
    flex-wrap: wrap;
}

.photoCol {
    flex: 25%;
    max-width: 30%;
    margin: 10px;
}

.photoCol img {
    width: 100%;

    padding: 5px;
}

.photoCol img:hover {
    width: 100%;
    padding: 5px;

    transform: translate(0, -5px) rotate(4deg) scale(1.1);
}


.soc {
    text-decoration: none;
    color: white;
}

.soc img {
    width: 30px;
}

.contactInfo {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    margin-bottom: 50px;
}

.contactText {
    grid-column: 4/5;
    grid-row: 1/2;
    font-size: 1.75em;
    text-align: right;
    margin-top: 11.5px;
    padding-right: 20px;
    border: 1px white solid;
    border-radius: 10px;
    background-image:url(../images/mobilebackground.jpg);
    background-size: cover;
}

.contactForm {
    grid-column: 1/2;
    font-size: 1.25em;
    display: inline-block;
    border: 1px white solid;
    border-radius: 10px;
    background-image:url(../images/mobilebackground.jpg);
    background-size: cover;
    color: white;
    border: 1px white solid;
    border-radius: 10px;
    padding-left: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 10px;
    padding-right: 10px;
}

#contactImage {
    grid-column: 2/4;
    grid-row: 1/2;
}

#contactImage img {

    margin-right: 400px;
    width: 100%;
}

.inputButton {
    font-size: 30px;
    background-color: transparent;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid white;
    padding: 5px;

    margin: 10px;

}

form label {
    font-weight: bold;
}

.progressBarContainer {
    width: 85%;
    background-color: #ddd;
    border-radius: 50px;
    border: 2px solid white;
    transition: 1s ease;
}

.progressBarContainer:hover {
    transform: scale(1.025);
}

.progressBar {
    width: 0%;
    background-color: #4CAF50;
    border-radius: 50px;
    text-align: right;
    align-items: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1em;
    font-weight: bold;
    text-shadow: 1px 1px 3px black;
}



#progressBarSection h2 {
    font-size: 1.5em;
}

#progressBarSection h3 {
    font-size: 0.8em;
}

#progressBarSection h2 {
    font-size: 1.6em;
}

table {
    border-collapse: collapse;
}

th,
td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #e25822;
}

td {
    background-color: white;
    color: black;
}

table a {
    color: black;

}

.NewSemester td {
    border-top: 2px dashed #e25822;
}

/*used to change the color of the table headings in services to match the theme properly.*/
#myCourseTable th {
    background-image: url(../images/galaxy2.jpg);
    color: #8ef3f3;
    background-size: cover;
}

#myCourseTable th,
td {
    border: 1px dotted #ddd;
    padding: 20px;

}

#myCourseTable .NewSemester td {
    border-top: 2px dotted whitesmoke;
}

#myCourseTable td {
    color: white;
    background-image: url(../images/desktopbackground.jpg);
    background-size: 500px;
}

#myCourseTable a {
    transition: 0.5s ease;
    color: white;
    font-style: italic;
}

.sec2 #myCourseTable a:hover {
    text-shadow: 1px 1px 3px #8ef3f3;
    color: #87CEEB;

}

.sec1 table,
.sec2 table {
    margin: auto;

    border-radius: 200px;
}

.sec1 table,
.sec2 table {
    border: 1px dotted #ddd;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 40px;

    overflow: hidden;
}

#aboutSoc img {
    width: 120px;
}

/*Tablet Mode*/
@media screen and (max-width: 1198px) {
    .desc {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .desc .sec1 {
        font-size: 1.15em;
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .desc .sec2 {
        font-size: 1.15em;

        margin-top: 0;
        grid-column: 1/2;
        grid-row: 2/3;
    }

    #contactImage {
        display: none;
    }

    .desc img {
        width: 300px;
        border-radius: 50px;
    }

    .desc #gameImg {
        width: 300px;
        border-radius: 0;
    }

    .desc img:hover {
        transform: translate(0, -5px) rotate(2deg) scale(1.075);

    }

    /*Photo Galleries*/
    .photoGallery {
        display: flex;
        flex-wrap: wrap;
    }

    .photoCol {
        flex: 25%;
        max-width: 30%;
        margin: 10px;
    }

    .photoCol img {
        width: 100%;
        padding: 5px;
    }

    .photoCol img:hover {
        width: 100%;
        padding: 5px;
        transform: translate(0, -5px) rotate(4deg) scale(1.1);
    }

    body {
        font-size: 1em;
    }

    nav ul li {
        font-size: 0.8em;
    }

    #landing {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 100%;

    }

    #intro {
        max-height: 100%;
    }

    #intro h2 {

        font-size: 1.75em;
    }

    #intro #introWords {
        align-items: center;
    }

    #intro #introImgs {
        position: relative;
        right: 100px;
        margin-top: 100px;
        margin-bottom: 0;
    }

    #intro ul li img {
        width: 50px;
    }

    #introButtons {
        margin-top: 0;
        margin-bottom: 50px;
    }

    .fancyButton {

        width: 150px;
        font-size: 1em;
    }

    #dennisIntro {
        display: none;
    }



    #intro #denPic2 {
        display: flex;

    }

    header h1 {
        font-size: 0.8em;
    }

    .apps {
        position: relative;
        left: 175px;
        bottom: 50px;
        width: 30px;
        padding-left: 1.25%;
    }

    .contactInfo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 50px;
    }

    .contactText {
        border: 1px white solid;
        border-radius: 10px;
        background-image:url(../images/mobilebackground.jpg);
        background-size: cover;
        padding-left:50px;
        grid-column: 3/3;
        font-size: 1.25em;
    }

    .contactForm {
        grid-column: 1/2;
        font-size: 1.25em;
    }

    footer {
        font-size: 10px;
    }

    #aboutSoc img {
        width: 100px;
    }

    #dennisAboutPic {
        margin-left: 15%;
        margin-right: 15%;
        width: 70%;
    }

    #myCourseTable th,
    td {
        border: 1px dotted #ddd;
        padding: 10px 35px;
        font-size: 1em;

    }

    .sec1 table,
    .sec2 table {
        margin: auto;
        border-radius: 15px;
    }

}

/*Mobile Phone Mode*/
@media only screen and (max-width: 768px) {
    .desc {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .desc .sec1 {
        font-size: 1em;
        margin: 30px;
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .desc .sec2 {
        font-size: 1em;
        margin: 20px;
        margin-top: 0;
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .desc img {
        width: 200px;
        border-radius: 20px;
    }

    .desc #gameImg {
        width: 200px;
        border-radius: 0;
    }

    /*Photo Galleries*/
    .photoGallery {
        display: flex;
        flex-wrap: wrap;
    }

    .photoCol {
        flex: 25%;
        max-width: 30%;
        margin: 10px;
    }

    .photoCol img {
        width: 100%;
        padding: 5px;
    }

    .photoGallery .photoCol a {
        width: 100%;
    }

    .photoCol img:hover {
        width: 100%;
        padding: 5px;
        transform: translate(0, -5px) scale(2);
    }

    #landing {
        display: flex;
        flex-direction: column;
    }

    #intro {
        width: 300px;
    }

    #landing #intro #denPic2 {
        border-radius: 150px;
        border: 1px solid white;
        box-shadow: 1px 1px 10px white;
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

    #intro #introImgs {
        right: 160px;
    }

    #intro ul li img {
        width: 50px;
    }

    #introButtons a {
        display: block;
        margin: 10px;
        margin-left: auto;
        margin-right: auto;
        width: 120px;
    }

    nav ul {
        display: none;
        flex-direction: column;
    }

    #hamButton {
        display: block;
        padding: 10px;
        float: right;
        margin-right: 10px;
        transition: 0.5s ease;
    }

    .dropdown {
        position: relative;
    }

    .dropdown li {
        border-radius: 10px;
        border: 0.25px solid gray;
        margin-top: 5px;
        background-color: #282828;
    }

    .dropdown:hover #hamButton,
    .dropdown:focus #hamButton {
        transform: translate(0, -5px) rotate(90deg);

    }

    .dropdown:hover .dropdown-content,
    .dropdown:focus .dropdown-content {
        text-align: center;
        display: inline-block;
        position: absolute;
        right: 20px;
        top: 50px;
    }

    .desc .fancyButton {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .fancyButton {
        width: 70px;
        text-align: center;
    }

    footer .soc img {
        width: 20px;
    }

    footer {
        font-size: 5px;
    }


    .contactInfo {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        margin-bottom: 50px;
    }

    .contactText {
        grid-row: 2/3;
        grid-column: 1/2;
        font-size: 1.25em;
        margin: 20px;
        text-align: left;
        padding-bottom: 20px;
    }


    .contactForm {
        margin: 20px;
        grid-column: 1/2;
        font-size: 1.25em;
    }

    textarea {
        width: 295px;
    }

    #aboutSoc {
        text-align: center;
    }

    #aboutSoc img {
        width: 70px;
    }

    #myCourseTable th,
    td {
        border: 1px dotted #ddd;
        padding: 5px;
        font-size: 0.75em;

    }

    .sec1 table,
    .sec2 table {
        margin: auto;
        border-radius: 15px;
    }
}