body {
    margin: 0;
    padding: 20px;
    font-family: Consolas;
    background-color: #efefef;
}

.topSection {
    width: 100%;
    text-align: right;
    padding: 10px;
}

#login,
#register,
#logout { 
    text-decoration: none;
    color: black;
    padding: 10px;
    border: 1px solid black;
    background-color: #d6d6d6;
    border-radius: 8px;
}

#login:hover,
#register:hover,
#logout:hover { 
    color: white;
    background-color: #646464;
    border-radius: 8px;
}

h1 {
    margin-top: 20px;
    text-align: center;
}

.middleSection {
    display: flex;
    justify-content: center; 
    align-items: center;
}

button {
    border: none;
    cursor: pointer;
    background-color: white;
}

#letterRow {
    background-color: white;
    padding: 10px;
}

button:focus {
    font-weight: bold;
}

#search {
    margin-top: 20px;
    padding: 5px;
    margin-left: 20px;
    border-radius: 5px;
    border: 1px solid black;
    font-size: 16px;
    width: 200px;
}

.contentContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; 
    background-color: white;
    border: 2px solid black; 
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 40px;
    height: 100%
}

.card {
    display: flex;
    border: 1px solid black;
    width: 400px;
    height: 200px;
    text-align: center;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.card .image {
    height: 80%;
    width: 50%;
    overflow: hidden;
    margin-left: 20px;
    margin-top: 20px;
}

.card .image > img {
    width: 100%;
    height: 100%;
}

.card .heading {
    text-decoration: underline;
    margin-left: 5px;
    text-wrap: nowrap;
}

.card .description {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    border: 1px solid black; 
    min-height: 0;
    min-width: 0;
    width: 150px;
    height: 110px;
    margin-left: 15px;
    overflow: auto;
}