@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    font-family: "PT Serif", serif;
    margin: 0;
    padding: 0;
    --dark-body-text-colour: darkgray;
    --body-text-colour: rgb(49,81,125);
    --dark-body: rgb(49,76,102);
    --oliva-green: #86b622;
    --body-colour: white;
    color: var(--body-text-colour);
}


nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-block: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    width: 100%;
    height: 5rem;
    background-color: var(--dark-body);
    color: var(--dark-body-text-colour);
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-text {
    font-weight: 10;
    font-size: 0.8rem;
}

.large-text {
    font-size: 1.2rem;
}

.bleached-text {
    color: white;
}

.width-full {
    width: 100%;
}

.width-fit {
    width: fit-content;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.big-dash::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background-color: currentColor;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.text-group {
    padding: 0;
    margin: 0;
}

.text-group p {
    margin: 0;
}

.nav-body {
    background-color: var(--body-colour);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 75%;
}

.nav-logo {
    height: 4rem;
    width: min-content;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

.nav-menu-item {
    text-decoration: none;
    color: inherit;
}

.nav-menu-item:hover {
    height: inherit;
    border-bottom: 0.2rem solid var(--oliva-green);
}

.card {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--oliva-green);
    padding: 1.5rem;
    border-radius: 3rem;
    corner-shape: squircle;
    text-align: left;
    height: fit-content;
}

.section {
    position: relative;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
}

.section-small {
    height: 10rem;
}

.section-medium {
    height: 20rem;
}

.section-large {
    height: 40rem;
}

.section-back-img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    z-index: -1;
}

.card-fixed {
    width: 20rem;
    height: 20rem;
}

.card-wide {
    width: 30rem;
}
