:root {
    --bright-blue: #0c37de;
    --dim-blue:  #002db3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--bright-blue);
}

body.main-body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: #fffbf1;
    padding: 2rem 2.5rem;
}


h1 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    
}

h2 {
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h3 {
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
    font-size: 1.4rem;
}

h4 {
    font-weight: 700;
    margin-top: 3.5rem;
    line-height: 1.2;
}

p {
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
    line-height: 1.55;
    color: var(--dim-blue);
}

a {
    text-decoration: none;
    transition: opacity 0.2s ease;
    text-decoration: underline;
    font-weight: 800;
}

a:hover {
    opacity: 0.7;
}

.main-content {
    max-width: 1200px;
    margin: 8rem auto 7rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 0.5rem 4rem; 
}

@media screen and (max-width: 768px) {
    .main-content {
        display: block;
        margin: 5rem auto 4.5rem auto;
        padding: 0 1rem;
    }

    p {
        line-height: 1.45;
        margin-bottom: 1.6rem;
    }
}

.header-group {
    display: block;
    align-items: center;
    text-decoration: none;
}

.header-group:hover .icon-image {
    opacity: 0.7;
}

.logo-divs {
    display: inline-block !important;
    vertical-align: middle !important;
    max-height: 1.5rem;
}

.name {
    text-decoration: none !important;
    font-weight: 600 !important; 
    word-spacing: -0.01em;
    min-width: 85px;
}

.logo-image {
    min-width: 1.5rem;
    max-height: 1.5rem;
    padding-top: 0.3rem;
    padding-right: 0.2rem;
}

.contact {
    text-align: right;
    color: var(--bright-blue);
    font-weight: 500;
}

@media screen and (max-width: 480px) {
    .contact {
        text-align: left;
        padding: 0 1rem;
    }
}


.essay-container {
    margin-top: 5rem;
    max-width: 1000px;
    margin: 5rem auto;
    padding: 0 6rem;
}


.back-button {
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.back-button a{
    text-decoration: none !important;
}

@media screen and (max-width: 768px) {
    .essay-container {
        padding: 0 3rem;
        margin-top: 3.5rem;
    }

}

@media screen and (max-width: 480px) {
    .essay-container {
        padding: 0 1rem;
    }
}




