/* Fonts */
@import url("https://fonts.googleapis.com/css?family=Special%20Gothic:700|Shippori%20Antique%20B1:400");

body {
    font-family: "Shippori Antique B1";
    font-weight: 400;
    color: var(--text);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Special Gothic";
    font-weight: 700;
}

html {
    font-size: 100%;
}

/* 16px */

h1 {
    font-size: 3.8rem;
    /* 67.36px */
}

h2 {
    font-size: 3.158rem;
    /* 50.56px */
}

h3 {
    font-size: 2.369rem;
    /* 37.92px */
}

h4 {
    font-size: 1.777rem;
    /* 28.48px */
}

h5 {
    font-size: 1.333rem;
    /* 21.28px */
}

small {
    font-size: 0.75rem;
    /* 12px */
}

/* End Colors */

body {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
    margin: 10px;

    background-color: var(--background);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    /* Colors */
    --text: #eaf4e9;
    --background: #0d180d;
    --primary: #a0cd9f;
    --secondary: #3d5875;
    --accent: #5e5caa;
}

h1 {
    /* display: flex;
    justify-content: left; */
    margin: 0 0 0 0;
    line-height: 0.9;
}

div {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 5px;

}

.Education{
    border-bottom: 5px solid var(--primary);
    padding-bottom: 5px;
    margin-bottom: 18px;
}

p {
    line-height: 2;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 10px solid var(--primary);

    div {
        margin-bottom: 0;
    }
}

/* Social Media Icons */
.social-media {
    display: flex;
    flex-direction: column;
    /* make icons a column */
    align-items: flex-end;
    /* align the column to the right edge of the header */
    justify-content: center;
    /* vertically center inside the header row */
    gap: 0px;
    /* spacing between icons */
}

.social-media a {
    text-decoration: none;
    color: var(--accent);
    margin: 6px 0;
    /* vertical spacing between stacked icons */
    font-size: 1.75em;
}

.social-media a i {
    transition: all 0.3s;
}

.social-media a:hover i {
    transform: translateY(-4.5%);
    color: var(--primary);
}

/* End Social Media */

div.introduction {
    margin: 7px 0 18px;
    background-color: var(--background);
}

.school {
    margin: 0 0 0.5rem 0;
}

.school h5, .school h6 {
    margin: 0.5rem 0 0 0;
}

h5 {
    color: var(--accent);
}


h4,
p {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}


.Education .schools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem 2rem;
    /* row-gap col-gap */
    align-items: start;
    width: 100%;
    margin-top: 0.5rem;
}

.Education .school {
    /* keep each school's content stacked */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem 0;
}

.school h5 {
    margin: 0;
}

.school-meta {
    margin: 0;
    color: var(--secondary);
    font-weight: 400;
    font-size: 0.91rem;
}

/* responsive: single column on small screens */
@media (max-width: 640px) {
    .Education .schools {
        grid-template-columns: 1fr;
    }
}

/* ...existing code... */
