/* Global Styles */

html {
    background-color: #2c2c2c;
    color: #fafafa;
    display: flex;
    align-content: center;
    justify-content: center;
}

body {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

section {
    width: 85vw;
    padding-top: 40px;
    padding-bottom: 40px;
}

.less-padding {
    padding-bottom: 20px !important;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 5px;
}

h1.centered {
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 5px;
}

h3 {
    font-size: 18px;
    color: #fafafa60;
    margin: 0;
}

p {
    font-size: 16px;
    font-weight: 500;
}

ul li {
    font-size: 16px;
    font-weight: 500;
}

a:link {
    color: #fafafa;
    text-decoration: none;
}

a:visited {
    color: #fafafa;
}

.logo h1 {
    font-size: 24px !important;
    font-weight: 800;
    text-transform: uppercase;
}

button {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 8px 20px;
    background-color: transparent;
    color: #fafafa;
    border: 3px solid #fafafa;
    border-radius: 30px;
}

button.small-icon {
    height: fit-content;
    width: fit-content;
    padding: 10px;
    border-radius: 50px;
}

.buttons-wrapper {
    display: flex;
    flex-direction: row;
}

.social-icons-wrapper {
    display: flex;
    flex-direction: row;
}

.social-icon {
    display: flex;
    align-content: center;
    justify-content: center;
    height: 15px;
    width: 15px;
}

.see-projects-button {
    margin-right: 10px;
}

.social-icons-wrapper button {
    margin-right: 10px;
}

/* Nav Global */

.topnav a {
    text-transform: uppercase;
    font-weight: 700;
}

.icon {
    height: 25px;
    width: 25px;
    padding: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border: 3px solid #fafafa;
    border-radius: 50%;
}

.nav-icon-bar {
    width: 10px;
    height: 3px;
    background-color: #fafafa;
    border-radius: 50px;
}

.nav-icon-bar.middle {
    width: 15px !important;
}

#top-nav-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 2%;
    padding-bottom: 2%;
}

/* About */

#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

#about-wrapper {
    display: flex;
    flex-direction: column;
}

#about-text {
    margin-bottom: 30px;
}

/* Projects */

#projects {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    overflow: hidden;
}

#project-wrapper {
    display: flex;
    justify-content: center;
    align-content: center;
}

.project {
    display: flex;
    flex-direction: column;
    background-color: #5A9FD4;
    height: 50vh;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 30px;
    overflow: hidden;
}

#text-mob-icons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.project-links {
    display: flex;
    flex-direction: column;
}

.project-links.desktop {
    display: hidden;
}

.project-text h1 {
    font-weight: 900;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.40);
}

.project-text h2 {
    font-weight: 900;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.40);
}

.project-text p {
    width: 90%;
    margin-top: 0;
}

.small-icon:first-child {
    margin-bottom: 5px;
}

.project-image {
    display: flex;
}

.project-image img {
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
}

/* Professional Experience Section */

.experience-instance {
    display: flex;
    flex-direction: column;
    padding: 2%;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 4px solid #fafafa;
    border-radius: 30px;
}

.experience-instance p {
    margin-bottom: 5px;
}

.experience-instance ul {
    padding-left: 10px;
}

/* Transferrable Skills */

#transferrable-skills {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#transferrable-skills h1 {
    margin-bottom: 10px;
}

#transferrable-skills ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Footer */

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

/* Extra small devices (phones, 768px and down) */
@media screen and (max-width: 768px) {

    /* Global */

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }
    
    p {
        font-size: 14px;
    }

    ul li {
        font-size: 14px;
    }

    /* About Section */

    .owl-carousel div img {
        height: 80px;
    }

    .project-image img {
        height: auto;
        width: 80vw;
    }

    /* Experience Section */

    .experience-instance {
        padding: 5%;
        height: 290px;
        width: auto;
    }
    
}

/* Medium devices (landscape tablets, max-width 992px and down) */
@media only screen and (max-width: 992px) {

    /* Global */

    #top-nav-bar {
        display: flex;
        flex-direction: column !important;
    }

    .nav-wrapper-mobile {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .topnav {
        display: none;
    }

    .topnav.mobile-active {
        background-color: #2c2c2c;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
        position: absolute;
        z-index: 10;
        text-align: center;
        width: 100%;
        padding: 10px 0px 30px 0px;
        margin-top: 6vh;
    }

    .topnav.mobile-active a {
        padding: 10px 0px;
    }

    #topnav-button {
        display: none;
    }

    .icon.active .nav-icon-bar:nth-child(2) {
        display: none;
    }

    .icon.active .nav-icon-bar {
        width: 14px;
    }

    .icon.active .nav-icon-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .icon.active .nav-icon-bar:nth-child(3) {
        transform: translateY(-6.5px) rotate(135deg);
    }

    /* Header Section */

    .header-text-div {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .header-text {
        width: 90%;
    }

    .header-image:not(.mobile) {
        display: none;
    }

    .header-image.mobile {
        justify-self: left;
        margin-left: -10%;
    }

    .header-image.mobile img {
        height: 50vh;
    }

    /* Project Section */

    .project-text h2 {
        display: none;
    }
    
    .project-text ul {
        display: none;
    }
    
    .project-text p:last-child {
        display: none;
    }

    .project-links.mobile {
        display: flex;
    }

    .project-links.desktop {
        display: none;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    /* Global */

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }
    
    p {
        font-size: 16px;
    }

    .primary-button {
        font-size: 12px;
    }

    /* Header Section */

    .header-text-div {
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .header-text {
        width: 80%;
    }

    .header-image.mobile img {
        height: 60vh;
    }

    /* About Section */

    #about-text {
        align-self: center;
    }

    #about-text h1 {
        font-size: 30px;
    }

    #about-text p {
        font-size: 16px;
    }

    #carousel-wrapper {
        width: 70vw;
        align-self: center;
    }

    .owl-carousel div img {
        height: 70px;
    }

    /* Projects Section */

    .project {
        padding: 30px;
    }

    .project-image img {
        height: auto;
        width: 85vw;
        margin-bottom: -20px;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    /* Global */

    .icon {
        display: none;
    }

    .topnav a {
        margin: 0px 10px;
        font-weight: 600;
        font-size: 13px;
    }

    /* Header Section */

    #header {
        display: flex;
        flex-direction: row;
        height: 65vh;
    }

    .header-text-div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .header-text {
        width: 70%;
    }

    .header-text h1 {
        margin-bottom: 0 !important;
    }

    .header-text p {
        margin-bottom: 20px !important;
    }

    .header-image-wrapper {
        display: flex;
        justify-content: center;
        width: 45vw;
        height: 100%;
    }

    .header-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-header-image {
        height: 65vh;
    }

    #desktop-bitmoji {
        position: relative;
        z-index: 1;
    }

    #bubble {
        position: absolute;
    }

    .header-image.mobile {
        display: none;
    }

    /* About Section */

    #about-text {
        width: 70vw;
    }

    #carousel-wrapper {
        width: 60vw;
        align-self: center;
    }

    /* Project Section */

    .project-links.mobile {
        display: none;
    }

    .project-links.desktop {
        display: flex;
        margin-left: auto;
    }

    .project {
        display: flex;
        flex-direction: row;
        height: fit-content;
        width: 100%;
        padding: 30px;
    }

    .project-text {
        width: 35vw;
    }

    .project-image img {
        height: auto;
        width: 40vw;
        margin-bottom: -120px;
    }

}