/*--------------------------------------------------------------------*/
/* style.css */
/*--------------------------------------------------------------------*/

/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

/*--------------------------------------------------------------------*/

/* Reset CSS */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
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;
}

/*--------------------------------------------------------------------*/

/* General site styles */
:root {
    /* Site Colors */
    --green: #5F7464; /* example: color: var(--green); */
    --dark-green: #243D25;
    --cream: #EDE8DC;
    --pink: #FFCFCF;
}

html {
    font-size: 100%;
    background-color: var(--green);
}

#root {
    width: 100%;
}

h1, h2, h3 {
    font-family: "Quattrocento";
    color: var(--cream);
    font-weight: bold;
}

h1, h2 {
    filter: drop-shadow(2px 2px 4px var(--dark-green));
}

h4, p {
    font-family: "Roboto Mono";
    color: var(--cream);
}

h3, h4 {
    line-height: 30px;
}

p {
    line-height: 20px; 
}

a {
    text-decoration: none;
    color: var(--pink);
    transition: 0.4s ease;
}

a:hover {
    cursor: pointer;
    filter: drop-shadow(2px 2px 4px var(--dark-green));
}

/*--------------------------------------------------------------------*/

/* Customize scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--green);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-green);
    border-radius: 10px;
    transition: 0.4s ease;
}

::-webkit-scrollbar-thumb:hover {
    filter: drop-shadow(2px 2px 4px var(--dark-green));
}

/*--------------------------------------------------------------------*/

/* Main container styles */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*--------------------------------------------------------------------*/

/* Description styles */
#description {
    display: flex;
    flex-direction: column;
    width: 70%;
    align-items: center;
    margin: 3rem 0rem;
}

#description h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#description-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1rem;
}

#description-container p {
    font-size: 0.75rem;
}

#highlights {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
}

#highlights img {
    width: 80%;
    margin-bottom: 1rem;
    border-radius: 10px;
}

#links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    text-align: center;
}

#description-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    width: 75%;
}

/*--------------------------------------------------------------------*/

/* Experience styles */
#experience {
    display: flex;
    flex-direction: column;
    width: 70%;
    margin-bottom: 3rem;
    gap: 2.5rem;
}

#experience h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-list h3 {
    font-size: 1.25rem;
}

.experience-list h4 {
    font-size: 1rem;
    font-style: italic;
}

.experience-list p {
    font-size: 0.75rem;
}

.list-child {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/*--------------------------------------------------------------------*/

/* Footnote */
footer {
    margin-bottom: 2rem;
}

footer p {
    font-style: italic;
    font-size: 0.75rem;
}

/*--------------------------------------------------------------------*/

/* Thinner screen styles */
@media screen and (max-width: 1200px) {
    #description-container {
        flex-direction: column;
        align-items: center;
    }

    #highlights, #description-details {
        width: 100%;
        margin-bottom: 0.25rem;
    }

    #highlights img {
        width: 200px;
    }

    #experience h2 {
        text-align: center;
    }
}