:root{
  --color-fg: #ffffff;
  --color-bg: #303030;
}

@media screen and (prefers-color-scheme: light) {
  body {
    --color-bg: white;
    --color-fg: black;
  }
}


header{
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align:center;
  background-color:#8a8a8a;


}


body{
  color:var(--color-fg);
  background-color:var(--color-bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  
}

h1 {
text-align: center;
}


.nav-list{

  list-style: none;
  display: flex;
  gap: 12px;
  font-size: 20px;
  text-align: center;
  margin: 0;
  padding: 0;
  
}

footer{
bottom:2%;
  position:fixed;
}

.paragraph span{
display: block;
opacity: 0;
animation: reveal .5s forwards var(--delay);
}
@keyframes reveal {
  from { translate: 0 20px; }
  to { translate: none; opacity: 1; }
}

.image{
  float: right;
  max-width: 40%;
}

.foodImages
{
  max-width: 100%;
}

article{
  max-width: 400px;
  border: 1px solid black;
  border-radius: 10px;
}
details{
  padding: 10px;
}
summary{
  list-style: none;
  cursor: pointer;
  transition: color .25s;
}
summary:hover {
  color: red;
}

.container{
  background-color:#8a8a8a;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 15px;
}
.formcontainer{
  max-width: 400px;
  border: 1px solid black;
  border-radius: 10px;
  font-size: 150%;
}

.slides {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60vh;
  position:relative;
  background: #000;
  height: 50vh;

  overflow: hidden;
}

.slides::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  background-color: rgb(0 0 0 / 50%);
}
.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: cycle 48s infinite;
}
.slide-2{
  animation-delay: 8s;
}
.slide-3{
  animation-delay: 16s;
}
.slide-4{
  animation-delay: 24s;
}
.slide-5{
  animation-delay: 32s;
}
.slide-6{
  animation-delay: 40s;
}
.slide-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes cycle {
  0% { opacity: 0; }
  10% {opacity: 1; }
  20% { opacity: 1;
       transform: scale(1.05);
      }
  30% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {opacity: 0}
    
  }


