html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: pt-sans, sans-serif;
    letter-spacing: 2px;
    line-height: 30px;
}

body {
    margin: 0;
}

.site-name-text {
    letter-spacing: 1px;
    font-family: Playfair Display, sans-serif;
    font-size: 24px;
}


.navbar {
    z-index: 2000;
    width: 100%;
    position: fixed;
    top: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vh;
    /* margin-bottom: 20vh; */
    padding: 2vh;
}

.contact-picture-container {
    width: 100%;
}

.contact-picture {
    /* position:absolute;
    right: 0; */
    float: right;
    width: 35vh;
}

.contact-text {
    /* text-align: center; */
    float: left;
    font-size: 125%;
}

.about-picture {
    width: 40%;
    margin-right: 5vh;
    margin-bottom: 1vh;
    float: left;
}

.teaching-picture {
    float: right;
    width: 35vh;
}

.teaching-image-container {
    width: 100%;
}

.teaching-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10vh;
    /* margin-bottom: 20vh; */
    padding: 2vh;
}


.brand {
    /* padding-left: 30px; */
}

.w-nav-brand {
    float: left;
    color: #333;
    text-decoration: none;
    position: relative;
}

.nav-menu {
    align-items: flex-end;
    display: flex;
}

.w-nav-link {
    vertical-align: top;
    color: #333333;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.navbar-wrapper {
    /* width: 100%; */
    height: 100%;
    padding-left: 30px;
    padding-right: 30px;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
}

.navbar {
    z-index: 2000;
    width: 100%;
    position: fixed;
    top: 0;
}

.nav-menu {
    display: flex;
    align-items: flex-end;
}

/* Toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 1200px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        /* align-items: center;  */
        /* width: auto; */
        text-align: center;
        position: absolute;
        top: 100%; /* Position it right below the navbar */
        right: 0;

    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        font-size: 24px;
    }

    .nav-link {
        margin: 10px 0;
        text-align: center;
    }

    .navbar-wrapper {
        /* flex-direction: column; */
    }

    .w-nav-link {
        width: 100%;
        display:block;
    }
}

.absolute-image {
    width: 100%;
    grid-column: 1;
    grid-row: 1;
    /* height: 100%; */
    /* object-fit: cover; */
    position:relative;
    /* top: 120px; */
}

.section-image {
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-image.projects {
    height: 30vh;
    width: auto;
}

.section-link {
    text-decoration: none;
    color: inherit;
    text-align: center;
    width: 100%;
    display: block;
}

.section-link.articles {
    text-align: left;
}

.section-link:hover {
    color: rgb(66, 66, 174);
}

.image-container {
    /* margin-top: 20vh; */
    /* height: 70vh; */
    padding: 2vh;
    color: var(--white);
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    text-align: center;
}

.section.hero {
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 5%;
}

.hero-wrapper {
    margin-left: 0px;
    padding: 0px;
    margin-top: 150px;
    margin-bottom: 0vh;
    display: grid;
    place-items: center;
    grid-template: 100% / 1fr 2fr;
    grid-template-rows: auto auto; 
}

.page-title {
    grid-column: 1;
    grid-row: 2;
}

.page-subtitle {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.10vw;
    line-height: 150%;
    text-transform: uppercase;
    align-self: start;
    padding: 2vh;
}

hr {
    color: black;
    width: 100%;
    background-color: black;
    border-style:solid;
}

.bio {
    /* margin-top: 10vh;
    margin-bottom: 15vh; */
    padding: 2vh;
    font-size: 100%;
    margin: 0;
    align-self: start;
    /* grid-column: 2;
    grid-row: 1; */
}

/* .about.bio {
    margin-bottom: 5vh;
} */

.download-cv {
    /* margin-bottom: 15vh; */
}

.download-cv-link {
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.footer-wrapper {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5vh;
    padding-bottom: 5vh;
    /* width: 100%; */
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    border-top: 1px solid var(--black);
    grid-template-rows: auto;
    grid-template-columns: auto;
    grid-auto-columns: auto;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    display: grid;
}

.footer-column {
    width: 100%;
    min-width: 140px;
    grid-row-gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
}

.footer-column.left {
    grid-row-gap: 10px
}

.footer-hr {
    width: 80%;
}

.all-caps {
    text-transform: uppercase;
    font-weight: bold;
}

.site-title {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: charter, sans-serif;
    font-size: xx-large;
}

.site-title {

}

h1.taeku.site-title {
    font-size:3vw;
}

#header-title {
    text-transform: uppercase;
    font-weight: bold;

}

.footer-link{
    text-decoration: none;
    color: inherit;
    line-height: 80%;
}

.footer-link:hover {
    color: rgb(66, 66, 174);
}

.nav-link:hover {
    color: rgb(66, 66, 174);
}

.hero-wrapper.align-bottom.books {
    margin-top: 20vh;
    display: block;
    text-align: center;
}

.book-info {
    text-emphasis: none;
    text-align: center;
    font-size: small;
}

.subtitle {
    font-weight:normal;
}

.authors {
    font-weight:normal;
}

.bio.books, .bio.reports, .bio.projects {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;  
    grid-auto-flow: row;  /* Ensures items flow into rows */
    gap: 40px;
    row-gap: 60px;
}

.bio.projects {
    grid-template-columns: 1fr 1fr;  
}

.bio.contact {
    text-align: center;
}

.add-section, .update-info, .section-input, .delete_page {
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
}

body.admin {
    padding: 30px;
}