html {
    background-image: linear-gradient(to right, cornflowerblue, aliceblue, cornflowerblue);
}

body {
    max-width: 100vw;
    min-height: 100vh;
    height: 100%;
    min-width: 100vw;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: Georgia, serif;
    overflow-x: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Navigation */
.navigation {
    padding-bottom: 2vh;
    padding-left: 1vw;
}

.navigation ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul li a {
    display: block;
    color: aliceblue;
    padding: 2vw 1.5vh 1vw 1.5vh;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
}
@media (max-width: 400px) {
    ul li a {
        padding: 2vw 1vh 2vw 1vh;
    }
}

ul li a:hover {
    color: cornflowerblue;
}

/* Title Section */
.center {
    margin: auto;
    max-width: 100vw;
    width: 100%;
    height: 100%;
}

#logo {
    display: flex;
    height: 15rem;
    max-width: 15rem;
    width: 100%;
    margin: auto;
    border-radius: 25%;
    box-shadow: 0 4px 8px 0 white, 0 6px 20px 0 cornflowerblue;
}

#title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    color:aliceblue;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px gray;
    padding-left: 10vw;
    padding-right: 10vw;
}

#title-description {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: aliceblue;
    text-shadow: 2px 2px gray;
}

#main-description {
    margin: auto;
    display: flex;
    padding: 50px;
    width: 70vw;
    color: aliceblue;
    text-align: center;
    font-weight: 100;
}

/* Footer */
footer {
    display: grid;
    grid-template-columns: 36vw 28vw 36vw;
    margin-top: auto;
}

footer p {
    color: gray;
    font-size: 2vh;
    text-align: center;
}
@media (max-width: 768px) {
    footer p {
        font-size: 1.25vh;
        margin-right: 2vw;
    }
}

.footer-left {
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.footer-center {
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: center;
}

.social {
    margin: 0.5vw;
}

#github {
    width: 48px;
    height: 48px;
    background-image: url(/assets/img/spritesheet.png);
    background-position: -366px -158px;
    background-repeat: no-repeat;
    display: block;
    cursor: pointer;
}

#linkedin {
    width: 48px;
    height: 48px;
    background-image: url(/assets/img/spritesheet.png);
    background-position: -418px -210px;
    background-repeat: no-repeat;
    display: block;
    cursor: pointer;
}

.footer-right {
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* projects.html */
.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    margin-left: 1rem;
    margin-right: 1rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    margin: 3vw;
    border: 2px solid black;
    border-radius: 25px;
    height: 25rem;
    width: 25rem;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
    transition: transform 0.5s ease;
}
@media screen and (max-width: 768px) {
    .gallery-item {
        width: calc(100% - 20px);
    }
}
.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-item img {
    width: 100%;
    height: 80%;
    cursor: pointer;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.img-description {
    padding: 1vw;
    text-align: center;
    font-weight: bold;
    margin: auto;
    font-size: 1.5rem;
    max-width: 20rem;
    width: 100%;
    height: auto;
}

#placeholder {
    background-image: linear-gradient(to right, lightgray, aliceblue, lightgray);
}

#fcsllc {
    background-image: linear-gradient(to right, darkorchid, orchid, darkorchid);
}

#finance-tracker {
    background-image: linear-gradient(to right, lightcyan, lightblue, lightcyan);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.modal-image {
    position: relative;
    max-width: 80vw;
    max-height: 70vh;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    animation: zoomIn 0.5s;
}

.caption {
    position: relative;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 2rem;
}

.caption-description {
    position: relative;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 100;
    max-width: 80vw;
    padding-bottom: 1rem;
}

@keyframes zoomIn {
    from {transform: scale(0.6);}
    to {transform: scale(1);}
}

.modal.show {
    display: flex;
    opacity: 1;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

/* services.html */
.services-container {
    display: flex;
    flex-direction: row;
    max-width: 90vw;
    margin: auto;
    padding-bottom: 2vh;
    padding-left: 1vw;
    padding-right: 1vw;
}
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        padding-right: 6vw;
    }
    .service {
        width: 80vw;
    }
}
.service {
    color: aliceblue;
    text-align: center;
    border-left: thick solid aliceblue;
    border-right: thick solid aliceblue;
    width: 100%;
    padding-bottom: 3vh;
}

.service h1 {
    font-size: 4vh;
    padding-left: 1vw;
    padding-right: 1vw;
}

.service p {
    font-size: 3vh;
    padding-left: 1vw;
    padding-right: 1vw;
}

.disclaimer-container {
    display: flex;
    margin: auto;
    color: aliceblue;
    text-align: center;
    max-width: 80vw;
    padding-left: 1vw;
    padding-right: 1vw;
}

/* contact.html */
.contact-top {
    margin: auto;
    margin-top: 5vh;
    max-width: 90vw;
}

#contact-title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    color:aliceblue;
    font-size: 6vh;
    font-weight: bold;
    text-shadow: 2px 2px gray;
}

#contact-title-description {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 4vh;
    font-weight: 200;
    color: aliceblue;
    text-shadow: 1px 1px gray;
}

.contact-form {
    display: grid;
    grid-template-columns: auto auto;
    color: aliceblue;
    border: 2px solid aliceblue;
    border-radius: 10px;
    margin: auto;
    padding: 10px;
}
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: auto;
        margin-bottom: 3vh;
    }
    .contact-top {
        margin-top: 0.25vh;
    }
}

.contact-form div {
    padding: 1rem;
}

.contact-form label {
    font-size: 1.5rem;
    width: 100vw;
    height: 20vh;
}

.contact-form input {
    width: 100%;
    height: 3vh;
    font-size: 2vh;
}

.message {
    column-span:all;
}

.bottom {
    display: flex;
    max-width: 100vw;
    width: 100%;
    margin: auto;
    margin-bottom: 2vh;
}

#send {
    margin: auto;
    max-width: 10rem;
    width: 100%;
    height: 5vh;
    font-size: 2vh;
}
