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

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

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

ul li a {
    display: block;
    color: aliceblue;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    justify-content: center;
}

ul li a:hover {
    color: cornflowerblue;
}

/* Title Section */
.center {
    margin: auto;
}

#logo {
    height: 15rem;
    width: 15rem;
    display: block;
    margin-left: auto;
    margin-right: 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: 48px;
    font-weight: bold;
    text-shadow: 2px 2px gray;
}

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

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

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

footer p {
    color: gray;
    font-size: 20px;
    text-align: center;
    word-wrap: break-word;
}

.footer-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36vw;
    margin: auto;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28vw;
    margin: auto;
}

.social {
    margin: 5px;
}

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

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

.footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36vw;
    margin: auto;
}

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

.gallery-item {
    margin: 15px;
    border: 2px solid black;
    border-radius: 25px;
    height: 400px;
    width: 400px;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
    transition: transform 0.5s ease;
}

.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: 10px;
    text-align: center;
    font-weight: bold;
    margin: auto;
    font-size: 25px;
    max-width: 20rem;
    min-height: 5rem;
}

#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: 60%;
    max-height: 60%;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    animation: zoomIn 0.5s;
}

.caption {
    position: relative;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    padding: 5vh;
}

.caption-description {
    position: relative;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    max-width: 50vw;
}

@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;
}

@media screen and (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .gallery-item {
        width: calc(100% - 20px);
    }
}

/* services.html */
.services {
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 2rem;
    margin: auto;
    color: aliceblue;
    padding: 5rem;
    text-align: center;
}

.services h1 {
    font-size: 48px;
}

.services p {
    font-size: 32px;
}

.windows-app {
    border-left: thick solid aliceblue;
    border-right: thick solid aliceblue;
    padding-left: 2vw;
    padding-right: 2vw;
}

.disclaimer-container {
    display: flex;
    margin: auto;
    color: aliceblue;
    text-align: center;
}

/* contact.html */
.contact-top {
    margin-top: 5vh;
}

.contact-form {
    margin: auto;
    margin-bottom: 30vh;
    display: grid;
    grid-template-columns: auto auto;
    color: aliceblue;
    border: 2px solid aliceblue;
    border-radius: 10px;
    padding: 25px;
}

.contact-form label {
    font-size: 32px;
}

.contact-form input {
    height: 30px;
    width: 300px;
    font-size: 28px;
}

.column {
    justify-content: center;
    align-items: center;
}

.row {
    justify-content: center;
    align-items: center;
    margin: 25px;
}
