 
  .smiley-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  .smiley-wrapper {
    padding: 8px;
    background-color: #fff;
    text-align: center;
  }

  .smiley-wrapper:nth-of-type(even) {
    background-color: #f7f7f7;
  }

  .smiley-wrapper img {
    max-width: 100%;
    height: auto;
    display: inline-block;
  }
  
  
  .smiley-wrapper:nth-of-type(even) {
    background-color: #f7f7f7;
  }
  
  .smiley-wrapper {
  display: inline-block;
  padding: 8px;
  vertical-align: top;
}


  .smiley-wrapper {
    padding: 8px;
  }

  .smiley-wrapper img {
    display: block;
    margin: auto;
  }
  

    body {
      
      background-color: #fffbe6;
      color: #333;
      padding: 20px;
      
      margin: auto;
    }
    h1, h2, h3 {
      color: #ff6600;
    }
	h2,h3 {
		margin-top:1em;
	}
    ul {
      padding-left: 20px;
    }
    .emoji-list li {
      margin-bottom: 0.4em;
    }
    .retro-box {
      background: #ffefd5;
      border: 2px dashed #ffa500;
      padding: 15px;
      margin: 20px 0;
    }
    footer {
      margin-top: 40px;
      font-size: 0.9em;
      color: #888;
      text-align: center;
    }
 
	* {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		font-family: sans-serif;
	}

	nav {
		background: #fff;
		border: 1px solid #ddd;
		width: 100%;
	}

	.menu {
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		padding: 0.5rem 1rem;
		gap: 1rem;
	}

	.menu > li {
		position: relative;
	}

	.menu > li > a {
		text-decoration: none;
		padding: 0.5rem 0.75rem;
		border-radius: 6px;
		display: block;
		color: #333;
		transition: background 0.2s;
		white-space: nowrap;
		background: #fff;
	}

	.menu > li > a:hover {
		background: #f0f0f0;
	}

	.menu ul {
		list-style: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 180px;
		background: #fff;
		border: 1px solid #ddd;
		border-radius: 6px;
		display: none;
		padding: 0.5rem 0;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		z-index: 100;
	}

	.menu li:hover > ul {
		display: block;
	}

	.menu ul li a {
		display: block;
		padding: 0.5rem 0.75rem;
		text-decoration: none;
		color: #333;
		white-space: nowrap;
	}

	.menu ul li a:hover {
		background: #f9f9f9;
	}