/* =============================
   General Styles
   ============================= */
   html {
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  
  body {
    color: #000;
  }
  
  h1 {
    font-size: 200%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
  
  /* =============================
     Grid Layout
     ============================= */
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: auto;
    grid-template-areas:
      "header header"
      "nav nav"
      "main aside"
      "footer footer";
    grid-gap: 4px;
  }
  
  nav, main, header, aside, footer {
    border: none;
    border-radius: 15px;
    padding: 10px;
  }
  
  header {
    grid-area: header;
    background-color: #F0A202;
    color: #fff;
  }
  
  nav {
    grid-area: nav;
    background-color: #FFCC62;
    color: #fff;
  }
  
  main {
    grid-area: main;
    background-color: #FFC755;
    color: #fff;
  }
  
  aside {
    grid-area: aside;
    background-color: #81662D;
    color: #fff;
  }
  
  footer {
    grid-area: footer;
    background-color: #4D4128;
    color: #fff;
    text-align: right;
  }
  
  /* =============================
     Image Grid for Poetry Types
     ============================= */
  .hm {
    display: grid;
    grid-template-columns: 250px 250px;
    grid-template-rows: auto;
    grid-template-areas:
      "free haiku"
      "lim acro";
    grid-gap: 20px;
    width: 520px;
    margin: auto;
    padding: 5px;
  }
  
  .free { grid-area: free; }
  .haiku { grid-area: haiku; }
  .lime { grid-area: lim; }
  .acro { grid-area: acro; }
  
  .round {
    border-radius: 20px;
    box-shadow: 1px 0px 10px #000;
  }
  
  /* =============================
     Main Content Box
     ============================= */
  .box {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* =============================
     Navigation Dropdown Menu
     ============================= */
  .dropbtn {
    background-color: #B85C38;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #D9A066;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 8px;
  }
  
  .dropdown-content a:hover {
    background-color: #E0A96D;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown:hover .dropbtn {
    background-color: #B85C38;
  }
  
  /* =============================
     Poetry Links Styling
     ============================= */
  .poetry-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
  }
  
  .poetry-links li {
    margin: 8px 0;
  }
  
  .poetry-links a {
    display: block;
    background-color: #8C3D62;
    color: #FFD1E3;
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
  }
  
  .poetry-links a:hover {
    background-color: #A04A7B;
    transform: scale(1.05);
  }
  
  .cen {
    text-align: center;
  }
  
  /* =============================
     Logo Styling
     ============================= */
  .logo {
    width: 105px;
    float: right;
    border-radius: 6px;
  }
  
  /* =============================
     Hover Text Over Images
     ============================= */
  .hvrbox, .hvrbox * {
    box-sizing: border-box;
  }
  
  .hvrbox {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 250px;
    height: 250px;
    border-radius: 20px;
  }
  
  .hvrbox img {
    max-width: 100%;
  }
  
  .hvrbox .hvrbox-layer_bottom {
    display: block;
  }
  
  .hvrbox .hvrbox-layer_top {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    transition: all 0.4s ease-in-out;
  }
  
  .hvrbox:hover .hvrbox-layer_top,
  .hvrbox.active .hvrbox-layer_top {
    opacity: 1;
  }
  
  .hvrbox .hvrbox-text {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hvrbox .hvrbox-text_mobile {
    font-size: 15px;
    border-top: 1px solid rgba(179, 179, 179, 0.7);
    margin-top: 5px;
    padding-top: 2px;
    display: none;
  }
  
  .hvrbox.active .hvrbox-text_mobile {
    display: block;
  }
  