body {
    background-image: url("gen_img/bg.png");
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    
    margin-top: 30px;     /* lower the header */
    margin-bottom: 40px;  /* space between header and article */
    
}

.wiggly-box {
    
    --s: 12px;
    --w: 600px;
    --h: 100px;

    width: round(var(--w), 4 * var(--s));
    height: round(var(--h), 4 * var(--s));
    aspect-ratio: 1;
    box-sizing: border-box;

    background: linear-gradient(#FAF9F6, #a8a59b);
    --_g: conic-gradient(#000 0 0) no-repeat 50%/;
    mask: 
        radial-gradient(calc(sqrt(2)*var(--s)),#000 calc(100% - 1px),#0000)
        0 0/calc(var(--s)*4) calc(var(--s)*4),
        var(--_g) calc(100% - 4*var(--s)) calc(100% - 4*var(--s)),
        var(--_g) calc(100% - 2*var(--s)) calc(100% - 2*var(--s)) subtract,
        radial-gradient(calc(sqrt(2)*var(--s)),#000 100%,#0000 calc(100% + 1px)) 
        calc(2*var(--s)) calc(2*var(--s))/calc(var(--s)*4) calc(var(--s)*4);
}

*.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;

    /*
    Introduced in IE 10.
    See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
    */
    -ms-user-select: none;
    user-select: none;
}

h1 {
    font-size: 3.7em;
    margin: 0;
    padding: 30px 0;
}

article {
    background-color: #FAF9F6;
    background-color:  rgba(250, 249, 246, 0.8) ;
    width: 70%;
    border-style: dashed;
  border-color:   #80461B  ;
  border-width: 10px;
    color: white;
    
    font-family: monospace;
}

footer {
    opacity: 0;
    width: 100%;
    height: 60px;
}

nav {
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,0);
  gap: 30px;
  padding: 20px;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.nav-item {
  text-align: center;
  text-decoration: none;
  
  background: rgba(0,0,0,0);
  color: black;
  font-family: Arial, sans-serif;
  width: 100px;
  font-family: monospace;
}

.nav-item img {
  width: 45px;
  height:45px;
  object-fit: cover;
  transition: transform 0.2s;
}

.nav-item:hover img {
  transform: scale(1.1);
}

.nav-item span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

p{
  font-size: 1.1em;
  }
  
h{
  font-size: 2em;
  }


hr {
  display: block;
  border: none;
  height: 40px;
  width: 100%;
  background-image: url(gen_img/hungry_fruits.png);
  background-repeat: repeat-x;
  background-size: auto 100%;
}