@font-face {
    font-family: JasperStandard;
    src: url(../fonts/JasperStandardCZ.ttf);
}

@font-face {
    font-family: Century;
    src: url(../fonts/CENTURY.ttf);
}

body {
    background-color: black;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    color: white;
    width: fit-content;
    text-align: center;
    width: 80%;
    max-width: 1200px;
}

.product-description {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
    width: 100%;
    margin-bottom: 70px;
}

.product-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
    padding-left: 50px;
    margin-top: 10%;
    width: 45%;
}

.product-title {
    font-family: unit-gothic-720, sans-serif;
    font-size: 80px;
    text-transform: uppercase;
    line-height: 0.9;
    text-align: left;
}

.product-subtitle {
    font-family: JasperStandard, sans-serif;
    font-size: 40px;
    text-align: left;
    margin-bottom: 20px;
}

.product-image {
    width: 45%;
    z-index: 10;
}

.product-image img {
    width: 80%;
    height: auto;
}

.product-ingredience * {
    width: fit-content;
    text-align: start;
}

.product-ingredience-title {
    font-family: JasperStandard, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.receipe-detail {
    width: 100%;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
}

.receipe-row {
    display: flex;
    flex-direction: row;
}

.recepie-button {
    font-size: 16px;
    background-color: black;
    border: white solid 1px;
    padding: 10px 10px;
    width: fit-content;
    margin-top: 20px;
    cursor: pointer;
}

#postup {
    width: 49%;
    padding-bottom: 20px;
}

#ingredience {
    width: 49%;
    padding-right: 20px;
    padding-bottom: 20px;
}

p {
    font-family: Century, sans-serif;
    line-height: 1.4em;

}

.occasion {
    position: relative;
    font-family: JasperStandard, sans-serif;
    margin-bottom: 100px;
}

.occasion img {
    width: 100%;
    height: auto;
}

.occasion .occasion-detail {
    position: absolute;
    top: 50%;
    font-size: 40px;
    left: 50%;
    transform: translate(-20%, -50%);
    color: black;
    text-transform: uppercase;
    max-width: 50%;
    text-align: start;
    line-height: 1.1;
}

.occasion .occasion-detail-white {
    position: absolute;
    top: 50%;
    font-size: 40px;
    left: 50%;
    transform: translate(-20%, -50%);
    color: white;
    text-transform: uppercase;
    max-width: 50%;
    text-align: start;
    line-height: 1.1;
}

.occasion .occasion-button {
    font-size: 24px;
    font-family: unit-gothic-721, sans-serif;
    background-color: #baab8f;
    border: black solid 1px;
    padding: 10px 10px;
    width: fit-content;
    margin-top: 10px;
    cursor: pointer;
}

.long_divider {     
    width: 300%;
    height: 1px;
    background-color: #baab8f;
    margin-left: -200%;
}

.occasion-button:hover {
    background-color: #d6cbb7;
}

.carousel-title {
    font-family: unit-gothic-720, sans-serif;
    color: #baab8f;
    font-size: 60px;
    text-transform: uppercase;
}

.divider {
    height: 1px;
    background-color: #baab8f;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, black, #baab8f, black);
    margin: 10px;
    width: 100%;
}

.product-carousel {
    width: 100%;
}

.slider {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.slider-container {
    width: 1200px;
    max-width: 1200px;
}

.image-container {
    width: 166%;
    clear: both;
    position: relative;
    -webkit-transition: left 2s;
    -moz-transition: left 2s;
    -o-transition: left 2s;
    transition: left 2s;
}

.slide {
    float: left;
    margin: 0px;
    padding: 0px;
    position: relative;
    width: 20%;
}

.slide img{
    width: auto;
    height: 500px;
}

.slide a {
    all: unset;
    cursor: pointer;
}

#slide-1:target~.image-container {
    left: 0px;
}

#slide-2:target~.image-container {
    left: -33%;
}

#slide-3:target~.image-container {
    left: -66%;
}

.buttons {
    position: relative;
    top: -20px;
}

.buttons a {
    display: inline-block;
    height: 15px;
    width: 15px;
    border-radius: 50px;
    background-color: lightgreen;
}

#prev-slide-button {
    position: absolute;
    height: 135px;
    width: 44px;
    border-radius: 50px;
    background-image: url("../images/left_triangle.png");
    z-index: 10;
    left: -44px;
}

#next-slide-button {
    position: absolute;
    height: 135px;
    width: 44px;
    border-radius: 50px;
    background-image: url(../images/right_triangle.png);
    z-index: 10;
    right: -44px;
}

.slide p {
    font-family: unit-gothic-720, sans-serif;
    font-size: 40px;
    text-transform: uppercase;
}

@media screen and (max-width: 700px) {

    .product-image {
        width: 85%;
        z-index: 10;
    }

    .product-image img {
        width: 80%;
    }

    .product-detail {
        width: 100%;
        padding: 0px;
        margin-top: 20px;
    }

    .slide img{
        height: 200px;
        width: auto;
    }

    .occasion .occasion-detail {
        font-size: clamp(20px, 7vw, 50px);
        max-width: 100%;
    }

    .occasion .occasion-detail-white {
        font-size: 28px;
        max-width: 100%;
    }

    .occasion .occasion-button {
        font-size: 18px;
        max-width: 90%;
        padding: 10px 10px;
    }
    .slide p {
        font-size: 24px;
    }
    .product-title {
        font-size: 100px;
        margin-bottom: 10px;
    }
    .product-ingredience-title {
        font-size: 40px;
    }
    .carousel-title {
        font-size: 40px;
    }
} 

@media only screen and (min-width: 700px) {
    .slide img{
        height: 300px;
        width: auto;
    }
    .slide p {
        font-size: 32px;
    }

    .carousel-title {
        font-size: 50px;
    }
    .product-title {
        font-size: 70px;
    }
    .product-ingredience-title {
        font-size: 40px;
    }
    .carousel-title {
        font-size: 50px;
    }
}

@media only screen and (min-width: 1300px) {
    .slide img{
        height: 400px;
        width: auto;
    }

}

@media screen and (max-device-width: 700px) {

    .product-image {
        width: 85%;
        z-index: 10;
    }

    .product-image img {
        width: 80%;
    }

    .product-detail {
        width: 100%;
        padding: 0px;
        margin-top: 20px;
    }

    .slide img{
        height: 200px;
        width: auto;
    }

    .occasion .occasion-detail {
        /* font-size: 50px; */
        max-width: 100%;
    }

    .occasion .occasion-detail-white {
        /* font-size: 50px; */
        font-size: clamp(20px, 5vw, 40px);
        max-width: 100%;
    }

    .occasion .occasion-button {
        font-size: 28px;
        max-width: 90%;
        padding: 14px 20px;
    }
    .slide p {
        font-size: 24px;
    }
    .product-title {
        font-size: clamp(40px, 17vw, 60px);
        margin-bottom: 10px;
    }
    .product-ingredience-title {
        font-size: clamp(23px, 6vw, 30px);
    }
    .product-ingredience p, .product-ingredience-title, .product-title, .product-subtitle {
        padding-left: 1rem;
        padding-right: 1rem;
    }

} 

@media only screen and (min-device-width: 700px) {
    .slide img{
        height: 300px;
        width: auto;
    }
    .slide p {
        font-size: 32px;
    }

    .carousel-title {
        font-size: 50px;
    }
    .product-title {
        font-size: 70px;
    }
    .product-ingredience-title {
        font-size: 30px;
    }
}

@media only screen and (min-device-width: 1300px) {
    .slide img{
        height: 400px;
        width: auto;
    }
    
}
@media only screen and (max-device-width: 480px) {
    .occasion .occasion-detail, .occasion .occasion-detail-white{
        left:30%;
        width: 60%;
    }
}