@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background-color: #464646;
    margin: 0;
    padding-bottom: 20px;
}

* {
    color: white;
    font-family: sans-serif;
}

h1 {
    font-family: 'Nunito Sans', sans-serif;
}

h2 {
    font-family: 'Nunito Sans', sans-serif;
}

h3 {
    font-family: 'Nunito Sans', sans-serif;
}

h4 {
    font-family: 'Nunito Sans', sans-serif;
}

nav {
    width: 70vw;
    height: 10vh;
    margin: 0;
}

nav ul {
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    margin: 0;
    background-color: #464646;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.8em;
    border-bottom: 1px solid #0093ff;
}

nav ul li a:link {
    text-decoration: none;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 70vw;
    padding-left: 15vw;
    padding-right: 15vw;
    z-index: 100;
}

.sticky + #nav-placeholder {
    padding-top: 9vh;
}

#main-content {
    padding-left: 15vw;
    padding-right: 15vw;
}

.section {
    padding-top: 7vh;
}

.visible
{
    visibility: visible;
    opacity: 1;
    transition: opacity 3s linear;
}                

.hidden
{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 3s, opacity 3s linear;
}

.title-box h1 {
    font-size: 5em;
    margin-bottom: 10px;
    margin-top: 0px;
    border-bottom: 3px solid #0093ff;
    padding: 0 10px;
}

.header-container {
    display: flex;
    justify-content: center;
}


.header-container h2 {
    margin-top: 0;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    border-bottom: 2px solid #0093ff;
    width: max-content;
    padding: 0 5px;
}

h4 {
    font-size: 1.3em;
}

.title-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 92vh;
    color: #ffffff;

}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-variant: small-caps;
}

#main-subtitle {
    font-size: 1.5em;
    margin-top: 10px;
    transition: width 3s ease-in-out;
    display: flex;
    white-space: nowrap;
}

#attributes {
    display: flex;
    width: 100%;
}

#rotating-attribute {
    display: inline-block;
}

.sub-content {
    display: inline;
}

.sub-attribute::after {
    content: "|";
    margin: 0 4px;
}

#scroll-arrow-container {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
}

#scroll-arrow-container:hover {
    cursor: pointer;
}

#scroll-arrow {
    text-align: center;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
  transition: transform .5s linear;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#about-content {
    display: flex;
    align-items: center;
}

#about-content #profile {
    padding-right: 10px;
}

#headshot {
    border-radius: 50%;
    width: 20vw;
    max-width: 350px;
    flex-shrink: 0;
    shape-outside: circle(50%);
}

#skills {
    display: flex;
}

#skills > div {
    width: 33vw;
}

#skills div h3 {
    text-align: center;
    font-size: 1.5em;
    border-bottom: 2px solid #0093ff;
    padding: 0 5px;
}

#skills .technologies {
    display: flex;
    flex-flow: row wrap;
}

.experience-section {
    display: flex;
}

.experience-section .experience-heading {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.experience-section .experience-description {
    width: 40%;
}

.experience-section+.experience-section {
    margin-top: 15px;
}

.experience-section:nth-child(2n) .experience-heading{
    order: 2;
}

.experience-section:nth-child(2n) .experience-description {
    padding-left: 0;
    padding-right: 15px;
}

.experience-heading h3 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: center;
}

.experience-heading p.location {
    text-align: center;
    font-size: 1.5em;
    margin-top: 0;
    margin-top: 0;
}

.experience-heading .separator {
    width: 150px;
    margin: 20px auto 15px auto;
    border-top: 1px solid white;
}

.experience-heading .experience-title {
    padding: 0 20px;
    background-color: rgba(70, 70, 70, .584);
}

.experience-description {
    padding-left: 15px;
}

.experience-description h4 {
    margin-bottom: 5px;
}

#experience-palantir {
    background-image: url('../img/manhattan.jpg');
}

#experience-sra {
    background-image: url('../img/philadelphia.jpg');
}

#experience-thon {
    background-image: url('../img/thon.jpg');
}

.experience-description .separator {
    /* border-top: 1px solid #0093ff; */
    border-top: 1px solid white;
    margin: 0 20%;
}

.separator+.experience-position h4 {
    margin-top: 15px;
}

#projects-content {
    display: flex;
    flex-wrap: wrap;
}

.project-container {
    width: 40%;
    margin: 0 5%;
    margin-bottom: 25px;
    /* border: 1px solid black; */
    box-sizing: border-box;

}

.project-container .project-header {
    position: relative;
}

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

.project-container .project-details {
    max-height: 0px;
    transition: max-height .5s linear;
    overflow: hidden;
}

.project-container .project-details .project-details-measure {
    overflow: auto;
}

.project-container.expanded .expand-arrow-container {
    opacity: 1;
}

.project-container.expanded .expand-arrow-container i.arrow {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}


.expand-arrow-container {
    opacity: 0;
    transition: opacity .33s linear;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, #383838, transparent);
    cursor: pointer;
}

.project-header:hover .expand-arrow-container {
    opacity: 1;
}

.expand-arrow-container .expand-arrow {
    width: 50px;
    margin: 0 auto;
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    text-align: center;
}

.project-title {
    text-align: center;
    font-size: 1.2em;
}

.project-details {
    background-color: #383838;
    padding: 0 5%;
}

.project-technologies {
    display: flex;
    flex-flow: row wrap;
    margin-top: 5px;
    margin-bottom: 15px;
}

.tech {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid white;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    margin-top: 5px;
    margin-right: 10px;
    /* background-color: #000000; */
}

.tech .tech-icon {
    display: flex;
}

.tech .tech-label {
    margin-left: 7px;
}

.tech .tech-label img{
    fill: white;
    padding-left: 5px;
}

.tech.tech.secondary {
    border-color: #888888;
}

.tech.secondary .tech-label {
    color: #bababa;
}

.tech.secondary .tech-icon i {
    color: #bababa;
}

.project-links {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2em;
    margin: 10px;
}

.project-links a {
    display: inline-flex;
}

.project-links .icon {
    margin-right: 5px;
}

.project-links .icon i {
    text-decoration: none;
}

#contact-holder {
    margin: 0 auto;
    display: flex;
    width: 40%;
    justify-content: space-evenly;
}

.certificates {
    display: flex;
    justify-content: space-around;
}

.certificates iframe {
    background-color: #fff;
}


@media (max-width: 750px) {
    #main-content {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .title-box {
        height: 90vh;
    }

    .title-box h1 {
        font-size: 10vw;
    }

    #main-subtitle {
        font-size: 1em;
    }

    #attributes {
        flex-direction: column;
        align-items: center;
    }

    .sub-attribute {
        position: relative;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .sub-attribute::after {
        content: '';
        width: 15%;
        height: 1px;
        background: white;
        position: absolute;
        bottom: -7px;
        left: 42.5%

    }


    nav {
        width: 100%;
        margin-bottom: 10px;
    }

    nav ul {
        justify-content: space-between;
    }

    nav ul li a {
        font-size: 1.1em;
    }

    .sticky {
        width: 100vw;
        padding: 0;
    }

    .sticky + #nav-placeholder {
        padding-top: 9vh;
    }

    #about-content {
        flex-direction: column-reverse;
    }

    #headshot {
        border-radius: 50%;
        width: 40vw;
        flex-shrink: 0;
        shape-outside: circle(50%);
    }

    #skills {
        display: block;
    }

    #skills > div {
        display: block;
        width: 100vw;
    }

    .experience-section {
        flex-direction: column;
    }

    .experience-section .experience-heading {
        width: 100%;
    }

    .experience-heading .experience-title {
        padding: 0px;
        width: 100%;
    }

    .experience-section .experience-description {
        width: 100%;
        padding-left: 0;
    }

    .experience-section:nth-child(2n) .experience-heading{
        order: 0;
    }

    .project-container {
        width: 100%;
        margin-bottom: 25px;

    }

    .expand-arrow-container {
        opacity: 1;
    }

    #contact-holder {
        width: 60%;
        /* width: 30px; */
        /* height: 30px; */
    }

    .certificates {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}