
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap');

* {
    box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6,p,li,a,button {
    font-family: 'Mona Sans', sans-serif;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.25em;
    letter-spacing: -0.015em;
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    line-height: 1em;
    letter-spacing: -0.025em;
    font-weight: 500;
}

h3 {
    margin: 20px 0;
    font-size: .85em;
    line-height: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
}

p {
    font-size: 1rem;
    line-height: 1.75em;
    margin: 16px 0;
    letter-spacing: .025em;
}

body {
    margin: 0;
    padding: 0;
    /*
    background: rgb(247,247,251);
    background: linear-gradient(166deg, rgba(247,247,251,1) 49%, rgba(227,231,244,1) 100%);
    */
    background-color: #f1f3f6;
}

#nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;;
    width: 75%;
    margin-left: 25%;
    padding: 10px 20px;
}

#nav-container > a {
    text-decoration: none;
}

#availability-co {
    display: flex;
    border: 1.5px solid #0bbc55;
    border-radius: 30px;
    padding: 8px 12px;
    align-items: center;
    margin: 0 20px 0 0;
    height: fit-content;
    background-color: #dcfce9;
}

#availability-co > div {
    width: 10px;
    height: 10px;
    background-color: #0bbc55;
    border-radius: 12px;
    margin-right: 5px
}

#availability-co p {
    margin: 0;
    text-align: right;
    color: #0bbc55;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hamburger {
    width: 35px;
    height: 35px;
    padding: 5px 2px;
    background-color: white;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hamburger > div {
    width: 80%;
    background-color: black;
    height: 3px;
}

nav {
    display: flex;
    grid-column: 2;
    margin: 10px 0;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    float: left;
    margin: 0 10px;
    position: relative;
}

nav ul li:after, nav ul li:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    margin: -3px 0;
    border-radius: 2px;
  }

nav ul li:before {
    background: #eaeaea;
    width: 100%;
  }

nav ul li:after {
    background: linear-gradient(90deg, rgba(34, 86, 228, 1), rgba(38, 187, 229, 1));
    box-shadow: 0px 0px 12px 0px rgba(34, 86, 228, .15);
    width: 0%;
  }

nav ul li:hover:after {
    animation: .25s borderSize ease 1;
    animation-fill-mode: forwards;
  }

@keyframes borderSize {
    from {
      width: 0%;
    }
    to {
      width: 100%;
    }
  }


nav ul .active:before {
    background: linear-gradient(90deg, rgba(34, 86, 228, .5), rgba(38, 187, 229, .5));
}

nav ul li a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 5px 20px;
    width: 100%;
    height: 100%;
}

#profile {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 25%;
    padding: 20px;
}

#profile > div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    /*width: 100%;*/
}

#profile > div:nth-child(1) {
    height: 15%;
    align-items: center;
}

#logo > a {
    width: 50px;
    height: 50px;
}

#personal-info {
    height: 70%;
    justify-content: center;
    text-align: center;
}

#headshot {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 16px auto;
}

#headshot img {
    width: 100%;
}

#personal-info p {
    margin: 0 ;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 16px auto;
    padding: 0;
    list-style-type: none;
    justify-content: center;
}

.socials li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    float: left;
    margin: 0;
    width: 42px;
    min-width: 20px;
    padding: 8px 4px;
    border: 1px solid transparent;
}

.socials li img {
    width: 75%;
    filter: grayscale(100%) opacity(50%);
    
}

.socials li:hover {
    position: relative;
    top: -2px;
    border: 1px solid #eaeeea;
    box-shadow: 0px 4px 24px -12px rgba(81,95,153,1);

}

.socials li:hover img {
    filter: none;
}

.contact-btn {
    display: inline-block;
    padding: 16px 22px;
    background-color: black;
    border-radius: 5px;
    border: 1px solid black;
    color: #ffffff;
    text-decoration: none;
}

.contact-btn:hover {
    position: relative;
    top: -2px;
    border: 1px solid #353535;
    background-color: #565656;
    color: #ffffff;
    box-shadow: 0px 4px 24px -12px rgba(81,95,153,1);
}

#profile > div:nth-child(3) {
    height: 15%;
    justify-content: end;
    text-align: center;
}

#content {
    margin-left: 25%;
    clear: both;
}

.tags {
    display: flex;
    margin: 0;
    padding: 0;
}

.tags li {
    margin: 0 5px 0 0;
    background-color: #dddcdc;
    padding: 10px;
    border-radius: 5px;
    font-size: 10px;
    text-transform: uppercase;
}

#footer > p {
    margin: 0;
    font-size: .75em;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #979797;
}

#m-cta {
    display: none;
}

/* WORK STYLES */

#work-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
}

.project-container {
    /*background-color: white;*/
    margin: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    container-type: inline-size;
    container-name: project-preview;
}

@container project-preview (max-width: 310px) {
    .preview-txt {
        display: block !important;
    }

    .preview-txt div:nth-child(2) {
        justify-content: left !important;
    }
}

.project-container:hover {
    border: 1px solid rgba(34, 86, 228, 1);
    box-shadow: 0px 0px 25px 0px rgba(179,185,219,.3);
    position: relative;
    top: -4px;
}

.project-container img {
   width: 100%;
}

.preview-txt {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 20% 80%;
    background-color: white;
}

.preview-txt div {
    display: flex;
}

.preview-txt div:nth-child(1) {
    align-self: center;
    display: flex;
    align-items: center;
}

.preview-txt div:nth-child(2) {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: end;
}

.preview-txt div:nth-child(3) {
    align-self: flex-end;
}

.preview-txt h2  {
    font-size: 20px;
    margin: 0 12px 0 0;
}

.preview-txt img {
    width: 20px;
    height: 15px;
}

.preview-txt > div:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 3;
}

/* END WORK STYLES */
/*
/*
/* ABOUT STYLES */

#about-container {
    display: grid;
    grid-template-columns: 35% 65%;
    padding: 20px;
    height: calc(100% - 60px);
}

#about-img {
    grid-row: 1 / span 2;
    background-image: url('https://placehold.co/300x600');
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0px 4px 24px -12px rgba(81,95,153,1);
}

#about-img > picture > img {
    width: 100%;
}


#about-txt {
    grid-column: 2 / span 2;
    padding: 20px;
}


#process {
    grid-row: 2;
    grid-column: 2 / span 2;
    display: flex;
    align-items: start;
    flex-wrap: wrap;
}

.process-txt-container {
    margin: 20px 0;
}

#process-btns {
    display: flex;
}

#process-btns li {
    float: left;
    margin: 0 10px 0 0;
}

#process-btns button {
    background-color: #dcdcdc;
    border-radius: 5px 5px 0 0;
    padding: 20px;
    border: 1px solid #dcdcdc;
    border-bottom: none;
}

#process-btns button.active {background-color: white}

#process-txts li.active {
    display: block;
    padding: 20px;
    background-color: white;
    border: 1px solid #dcdcdc;
    margin-top: -1px;
    border-radius: 0 5px 5px 5px;
}

#process-txts li {
    display: none;
}

/* ABOUT END */
/*
/*
/*
/* CONTACT */

#contact-container {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    margin: 20px;
    height: 80%;
}

#contact-container > div {
    margin: 24px;
}

#contact-container > div:first-of-type {
    margin: 56px;
}

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 32px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 25px 0px rgba(179,185,219,.3);
}

.col-span-2 {
    width: 100%
}

.col-span-1 {
    width: 48%;
}

form label {
    display:block;
    margin: 16px 0 8px 0;
    padding: 0;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

form input, form select, form textarea {
    background-color: #f6f3f3;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    font-family: sans-serif;
    letter-spacing: 1px;
    padding: 16px;
    width: 100%;
}

form > .row {
    margin: 8px 0;
}

form button {
    background-color: black;
    padding: 12px 32px;
    color: #ffffff;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
}

form textarea {
    height: 150px;
}

/* CONTACT END */
/*
/*
/* PROJECT PAGE */

#project-container {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto;
    /*grid-auto-rows: auto;*/
    height: 90%;
    margin: 20px 20px 0 20px;
}

#project-intro {
    grid-column: 1;
    grid-row: 1;
    margin-right: 20px;
    align-self: end;
}

#project-intro img {
    display: none;
}

#project-intro > .tags {
    margin-bottom: 16px;
}

#project-stats {
    grid-column: 1;
    grid-row: 2;
    margin-right: 20px;
    align-self: center;
}

#project-stats p {
}

#project-details {
    grid-column: 1;
    grid-row: 3;
    margin-right: 20px;
}

.goals-co {
}

.goals-co li {
    position: relative;
    display: inline-block;
    padding: 15px 15px;
    margin: 0 8px 12px 45px;
    background-color: white;
    border-radius: 0px 5px 5px 0;
    box-shadow: 0px 0px 25px 0px rgba(179,185,219,.3);
}

.goals-co li:before {
    display: block;
    position: absolute;
    content: '';
    background-image: url('../imgs/check-ph.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    background-color: rgba(81,95,153,1);
    left: -45px;
    top: 0;
    bottom: 0;
    border-radius: 5px 0 0 5px;
    width: 45px;
}

.goals-co li img {
    margin: 0 8px 0 0;
}

.tools-co {
    display: inline-block;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 25px 0px rgba(179,185,219,.3);
}

.tools-co li {
    margin: 0 16px 0 0;
    width: 35px;
    height: 35px;
    float: left;
}

.tools-co li img {
    width: 100%;
}

#project-imgs {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    overflow-y: scroll;
}

#project-imgs::-webkit-scrollbar {
    background-color: transparent;
    height: 12px;
    width: 12px;
}

#project-imgs::-webkit-scrollbar-track {
    margin: 0 10px 0 10px;
    background-color: hsl(0, 0%, 80%);
    border-radius: 100px;
}

#project-imgs::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 45%);
    border-radius: 100vh
}

#project-imgs > div {
    width: 98%;
    margin: 0 0 20px 0;
}

#project-imgs div:last-of-type {
    margin: 0;
}

#project-imgs img {
    width: 100%;
}

#project-imgs > div:nth-last-child() {
    margin-bottom: 0;
}


/* Extra Desktop */
@media screen and (max-width: 1050px) {

    #profile {
        width: 35%;
    }

    #nav-container {
        margin-left: 35%;
        width: 65%;
    }

    #content {
        margin-left: 35%;
    }

    /* ABOUT STYLES */

    #about-container {
        display: block;
        height: auto;
    }
    
    #about-img {
        width: 100%;
        height: 300px;
        background-image: url('https://placehold.co/300x250');
        background-size: cover;
        background-position: center;
        border-radius: 5px;
        box-shadow: 0px 4px 24px -12px rgba(81,95,153,1);
    }


    /* Contact Styles */

    #contact-container {
        height: 100%;
    }

    #contact-container {
        display: block;
    }

}

@media screen and (max-width:1120px) {

    #project-container {
        display: grid;
        grid-template-columns: 100%;
        grid-auto-rows: auto;
        height: auto;
        margin: 20px 0 20px 20px;
    }

    #project-intro {
        grid-row: 1;
    }

    #project-imgs {
        margin: 16px 0 0 -20px;
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: scroll;
        /*height: 520px;*/
        height:fit-content;
        scroll-snap-type: x mandatory;
    }
    
    #project-imgs > div {
        display: flex;
        margin: 0 10px 10px 10px;
        min-width: 80%;
        height: 98%;
        overflow: hidden;
    }

    #project-imgs > div > img {
        object-fit: cover;
    }

    #project-stats {
        grid-row: 3;
    }

    #project-details {
        grid-row: 4;
    }

}

/* Tablet */
@media screen and (max-width: 834px) {

    #nav-container {
        flex-wrap: wrap;
    }
    
    nav ul li {
        float: left;
        margin: 0 5px;
        padding: 5px 10px;
    }
    
    #work-container {
        display: block;
    }

    /* About Styles */

    #process-btns button {
        padding: 20px 10px;
    }

    /* About End */

    /* Project Styles */


}

@media screen and (max-width: 666px) {

    #availability-co {
        margin: 0;
    }

    /* About */

    #disciplines {
        flex-wrap: wrap;
    }

    /* About End */

}

/* Phone */
@media screen and (max-width: 720px) {

    h1 {
        font-size: 1em;
    }

    #nav-container {
        width: 100%;
        margin: 0;
        padding: 20px;
    }

    nav {
        margin: 0;
    }

    nav ul li:before, nav ul li:after {
        display:none;
    }

    #availability-co {
        display: flex;
        grid-column: 2;
        align-items: center;
        justify-content: right;
        margin-right: 20px;
    }

    #availability-co p {
        font-size: .25em;
    }

    .hamburger {
        display: flex;
    }

    #header-nav.active {
        display: block;
    }

    #header-nav {
        display: none;
        position: absolute;
        top: 60;
        right: 20;
        background-color: white;
        z-index: 100;
        padding: 15px;
        border: 1px solid #eaeaea;
        border-radius: 8px;
    }

    #header-nav li {
        float: none;
        margin: 5px 0;
        border-radius: 2px;
        border: none;
        text-align: center;
        padding: 8px 16px;
    }

    #header-nav li:hover {
        background-color: #eaeaea;
    }

    #logo {
        justify-content: start;
    }

    #logo a {
        margin-top: -60px;
        margin-left: 20px;
        width: 40px;
        height: 40px;
    }

    #profile {
        position: relative;
        width: auto;
        height: auto;
        padding: 0;
        background-color: red;
    }

    #profile > div {
        height: auto !important;
    }

    #profile > div:nth-child(1) {
        align-items: flex-start;
    }

    #personal-info {
        display: grid;
        grid-template-columns: 75px 1fr;
        justify-items: start;
        align-items: center;
        text-align: left;
        width: 40%;
        margin-top: -60px;
        margin-left: 80px;
    }

    #personal-info p {
        font-size: .5em;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin: 0;
    }

    #headshot {
        width: 75px;
        height: 75px;

        display: none;
    }

    #profile > div:nth-child(2) > div:nth-child(2) {
        padding: 0;
    }

    #profile div:nth-child(3) {
        display: none;
    }

    #profile .socials {
        display: none;
    }

    #content {
        margin: 0 0 85px 0; /* Update After Designing M-CTA */
    }

    #project-container {
        margin: 20px 20px 110px 20px;
        height: fit-content;
    }

    #project-imgs {
        margin-left: -10px;
    }

    #project-imgs img:first-of-type {
        margin-left: 10px;
    }

    #project-imgs > div {
        margin: 0 0 10px 0;
        min-width: 90%;
    }

    #m-cta {
        display: grid;
        grid-template-columns: 70% 30%;
        grid-template-rows: 70% 30%;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 90px;
        padding: 10px 20px;
        background-color: white;
    }

    #m-cta div:nth-child(1) {
        display: flex;
        justify-content: left;
        align-items: center;
    }

    .socials {
        margin: 0;
        height: auto;
        justify-content: left;
    }

    #m-cta div:nth-child(2) {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        justify-content: center;
    }

    #contact-container {
        margin-bottom: 160px;
    }

    #contact-container > div {
        margin: 0;
    }

    #m-cta div:nth-child(3) {
        grid-column: 1 / span 2;
    }

    #m-cta p {
        margin: 0;
        padding: 0;
        font-size: 10px;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

}