

.hero-image {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    margin: 1.5rem auto;
}

/* =========================
GENERAL
========================= */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    color: black;
/* Vertical layout of main elements */
    flex-direction: column;
    line-height: 1.5;
/* Make default line height more accessible */
font-family: Arial, Helvetica, sans-serif;
}
/* Box sizing for all elements */
* {
    box-sizing: border-box;
}

main {
    width: 100%;
    max-width: 960px;
    margin: 2em;
    padding: 2rem;
}

html {
    scroll-behavior: smooth;
}
/* =========================
HEADER
========================= */
header,
main {
    width: 100%;
    max-width: 960px;
    padding-left: 2em;
    padding-right: 2em;
}

header {
    border-bottom: 1px solid grey;
    margin-bottom: 0.5em;
    justify-content: space-between;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

}

.header-logo {
    width: 180px;
    height: auto;
}

.logo {
    width: 180px;
    height: auto;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =======================
HIDE CHECKBOX
======================== */
#theme-toggle {
    display: none;
}

/* =========================
HEADINGS
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #253c8a;
    margin-top: 1em;
    margin-bottom: 0.3em;
    font-weight: normal;

}

.site-logo {
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    font-size: 2em;
    font-weight: bold;
}

/* =========================
NAVIGATION
========================= */
#menu-toggle {
    display: none;
}
.nav-menu {
    align-items: flex-start;
    flex-direction: row;
    align-items: center;
    position: absolute;
    display: flex;
    right: 0;
    top: 100%;
    gap: 20px;
}

.nav-menu a {
    font-weight: 600;
    text-decoration: none;
    color: #374d94;
}

.nav-menu a:hover {
    color: #6484ef;
    text-decoration: underline;
}

/* =======================
Mobile navigation
======================== */

@media (max-width: 768px) {

.menu-icon {
        display: block;
    }

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    background-color: white;
    z-index: 1000;

    }

#menu-toggle:checked+.menu-icon+.nav-menu {
    display: flex;
    }
}


/* ==============================
FORM STYLING
 ============================= */

form {
    max-width: 40em;
    border: 1px solid #e5e5e5;
    /* background-color: #f3f3f3; */
    padding: 1.5em;
    margin: 2em 0;
}

label {
    font-size: 0.9em;
}

input[type='text'],
input[type='email'],
textarea {
    border-style: solid;
    border-width: 1px;
    border-color: #b3b3b3;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.3em;
}

input[type='radio'] {
    display: inline;
    margin-right: 0.5em;
}

textarea {
    resize: none;
}

input[type='submit'] {
    width: auto;
    padding: 0.5em 2em;
    background-color: #1e3da3;
    color: white;
    border-style: none;
    border-radius: 0.3em;
    margin: 1.5em 0 0 0;
}

.form-header {
    margin-top: 0;
}

.form-description {
    margin-bottom: 1.5em;
}

/*table styling*/

table {
    margin: 2em 0;
    border-collapse: collapse;
}

thead {
    background-color: #eaebf5;
}

th,
td {
    border: 1px solid #d7d7d7;
    padding: 0.5em 0.8em;
    text-align: left;
}


/* =========================
FOOTER
=========================== */
footer {
    margin-top: auto;
    background-color: #d4d4d4;
    align-self: stretch;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/*===========================
SOCIAL MEDIA LINKS
===========================*/
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
                }

.social-icon {
    width: 32px;
    height: 32px;
    display: block;
}