@import url("https://fonts.googleapis.com/css2?family=Alegreya:wght@500&family=Outfit:wght@800&family=Alice&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap");

iframe {
    border-color: #ffc289;
    border-width: 4px;
    border-style: solid;
}

body {
    margin: 0;
}

.list-body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #263619 !important;
    color: #fff;
}

.list-item {
    width: 33.3333%;
    padding: 5%;
}

.list-animal-photo-block a {
    display: block;
    width: 100%;
}

.list-animal-photo {
    display: block;
    width: 100%;
    max-width: 100% !important;
    border-radius: 49% 51% 63% 37%/47% 51% 49% 53%;
    aspect-ratio: 1/1;
    -o-object-fit: cover;
    object-fit: cover;
}

.list-animal-name {
    margin-top: 20px;
}

.list-animal-name a {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 31px;
    font-weight: 700;
    text-decoration: none;
    color: #ffc289;
}

.list-animal-id,
.list-anima-species,
.list-animal-sexSN,
.list-animal-breed,
.list-animal-age,
.list-animal-foundtype {
    display: flex;
    justify-content: space-between;
}

.list-animal-id::before {
    content: 'ID:';
    font-weight: bold;
    margin-right: 10px;
}

.list-anima-species::before {
    content: 'Species: ';
    font-weight: bold;
    margin-right: 10px;
}

.list-animal-sexSN::before {
    content: 'Sex: ';
    font-weight: bold;
    margin-right: 10px;
}

.list-animal-breed::before {
    content: 'Breed: ';
    font-weight: bold;
    margin-right: 10px;
}

.list-animal-age::before {
    content: 'Age: ';
    font-weight: bold;
    margin-right: 10px;
}

.list-animal-foundtype {
    font-style: italic;
    margin-top: 5px;
}

.list-animal-name a:focus,
.list-animal-name a:hover {
    text-decoration: underline;
    color: #41bcc5;
}

.detail-link a {
    color: #fff;
    font-size: 16px;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.detail-animal-name span {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    color: #ffc289;
}

@media screen and (max-width: 639px) {
    .list-animal-name a {
        font-size: 31px;
    }

    .list-item {
        display: block;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        text-align: center;
    }

    .list-animal-photo-block {
        margin-bottom: 30px;
    }
}

.detail-body table {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    color: #fff;
    font-size: 16px;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.detail-body .detail-table {
    padding: 0;
}

@media screen and (min-width: 768px) {
    .detail-body .detail-table {
        max-width: 400px;
    }
}

.detail-body table td {
    display: block;
    width: 100%;
}

.detail-body .detail-link {
    text-align: left !important;
}

.detail-animal-photo {
    max-width: 420px !important;
    max-height: 420px !important;
    aspect-ratio: 1/1;
    width: 100% !important;
    -o-object-fit: cover !important;
    object-fit: cover !important;
    border-radius: 49% 51% 63% 37%/47% 51% 49% 53%;
}

.detail-body .detail-table>tbody>tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.detail-body .detail-table>tbody>tr>.detail-label {
    text-align: left;
}

.detail-body .detail-table>tbody>tr>.detail-value {
    text-align: right;
}

@media screen and (min-width: 768px) {
    .detail-body table:nth-of-type(2)>tbody>tr {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}

#main_tblDsc {
    display: none;
}
