body {
background-color: rgb(252, 252, 229);
font-family: "Dongle";
font-size: 24px;
line-height: 1em;
color: #444444;
margin: 0px;
padding: 0pc;
}

.pagestructure {
    margin: 30px auto;
}

a {
    text-decoration: none;
    color: darkblue;
}





.header {
    background-color: rgb(246, 238, 211);
    margin: 0px;
}

.headertext{
    max-width: 1000px;
    margin: auto;
    width: 90%;
    font-size: 1.5em;
    padding: .4em;
}

.headertext a {
        color: #444444 !important;
}

.footer {
    background-color: rgb(246, 238, 211);
    margin: 0px;
}

.footertext{
    max-width: 1000px;
    margin: auto;
    width: 90%;
    font-size: .7em;
    padding: .4em;
}




.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;

    font-size: 2rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    width: 90%;
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
}

.section-header::before,
.section-header::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #999;
}


/* ----------------------------- */

/* ----------------------------- */

.birds {
    display: flex;
    max-width: 1000px;
    margin: auto;
    width: 90%;
    flex-wrap: wrap;
    justify-content: center;

}

.bird-thumbnail {
    background-color: #fff;
     border-radius: 10px;
     margin: 10px;   
     text-align: center;
     width: 180px;
}

.thumbnail {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.birdname {
    font-size: 1em;
    line-height: .6em;
    margin: 8px auto;
    text-wrap: balance;
    height: 30px;
}



@media screen and (max-width: 600px) {
    .bird-thumbnail {width: 130px;}
    .thumbnail {width: 130px; height: 130px;}
}

/* ----------------------------- */

/* ----------------------------- */

.bird {
    max-width: 600px;
    margin: auto;
    width: 90%;

}

.birdphoto {
    background-color: #fff;
    padding: 10px 10px 10px 10px; /* Thicker bottom padding for a Polaroid look */
    border: 1px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    max-width: 600px;
    margin: 20px auto;
}

.birdphoto img {
    width: 100%;
    border: 1px solid #efefef;
}

.photoinfo {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 0px;
    color: #888;
}

.birdcard-name {
    margin-bottom: 0px;

}

.birdcard-common {
    font-size: 1.5em;
}

.birdcard-scientific {
    font-style: italic;
}

/* ----------------------------- */

/* ----------------------------- */

.jerk-meter{
    display: flex;
}
.jerk-meter > div{
    margin: 5px;
    width: 25px; 
    border: 1px solid #000; 
    height: 25px;

    width: 25px;
    height: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    opacity: .3;
}

.jerk-meter-1 {background-color: #75AFFA; color: #fff; opacity: 1 !important;}
.jerk-meter-2 {background-color: #A8DEFF; color: #fff; opacity: 1 !important;}
.jerk-meter-3 {background-color: #95FCF7; color: #fff; opacity: 1 !important;}
.jerk-meter-4 {background-color: #FAFC79; color: #fff; opacity: 1 !important;}
.jerk-meter-5 {background-color: #FCD079; color: #fff; opacity: 1 !important;}
.jerk-meter-6 {background-color: #FCB21E; color: #fff; opacity: 1 !important;}
.jerk-meter-7 {background-color: #FC6D49; color: #fff; opacity: 1 !important;}
.jerk-meter-8 {background-color: #FF4400; color: #fff; opacity: 1 !important;}
.jerk-meter-9 {background-color: #C91E00; color: #fff; opacity: 1 !important;}
.jerk-meter-10 {background-color: #960000; color: #fff; opacity: 1 !important;}

/* ----------------------------- */