@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');

:root {
    --color-bg: #265179;
    --color-light-grey: #185383;
    --color-grey: #124177;
    --color-black: #274970;
}

body {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);

    margin: 0; 
    padding: 0;
    font-family: 'Inter', sans-serif;
}

h3 {
    margin: 1em auto;
    padding: 1em;
    border: 1px solid var(--color-black);
    box-shadow:
    0 0 0 1px var(--color-light-grey),
    0 0 0 3px var(--color-black);
    max-width: 100%;
}

h3, h4, a,
.header h1,
.header h2 {
    color: var(--color-black);
}

.sub-desc {
    color: var(--color-light-grey)
}

.description {
    color: var(--color-grey)
}

a {
    /* text-decoration: none; */
    margin-bottom: 0.5em;
    display: inline-block;
}

section {
    width: 70%;
    margin: 4em auto;
}

.qna {
    text-align: center;
    white-space: nowrap;
}

.header_text span,
.about p,
.description {
    color: var(--color-grey);
}

.container {
    width: 35%;
    margin: 0 auto;
    padding: 2em 0;
    background-color: #fff;
}

.pfp {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    
    width: 70%;
    margin: 0 auto;
}

.header h1 {
    font-size: 1.15em;
    font-weight: bold;
    margin: 0;
    margin-bottom: 4px;
}

.header h2 {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    margin-bottom: 4px;
}

.header_text span {
    font-size: 0.95em;
}

.about p {
    margin: 0 auto;
    /* margin-top: .5em; */
    /* white-space: pre-line; */
}

.block {
    display: flex;
    align-items: center;
    margin: 2em 0;
    gap: 2em;
}

.date {
    width: 100;
    white-space: nowrap;
    color: var(--color-light-grey);
}

.description .text {
    margin: 0;
}

.description h4 {
    margin: 0;
    margin-bottom: 0.25em;
}

.description .sub-desc {
    /* font-style: italic; */
    font-size: 0.9em;
    margin-bottom: 0.5em;
}

.footer {
    padding-bottom: 2em;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1em;
}

.footer ul li {
    display: flex;
    flex-direction: row;
}

.footer ul li span {
    display: inline-block;
    width: 100px;
    margin-right: 0;
    color: var(--color-light-grey);
}

.footer ul li a {
    color: var(--color-grey);
}

@media (max-width: 1200px) {
    .container {
        width: 50%;
    }
}

@media (max-width: 900px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 500px) {
    .header {
        gap: 0;
    }
    .pfp {
        display: none;
    }
    .footer ul li {
        flex-direction: column;
    }
}