html {
    scroll-behavior: smooth;
}

body {
    color: #2d3746;
    background-color: #222831;
    padding-top: 15vh;
}

html, body {
    font-family: 'Jost', sans-serif !important;
}

p {
    margin: 0;
    padding: 10px;
    font-size: 1.9rem;  
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    text-decoration: underline;
    margin-left: 15px;
}

a:link {
    color: dodgerblue;
}

a:visited {
    color: dodgerblue;
}

a:hover {
    color: purple;
}

img {
    max-width: 50%;
    width: 50%;
    height: auto;
    margin-bottom: 10px;
}

h2 {
    text-shadow: 3px 2px #df9c00;
    padding-bottom: 20px;
}

h2, .sideNavItem {
    text-transform: uppercase;
}

h3, h4 {
    font-style: italic;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card {
    display: none; /* Hide all cards by default */
    transition: opacity 5s ease-in-out;
    margin: auto;
    overflow: auto;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.card-title {
    font-size: 3vw;
}

.card-body h3{
    font-size: 2.25vw;
}

.card-body h4{
    font-size: 2vw;
}

.card-body {
    font-size: 1.5vw;
    max-height: 100%;
}

.card-body a {
    font-size: 2vw;
}

.img-fluid-min {
    min-width: 130px !important;
}

.sideNavItem {
    margin: 1.8vw 0;
    padding: 0;
    text-align: center;
    font-size: 2.5vw;
    text-shadow: 2px -2px black;
}

.sideNavItemSelected {
    text-decoration: underline;
    color: #df9c00
}

.sideNavItem a {
    color: white;
    text-decoration: none;
    padding: 5px;
}

.sideNavItem a:hover {
    color: #df9c00;
}

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

.column {
    margin: 0;
    padding: 0;
    flex: 1;
}

.separator {
    padding: 0;
    margin: 0;
}

.centerContent {
    text-align: center;
}

.listSpace {
    margin-bottom: 15px;;
}

.skillList {
    margin-bottom: 20px !important;
}

#expList {
    list-style: outside;
    font-size: 95%;
}

@media (max-width: 1000px) {
    body {
        padding-top: 50px;
    }
    
    li {
        font-size: 1.2rem !important;
    }
    
    p, a {
        font-size: 1.5rem !important;
        padding: 0;
    }
    
    h3 {
        font-size: 2rem !important;
    }

    h4 {
        font-size: 1.5rem !important;
    }

    .card {
        min-height: 300px;
    }
    
    .row {
        flex-direction: column;
        align-items: center;
    }

    .card-title {
        font-size: 2.5rem;
    }

    .col-7, .col-md-6 {
        width: 100% !important;
    }
}