
@font-face {
    font-family: Oswald-Bold;
    src:  url("/css/font/Oswald-Bold.ttf") format("truetype");
}

@font-face {
    font-family: Oswald-Regular;
    src:  url("/css/font/Oswald-Regular.ttf") format("truetype");
}

@font-face {
    font-family: Oswald-Light;
    src:  url("/css/font/Oswald-Light.ttf") format("truetype");
}

:root {
    --deep-teal: #1F7A63;
    --plum: #8B1C5A;
    --warm-sand: #CBBBA0;
    --cream: #F5F1E8;
    --sage: #9CAF9E;
   --fialova: #7A3F4F;
}

body{
     font-family: Oswald-Bold, Helvetica, sans-serif;
     background:white;
     margin:0;
 }

main {
    margin: 0 auto;
}

.header{
    background: #89aca1;
    color:white;
    padding:20px;
    font-size:22px;
    text-align:center;
}

.container{
    display:flex;
    justify-content:center;
    gap:150px;
    margin-top:40px;
}

.card-right{
    width:400px;
    height:400px;
    background:white;
    display:flex;
    align-items:center;
    flex-direction: column;
    gap: 20px;
    font-size:40px;
    font-weight:bold;
    text-align: center;
    color: #8B3A4A;
    transition:0.2s;
    padding:30px;
}

.card-left{
    width:400px;
    height:400px;
    background:white;
    display:flex;
    align-items:center;
    flex-direction: column;
    gap: 20px;
    font-size:40px;
    font-weight:bold;
    text-align: center;
    color: #1F7A63;
    transition:0.2s;
    padding:30px;
}

.nadpis-left {
    margin-top: 80px;
}

.nadpis-right {
    margin-top: 80px;
}

.card-right a:hover,
.card-left a:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.text-home {
    font-size:18px;
    font-weight: normal;
    text-align: center;
    color: black;
    font-family: Oswald-Light;
}
.card-left a,
.card-right a{
    top: 80px;
    text-decoration: none;
    padding:13px;
    text-align: center;
    color:white;
    border-radius:8px;
    cursor: pointer;
    font-family: Oswald-Regular;

}

.cviceni  {
    background: #8B3A4A;
    width: 100%;
    font-size: 28px;
}

.recepty {
    margin-top: 70px;
    background: #1F7A63;
    width: 100%;
    font-size: 22px;
    font-family: Oswald-Bold;
}

.text-home-left {
    font-size:16px;
    font-weight: normal;
    text-align: center;
    color: black;
    font-family: Oswald-Light;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .card-right{
        width:300px;
        height:auto;
        font-size: 35px;
    }
    .card-left{
        width:300px;
        height: auto;
        font-size: 35px;
    }

    .nadpis-left {
        margin-top: 30px;
    }

    .nadpis-right {
        margin-top: 30px;
    }

    .text-home {
        font-size:16px;
    }

    .text-home-left {
        font-size:16px;
    }

    .card-right a,
    .card-left a {
        font-size: 18px;
        cursor: pointer;
    }
}