/* Made By Mick Andrews on May 19, 2025 */

/* CSS Reset */

* {
    margin: 0;
    border: 0;
    padding: 0;
}

body {
    background-color: #557999;
}

.mobile {
    display: block;
}

.tab-desk {
    display: none;
}

main img {
  border-radius: 14px;
}

/* Header */

header {
    padding: 2%;
}

header img {
    position: relative;
    width: 100%;
    filter: drop-shadow(#000 3px 4px 4px);
    padding: 10px;
}

#contact {
    display: flex;
    justify-content: space-evenly;
}

#contact img {
    height: 90px;
    width: 90px;
    filter: none;
}

/* Sidebar Nav */
/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #562d0f; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 30px;
    color: #321809;
    font-family: "Coiny", serif;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f5f1ee;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    padding: 20px;
  }

  span {
    font-size: 2em;
    font-weight: bold;
    color: #321809;
  }

  main {
    background-color: #f5f1ee;
    padding: 10px;
  }

  main h1 {
    font-family: "Coiny", system-ui;
    color: #321809;
    font-size: 2.5em;
  }

  main h2 {
    font-family: "Coiny", system-ui;
    color: #562d0f;
    font-size: 2em;
  }

  main p {
    font-family: "Comme", sans-serif;
    font-size: 1.2em;
  }

  main a {
    color:#557999;
    font-family: "Comme", sans-serif;
    font-size: 1.2em;
    font-weight: bold;
  }

  main h1, main h2{
    text-align: center;
  }

  #menu-links h2 {
    font-size: 1.2em;
  }

  #menu-links a {
    text-decoration: none;
  }
  
  #menu-links {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  main h3 {
    font-size: 1.5em;
    font-family: "Comme", sans-serif;
    color:#557999;
    padding: 1%;
  }

  iframe {
    border:#562d0f 4px solid;
    border-radius: 14px;
  }

  #locations {
    text-align: center;
  }

  #contactmain a,p {
    font-size: 1em;
    text-align: center;
  }
  /* FOOTER */

  footer {
    padding: 10px;
    text-align: center;
  }

  footer p, footer a, footer a p {
    font-family: "Comme", sans-serif;
    font-size: 0.8em;
    color:#f5f1ee;
  }

  #gal img {
    height: 275px;
    display: block;
    margin: 0 auto;
  }

/* Tablet + Desktop Media Query */
@media screen and (min-width: 768px) {
    .tab-desk {
        display: block;
    }

    .mobile {
        display: none;
    }

    /* HEADER */

    header p, header a {
        font-size: 1.2em;
        color:#f5f1ee;
        font-family: "Coiny", system-ui;
    }

    header a {
        font-family: "Comme", sans-serif;
        font-size: 1.05em;
    }

    #logo-and-contact {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    @keyframes logoHover {
        from {width: 700px;}
        to {width: 720px;}
    }

    @keyframes indexflexHover {
      from {width: 400px; height: 400px;}
      to {width: 420px; height: 420px;}
    }

    header img:hover {
        animation-name: logoHover;
        animation-duration: 2s;
        animation-fill-mode: forwards;
    }

    /* MAIN */

    #indexflex {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-gap: 100px;
    }

    #indexflex img {
      height: 400px;
      width: 400px;
    }

    #indexflex p {
      text-align: center;
    }

    #indexflex img:hover {
      animation-name: indexflexHover;
      animation-duration: 1s;
      animation-fill-mode: forwards;
    }

    #galgrid {
      display: grid;
      grid-template-columns: auto auto auto;

    }

    #galgrid img {
      height: 275px;
      display: block;
      margin: 0 auto;
      padding: 2%;
    }

    @keyframes galGrid {
      from {height: 275px;}
      to {height: 290px;}
    }

    #galgrid img:hover {
      animation-name: galGrid;
      animation-duration: 1s;
      animation-fill-mode: forwards;
    }

    #menu-links a h2 {
      font-size: 1.6em;
      width: 100%;
    }

    #locations, #contactmain {
      display: flex;
      justify-content: center;
      gap: 60px;
    }

  }