* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:'Times New Roman', Times, serif;
}

html {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-image: url(mapback1.jpg);
}

body {
    max-width: 1200px;
    max-height: calc(1200px * 9 / 16); /* Maintain a 16:9 aspect ratio */
    margin: 0 auto;
    width: 100%;        /* Allow shrinking */
    height: auto; 
}

nav {
    margin-top: 10px;
    height: 40px;
    background: #bdb2a3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem calc((100vw - 1400px) / 2);
    border: 1px solid #000000;
    border-width: 2px;
}

nav a {
    text-decoration: none;
    color: #000;
    padding: 1.5rem;
    text-align: center;
}

table {
    padding: 3rem;
    width: 60%;              /* controls table width */
    border-collapse: collapse; /* makes borders clean */
}

table, th, td {
    border: 1px solid black;

}

th, td {
    padding: 5px;
    text-align: center;
    font-size: 13px;
    border: 3px double black;   /* inner double borders */

}

.portfolio-section {
    display: flex;
    justify-content: center;   /* center the whole block */
    align-items: flex-start;
    gap: 40px;                 /* space between paragraph + table */
    margin: 60px auto;
    width: 80%;
}

.portfolio-text {
    max-width: 600px;
}

.portfolio-text p:first-child {
    margin-bottom: 20px;       /* padding under headline text */
}

table {
    border: 3px double black;
    font-size: 0.9rem;
}


.reading {
    border-left: solid;
    border-right: solid;
    border-bottom: solid;
    border-width: 3px;
    background-color: #fafafa;
    height: 500px;
}

.reading-container {
    height: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 20px;
    gap: 7px;
    align-items: start;
    flex-wrap: wrap;
    padding-top: 70px;
}
.song-container {
    height: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 20px;
    gap: 7px;
    align-items: start;
    flex-wrap: wrap;
    padding-top: 20px;
}

.bio {
    border-left: solid;
    border-right: solid;
    border-bottom: solid;
    border-width: 3px;
    background-color: #fafafa;
    height: 500px;
}

.bio-pitch {
    border-left: solid;
    border-right: solid;
    border-bottom: solid;
    border-width: 3px;
    background-color: #fafafa;
    height: 2220px;
    width: 80%;
}


.bio-container {
    padding: 20px;
}

.bio-one {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.smallheader {
    font-weight: bold;
    padding-right: 5px;
}

.booklist {
    list-style-type: square;
}

.hero {
    border-left: solid;
    border-right: solid;
    border-bottom: solid;
    border-width: 3px;
    background-color: #fafafa;
    height: 500px;
}

.hero-container {
    height: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 7px;
}

.hero-image {
    max-width: 300px;
    max-height: 500px;
}

.item-one {
    max-width: 300px;
    max-height: 500px;
}

.item-two {
    max-width: 500px;
}

.herotwo {
    display: flex;
    margin-top: 20px;
    height: 100%;
    border-top: solid;
    border-left: solid;
    border-right: solid;
    border-bottom: solid;
    background-color: rgb(205, 214, 203);
    flex-direction: column;
    justify-content: center;
}

.item-three {
    max-height: 100%;
    align-self: flex-start;
    font-size: 11px;
}

@media screen and (max-width: 760px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
}

.top5-image {
    width: 100px;
    height: auto;
    margin: 200px auto 0;
    display: block;
}

.returns-image {
    width: 400px;
    height: auto;
    margin: 30px auto 0;
    display: block;
}

.gif-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 100px;
    width: 100%;
}

.gif-container img {
    width: 150px;
    height: auto;
}
