* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tinos', serif;

}

.navphoto {
    background-image: url(./Screenshot\ 2024-07-22\ 103219.png);
    background-size: 100%;
    height: 5vh;
}

.col {
    height: 21vh;
}

.col img {
    padding-top: 4%;
}




nav {
    height: 10vh;
    width: 100%;
    background-color: maroon;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    /* position: fixed; */
    z-index: 10;
    top: 0px;
    position: sticky;

}



/*Styling Links*/
.nav-links {
    display: flex;
    list-style: none;
    width: 88vw;
    /* padding: 0 0.7vw; */
    justify-content: space-evenly;
    /* align-items: center; */
    text-transform: uppercase;
    padding-top: 1.3%;
    padding-left: 11%;
}

.nav-links li a {
    text-decoration: none;
    margin: 0 0.7vw;
    color: white;

}

.nav-links li a:hover {
    color: yellow;
}

.nav-links li {
    position: relative;
}

.nav-links li a::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: yellow;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}

.nav-links li a:hover::before {
    width: 80%;
}

/*Styling Buttons*/
.login-button {
    background-color: transparent;
    border: 1.5px solid #f2f5f7;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;

}

/*Styling Hamburger Icon*/
.hamburger div {
    width: 30px;
    height: 3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
}

/*Stying for small screens*/
@media screen and (max-width: 800px) {
    nav {
        position: fixed;
        z-index: 3;
    }

    .hamburger {
        display: block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        color: white;
    }

    .nav-links {
        /* position: fixed; */
        background: maroon;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
    }

    .nav-links.open {
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
        color: white;
    }

    .nav-links li {
        opacity: 0;
    }


    .nav-links li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
    }

    .nav-links li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
    }

    .nav-links li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
    }

    .nav-links li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
    }

    .nav-links li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }

    .nav-links li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
    }

    li.fade {
        opacity: 1;
    }
}

/*Animating Hamburger Icon on Click*/
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    transition: all 0.7s ease;
    width: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* heading gallery */
.text-container {
    text-align: center;
    padding: 20px;
}

.text-container h1 {
    color: #c0392b;
    font-weight: 700;
    
}

.line {
    width: 10%;
    height: 2px;
    background-color: maroon;
    margin: 10px auto 0;
}


* {
  margin: 0;
  padding: 0;
}

.panels {
  min-height: 70vh;
  /* width: 90%; */
  overflow: hidden;
  display: flex;
}

.panel {
  background: #6B0F9C;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.1);
  color: white;
  text-align: center;
  align-items: center;
  /* Safari transitionend event.propertyName === flex */
  /* Chrome + FF transitionend event.propertyName === flex-grow */
  transition:
    font-size 0.7s cubic-bezier(0.61,-0.19, 0.7,-0.11),
    flex 0.7s cubic-bezier(0.61,-0.19, 0.7,-0.11),
    background 0.2s;
  font-size: 20px;
  background-size: cover;
  background-position: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.panel1 { background-image:url(chicken-kebab-thumb-1.jpg); }
.panel2 { background-image:url(Butter-Chicken.jpg); }
.panel3 { background-image:url(naan.jpeg); }
.panel4 { background-image:url(biri3.jpg); }
.panel5 { background-image:url(Raita-1-1-of-1.jpg); }

/* Flex Children */
.panel > * {
  margin: 0;
  width: 90%;
  transition: transform 0.5s;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel p {
  text-transform: uppercase;
  font-family: 'Roboto';
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.08), 0 0 14px rgba(0, 0, 0, 0.45);
  font-size: 2em;
}

/* First text element */
.panel p:nth-child(1) {
  transform: translateY(-100%);
}

.panel.open-active p:nth-child(1) {
  transform: translateY(0);
}

/* Second text element - main text */
.panel p:nth-child(2) {
  font-size: 4em;
  font-family: 'Lato', sans-serif;
  padding: 8px;
}

/* Third text element */
.panel p:nth-child(3) {
  transform: translateY(100%);
}

.panel.open-active p:nth-child(3) {
  transform: translateY(0);
}
    
.panel.open {
  flex: 5;
  font-size: 40px;
}

@media only screen and (max-width: 600px) {
  .panel p {
    font-size: 1em;
  }
}


/* gallery photo */
h1, h2 {
    font: inherit;
}



.gallery {
    --anim-time--hi: 266ms;
    --anim-time--med: 400ms;
    --anim-time--lo: 600ms;

    display: flex;
    place-content: center;
    max-width: clamp(30rem, 95%, 50rem);
    width: max(22rem, 100%);
    min-height: 100vh;
    margin-inline: auto;
    padding: clamp(0px, (30rem  - 100vw) * 9999, 1rem);
   
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin-top: 20px;
}

.gallery figure {
    flex: 1 1 calc(25% - 10px);
    margin: 5px;
    overflow: hidden;
    position: relative;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery__content--flow {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery__content--flow > *  {
    flex-grow: 1;
    flex-basis: calc((30rem - 100% - 1rem) * 999);
}

figure {
    display: flex;
    min-width: 14rem;
    max-height: 16rem;
    position: relative;
    border-radius: .35rem;
    box-shadow:
    rgb(40, 40, 40, 0.1) 0px 2px 3px,
    rgb(20, 20, 20, 0.2) 0px 5px 8px,
    rgb(0, 0, 0, 0.25) 0px 10px 12px;
    overflow: hidden;
    transition: transform var(--anim-time--med) ease;
}

figure::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        hsla(0, 0%, 0%, 0.8) 0%,
        hsla(0, 0%, 0%, 0.7) 12%,
        hsla(0, 0%, 0%, 0.2) 41.6%,
        hsla(0, 0%, 0%, 0.125) 50%,
        hsla(0, 0%, 0%, 0.01) 59.9%,
        hsla(0, 0%, 0%, 0) 100%
    );
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--anim-time--med), var(--anim-time--med);
    transition-timing-function: ease, ease;
      z-index: 4;
}

.header__caption {
    z-index: 10;
    position: absolute;
    display: inline-flex;
    flex-direction: column;
    align-self: flex-end;
    width: 100%;
    gap: 0.5rem;
    padding: 1rem;
    justify-content: center;
    text-align: center;
    transform: translateY(100%);
    transition: transform var(--anim-time--hi) linear,
    opacity var(--anim-time--hi) linear;
}

figure:hover::before {
    opacity: 0.8;
}

figure:hover .header__caption {
    transform: translateY(0);
    opacity: 1;
}
figure:hover img{
    transform: scale(1);
}
.title {
    color: #fff;
    
}

.title--primary {
    font-size: 1.25rem;
    font-weight: bold;
}

.title--secondary {
    text-transform:uppercase;
    font-weight: bold;
}

.gallery img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
  transform: scale(1.15);
    aspect-ratio: 16 / 13;
    transition: 400ms ease-in-out;
}
/* footer */
/* footer */
.footer {
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px 0;
}
.contact i{
    color: maroon;
}
.container4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    border-top: 1px solid black;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    /* padding: 10px 0; */
    background-color: maroon;
    height: 8vh;
}
.footer-bottom p{
    color: white;
   padding-top: 1%;
}
.contact {
    margin-bottom: 20px;
}
