
body, html {
    height: 100%;
    background-color: #1E1C1C;
}

.bg {
    /* The image used */
    background-image: url("../images/purple-cyan-topo-blur.jpg");

    /* Full height */
    height: 100%;

    /* Center and scale the image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Add a black background color to the top navigation */
#mainNav {
    background-color: #1E1C1C;
    overflow: hidden;
    position: fixed;
    width: 100%;
    text-align: center;
    z-index: 1;
}

/* Style the links inside the navigation bar */
#mainNav a {
    color: #f2f2f2;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    padding: 14px 16px;
    margin-right: -4px;
    text-decoration: none;
    font-size: 17px;
    display: inline-block;
}

#mainNav a .underline{
    background-color: #00CBFF;
    width: 100% + 24px;
    height: 6px;
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: -10px;
    margin-top: 8px;
    border-radius: 25px;
    visibility: hidden;
}

/* show underline on hover */
#mainNav a:hover .underline{
    visibility: visible;
}

/* show underline on active */
#mainNav a.active .underline{
    visibility: visible;
}

#mainNav .icon {
    display: none;
    padding-right: 30px;
}

 /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
 @media screen and (max-width: 600px) {
    #mainNav a {display: none;}
    #mainNav a.icon {
        float: right;
        display: block;
    }
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    #mainNav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    #mainNav.responsive a {
        display: block;
    }
}

.title {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
}

.title h1 {
    font-family: Roboto, sans-serif;
    font-weight: 900;
    font-size: 100pt;
    color: #f2f2f2;
    margin: .1em;
}

.title h2{
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 20pt;
    color: #f2f2f2;
    margin: .1em;
}

footer, section{
    padding: 30px 30px;
    max-width: 1200px;
    margin: auto;
    margin-top: 1px; /*As scroll script ignores margin, this ensures a section is scrolled to in the nav bar when clicked on*/
    color: #f2f2f2;
    font-family: Roboto, sans-serif;
}

.bg {
    max-width: none;
}

section h1{
    font-family: Roboto, sans-serif;
    font-weight: 900;
    font-size: 40pt;
    margin-bottom: 3px;
}

section p, ul{
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 15pt;
    margin-top: 3px;
}

.item h2{
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 25pt;
    margin-bottom: 3px;
    color: #9A00C3;
}

.item h3{
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 20pt;
    margin-top: 3px;
    margin-bottom: 3px;
    color: #f2f2f2;
}

.item h4{
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 15pt;
    color: #AAAAAA;
    margin-top: 3px;
    margin-bottom: 3px;
}


.item img, iframe{
    border-style: solid;
    border-radius: 10px;
    border-color: #f2f2f2;
    border-width: 3px;
    width: 90%;
    max-width: 530px;
    margin: 25px
}


.tag{
    border-radius: 10px;
    display: inline-block;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 15pt;
    padding: 3px;
    margin: 5px;
    color: #f2f2f2;
    min-width: 40px;
    text-align: center;
}

.unity{
    background-color: #03a8d2;
}

.cs{
    background-color: #682179;
}

.blender{
    background-color: #de7000;
}

.construct3{
    background-color: #00ccae;
}

.ue4{
    background-color: #363b5d;
}

figure{
    text-align: center;
    margin: 0px;
}

#monitor:hover{
    content: url(../images/monitor-back.png);
}

.button{
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 20pt;
    color: #f2f2f2;
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    width: 150px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
}

.play{
    background-color: #48a64c;
}

.github{
    background-color: #f05133;    
}

.play:hover{
    background-color: #3a883e;
}

.github:hover{
    background-color: #c2452c;    
}

.button img{
    border-style: none;
    width: 28px;
    margin-right: 10px;
    margin-left: 0px;
}

.ci {
    padding: 15px;
    margin: 10px;
    margin-top: 30px;
    display: inline-block;
    text-align: center;
    border-radius: 30px;
}

.ci:hover {
    opacity: 0.7;
}

#ci-linkedin {
    background-color: #007bb5;
}

#ci-github {
    background-color: #f05133;
}

#ci-email {
    background-color: #37bd9c;
}