html, body {
    height: 100%;
}

body {
    font-size: 15pt;
    text-align: center;
    background-color: #f7f3ee;
    font-family: "Poppins", sans-serif;
}
.fancy {
    font-family: cursive;
    font-size: 30px !important; 
}
.mono {
    font-family: monospace;
}

.topnav {
    overflow: hidden;
    background-color: white;
    position: relative;
    border-bottom: 2px solid #8b5e34;
}

.topnav #links {
    display: none;
}

.topnav a {
    color: black;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    display: block;
    /* border-bottom: 2px solid #8b5e34; */
    transition: .3s;
}

.topnav a.icon {
    background: #8b5e34;
    color: #ABFFC0;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.topnav a:hover {
    background-color: #ABFFC0;
    color: #8b5e34;
}

.active {
    background-color: #f7f3ee;
    color: black;
}

.homepic {
    max-width: 90%;
    height: auto;
    border-radius: 18px;
    border: 3px solid #8b5e34;
    padding: 5px;
}

.hero-image {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/hanna/hanna3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: auto;
    height: 250px;
    border-radius: 18px;
    border: 4px solid #8b5e34;
    padding: 5px;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.hero-button {
    width: 100px;
    height: 40px;
    border-radius: 18px;
    background-color: rgba(255,255,255,0.4);
}

.scrollContainer {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    width: 100%;
    gap: 20px;
    padding-bottom: 14px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scrollContainer::-webkit-scrollbar {
    height: 8px;
    display: none;
}

.card {
    flex: 0 0 200px !important;
    width: 200px !important;
    background: #f7f3ee;
    border-radius: 12px;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.cardImg {
    border-radius: 12px;
    width: auto !important;
    max-width: 200px !important;
    height: 180px !important;
    display: block !important;
    border: 3px solid #8b5e34 !important;
    flex-shrink: 0;
    padding: 3px;
    aspect-ratio: 1 / 1;
}

.cardContent {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.cardName {
    margin: 0;
    font-size: 1.1rem;
    whitespace: nowrap;
    color: #333333;
    font-weight: 600;
    text-overflow: ellipses;
}

.cardBtn {
    width: 100%;
    padding: 10px 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cardBtn:hover {
    background-color: #0056b3;
}










/* gae */