:root {
    --bg: #DBEFBA;
    --bg-opac: rgba(219, 239, 186, 0.7);
    --text-color: #575757;
    --accent-color: #C9A86A;
    --accent-opac: rgba(201, 168, 106, 0.8);
    --extra-text-color: #4f4f4f;
}

.kameron {
  font-family: "Kameron", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.manrope {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
} 

a:hover, button:hover {
    font-size: 700;
    scale: 1.1;
}

body {
    background: var(--bg);
    margin: 0;
    padding: 0;
}

header {
    height: 100px;
    padding: 15px 5px;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-opac);
}

header a {
    width: 70px;
    height: 70px;
}

header img {
    width: 100%;
}

.main {
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(img/restaurant.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 50px 0;
    min-height: 100vh ;
}

.title-container {
    background: var(--bg-opac);
    width: 100%;
    padding: 20px 0;
}

.main-title {
    font-size: 40px;
    text-align: center;
    width: 80%;
    color: var(--text-color);
}

.action-btn-container, .sub-action-btn-container {
    padding-top: 20px;
    width: 100%;
}

.action-btn-container a, .sub-action-btn-container a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 20px;
    text-align: center;
    width: 240px;
}

.action-btn-container a {
    background: var(--accent-color);
    font-size: 32px;
    border: 1px solid var(--text-color);
}

.sub-action-btn-container {
    padding-top: 20px;
    width: 100%;
}

.sub-action-btn-container a {
    background: var(--bg-opac);
    font-size: 20px;
}

.footer {
    width: 100%;
    height: 100px;
    background: var(--bg);
}

.social-media-links {
    gap: 10px;
}

.social-media-links a {
    height: 40px;
    width: 40px;
}

.social-media-links img {
    width: 100%;
}

/* Menu page */

.go-back {
    color: var(--extra-text-color);
    font-size: 24px;
    position: absolute;
    top: 100px;
    left: 0;
    height: 40px;
    text-decoration: none;
    gap: 5px;
    background: var(--bg-opac);
    padding: 10px;
}

.go-back img {
    height: 100%;
}

.go-back span {
    font-weight: 600;
}

.menu-main {
    position: relative;
    padding: 100px 0 0 0;
    min-height: 100vh;
    background: var(--bg);
    stroke: 1px solid var(--text-color);
}

.menu-container {
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(img/toasts-2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: calc(100vh - 100px);
    width: 100%;
    padding: 20px 10px;
}

.category-title {
    margin: 0;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    color: var(--bg);
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: var(--text-color);
}

.dish-container {
    gap: 10px;
    position: relative;
    margin-top: 40px;
}

.dish-info {
    margin-bottom: 40px;
    position: relative;
    background: var(--bg-opac);
    width: 75%;
    padding: 10px;
    gap: 10px;
    border: 1px solid var(--text-color);
}

.dish-info h3 {
    color: var(--text-color);
    text-align: center;
    font-size: 36px;
    margin: 0;
    line-height: 1;
}

.dish-info p {
    font-size: 20px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.dish-info span {
    color: var(--extra-text-color);
    font-size: 36px;
}

.nav-btns {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.nav-btns button {
    background: var(--bg-opac);
    border: 1px solid var(--text-color);
    padding: 10px 0;
    width: 18%;
    max-width: 100px;
}

.nav-btns button:first-child {
    margin-left: -18%;
}

.nav-btns button:last-child {
    margin-right: -18%;
}

.nav-btns img {
    width: 100%;
}

.big-nav-btns {
    width: 100%;
    gap: 20px;
}

.big-nav-btns button {
    background: var(--accent-color);
    border: 1px solid var(--text-color);
    font-size: 28px;
    padding: 5px 0;
    width: calc((100% - 20px) / 2);
    color: var(--extra-text-color);
}

.big-nav-btns img {
    height: 40px;
    width: 40px;
}

/* Categories page */

.categories-header {
    background: var(--bg);
}

.categories-main {
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(img/restaurant-2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 20px 0;
    min-height: 100vh ;
}

.categories-container {
    width: 75%;
    max-width: 500px;
    gap: 20px;
    padding: 20px;
}

.categories-container a {
    font-size: 26px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 10px 0;
    text-align: center;
    width: 80%;
}

.categories-container a:nth-child(odd) {
    background: var(--bg-opac);
    margin: 0 auto 0 0;
}

.categories-container a:nth-child(even) {
    background: var(--accent-opac);
    margin: 0 0 0 auto;
}

/* Animations */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-title, .animate-fade {
    animation: fadeUp 0.9s ease-out forwards;
}

.action-btn-container, .sub-action-btn-container, .animate-fade-delayed {
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes breathe {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes breathe_opac {
  0% {
    transform: scale(1);
    background: var(--bg-opac);
  }
  50% {
    transform: scale(1.1);
    background: var(--bg);
  }
  100% {
    transform: scale(1);
    background: var(--bg-opac);
  }
}

.action-btn-container a {
    animation: breathe 3.5s ease-in-out infinite;
}

.nav-btns button, .sub-action-btn-container a {
    animation: breathe_opac 3.5s ease-in-out infinite;
}

.categories-container a:nth-child(odd) {
    animation: breathe_opac 3s ease-in-out infinite;
}

@keyframes breathe_opac_two {
  0% {
    transform: scale(1);
    background: var(--accent-opac);
  }
  50% {
    transform: scale(1.1);
    background: var(--accent-color);
  }
  100% {
    transform: scale(1);
    background: var(--accent-opac);
  }
}

.categories-container a:nth-child(even) {
    animation: breathe_opac_two 4.5s ease-in-out infinite;
}

/* Adaptive */

@media (min-width: 420px) {
    .main-title, .category-title {
        font-size: 48px;
    }

    .social-media-links a {
        height: 50px;
        width: 50px;
    }

    .dish-info {
        width: 65%;
    }

    .dish-info p {
        font-size: 24px;
    }

    .big-nav-btns button {
        padding: 10px;
    }

    .categories-container a {
        font-size: 32px;
    }
}

@media (min-width: 700px) {
    .go-back {
        font-size: 28px;
        height: 60px;
        padding: 20px;
    }

    .title-container {
        min-height: calc(100vh / 3);
        align-items: center;
    }

    .main-title {
        font-size: 64px;
    }

    .action-btn-container a, .sub-action-btn-container a {
        width: 400px;
    }

    .action-btn-container a {
        font-size: 46px;
    }

    .sub-action-btn-container a {
        font-size: 32px;
    }

    .category-title {
        font-size: 64px;
    }

    .dish-info {
        padding: 10px 20px;
    }

    .dish-info h3, .dish-info span {
        font-size: 44px;
    }

    .dish-info p {
        font-size: 32px;
    }

    .big-nav-btns {
        width: 90%;
    }

    .big-nav-btns button {
        font-size: 44px;
        width: calc((100% - 100px) / 2);
        max-width: 300px;
    }

    .big-nav-btns img {
        height: 50px;
        width: 50px;
    }
}

@media (min-width: 1200px) {
    .main-title, .category-title {
        font-size: 72px;
    }

    .menu-container {
        background-repeat: repeat;
        background-size: 50%;
        background-position: left;
    }

    .big-nav-btns {
        width: 65%;
    }
}

@media (min-width: 1800px) {
    .menu-container {
        background-size: 34%;
        background-position: center;
    }
}








