@keyframes moveIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    margin: 0;
    background-color: #ffffff;
}

header {
    background-color: #ffffff;
    /*height: 9%;*/
    width: 100%;
    border-top-left-radius: 31px;
    border-top-right-radius: 31px;
    animation: 0.5s moveIn;
    padding-top: 30px;
}

.cat {
    background-color: #ffffff;
    margin-top: -70px;
    border-top-left-radius: 59px;
    border-top-right-radius: 59px;
    animation: 0.5s moveIn;
    z-index: 1;
    position: relative;
    margin-bottom: 20px;
}

nav {
    display: flex;
    flex-direction: row-reverse;
    animation: 0.5s moveIn;
    margin-right: 5px;
    margin-top: 0px;
    height: 120px;
    overflow: auto;
    white-space: nowrap;
}

.navElement {
    width: 89px;
    height: 100px;
    margin-right: 0px;
}

.catIMG3 {
    height: 60px;
    width: 60px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 100px;
    z-index: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: rgb(74, 74, 74);
    border-style: solid;
    border-width: 3px;
    box-sizing: border-box;
    font-size: 22px;
}

.catIMG3Active {
    border-color: #008BCB;
    border-width: 4px;
}

.catIMG3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    z-index: 0;
}

.catIMG3t1 {
    background-color: #634014;
}

.catIMG3t2::before {
    background-image: url(photosMain/hotDrinks.png);
    scale: 0.6;
}

.catIMG3t3::before {
    background-image: url(photosMain/latte.png);
    scale: 0.7;
}

.catIMG3t4::before {
    background-image: url(photosMain/coldDrink.png);
    scale: 0.8;
}

.catIMG3t5::before {
    background-image: url(photosMain/milkshake.png);
    scale: 0.8;
}

.catIMG3t6::before {
    background-image: url(photosMain/frappe.png);
    scale: 0.8;
}

.catIMG3t7::before {
    background-image: url(photosMain/frappuccino.png);
    scale: 0.8;
}

.catIMG3t8::before {
    background-image: url(photosMain/mojito.png);
    scale: 0.8;
}

.catIMG3t9::before {
    background-image: url(photosMain/smoothie.png);
    scale: 0.8;
}

.catIMG3t10::before {
    background-image: url(photosMain/crepe.webp);
    scale: 0.7;
}

.navText{
    text-align: center;
    font-family: "Kufam", sans-serif;
    font-size: 10px;
    color: black;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.firstPhoto {
    position: relative;
    width: 100%;
    height: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 36px;
    font-family: "Kufam", sans-serif;
    z-index: 1;
    overflow: hidden;
}

.firstPhotoB {
    position: relative;
    width: 100%;
    height: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Kufam", sans-serif;
    z-index: 1;
    overflow: hidden;
    color: #ffffff;
}

.insidePhoto {
    display: grid;
    grid-template-columns: 50% 50%;
    position: relative;
    z-index: 1;
    animation: 0.5s moveIn;
    background-color: rgba(0, 140, 255, 0);
    width: 280px;
    height: 150px;
    font-weight: 700;
    font-size: 10px;
}

.restNamePlace {
    margin-top: 30px;
}

.restName {
    font-family: "Krona One", sans-serif;
    font-size: 21px;
    margin: 0;
}

.restPhotoPlace {
    margin-top: 32px;
}

.photoPlaceCont {
    display: flex;
    justify-content: right;
}

.restPhotoFrame {
    background-color: #ffffff;
    height: 40px;
    width: 40px;
    padding: 5px;
    border-radius: 25px;
    scale: 1.5;
}

.firstPhoto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    background-image: url(photosMain/main.png);
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    z-index: 0;
}

.firstPhotoB::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(photosMain/main.png);
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    z-index: 0;
}

.firstPhotoB p {
    position: relative;
    z-index: 1;
    animation: 0.5s moveIn;
    background-color: black;
    border-radius: 15px;
    scale: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 75px;
    font-weight: 700;
    font-size: 27px;
}

.kufam {
    font-family: "kufam", sans-serif;
}

.cats {
    background-color: #ffffff;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
    direction: rtl;
    row-gap: 10px;
}

.cat1, .cat2, .cat3 {
    background-color: #d9d9d9;
    height: 80%;
    width: 80%;
    z-index: 1;
    margin-bottom: 30px;
    border-radius: 37px;
    border-style: solid;
    border-color: #2b506a;
    border-width: 6px;
    display: flex;
    justify-content: center;
    font-size: 36px;
    animation: 0.5s moveIn;
    color: white;
    position: relative;
    overflow: hidden;
}

.cat1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(photosMain/appetize.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cat2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(photosMain/westernDish.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cat3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(photosMain/easternDish.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cat123 p {
    background-color: #ffffff;
    border-radius: 25px;
    font-weight: 700;
    z-index: 4000;
    font-family: "kufam";
    scale: 0.8;
    width: 190px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    color: black;
}

.prod1, .prod2, .prod3 {
    background-color: #2e2e2e;
    height: 7%;
    width: 90%;
    z-index: 200;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10%;
    border-radius: 37px;
    border-style: solid;
    border-color: #494949;
    border-width: 5px;
    font-size: 20px;
    animation: 0.5s moveIn;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.prodPH1, .prodPH2, .prodPH3 {
    background-color: #ffffff;
    height: 19%;
    width: 90%;
    z-index: 200;
    margin-left: 5%;
    margin-right: 5%;
    border-top-left-radius: 37px;
    border-top-right-radius: 37px;
    border-style: solid;
    border-color: #243e58;
    border-width: 3px;
    font-size: 20px;
    animation: 0.5s moveIn;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prodPH1::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 22%;
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    z-index: 201;
    border-top-left-radius: 37px;
    border-top-right-radius: 37px;
}

.prodPH2::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 22%;
    background-color: black;
    background-image: url(photosMain/salad.png);
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    z-index: 201;
    border-top-left-radius: 37px;
    border-top-right-radius: 37px;
}

.prodName {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 11%;
    font-family: "kufam", sans-serif;
    direction: rtl;
    white-space: nowrap;
    font-weight: 900;
    font-size: 17px;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.prodPrice {
    margin-left: 11%;
    font-family: "Krona One", sans-serif;
    display: flex;
    align-items: center;
    font-weight: 100;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
}

.prods {
    height: 100%;
    margin-top: 0;
    animation: 0.5s moveIn;
}

a {
    text-decoration: none;
}

.powered {
    display: flex;
    justify-content: center;
    font-family: "Krona One", sans-serif;
    font-weight: 500;
    color: black;
    animation: 0.5s moveIn;
}

.poweredBy {
    background-color: black;
    color: white;
    border-radius: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
}

.back {
    background-color: black;
    height: 7%;
    width: 90%;
    z-index: 200;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10%;
    border-radius: 37px;
    font-size: 20px;
    animation: 0.5s moveIn;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rujuu {
    margin-left: 5px;
    font-family: "Kufam", sans-serif;
}

@media screen and (min-width: 680px) {

    .prodName {
        margin-top: 4%;
    }

    .prodPrice {
        margin-top: 4%;
    }

}

@media screen and (min-width: 1300px) {

    .prodName {
        margin-top: 3%;
    }

    .prodPrice {
        margin-top: 3%;
    }

}

@media screen and (min-width: 1780px) {

    .prodName {
        margin-top: 2%;
    }

    .prodPrice {
        margin-top: 2%;
    }

}