@import url('all.min.css');

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceSerif';
    src: url('../fonts/SourceSerif-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceSerif';
    src: url('../fonts/SourceSerif-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}



/* BASIC ELEMENTS //////////////////////////////// */

::selection {
    background: #63788B;
    color: #DEECF9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.-webkit-scrollbar {display: none;}

body {
    font-family: 'inter', sans-serif;
    line-height: 1.5em;
    margin: 0;
    color: #555;
    letter-spacing: -.35px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter';
}

.off-screen-menu {
    background-color: #ebebeb;
    color: #272F36;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease 1s;
    text-align: center;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.5px;
}

.off-screen-menu.active {
    right: 0;
}

.off-screen-menu li {
    margin-bottom: 2rem;
}

.off-screen-menu li a {
    text-decoration: none;
    margin-bottom: 2rem;
    color: #555;
}


P {
    line-height: 1.55;
    font-size: 1rem;
    letter-spacing: 0.18px;
    font-weight: 500;
    margin-bottom: 2rem;
}

.logo {
    font-family: 'Inter';
    font-weight: 900;
    letter-spacing: -1.5px;
    font-size: 2.5rem;
    margin: 0;
    text-decoration: none;
    color: #555;
    line-height: 1.15;
}

ul {
    list-style: none;
}

nav ul {
    list-style: none;
    text-align: right;
    display: flex;
    gap: 20px;
}

.hero-image {
    background: #63788B;
}

nav {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background-color: #ebebeb;
}

.print-img {
    width: 100%;
    max-height: 100%;
}


nav ul li a {
    display: none;
}

nav a.active {
    color: #ff6200;
}

.menu-icon {
    position: relative;
    width: 25px;
    height: 10px;
}

.year {
    color: #63788B;
}

.line {
    width: 100%;
    height: 3px;
    background-color: #555;
    margin-bottom: 4px;
    position: absolute;
}

.line:nth-child(1) {
    margin-top: 10px;
    position: absolute;
}

.job {
    position: relative;
    border-left: 1px solid #272F36;
    padding-left: 5%;
}

h1 {
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0px;
    font-weight: 900;
}


h1.phat {
    text-align: center;
    margin: 1.2rem 0 1rem 0;
}

h1.light {
    text-align: center;
    font-weight: 200;
}

h1.fluff {
    color: #63788B;
    margin: 4rem 0;
}

h2 {
    font-weight: 900;
    text-align: center;
    font-size: 1.8rem;
    margin: 1.4rem 0 1.5rem 0;
}

h2.name {
    margin: 1.4rem 0 2.5rem 0;
}

h3 {
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -.1px;
    margin-top: 3rem;
    margin-bottom: .7rem;
    font-weight: 900;
}

h4 {
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: .2rem;
}

h5 {
    font-weight: 900;
    margin: 2rem 0 .5rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

h5.smaller {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0px;
}

h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
}


.tab-titles {
    display: flex;
    margin: 3rem 0 3rem;
  }
  
  .tab-links {
    font-family: 'Inter';
    margin-right: 20px;
    font-size: 3rem;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0px;
}
  
  .tab-links.active-link::after {
    
    width: 100%;
  }

  .active-link {
    color: #ff6200;
  }
  
  .tab-contents {
    display: none;
    animation: moving .5s ease;
  }

  @keyframes moving {
    from{transform: translateX(50px);opacity: 0;}
    to{transform: translateX(0px);opacity: 1;}
  }
  
  .tab-contents.active-tab {
    display: block;
    margin-bottom: 5em;
    
  }


.excerpt {
    font-size: .9rem;
    line-height: 1.3;
}

.dot {
    color: #ff6200;
}

.intro {
    margin-bottom: 0;
}

img.hero {
    margin-top: 7.5%;
    width: 100%;
}

.container {
    width: 85%;
    margin: 0 auto;
}

.gray {
    margin-top: 4rem;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    background-color: #DEECF9;
}

.two-column-flex {
    display: flex;
    flex-direction: column;
}

.scroll-container {
    margin-top: 2rem;
    display: flex;
    overflow-y: auto;
    padding: 0 7.5%;
}

.grid {
    display: flex;
    flex-direction: row;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
} 

.project {
    position: relative;
    height: 100%;
    width: 100%;
}

.description-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out .2s;
}

.card {
    background: #fff;
    width: 33%;
    flex-shrink: 0;
    border: 1px solid #63788B;
    border-bottom: 4px solid #63788B;
    border-radius: 1rem;
    margin-right: 1%;
    box-sizing: content-box; /* So the width will be 100% + 17px */
}

.card-2 {
    background: #fff;
    width: 100%;
    flex-shrink: 0;
    border: 1px solid #63788B;
    border-bottom: 4px solid #63788B;
    border-radius: 1rem;
    margin-right: 1%;
    box-sizing: content-box; /* So the width will be 100% + 17px */
}


.card-img {
    width: 100%;
    border-radius: 1rem 1rem 0 0 ;
}

.innercard {
    width: 80%;
    padding: 1.5rem 0 .4rem 0;
    margin: 0 auto;
}

.container-narrow {
    margin: 0 auto;
    width: 85%;
    padding: 4rem 0;
}

.button {
    display: inline ;
    font-family: 'Inter';
    font-weight: 700;
    margin-top: 1rem;
    display: block;
    width: 100%;
    background: #63788B;
    padding: .5rem 1rem;
    color: #DEECF9;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .15rem;
    border: 1px solid #272F36;
    border-bottom: 4px solid #272F36;
    border-radius: .6rem;
    text-decoration: none;
    transition: ease 0.2s;
}

.footer-button {
    font-family: 'Inter';
    font-weight: 900;
    margin-top: 1rem;
    display: block;
    width: 100%; 
    padding: .5rem 1rem;
    color: #63788B;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .15rem;
    border: 1px solid #63788B;
    border-bottom: 4px solid #63788B;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
}

footer {
    padding: 1.5rem 0;
    border-top: 1px solid #272F36;
}

footer ul li {
    text-align: center;
}

footer ul li a {
    color: #63788B;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.icons {
    display: inline-flex;
    gap: 1rem;
    margin-top: 1rem;
}

i {
    font-size: 1.5rem;
}

/* My Skills */

.progress-bar {
    margin: 0 0 10px;
    overflow: hidden;
    padding-right: 24px; /* Separate bars from container */
  }
  
  .progress-title-holder {
    position: relative;
    margin: 5px 0;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    line-height: 15px;
    font-weight: 400;
    color: #555;  
  }
  
  .progress-title {
    z-index: 999;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 1.3px;
}

  .progress-number-wrapper {
    width: 100%;
    z-index: 10;
  }
  
  .progress-number-mark {
    margin-bottom: 4px;
    border-radius: 50px;
    background-color: #63788B;
    padding: 0 8px;
    position: absolute;
    bottom: 0;   
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%); 
  } 
  
  .progress-number-wrapper,
  .progress-number-mark {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 24px;
    height: 24px;
    letter-spacing: 0px;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    color: #DEECF9;
  }
  
  .down-arrow {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid #63788B;
    position: absolute;
    left: 50%;
    top: 100%;
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);  
  }
  
  .progress-content-outter {
    height: 12px;
    background-color: #ffffff;
  }
  
  .progress-content {
    height: 6px;
    background-color: #63788B;
    width: 0%;
    border-radius: 100px;
}

/* Responsive */


@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    } 

    h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1045px) {

    h1.phat, h1.light {
        text-align: left;
    }

    .container-narrow {
        width: 55%;
    }

    .menu-icon {
        display: none;
    }

    nav {
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        background-color: #ebebeb;
    }

    nav ul li a {
        display: block;
        font-size: 1.2rem;
        text-decoration: none;
        color: #555;
        font-weight: 700;
        transition: ease .2s;
    }

    nav ul li a:hover {
        color: #ff6200;
    }

    h1, h2 {
        text-align: left;
    }

    .grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .card {
        width: 32%;
        margin-bottom: 1%;
    }

    .print-img-wrap {
        transition: ease-out 0.2s;
    }
    
    .print-img-wrap:hover {
        transform: translate(0, -7px);
    }

    .two-column-flex {
        padding: 4rem 0 0 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .no-margin {
        padding-top: 0px;
    }

    .top {
        align-items: baseline;
    }

    .half {
        width: 50%;
    }

    a.footer-button {
        transition: ease .35s;
    }

    a.button:hover, a.footer-button:hover {
        transform: translate(0px, -3px);
        transition: ease .35s;
    }

}

@media (min-width: 1220px) {
    .container-narrow {
        width: 40%;
    }
    

    .grid-2 {
        grid-template-columns: repeat(3, 1fr);
    } 

    .menu-icon {
        display: none;
    }

    nav ul li {
        display: inline-block;
        margin-right: 2%;
    }

    nav ul li:last-child {
        margin-right: 0px;
    }

    

    .button {
        border-bottom: 6px solid #272F36;
    }

    .footer-button {
        display: inline;
        padding: .6rem 2rem;
        border-bottom: 4px solid #63788B;
        margin-right: .5rem;

    }

    .grid {
        padding: 20px 0;
    }

    .half {
        width: 50%;
    }

    .two-column-flex {
        display: flex;
        flex-direction: row;
        gap: 3rem;
    }

    .top {
        align-items: baseline;
    }
    
    footer ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .card, .card-2 {
        transition: all .35s ease;
    }

    .card:hover, .card-2:hover {
        transform: translate(0, -7px);
    }

    
}

@media (min-width: 1440px) {

    .container {
        width: 70%;
    }

    .scroll-container {
        padding: 0 15%;
    }

    .progress-title {
        font-size: .8rem;
    }
}

@media (min-width: 1800px) {

    h1 {
        font-size: 5.5rem;
    }

    h3 {
        font-size: 2rem;
        margin-top: 4rem;
    }

    h5.smaller {
        font-size: 1.2rem;
    }
}

@media (min-width: 2560px) {

    p {
        font-size: 1.25rem;
    }

    .progress-content {
        height: 8px;
    }
    
    .progress-number-wrapper, .progress-number-mark {
        font-size: 1rem;
        line-height: 33px;
        height: 33px;
        letter-spacing: 0px;
        font-weight: 400;
        font-style: normal;
        text-transform: none;
        color: #DEECF9;
    }

    .button {
        font-size: 1.4rem;
        padding: 1rem 3rem;
        margin-right: 2%;
    }

    .excerpt {
        font-size: 1.4rem;
    }

    .footer-button {
        padding: 1rem 3rem;
    }

    footer ul li a {
        font-size: 1.4rem;
    }
}