/* Styles for standard tags */

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

header {
    text-align: center;
}

main {
    text-align: center;
}

main.projectPage {
    text-align: justify;
    padding-left: 15%;
    padding-right: 15%;
}

p {
    overflow: auto;
    line-height: 30px;
}

video {
    padding-left: 10%;
    padding-right: 10%;
}

ul.bullet {
    line-height: 30px;
    font-weight: bold;
}

h2.centered {
    text-align: center;
}

/* Styles for the navigation bar */
ul.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color:black;
}

li.nav {
    float: left;
}

li.nav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li.nav a:hover {
    background-color: gray;
}

.active {
    background-color: brown;
}

/* Styles for the table */ 
table {
    margin: auto;
}

th, td {
    padding: 15px;
}

div:hover.homePageThumb {
    color: brown;
}

/* Styles for images */

img.centered {
    padding-left: 10%;
    padding-right: 10%;
}

img.centered_portrait {
    padding-left: 25%;
    padding-right: 25%;
}

img.centered_small {
    padding-left: 30%;
    padding-right: 30%;
}

img.inlineRight {
    float: right;
    margin-left: 20px;
}

img.inlineLeft {
    float: left;
    margin: 30px;
}

/* Styles for embedded video */

iframe.video {
    border: none;
    padding-left: 10%;
    padding-right: 10%;
}

/* Style for hyperlinks */
a:link.homePageLink {
    color: black;
    text-decoration: none;
}

a:visited.homePageLink {
    color: black;
    text-decoration: none;
}

a:link.inLine {
    color: brown;
    text-decoration: none;
}

a:visited.inLine {
    color: brown;
    text-decoration: none;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    padding: 1em;
}

.homePageThumb {
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.homePageThumb img {
    width: 100%;     /* fills the card width */
    height: auto;
    display: block;
    /* border-radius: 8px; */
}

/* .homePageThumb:hover {
    transform: scale(1.05);
} */

.homePageThumb p {
    margin-top: 0.5em;
    font-weight: bold;
    font-size: 1em;
}