:root {
    --ff-primary: 'Inter', sans-serif;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-bold: 700;

    --fs-title-1: 1.75rem;
    --fs-title-2: 1.56rem;
    --fs-title-3: 1.12rem;
    --fs-paragraph: 0.87rem;
    --fs-paragraph-footer: 0.75rem;
    --fs-link: 0.8rem;

    --clr-bg-1: rgb(196, 211, 227);
    --clr-bg-2: rgb(201, 165, 105);
    --clr-bg-menu: rgb(92, 63, 41);
    --clr-bg-cover-menu: rgba(92, 63, 41, 0.6);
    --clr-header: rgba(255, 255, 255, 0.45);
    --clr-box-1: rgba(231, 172, 96, 0.5);
    --clr-box-2: rgba(92, 63, 41, 0.5);
    --clr-box-link: rgba(92, 63, 41, 0.8);
    --clr-txt-primary: rgb(62, 42, 28);
    --clr-txt-menu: rgb(231, 172, 96);
    --clr-txt-menu-hover: #ffca88;
    --clr-txt-menu-active: rgb(255, 220, 177);
}

@media (max-width: 600px) {
    :root {
        --fs-paragraph: 0.93rem;
    }
}

/* ----------------------- Main ----------------------- */

main {
 max-width: 730px;
 margin: 0 auto;
 padding: 0 15px;
}

/* ----------------------- ANO - Carousel ----------------------- */

.slideshow-container {
    position: relative;
    margin: auto;
    margin-bottom: min(5vw, 1.87rem);

    overflow: hidden;
    border-radius: 18px;

    box-shadow: 5px 12px 24px -10px rgba(0, 0, 0, 0.2);
}

.slideshow-container img {
    border-radius: 18px;

    height: min(70vw, 300px);
    margin: 0 50%;
    transform: translateX(-50%);
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--clr-txt-primary);
    font-weight: bold;
    font-size: 1.5rem;
    transition: 0.6s ease;
    border-radius: 0 8px 8px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.prev:hover, .next:hover {
    background-color: var(--clr-box-2);
}

.text {
    color: white;
    font-size: 0.93rem;
    padding: 8px 12px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: auto;
    text-align: center;
    background: var(--clr-box-2);
    border-radius: 8px;    
}

@media (max-width: 480px) {
    .text {

        left: 50%;
        transform: translateX(-50%);
    }
}

.numbertext {
    color: white;
    font-size: 0.75rem;
    padding: 8px 12px;
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--clr-box-2);
    border-radius: 8px;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

/* ----------------------- Úvodní text ----------------------- */

.uvod-text {
    padding: 22px 30px 28px;
    text-align: center;

    background-color: var(--clr-box-1);
    border-radius: 18px;
    border: solid 1px rgba(255, 255, 255, 0.15);
    box-shadow: 5px 15px 30px -10px rgba(0, 0, 0, 0.15);

    margin-bottom: min(6vw, 2.5rem);
}

.uvod-text h1 {
    margin-bottom: 10px;
    color: var(--clr-txt-primary);
}

.uvod-text p {
    color: var(--clr-txt-primary);
}

.zver-savany-title h2{
    text-align: center;
}

/* ----------------------- Grid ----------------------- */

.zver-savany {
    margin-bottom: min(6vw, 2.5rem);
}

.zver-savany-title {
    margin-bottom: min(5vw, 1.56rem);
}

.zver-savany-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
    .zver-savany-grid {
        grid-template-columns: 1fr;
        grid-gap: min(3vw, 1.25rem);
        margin-bottom: min(3vw, 1.25rem);
    }
}

.grid-items {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 15px 15px 30px;
    background: var(--clr-box-2);
    color: white;
    border-radius: 18px;
}

.grid-items img {
    width: 110px;
    height: auto;
    border-radius: 8px;
    margin-left: 17px;
}

.box-link:hover {
    background-color: var(--clr-box-link);
    transition: 0.6s ease;
}

.box-link:hover img {
    transform: scale(1.05);
    transition: 0.6s ease;
}