html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-family: 'BeVietnam';
    src: url('../assets/fonts/BeVietnam/BeVietnam-Regular.ttf') format('truetype');
    font-weight: normal; /* Maps to 400 */
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'BeVietnam';
    src: url('../assets/fonts/BeVietnam/BeVietnam-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap; 
}

.scroll-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; 
}

.scroll-container {
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

:root {
    --primary-text-color: #000000;
    --hover-text-color: #BEBEBE;
    color: var(--primary-text-color);
    font-family: "BeVietnam", sans-serif;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: start;
    background: white;
}

#contact  {
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.96px;
}

main {
    padding: 0rem 1.5rem;
}

.introduction-container {
    margin-top: calc(65px);
    display: flex;
    flex-direction: column;
    height: 90dvh;
    overflow-y: scroll;
}

#introduction {
    font-size: 4rem;
    line-height: 110%;
    letter-spacing: -1.92px;
    font-weight: 700;
    width: 58%;
    overflow-y: scroll;
    line-break: strict;
}


#blank-space {
    flex-shrink: 0;
    width: 100%;
    height: 25%;
}

.experience-container {
    display: flex; 
    gap: 4rem;
    margin-top: 8rem;
    font-weight: 700;
    font-size: 2rem;
    padding: 7rem 0 21rem 0;
}

.experience-container > li {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 30%;
    letter-spacing: -0.96px;
}

.job-position {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.experience-container p {
    line-height: 110%;
}

.experience-container > li span {
    display: block;
}

#higher-education {
    width: 58%;
}

footer {
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    font-weight: 700;
    line-height: 110%;
}

#more-work {
    font-size: 2rem;
    letter-spacing: -0.96px;
}

#what-i-do {
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 110%;
    margin-bottom: 2.75rem;
}

.categories {
    font-weight: bold;
    font-size: 4rem;
    line-height: 110%;
    letter-spacing: -0.03em;
}

.grid {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1.5rem;
}

.grid img {
    width: 100%;
    height: auto;
}

.mobile-only {
    display: none;
}

@media screen and (max-width: 921px) {
    .mobile-only {
        display: inline;
    }

    .desktop-only {
        display: none;
    }

    main {
        padding: 0rem 10px;
    }

    nav {
        padding: 1rem 10px;
        justify-content: end;
    }

    #logo {
        width: 60px;
    }

    #contact {
        display: none;
    }

    #blank-space {
        height: 47%;
    }   

    .introduction-container {
        margin-top: calc(65px + 1rem);
    }

    #introduction {
        font-size: 26px;
        letter-spacing: -0.78px;
        width: 100%;
        height: 90vh;
    }

    .experience-container {
        margin-top: 0rem;
        flex-direction: column;
        font-size: 1.125rem;
        padding-bottom: 10rem;
    }

    .experience-container > li {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .experience-container > li span {
        flex-shrink: 0;
    }

    #higher-education {
        width: 78%;
    }

    .job-position {
        width: 70%;
        gap: 0;
    }

    .job-position p {
        width: fit-content;
    }

    .sparse {
        gap: 2rem;
    }

    .grid {
        gap: 10px;
        grid-template-columns: repeat(8, 1fr);
        grid-template-areas: 
        "div1 div1 img1 img1 img1 img2 img2 img2"
        "img3 img3 img3 img4 img4 img4 div2 div2";
    }

    .div1 {
        grid-area: div1;
    }

    .div2 {
        grid-area: div2;
    }

    #about-1 {
        grid-area: img1;
    }

    #about-2 {
        grid-area: img2;
    }

    #about-3 {
        grid-area: img3;
    }

    #about-4 {
        grid-area: img4;
    }

    #what-i-do {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .categories {
        font-size: 26px;
        margin-bottom: 1.5rem;
    }
    
    footer {
        padding: 23px 1rem;
        display: flex;
        justify-content: space-between;
        align-items: end;
        font-weight: 700;
        line-height: 110%;
    }

    #more-work {
        display: none;
    }
}
    
@media screen and (max-width: 390px) {
    #higher-education {
        width: 90%;
    }

    .job-position {
        width: 55%;
    }

}

