/* allura-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  src: url('public/assets/fonts/allura-v23-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-100 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-100italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 200;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-200italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 200;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-600italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 600;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-800italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 800;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-900italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('public/assets/fonts/roboto-v51-latin_latin-ext-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/*Mobil méret*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #E4D7CC;
    min-height: 100vh;
    display: grid;
    grid:
        "header-area" 5%
        "nav-area" 60px
        "main-area" 1fr
        "footer-area" 10%
        / 1fr
    ;
}

/*Header*/
.site_header {
    grid-area: header-area;
    background-color: #A0774D;
    background-image: url(/public/assets/images/pexels-quark-studio-1159039-3201921.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.header_bgc {
    width: 100%;
    height: 100%;
    background-color: #c4772978;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    padding: 0;
    margin: 0;
    font-family: "Allura", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    line-height: 150px;
    color: #FFFFFF;
    text-align: center;
}

/*Navigáció*/

body nav {
    grid-area: nav-area;
    background-color: #25160b;
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li {
    list-style: none;
}

a {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    text-decoration: none;
    color: #F9F2ED;
    display: block;
    padding: 10px;
    height: 100%;
    margin: 0;
    padding: 0;
}

.fa-chevron-down, .fa-angle-right {
    filter: invert(96%) sepia(5%) saturate(762%) hue-rotate(336deg) brightness(102%) contrast(96%);
    padding-left: 5px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.fa-chevron-down {
    background-image: url('/public/assets/webfonts/chevron-down-solid-full.svg');
}

.fa-angle-right {
    background-image: url('/public/assets/webfonts/angle-right-solid-full.svg');
}

li:hover {
    color:#25160b;
    background-color: rgba(241, 181, 102, 0.3);
}

.active {
    color:#926647;
}

.toggle-btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding-left: 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.fa-bars {
    background-image: url('/public/assets/webfonts/bars-solid-full.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    filter: invert(96%) sepia(5%) saturate(762%) hue-rotate(336deg) brightness(102%) contrast(96%);
    width: 30px;
    height: 30px;
}

.fa-xmark {
    background-image: url('/public/assets/webfonts/xmark-solid-full.svg');
    filter: invert(96%) sepia(5%) saturate(762%) hue-rotate(336deg) brightness(102%) contrast(96%);
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

/*Normál menü*/

.main-menu {
    display: none;
    flex-grow: 1;
    margin: 0;
    padding: 0;
    text-align: center;
    justify-content: center;
}

.main-menu li {
    position: relative;
    width: 300px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    background-color: rgba(111, 67, 9, 0.7);
    width: 100%;
    border-radius: 0px 0px 14px 14px;
    margin: 0;
    padding: 0;
    display: none;
}

.sub-menu li {
    position: relative;
    display: block;
}

.sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-menu li:last-child a:hover {
    background-color: rgba(241, 181, 102, 0.3);
    border-radius: 0px 0px 14px 14px;
}

.sub-sub-menu {
    position: absolute;
    top: 0;
    left: 300px;
    background-color: rgba(111, 67, 9, 0.7);
    width: 100%;
    border-radius: 0px 14px 14px 0px;
    margin: 0;
    padding: 0;
}

.sub-sub-menu li {
    position: relative;
    display: block;
}

.sub-sub-menu li:first-child a:hover {
    border-radius: 0px 14px 0px 0px;
}

.sub-sub-menu li:last-child a:hover {
    border-radius: 0px 0px 14px 0px;
}

.main-menu a, .sub-menu a, .dropdown-menu a {
    display: flex;        
    align-items: center;    
    justify-content: space-between; 
}

/*Mobil menü*/
.dropdown-menu {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 60px;
    width: 100%;
    height: auto;
    background: rgba(92, 53, 10, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
}

.open {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    height: auto;
    width: 100%;
    display: block;
    text-align: center;
}

.dropdown-menu li:hover {
    background-color: rgba(241, 181, 102, 0.3);
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    text-align: center;
}
.dropdown-sub-menu,
.dropdown-sub-sub-menu {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
}

.dropdown-sub-sub-menu {
    position: static;
    width: 100%;
    background: rgba(92, 53, 10, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 0;
    display: block;
}

/*Első rész:Legnépszerűbb ízek*/
main {
    padding: 0;
    margin: 0;
    grid-area: main-area;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section2 {
    margin: 0;
    flex: 1;
    grid-area: flavors-area;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 50px;
}

.first_h2 {
    color: #523923;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 46.88px;
    padding-left: 10%;
    padding-bottom: 50px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
    column-gap: 0;
}

.box {
    width: 70%;
    height: 100px;
    border-radius: 8px;
    background-color: #F9F2ED;
    box-shadow: 10px 10px 20px 0px #0000001A;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box:hover {
    cursor: pointer;
}

.bg-position {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#first {
    background-image: url(/public/assets/images/soup.jpg);
}

#second {
    background-image: url(/public/assets/images/maincourse.jpg);
}

#third {
    background-image: url(/public/assets/images/garnishes.jpg);
}

#fourth {
    background-image: url(/public/assets/images/salads.jpg);
}

#fifth {
    background-image: url(/public/assets/images/pic.jpg);
}

#sixth {
    background-image: url(/public/assets/images/souces.jpg);
}

#seventh {
    background-image: url(/public/assets/images/desserts.jpg);
}

#eight {
    background-image: url(/public/assets/images/bowls.jpg);
}

.section2 .box h3 {
    display: block;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    text-align: center;
    background-color: #9c7d6279;
}

/*Második rész:Visszajelzések*/
.feedback_section {
    flex: 1;
    background-color: #82786F;
    padding-top: 50px;
    padding-bottom: 50px;
}

.grid-container2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.second_h2 {
    font-size: 1.5rem;
    line-height: 46.88px;
    text-align: left;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    padding-left: 10%;
    padding-bottom: 50px;
}

.feedback-text {
    width: 80%;
    height: auto;
    justify-self: center;
    text-align: justify;
    align-self: flex-start;
}

.feedback_paragraph {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 32px;
    color: #FFFFFF;
}

.feedback_span {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 1rem;
    font-weight: 400;
    line-height: 32px;
    color: #FFFFFF;
}

.feedback_box {
    width: 80%;
    height: 20rem;
    justify-self: center;
}

.brown_box {
    background-color: #3A2719;
    background-image: url(/public/assets/images/board-3700116_640.jpg);
}

.beige_box {
    background-color: #CEAF7B;
    background-image: url(/public/assets/images/balloon-1014411_640.jpg);
}

/*Footer*/
footer {
    grid-area: footer-area;
    background-color: #25160b;
}

.last_h2 {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 46.88px;
    text-align: left;
    color: #FFFFFF;
    padding-left: 10%;
    padding-top: 50px;
    padding-bottom: 50px;
}

@media screen and  (min-width: 576px) { 
    .grid-container, .grid-container2 {
        grid-template-columns: 1fr;
    }
} 

@media screen and (min-width:768px) {
    body {
        grid:
            "header-area" 10%
            "nav-area" 60px
            "main-area" 1fr
            "footer-area" 10%
            / 1fr
        ;
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .feedback-text, .feedback_box {
        width: 60%;
    }
    .box {
        height: 150px;
    }
} 

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

    body {
        grid:
        "header-area" 12%
        "nav-area" 70px
        "main-area" 1fr
        "footer-area" 8%
        / 1fr
    ;
    }
    .feedback-text, .feedback_box {
        width: 70%;
    }
    .box {
        height: 150px;
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .grid-container2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }
    .feedback_box {
        justify-self: center;
        align-self: center;
    }
} 

@media screen and (min-width: 1200px) {
    .toggle-btn {
        display: none;
    }
    .main-menu {
        display: flex;
    }
    .main-menu li {
        width: 200px;
    }
    .sub-sub-menu {
        left: 200px;
    }
    body nav a {
        font-size: 20px;
    }
    .box {
        width: 300px;
        height: 400px;
    }
    .section2 .box h3 {
        font-size: 20px;
        height: 20%;
    }
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 30px;
    }

    .grid-container2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }
}