@media only screen and (max-width: 768px) {
    .header {
        display: none;
    }

    .mobileHeader {
        display: inline-block;
    }

    .footer {
        padding-top: 50px;
        text-align: center;
        position: none; 
        display: block;
    }

}

@media only screen and (min-width: 768px) {
    body {
        padding-bottom: 100px;
    }
    
    .header {
        display: inline-block;
    }

    .mobileHeader {
        display: none;
    }

    #pages{
        display: none;
    }

    .footer {
        position: fixed; 
        display: inline-block;
        text-align: right;
    }
}


body{
    background-image: linear-gradient(260deg, #2d2b38 25%, #1d1d44);
    font-family: arial;
}

hr {
    margin-left: 2%;
    margin-right: 2%;
    border: 1px solid #7a7897;
}
.mobileHeader {
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
    border: 2px solid #7a7897;
    border-radius: 15px;
    background-image: linear-gradient(to right, rgb(45, 43, 56), rgb(29, 29, 68));
    color: white;
    position: relative;
}

.header {
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
    border: 2px solid #7a7897;
    border-radius: 15px;
    background-image: linear-gradient(to right, rgb(45, 43, 56), rgb(29, 29, 68));
    color: white;
    position: relative;
}

.navCenter p{
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0px 0px 0px 0px;
    font-size: 40px;
    transform: translate(-50%, -50%);
}

.navLeft p{
    float: none;
    position: absolute;
    top: 50%;
    left: 16px;
    margin: 0px 0px 0px 0px;
    font-size: 40px;
    transform: translate(0%, -50%);
}

.mobileNav {
    overflow: hidden;
    background-color: none;
    position: relative;
}

#pages {
    display: none;
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
    border-radius: 0px 0px 15px 15px;
    border: 2px solid #7a7897;
    border-top: 0px;
    background-image: linear-gradient(to right, rgb(45, 43, 56), rgb(29, 29, 68));
    color: white;
    position: relative;
}
#pages a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}
#pages a:hover {
    transition: ease-in 0.1s;
    background-color: #121229;
    border-radius: 15px;
}

.mobileNav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    transition: ease-in 0.1s;
}

.mobileNav a.icon {
    float: right;
    padding: 14px 16px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mobileNav a:hover {
    transition: ease-in 0.1s;
    background-color: #121229;
}

#home {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.header a {
    transition: ease-out 0.1s;
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.header a:hover {
    transition: ease-in 0.1s;
    background-color: #23212b;
}

.projText {
    color: white;
    margin-left: 2%;
}

.projDiv {
    margin-left: 2%;
    margin-right: 2%;
    padding-top: 4px;
    padding-right: 2%;
    padding-bottom: 10px;
    background-color: rgba(3, 0, 25, 0.2);
    box-shadow: rgba(3, 0, 25, 0.2) 0px 0px 30px;
    border-radius: 15px;
    transition: ease-out 0.3s;
}

.aboutDiv {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 30px;
    margin-left: 2%;
    margin-right: 2%;
    padding: 10px 10px 10px 10px;
}

.aboutDiv p {
    color:white;
}

.aboutDiv h2 {
    margin: 0px;
    color:white;
}

.underline {
    margin: 0px;
    border: 1px solid white;
    width: 220px;

}

.projTitle, .projDesc {
    color: white;
    margin-left: 15px;
}

.projTitle {
    font-size: 24px;
    font-weight: bold;
}

.moreLink {
    margin-left: 15px;
    text-decoration: none;
    color: gray;
    transition: ease-in-out 0.1s;
}

.moreLink:hover {
    color:white;
    text-decoration: underline;
    transition: ease-in-out 0.1s;
}

.footer {
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    margin-right: 10px;
}

a {
    color: white;
}

.footer a {
    text-decoration: none;
    color: gray;
    font-size: 25px;
    margin: 5px;
    transition: ease-in-out 0.1s;
}

.footer a:hover{
    color:white;
    transition: ease-in-out 0.1s;
}