/* Preserve new lines in thoughts document paragraphs */
.thoughts-doc p {
    white-space: pre-line;
}
* {
    color: #55351E;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

h1 {
    font-size: 40px;
    font-family: "Monteserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h2 {
    font-size: 20px;
    font-family: "Monteserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
}

p{
    font-size: 16px;
    font-family: "Monteserrat", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: left;
}

/* keep paragraphs centered on home page */
.index p{
    text-align: center;
}

a:hover {
    color: #000000;
    background-color: transparent;
    text-decoration: underline;
}

img {
    justify-content: center;
    text-align: center;
}

.icon img {
    width: 30px;
    margin-right: 10px;
    margin-left: 10px;
}

/* nav bar */
ul {
    list-style-type: none;
    margin: 30px;
    padding: 30px;
    overflow: hidden;
}

/* slightly reduce space below nav on home page */
.index ul {
    margin-bottom: 10px;
}

li {
    display: inline;
    float: right;
}

li a {
    padding: 14px 16px;
    text-decoration: none;
}

/* flex */
.flex {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 24px;
}

.photo-container{
    margin-left: 50px;
    margin-right: 50px;
}

.photo {
    text-align: center;
    width: 300px;
    height: 300px;
    margin: 20px;
}

.card-container{
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.card{
    text-align: center;
    width: 320px;
    margin: 12px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.card p{
    padding: 0 16px 18px 16px;
}

.card img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card h2{
    margin: 12px 0 6px 0;
}

.card i{
    display: block;
    margin-bottom: 8px;
}

.card:hover{
    text-decoration: none;
}

/* ensure no tinted background inside white cards */
.card * {
    background-color: transparent;
}

/* remove tap highlight specifically inside cards */
.card, .card a {
    -webkit-tap-highlight-color: transparent;
}

.date{
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 10px;
    display: block;
}
