/* RESET */

/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* RESET END */

/* ROOT VARIABLES */

:root {
--header-width: 100%;
}

/* BODY */

body {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, .50fr) .02fr;
  overflow-x: hidden;
}

a {
text-decoration: none;
color: white;
}
/* HEADER */

header {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
}

.hands {
  width: 100%;
  height: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  position: relative;
}

.logo {
justify-self: center;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
width: 220px;
height: 220px;
align-self: start;
margin-top: -50px;
cursor: pointer;
}

.container {
grid-column-start: 1;
grid-column-end: 3;
display: grid;
grid-template-columns: repeat(3, 1fr);
height: 100%;
}
    /* NAV START */

    .navigation {
      grid-column-start: 3;
      grid-column-end: 4;
      justify-self: end;
      position: absolute;
      background: linear-gradient(109.6deg, rgb(36, 45, 57) 11.2%, rgb(16, 37, 60) 51.2%, rgb(0, 0, 0) 98.6%);
      height: 133.2%;
      width: 0px;
      overflow: hidden;
      transition: width 0.5s ease-in-out;
    }

    nav {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: repeat(4, 1fr);
    }

    .exit {
      width: 25px;
      height: 25px;
      margin: 5% 0 0 5%;
    }

    .exit:hover {
      cursor: pointer;
    }

    ul {
      list-style-type: none;
      grid-row-start: 1;
      grid-row-end: 5;
      line-height: 100px;
      font-size: 1.2rem;
    }

    .nav-icon-one {
      width: 40px;
      border: 2px solid white;
      grid-column-start: 3;
      grid-column-end: 4;
      justify-self: center;
      position: relative;
    }

    .nav-icon-two {
      width: 40px;
      border: 2px solid white;
      grid-column-start: 3;
      grid-column-end: 4;
      justify-self: center;
      margin-top: 6px;
    }

    .nav-icon-three {
      width: 40px;
      border: 2px solid white;
      grid-column-start: 3;
      grid-column-end: 4;
      justify-self: center;
      margin-top: 6px;
    }

    .icon-container {
      grid-column-start: 3;
      grid-column-end: 4;
      position: absolute;
      justify-self: end;
      margin-top: 3%;
      margin-right: 5%;
    }

    @keyframes rotate {
      0% {
        transform: rotate(0);
      }

      100% {
        transform: rotateY(-180deg);
      }
    }


    .icon-container:hover {
      cursor: pointer;
    }

    .click-icon {
      animation: rotate .5s ease-in-out 1;
    }

    .service {
      display: grid;
      grid-template-columns: 1fr;
      /* grid-template-rows: repeat(5, .3fr); */
      height: 25%;
    }

    .dropdown {
      /* width: 100%;
      height: 100%; */
      grid-column: 1/2;
      grid-row: 2/6;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: repeat(4, .1fr);
      background-color: white;
      z-index: 1;
    }

    .sunday {
      grid-column: 1/2;
      grid-row: 2/3;
      display: none;
      justify-self: center;
      align-self: start;
    }

    .tuesday {
      grid-column: 1/2;
      grid-row: 3/4;
      display: none;
      justify-self: center;
      align-self: start;
    }

    .cena {
      grid-column: 1/2;
      grid-row: 4/5;
      display: none;
      justify-self: center;
      align-self: start;
    }

    .vigil {
      grid-column: 1/2;
      grid-row: 5/6;
      display: none;
      justify-self: center;
      align-self: start;
    }

    /* NAV END */


main {
grid-row-start: 2;
grid-row-end: 4;
grid-column-start: 1;
grid-column-end: 4;
}

.history, .schedule {
  position: relative;
  height: auto;
}

.history {
grid-column-start: 1;
grid-column-end: 4;
display: grid;
grid-template-columns: repeat(3, 1fr);
}

.text, .seats {
  height: auto;
  width: 100%;
  display: block;
}

.text {
position: relative;
grid-column-start: 1;
grid-column-end: 4;
}

.history-title, .service-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
  color: white;
  font-size: 2rem;
  z-index: 1;
}

.history-title {
justify-self: center;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
color: white;
font-size: 2rem;
align-self: center;
}

.history-btn, .service-btn  {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.history-btn {
height: 50px;
width: 120px;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
justify-self: center;
align-self: end;
margin-bottom: 10%;
border: none;
border-radius: 35px;
font-weight: bold;
}

.history-btn a {
color: black;
}

.history-btn a:active {
color: grey;
}

.history-btn:hover {
cursor: pointer;
}

.schedule {
grid-column-start: 1;
grid-column-end: 4;
display: grid;
grid-template-columns: repeat(3, 1fr);
}

.seats {
position: relative;
grid-column-start: 1;
grid-column-end: 4;
}

.service-title {
justify-self: center;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
color: white;
font-size: 2rem;
align-self: center;
}

.service-btn {
height: 50px;
width: 120px;
grid-column-start: 2;
grid-column-end: 3;
position: absolute;
justify-self: center;
align-self: end;
margin-bottom: 10%;
border: none;
border-radius: 35px;
line-height: 15px;
font-weight: bold;
}

.service-btn:hover {
cursor: pointer;
}

footer {
grid-row-start: 4;
grid-row-end: 5;
grid-column-start: 1;
grid-column-end: 4;
}

.footer-container {
grid-column-start: 1;
grid-column-end: 4;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
width: 100%;
height: 200px;
}

.footer-brand {
  grid-column: 1/2;
  grid-row: 1/2;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  align-self: center;
  margin-left: 15%;
}

.footer-logo {
  width: 50px;
  height: 50px;
}

.long-logo {
  width: 105px;
  height: auto;
}

.footer-container ul li a {
  color: black;
  text-decoration: underline;
}

.footer-container li {
  margin-bottom: 0;
}

.footer-list {
  grid-column: 1/3;
  grid-row: 1/2;
  justify-self: center;
  align-self: center;
  margin-right: 30%;
  padding-left: 0;
  font-size: 1rem;
  font-weight: bold;
  line-height: 3.5;
}

.insta {
  height: 18px;
  width: 18px;
  grid-column: 3/4;
  grid-row: 1/2;
  justify-self: end;
  align-self: center;
  margin-right: 25%;
}

.insta:hover {
  cursor: pointer;
}

/* MEDIA QUERIES */

@media (max-width: 1600px) {
  
}

/* DESKTOP - 1280px and below */
@media (max-width: 1280px) {
  .navigation {
    height: 150%;
  }

}

/* LAPTOP / SMALL DESKTOP - 1024px and below */
@media (max-width: 1024px) {
  main {
    grid-row: 2/4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }

  .history {
    grid-row: 1/2;
  }

  .schedule {
    grid-row: 2/3;
  }

  .footer-list {
    margin-right: 15%;
  }
}

/* TABLET - 768px and below */
@media (max-width: 768px) {
  .history-title,
  .service-title {
    font-size: 1.6rem;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    align-items: center;
    padding: 10px 0;
  }

  .footer-list {
    display: flex;
    grid-row: 1/2;
    grid-column: 1/4;
    font-size: 0.9rem;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    padding: 10px 0;
  }

  .footer-logo {
    grid-column: 1/2;
    grid-row: 2/3;
    justify-self: center;
    margin-left: 0;
  }

  .long-logo {
    grid-column: 2/3;
    grid-row: 2/3;
    justify-self: center;
    margin: 0;
  }

  .insta {
    grid-column: 3/4;
    grid-row: 2/3;
    justify-self: center;
    margin-right: 0;
  }
}

/* MOBILE - 428px and below */
@media (max-width: 428px) {
  .logo {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -10%;
    z-index: 1;
  }

  .icon-container {
    position: absolute;
    top: 20px;
    right: 8%;
    margin: 0;
    z-index: 2;
  }

  .nav-icon-one,
  .nav-icon-two,
  .nav-icon-three {
    width: 40px;
    border: 1.9px solid white;
  }

  .navigation {
    position: fixed;
    left: 0;
    right: 0;
    justify-self: start;
    background: linear-gradient(109.6deg, rgb(36, 45, 57) 11.2%, rgb(16, 37, 60) 51.2%, rgb(0, 0, 0) 98.6%);
    z-index: 100;
    height: 0;
    width: 100vw;
    overflow-y: auto;
    transition: height 0.5s ease-in-out;
  }

  .history-title,
  .service-title {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .history-btn,
  .service-btn {
    height: 40px;
    width: 100px;
    font-size: 0.8rem;
    color: black;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    align-items: center;
    padding: 10px 0;
  }

  .footer-list {
    display: flex;
    grid-row: 1/2;
    grid-column: 1/4;
    font-size: 0.9rem;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
    padding: 10px 0;
  }

  .footer-brand {
    grid-column: 1/2;
    grid-row: 2/3;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    margin-left: 25px
  }

  .footer-logo {
    width: 45px;
    height: 45px;
  }

  .long-logo {
    width: 80px;
    height: auto;
  }
  /* .footer-logo {
    grid-column: 1/2;
    grid-row: 2/3;
    width: 50px;
    height: 50px;
    justify-self: center;
    align-self: center;
    margin-left: -20px;
  }

  .long-logo {
    grid-column: 2/3;
    grid-row: 2/3;
    width: 80px;
    height: 80px;
    justify-self: start;
    align-self: center;
    margin-left: -40px;
  } */

  .insta {
    grid-column: 3/4;
    grid-row: 2/3;
    justify-self: center;
    align-self: center;
    margin-right: 4px;
  }
}

/* SMALL MOBILE - 375px and below */
@media (max-width: 375px) {
  .history-title,
  .service-title {
    font-size: 1.2rem;
  }
}

/* EXTRA SMALL - 320px and below */
@media (max-width: 320px) {
  .history-title,
  .service-title {
    font-size: 1rem;
  }

  ul {
    font-size: 1rem;
    line-height: 70px;
  }
}
