/*--------------*/
/* Landing Page */
/*--------------*/

main {
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
}

main h1 {
    font-size: 1.2rem;
}

main span {
    display: block;
    font-size: 2.1rem;
    color: var(--clr-primary);
}

/*------------*/
/* About Page */
/*------------*/

.top-content {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 30%;
    min-height: 300px;
    position: relative;
    z-index: -1;
}

#about-top {
    background-image: url(../image/profile_pic.jpeg);
}

#about-top::after {
    content: "";
    position: absolute;
    background-color: #2C448B;
    opacity: 40%;
    width: 100%;
    height: 100%;
}

#about-bottom {
    line-height: 1.9;
    padding: 1rem 2rem;
}

#content {
    font-size: clamp(0.9rem, 3vw, 1rem);
}

#resume-button {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}


/*-----------------------------------------------*/
/* Tablet Version of landing page and about page */
/*-----------------------------------------------*/

@media only screen and (min-width: 481px) and (max-width: 960px) {
    .index-wrapper {
        max-width: 60ch;
    }

    .top-content  {
        min-height: 400px; 
    }

    #resume-button {
        margin-bottom: 1rem;
    }
}

/*------------------------------------------------*/
/* Desktop Version of landing page and about page */
/*------------------------------------------------*/
@media only screen and (min-width: 961px){
    .top-content {
        min-width: 400px; 
        box-shadow: var(--box-shadow);
    }
    
    #about {
        display: flex;
        max-width: 1100px;
    } 

   #about-bottom {
       display: flex;
       flex-direction: column;
       margin-left: 2rem;
   }

   #resume-button {
        margin-bottom: 1rem;
    }
} 