.btn {
    display: inline-block;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: auto;
    background-color: var(--clr-main);
    color: var(--clr-background);
    padding: 0.5em  1em;
    border-radius: 6px;
    box-shadow: 0 10px 20px var(--clr-glow), 0 6px 6px rgba(0,0,0,0.5), 0 0 100px -10px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px var(--clr-glow), 0 10px 10px rgba(0,0,0,0.5), 0 0 120px -10px rgba(0,0,0,0.5);
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
/*    border: 1px solid red; */
}

.section {
    margin-top: 5rem;
}

.loading {
    filter: blur(40px) grayscale(100%);
}

.loaded {
    filter: blur(0) grayscale(0);
    transition: 0.7s ease-in-out
}
/* Header Formatting */
.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1000;
}

.header__menu {
    display: none;
}

.header__bars {
    width: var(--size-2xl);
    height: var(--size-2xl);
    display: block;
}
/* Sub Header Formatting */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__img {
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
}

.hero__subtitle {
    color: var(--clr-bold);
    font-size: var(--size-base);
    line-height: 0.9;
}

.hero__title {
    text-transform: uppercase;
    font-size: var(--size-2xl);
    letter-spacing: -0.05em;
    line-height: 1;
}

.hero__description {
    max-width: 60ch;
    font-size: var(--size-sm);
}

.hero__btn {
    text-transform: capitalize;
    font-size: var(--size-sm);
}
/* About Formatting */

.about,
.about__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about__title {
    font-size: var(--size-2xl);
    display: flex;
    justify-content: center;
}

.about__description {
    max-width: 60ch;
    font-size: var(--size-sm);
}

/* Skills Formating */
.skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skills__sub-container {
    display: flex;
    gap: 1em;
}

.skills__subtitle {
    font-size: var(--size-sm);
    flex: 1;
}

.skills__hr {
    border-color: var(--clr-bold);
}

.skills__ul-container {
    display: flex;
    gap: 1em;
}

.skills__ul {
    display: flex;
    flex-direction: column;
    gap: 1em;
    list-style-type: '\1F44D'; /* this is a thumbs up FIND ME */ 
    padding-left: 1em;
    flex: 1;
}

.skills__list {
    font-size: var(--size-xs);
}

.skills__list::before {
    content: '';
    margin-left: 0.5em;
}
/* My Projects / Works Formatting */
.work {
    text-align: center;
}

.work__title {
    font-size: var(--size-2xl)
}

.work__description{
    max-width: 60ch;
    font-size: var(--size-sm);
    margin: 1rem auto;
}

.work__project-title {
    font-size: var(--size-base);
    margin-bottom: 1rem;
}

.work__img-wrapper {
    position: relative;
}

.work__img-wrapper::after {
    content: '';
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: background-color 0.3s;
}

.work__img-wrapper:hover::after {
    background-color: rgba(0,0,0,0.3);
}

.work__project:not(:last-child) {
    margin-bottom: 5rem;
}

.work__project-description {
    font-size: var(--size-sm);
    margin: 1rem 0;
}

.work__project-btn {
    font-size: var(--size-sm);
}

.work__project-subtitle {
    display: none;
}
/* Contact Formatting */
.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.contact__title {
    font-size: var(--size-2xl);
    text-transform: capitalize;
}

.contact__description {
    font-size: var(--size-sm);
    max-width: 60ch;
}

.contact__btn {
    font-size: var(--size-sm);
}

.footer__title {
    font-size: var(--size-xs);
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    user-select: none;
}
/* Navigation Bar */
.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: var(--clr-background);
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-nav__menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.mobile-nav__link {
    font-size: var(--size-sm);
    text-decoration: none;
    font-weight: 600;
    color: var(--clr-main);
    letter-spacing: -0.05em;
    transform: color 0.3s;
}

.mobile-nav__link:hover,
.mobile-nav__sun:hover {
    color: var(--clr-bold);
}

.mobile-nav__link-line {
    border: 1px solid var(--clr-main);
    padding-right: 1.5em;
}

.mobile-nav__sun {
    display: block;
    width: var(--size-xl);
    height: var(--size-xl);
}

.mobile-nav__btn {
    font-size: var(--size-sm);
}

/* xs */
@media (min-width: 475px) {
    .hero,
    .about,
    .about__content,
    .contact {
        gap: 1.5rem;
    }
    
    .hero__img {
        width: 6.5rem;
        height: 6.5rem;
    }
    
    .hero__subtitle {
        font-size: var(--size-lg);
    }
    
    .hero__title {
        font-size: var(--size-4xl);
    }
    
    .hero__description,
    .hero__btn,
    .about__description,
    .skills__subtitle,
    .skills__list,
    .work__project-btn,
    .contact__description,
    .contact__btn {
        font-size: var(--size-base);
    }

    .container {
        max-width: 475px;
    }

    .about__title,
    .work__title,
    .contact__title {
        font-size: var(--size-3xl);
    }
    
    .work__description{
        font-size: var(--size-base);
        margin: 1.5rem auto;
    }

    .work__project-title {
        font-size: var(--size-lg);
        margin-bottom: 1.5rem;
    }

    .work__project-description {
        font-size: var(--size-base);
        margin: 1.5rem 0;
    }
}
/* sm */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }

    .about__image-wrapper {
        margin: 0 auto;
    }

    .about__image {
        width: 28.6875rem;
    }

    .work__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
        'image1 content1'
        'content2 image2';
        place-items: center;
    }

    .work__image1 {
        grid-area: image1;
    }

    .work__image2 {
        grid-area: image2;
    }

    .work__content1 {
        grid-area: content1;
    }

    .work__content2 {
        grid-area: content2;
    }

    .work__project {
        padding: 0 1rem;
    }

    .work__project-title {
        display: none;
    }

    .work__project-description{
        font-size: var(--size-xs);
        margin: 1em auto;
    }

    .work__project-btn {
        font-size: var(--size-xs);
    }

    .work__project:not(:last-child) {
        margin-bottom: 0;
    }

    .work__project-subtitle {
        display: block;
        font-size: var(--size-base);
    }
}
/* md */
@media (min-width: 768px) {
    .header__menu {
        display: flex;
        align-items: center;
        list-style: none;
        padding: 0;
        gap: 2rem;
    }
    
    .header__link {
        font-size: var(--size-xs);
        text-decoration: none;
        font-weight: 400;
        color: var(--clr-main);
        letter-spacing: -0.05em;
        transition: color 0.3s;
    }
    
    .header__link:hover,
    .header__sun:hover {
        color: var(--clr-bold);
    }
    
    .header__line {
        border: 1px solid var(--clr-main);
        padding-top: 1.5em;
    }
    
    .header__sun {
        display: block;
        width: var(--size-base);
        height: var(--size-base);
    }
    
    .header__resume {
        font-size: var(--size-xs);
    }
    .container {
        max-width: 768px;
    }

    .header__bars {
        display: none;
    }

    .work__project-description,
    .work__project-btn{
        font-size: var(--size-sm);
    }

    .work__project-subtitle {
        font-size: var(--size-lg);
    }
}
/* Lg */
@media (min-width: 1024px) {
    .header__link,
    .header__resume {
        font-size: var(--size-sm);
    }
    
    .header__sun {
        width: var(--size-xl);
        height: var(--size-xl);
    }

    .hero__img {
        width: 8rem;
        height: 8rem;
    }
    
    .hero__subtitle {
        font-size: var(--size-2xl);
    }
    
    .hero__title {
        font-size: var(--size-6xl);
    }
    
    .hero__description,
    .hero__btn,
    .about__description,
    .skills__subtitle,
    .skills__list,
    .work__description,
    .contact__description,
    .contact__btn{
        font-size: var(--size-lg);
    }

    .container {
        max-width: 1024px;
    }

    .section {
        margin-top: 10rem;
    }

    .about {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .about__title,
    .work__title,
    .contact__title {
        font-size: var(--size-4xl);
    }

    .about__title {
        font-size: var(--size-4xl);
        display: inline;
    }

    .work__project-description,
    .work__project-btn{
        font-size: var(--size-base);
    }

    .work__project-subtitle {
        font-size: var(--size-xl);
    }
}
/* xL */
@media (min-width: 1280px) {
    .hero,
    .about__content {
        gap: 2rem;
    }
    
    .hero__img {
        width: 10rem;
        height: 10rem;
    }
    
    .hero__subtitle {
        font-size: var(--size-4xl);
    }
    
    .hero__title {
        font-size: var(--size-7xl);
    }
    
    .hero__description,
    .hero__btn,
    .about__description,
    .skills__subtitle,
    .skills__list,
    .contact__description,
    .contact__btn {
        font-size: var(--size-xl);
    }

    .container {
        max-width: 1280px;
    }

    .about__title,
    .work__title {
        font-size: var(--size-5xl);
    }

    .about__image {
        width: 30.75rem;
    }
       
    .work__description{
        font-size: var(--size-xl);
        margin: 2rem auto;
    }

    .work__project-description,
    .work__project-btn{
        font-size: var(--size-lg);
    }

    .work__project-subtitle {
        font-size: var(--size-2xl);
    }

    .work__container {
        width: 80%;
        margin: 0 auto;
    }

    .contact {
        gap: 2rem;
    }
    
    .contact__title {
        font-size: var(--size-5xl);
    }
}
/* xxL */
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }

    .work__container {
        width: 70%;
    }
}