/* Global Selectors */
* {
    box-sizing: border-box;
}

body {
    box-sizing: inherit;
    font-family: 'Roboto Slab', serif;
    min-height: 100vh;
    position: relative;
    padding-bottom: 6rem;
}

.btn:hover {
    transform: translateY(-3px)
}

code {
    background-color: #eee;
    border: 1px solid #999;
    display: block;
    padding: 20px;
    white-space: pre-wrap
}

.code-snippet {
    max-width: 80vw;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%
}

.footer-img {
    max-height: 7vh;
    width: auto
}

.footer-link:hover {
    opacity: 0.7;
}

h2 {
    font-weight: 800;
    border-bottom: 4px solid gold;
    width:fit-content
}
hr {
    border: 2px solid #0d6efd;
    margin-top: 0;
}

img {
    padding: 10px;
}

@media screen and (max-width: 991px) {
    
    #mobileHome {
        display: block !important;
    }

    #desktopHome {
        display: none !important;
    }
}

@media screen and (max-width: 425px) {
    #mobileHome {
        display: block !important;
    }

    #desktopHome {
        display: none !important;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 2em;
    letter-spacing: .05em;
}

.nav-link.active {
    border-bottom: 4px solid red;
    width:fit-content
}


/* WORK selectors */
.card {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    /* border: 2px solid black; */
}

#desktopNav .card-img-top {
    height: auto;
    width: 40vw;
    border: 1px solid gray;
    padding:0
}

#mobileNav .card-img-top {
    height: auto;
    width: 60vw;
    border: 1px solid gray;
    padding:0
}

.gridBox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1em;
}

/* RESUME selectors */
.resumeGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1em
}

.resumeGrid h3 {
    color: #0d6efd;
}

.resumeGrid p {
    margin-bottom: 0;
}

.resumeText {
    margin-bottom: 16px;
}

.resumeText a {
    text-decoration: none;
}

.skillSection img {
    height: 150px;
    padding: 1.2em
}



