@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Barlow';
    overflow-x: hidden;
    z-index: 50;
}

body {
    min-height: 100vh;
}

.site-section {
    width: 100vw;
}

a {
    text-decoration: none !important;
}


/****

colors

****/

.bg-primary-np {
    background-color: var(--primary);
    color: var(--background-white);
}

.co-primary {
    color: var(--primary);
}

.bg-accent-light {
    background-color: var(--accent-light);
}

.co-accent-light {
    color: var(--accent-light);
}

.bg-background-white {
    background-color: var(--background-white);
}

.co-background-white {
    color: var(--background-white);
}

.bg-accent-dark {
    background-color: var(--accent-dark);
}

.co-accent-dark {
    color: var(--accent-dark);
}


/****

paddings

****/

.pd-5 {
    padding: 5px;
}

.pd-10 {
    padding: 10px;
}

.pd-20 {
    padding: 20px;
}


/****

margins

****/

.mg-t-10 {
    margin-top: 10px;
}

.mg-t-20 {
    margin-top: 10px;
}


/****

header

****/

#header {
    position: fixed;
    left: 0px;
    right: 0px;
    transition: top 0.6s;
    display: flex;
    padding: 15px;
    z-index: 999;
    background-color: var(--accent-dark);
    color: var(--background-white);
    box-shadow: grey 2px 2px 5px;
    max-height: 80px;
}

html:is([data-scroll='0']) #header {
    top: -200px;
}

html:not([data-scroll='0']) #header {
    top: 0px;
}

#header .nav-item {
    float: left;
    padding: 13px 13px 10px 13px;
    margin-left: 7px;
    cursor: pointer;
    color: var(--background-white);
    border-bottom: 0px solid var(--background-white);
    margin-bottom: 1px;
    transition: 0.3s;
}

#header .nav-item:hover {
    /*background-color: var(--background-white);
    color: var(--accent-dark);*/
    border-bottom: 1px solid var(--background-white);
    background-color: var(--primary);
    margin-bottom: 0px;
}


/****

entry


****/

#entry-container {
    height: 100vh;
    background-image: linear-gradient(45deg, var(--accent-light), var(--primary));
    vertical-align: middle;
}

#main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* Set the container height */
    line-height: 100vh;
    /* Match the container height */
    font-size: 10vw;
    color: #F9F7F7;
    text-shadow: #112D4E 1px 1px 2px;
}


/****

projects


****/

.project-container {
    background-color: var(--background-white);
}

.project-tab-container {
    border: 1px solid black;
    padding: 15px;
}

.project-tab {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    background-color: #3F72AF;
    box-shadow: grey 3px 3px 3px;
}


/****

education


****/

#education-container {
    background-color: var(--accent-dark);
    color: var(--accent-light);
}

.background-white {
    color: var(--background-white);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: .75rem;
}

#career-container {
    background-color: var(--background-white);
}

#timeline {
    padding-top: 20px;
    padding-bottom: 20px;
}

#timeline>div {
    text-align: center;
    align-content: center;
    min-height: 300px;
}

.timeline-middle {
    overflow-y: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vertical-line {
    position: absolute;
    width: 4px;
    height: 70%;
    background-color: black;
}

#top-line {
    background: linear-gradient( rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 51%);
}

#bottom-line {
    background: linear-gradient( rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 51%);
}

.year-bubble {
    position: absolute;
    width: 50px;
    border: 1px solid grey;
    border-radius: 100%;
    background-color: var(--primary);
    color: var(--background-white);
    line-height: 50px;
    overflow: hidden;
    z-index: 990;
}

.mobile-timeline {
    display: none;
}

@media only screen and (max-width: 980px) {
    .mobile-timeline {
        display: inherit;
    }
    .desktop-timeline {
        display: none;
    }
    .spacer-timeline {
        display: none;
    }
}

@media only screen and (max-width: 570px) {
    .info-timeline {
        width: 80%;
    }
    .mobile-timeline {
        width: 20%;
    }
}


/****

footer


****/

#footer {
    background-color: var(--accent-dark);
    color: var(--background-white);
    position: relative;
    bottom: 0px;
}


/****

title


****/

#title-section {
    margin-top: 80px;
}

.jumbotron {
    height: 400px;
    box-shadow: 2px 0px 10px grey;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    margin-bottom: 10px;
}

.jumbotron h1 {
    position: relative;
    left: 20px;
    top: 250px;
    font-size: 3rem;
    color: white;
    text-shadow: 0px 0px 10px black;
}


/****

skills

****/

.skill-card {
    padding: 15px !important;
    box-shadow: 0px 0px 10px lightgrey !important;
    border: none !important;
    border-radius: 0px !important;
    min-width: 120px;
}

.skill-line {
    width: 100%;
    height: 5px;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 5px;
}

.skill-it {
    background-color: blue;
}

.skill-social {
    background-color: #ffc107;
}

.skill-business {
    background-color: #6f42c1;
}

.skill-medical {
    background-color: #dc3545;
}

.skill-education {
    background-color: #fd7e14;
}

.skill-personal {
    background-color: #28a745;
}

.btn-primary-np {
    background-color: var(--primary);
    color: var(--background-white);
}

.btn-primary-np:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.text-bg-primary-np {
    background-color: var(--primary);
    color: var(--background-white);
}