* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 20px;
    border: solid black 2px;
    padding: 30px;
    }

.story-container {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */

    /* try this instead of above */
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    grid-auto-rows: 1fr;  /* ensures rows same height */

    /* grid-template-rows: repeat(3, 1fr); */
border: solid 2px black;
border-radius: 10px;
background-color: white;
margin: 30px;
padding: 20px;
gap: 20px;
    /* align-items: center; */
    /* justify-items: center; */

}

.story {
display: grid;
grid-template-rows: subgrid;
grid-row: span 3;
    border: 2px solid black;
    border-radius: 10px;
    font-style: oblique;
/* background-color: red; */
/* background-image: radial-gradient(transparent 75%,red 25%); */
    height: 100px;
    align-content: center;
    text-align: center;
    padding: 5px;
}

.header-text {    
    margin: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

a:link   {text-decoration: none;}

a:hover {
    font-weight: bold;
    background-color: beige;
}

.story .title {
    font-style: normal;
    font-weight: bold;
    color: red;
}

.thumb-container {
    width: 25%;
    /* height: 150px; */
    overflow: hidden;
    border: 1px solid black;
}

.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-image:hover {
    scale: 5.0;
    cursor: pointer;
}

.page-title {
    border: 2px solid blue;
    border-radius: 10px;
    padding: 20px;
    margin: 30px;
    text-align: center;
    font-style: oblique;
}

.emigrant-container {
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* color: black; */

    border: 2px solid red;
    border-radius: 10px;
    padding: 20px;
    margin: 30px;

    h2 {
        font-style: oblique;
        }
    }

img {
    float: left;
    margin: 30px;
    border: solid 2px black;
}

p {
    margin-bottom: 1em;
}

.footnote {
    font-style: italic;
    font-size: 0.8rem;
}



