/* Change the background image and font size of the welcome page */
body {
    background: url("../img/chipmunk-bg.png") no-repeat center center fixed;
    background-size: cover;
    font-size: 14px;
}

/* Change style of generic Chipmunk logo section */
.welcome-header {
    text-align: center;
    margin: 10px auto 10px;
}

.welcome-header img {
    max-width: 300px;
    height: auto;
}

/* Change style of the cards that link to Chipmunk Home and Health */
.h-l {
	min-height: 250px;
	padding: 10px 20px 10px;
	overflow: hidden;
}
.h-l h3 {
	margin-bottom: 10px;
}
.h-m {
	height: 110px;
	padding-top: 23px;
}

.card-pf {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(3, 3, 3, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	max-width: 400px;
    margin: 10px auto; /* Center the card */
    text-align: center;
}

.card-pf.h-l {
    min-height: auto;
    height: 120px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card-pf img {
    display: block;
    margin: 0px auto 0px auto;
    width: auto;
    max-height: 60px;
}

.card-pf h3 {
	text-align: center;
}

.card-pf .description {
	text-align: center;
	font-size: 1rem;
	color: #333;
	margin-top: 10px;
}

.card-pf:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.3s ease;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .card-pf {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    transition: all 0.2s ease;
    cursor: pointer;
}

h1 {
    font-size: 19px !important;
    line-height: 1.2;
    margin-bottom: 20px;
}

h3 {
	font-weight: 550;
}
h3 a:link,
h3 a:visited {
	color: #333;
	font-weight: 550;
}
h3 a:hover,
h3 a:hover .link {
	text-decoration: none;
	color: #00659c;
}
.h-l h3 a img {
	height: 45px;
	width: auto;
}

/* Replace Keycloak logo with Chipmunk text logo for normal view
This section might need some cleanup */
div.kc-logo-text {
    background-image: url(../img/chipmunk-text-logo.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

#kc-header {
    color: #272361;
    background-image: url(../img/chipmunk-text-logo.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
