/*===========================
  Root Body & Global Layout
===========================*/
body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--blue);
  scrollbar-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/*===========================
  Hide All Scrollbars Globally
===========================*/
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/*===========================
  Hero Section
===========================*/
#texture {
  background-image:  url("/assets/textures/paint smear.png") !important;
  opacity:  .6;
}
.vh-cont {
  height: 100vh;
  width: 100vw;
  overflow-y: hidden;
  overflow-x: visible;
  background-color: var(--blue);
  z-index: 0;
  flex-grow: 1;
}

.image-block {
  height: 100vh;
  background-color: var(--blue);
  position: relative;
}

#image-layer {
  height: 100%;
  width: 100%;
  position: relative;
}

#lawnchair {
  object-fit: cover;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  position: relative;
  pointer-events: none;
}

.text-main {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: absolute;
  top: 0;
  background-color: transparent;
  font-size: 1.25em;
  overflow-y: hidden;
  gap: 50px;
}

.column3 {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: scroll;
  top: 104.0px;
  position: relative;
}

/*===========================
  Typography
===========================*/
h1 {
  color: var(--white);
  font-size: 6.2em;
  margin: 0;
  position: fixed;
  transform: translateX(-50%);
  text-align: center;
  left: 50vw;
  z-index: 5;
  text-wrap: nowrap;
  top: -10px;
}

.Erik {
  position: relative;
  left: .91px;
  top: 4px;
}

/*===========================
  Navigation Styles
===========================*/
nav {
  position: relative;
  top: 76.1px;
  overflow: scroll;
}

ul {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  margin: 0;
  min-height: 100%;
}

li {
  transition: transform 0.3s ease, text-shadow 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.5em;
  width: 100%;
  margin: 10px 0px;
  padding: 20px 0;
  color: var(--white);
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(5px);
  background-color: rgba(14,28,54,0.45);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
}
li:hover {
  cursor: pointer;
}
ul a:first-of-type li {
  margin-top: 20px;
}
ul a:last-of-type li {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  width: 80%;
}

/*===========================
  Background Bars
===========================*/
#bars {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100vw;
  height: 60px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

#bar1 {
  height: 20%;
  background-color: var(--orange);
}

#bar2 {
  height: 80%;
  background-color: var(--back);
}

/*===========================
  SVG Buttons
===========================*/
.menu-button {
  display: none;
  cursor: pointer;
  flex-shrink: 0;
}



/*===========================
  Effects & Utility Classes
===========================*/
.lift {
  transform: translate(3px, -3px);
  box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

/*===========================
  Media Queries
===========================*/

/* Large Screens */
@media (min-width: 1920px) {
  #lawnchair {
    height: 100vh;
    width: 100vw;
  }
}

/* Portrait only (≤768px, portrait orientation) */
@media (max-width: 768px) and (orientation: portrait) {  
  #texture {
    opacity: .4 !important;
  }
  #image-layer {
    z-index: 12;
    background-image: url('/assets/Lawn chair png cymb prophet 3 blue.png') !important;
    background-size: 200%;
    background-position: 20% bottom;
    background-repeat: no-repeat;
  }
  #bars {
    top: 21vw;
  }

  .text-main {
    display: flex;
    flex-direction: row;
    align-items: normal;
    justify-content: center;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: transparent;
  }

  .column3 {
    margin: 10px auto;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    font-size: .5em;
    border-radius: 10px;
    max-height: none;
    backdrop-filter: none;
    background-color: transparent;
    padding: 20px;
    padding-bottom: 0;
    height: fit-content;
    width: fit-content;
  }

  h1 {
    font-size: 4em;
    left: 99.6vw;
    top: .7vw;
    transform: translateX(-100%);
  }

  .Erik {
    position: relative;
    left: 0.7px;
  }

  nav {
    position: fixed;
    display: none;
    height: 100vh;
    width: 100vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    flex: none;
    overflow: hidden; /* prevent scroll */
  }

  ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90%;
    margin: 10% 0 0 0;
    padding: 0;
    width: 100%;
  }

  li {
    flex: 1; /* each li takes equal height */
    width: 100%; /* span full width */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    background-color: var(--back);
    box-sizing: border-box;
    height: 81%;
    padding: 20px 20px;
  }

  ul a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /*! height: 100%; */ /* fill the li */
    padding: 0 20px;
    box-sizing: border-box;
  }

  #bars {
    z-index: 2;
  }

  #lawnchair {
    display: none;
  }

  #menu-button {
    display: block;
  }

  #close-button {
    z-index: 100;
  }

  .menu-button {
    position: fixed;
    top: 1.6vw;
    left: 3vw;
  }
}
