.about {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.shortbio h3 {
    font-size: 3rem;
    font-weight: 500;
    width: 100%;
    z-index: 3;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}

.shortbio-text {
    font-size: 1.25rem;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.quad-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto 20px auto;
}

/* .quad-square {
    border: 1px solid black;
} */

.quad-section-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.quad-section-text {
    flex: 1;
}

.quad-section-text p {
    font-size: 1.25rem;
}

.quad-section-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quad-section-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.tools {
    font-size: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.tools-header {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.25rem;
    width: 100%;
}

.language-icons,
.framework-icons,
.system-icons,
.application-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    justify-content: center;
}

.icon-card {
    text-align: center;
    width: 75px;
    padding: 10px 2.5px 10px 2.5px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(var(--secondary-color-rgba), 0.35);
    transition: all ease 200ms;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(var(--secondary-color-rgba), 0.55);
    cursor: pointer;
}

.icon-card i,
.icon-card img {
    font-size: 28px;
    max-width: 28px;
    display: block;
}

.icon-card p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: bold;
}

.multi-line-icon-card {
    line-height: 0.75rem;
}

/* Projects Styling */
.projects {
    font-size: 1.875rem;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.projects-description h3 {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    width: 100%;
}

.projects-description p {
    margin: 0 auto;
    font-size: 1.25rem;
}

.projects-container {
    display: inline-flex;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    justify-content: center;
}

.wrapper {
    text-align: center;
    width: 300px;
    margin: 10px;
}

.project-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 400;
    text-align: center;
    margin: 0 auto 0.25rem auto;
}

.preview {
    width: 300px;
    text-align: center;
    border-radius: 20px;
    height: 175px;
    margin: 0 0 0.5rem 0;
    transition: all ease 250ms;
    border: 2.5px solid rgba(211, 198, 164, 0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.preview:hover {
    opacity: 0.8;
    border: 2.5px solid var(--accent-color);
}

.desc {
    font-size: 1.125rem;
    color: var(--font-color);
    text-align: center;
    font-weight: 400;
    margin: 0;
}

.desc-year {
    font-size: 1rem;
    color: var(--font-color);
    text-align: center;
    font-weight: 300;
    margin: 0;
}

/* Responsivity Code */

/* 993-1200px */
@media screen and (max-width: 1200px) {
    html {
        overflow-x: hidden;
    }
    .quad-section-image img {
        min-width: 350px;
    }
    .quad-section-text {
        min-width: 350px;
    }
    .intro {
        width: 30rem;
    }
    .intro-headline {
        font-size: 1.75rem;
    }
    .intro-bio {
        font-size: 1.5rem;
    }
    .intro-buttons {
        text-align: center;
    }
    .intro-button:not(:last-child) {
        margin: 0;
    }
    .shortbio-text, .quad-section-text p, .projects-description-text {
        font-size: 1.25rem;
    }
    .headshot-container, .headshot {
        min-height: 425px;
        min-width: 400px;
    }
}

/* 769-992px */
@media screen and (max-width: 992px) {
    .intro {
        width: 25rem;
        margin-left: -16rem;
        padding-bottom: 3rem;
    }
    .intro-button:not(:last-child) {
        margin-bottom: 0.5rem;
    }
    .quad-section-image img {
        min-width: 250px;
    }
    .shortbio-text, .quad-section-text p, .projects-description-text {
        font-size: 1.250rem;
    }
    .about, .projects {
        max-width: 100%;
    }
}

/* intermediate font fixes */
@media screen and (max-width: 820px) {
    .shortbio-text, .projects-description-text {
        font-size: 1.25rem;
    }
    .quad-section-text p {
        font-size: 1.125rem;
    }
}

/* 601-768px */
@media screen and (max-width: 768px) {
    .shortbio h3, .tools h3, .projects h3 {
        font-size: 3.5rem;
    }
    .quad-section-image img {
        min-width: 225px;
    }
    .quad-section-text {
        min-width: 225px;
    }
    .quad-section-text p {
        font-size: 1rem;
    }
}

/* 481-600px */
@media screen and (max-width: 600px) {
    .quad-section-row {
        flex-wrap: wrap-reverse;
    }
    .tools {
        max-width: 90%;
    }
    .about {
        max-width: 90%;
    }
}

@media screen and (max-width: 574px) {
    .shortbio-text, .quad-section-text p, .projects-description-text {
        font-size: 1.25rem;
    }
}

/* 0-480px */
@media screen and (max-width: 480px) {
    .shortbio-text, .quad-section-text p, .projects-description-text {
        font-size: 1rem;
    }
    .shortbio h3, .tools h3, .projects h3 {
        font-size: 2.5rem;
    }
    .project-title {
        font-size: 2rem;
    }
    .desc {
        font-size: 1rem;
    }
    .icon-card p {
        font-size: 0.75rem;
    }
}