

 
 html{
  scroll-behavior: smooth;
      overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
 }
 body {
       font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
      margin: 0;
      padding: 0;
      font-size: 18px;
      line-height: 1.6;
      background: white;
      color: #555555 ;
      overflow-x: hidden;
      max-width: 100%;
}
a{
  text-decoration: none;
  color: #00BFFF;
}

.my-2{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.p-item{
    font-size: 12px;
    text-align: start;
}

header {
    text-align: center;
    padding: 2rem 1rem;

    
    position: relative;
}

footer {

    padding: 2rem 1rem;
    text-align: center;
}

  section{
          padding: 2rem 1rem;
      text-align: center;
  }

.btn {
    display: inline-block;
    background: #F4C542;
    color: #555555;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    border-radius: 15px;
    margin-top: 1rem;
}


.btn:hover{
    transition: transform 0.5s, box-shadow 0.5s;
    transform: scale(1.1);
    box-shadow: 0 0 15px #fff;
    z-index: 1;
    background-color: #00BFFF;
  color: white;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
}


/* image slider under the header */
  .slider {
      width: 100%;

      height: 500px;
      margin: 50px auto;
      overflow: hidden;
      border-radius: 10px;
      position: relative;
    }

    .slider img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      animation: slideAnimation 12s infinite;
    }

    .slider img:nth-child(1) {
      animation-delay: 0s;
    }

    .slider img:nth-child(2) {
      animation-delay: 4s;
    }

    .slider img:nth-child(3) {
      animation-delay: 8s;
    }

    @keyframes slideAnimation {
      0% { opacity: 0; }
      5% { opacity: 1; }
      30% { opacity: 1; }
      35% { opacity: 0; }
      100% { opacity: 0; }
    }

    /* menu */
    .menu-options{
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        gap: 1rem;
    }



.opt{
  border-radius: 15px;
  border: solid 0.5px;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: white;
  cursor: pointer;
}

.opt.primary {
  background-color: #00BFFF;
  color: white;
  border-radius: 10px;
  padding: 5px 15px;
  cursor: pointer;

}

.menu-items{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-area: 1rem;
    justify-content: space-around;
      min-height: 300px;
}

.card-m {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px;
  margin: 10px;
  text-align: start;
  background: white;
  position: relative;
transition: transform 0.3s ease; /* Smooth scaling */
}

.card-m:hover{

  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

}

.card-m.hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.card-m img {
  width: 100%;
  border-radius: 8px;
}
ul {
  list-style: none;
  padding-left: 0; /* optional: remove left indent */
}

.info{
    display: grid;
    grid-template-columns: 2fr 6fr;
    gap: 2rem;
}

/* bestill section*/

.order-by-phone {
  background-color: #f8f8f8;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.order-by-phone h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.order-by-phone p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.call-button {
  background-color: #00BFFF;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.call-button:hover {
  background-color: #005fa3;
}


/* floating bestill button*/
.floating-button {
     position: fixed;
      bottom: 2rem;
      right: 2rem;
      padding: 1rem 1.5rem;
      background-color: #F4C542;
      color: #555555;
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      cursor: pointer;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      transition: transform 0.2s ease, background-color 0.3s ease;
      z-index: 999;

      max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

.floating-button:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #00BFFF;
  color: white;
}

.meny-img{
  width: 300px;
  margin-left: auto;
  margin-right: 24px;
}


.menu-header{
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: anchor-center;
}

