*{
  margin:0;
  padding:0;
  color:white;
}
header{
  display:flex;
  align-items:center;
  justify-content:center;
  background:tomato;
  position:sticky;
  top:0px;
  padding:10px;
  font-weight:bold;
  font-family:sans-serif;
}
.nav-item.logo{
  display: flex;
  align-items: center;
  gap:4px;
}
.nav-item{
  flex:0 1 200px;
  display:none;
}
.logo{
  justify-content: center;
  display:flex;
  align-items:center;
  min-width:250px;
}
body{
  background-color:#222222;
  height:2000px;
}
main{
  padding:25px;
  display:flex;
  gap:25px;
  flex-direction: column;
  background-color:rgba(255,100,100,.5);
}
span{
  padding:2px;
  background:tomato;
}
img{
  float:left;
}
.hotdog{
  padding:30px 30px;
  background-color:rgba(255,100,100,.2);
}

/*media queries section*/ 

@media all and (min-width:768px){
  .nav-item{
    display:flex;
    flex-direction: row;
    align-content: space-evenly;
  }
  main{
    background-color: #501000;
    background:url(hotdog.webp);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    font-family: sans-serif;
    font-size: 24px;
    min-height: 100vh;
  }
  .logo{
    justify-content: start;
    margin-left: 12px;
  }

}