* {
  box-sizing: border-box;
  font-family: 'Glacial Indifference', sans-serif;
}

header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  filter: invert(1);
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.1);      
  backdrop-filter: blur(3px);                
  -webkit-backdrop-filter: blur(3px);         
  border: 1px solid rgba(255, 255, 255, 0.2); 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 0px 20px;
}

.smaller {
  color: grey;
  display: block;
  font-size: calc(0.5rem + 1.1vw);
}

h1 {
  font-size:calc(0.5rem + 5vw);
  margin: 0;
  font-family: "Oranienbaum", serif;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-size:calc(0.5rem + 1.5vw);
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.scroll1 .button {
  padding: 10px;
  border-radius: 10px;
  background: green;
  color: white;
}

.hero1 {
  grid-area: hero1;
  background-image: url("https://myatthitkoko.com/images/codespace-screenshot.jpeg");
}

.hero2 {
  grid-area: hero2;
  background-image: url("https://myatthitkoko.com/images/IMG_3804.jpeg");
  background-position: center;
}

.hero3 {
  grid-area: hero3;
  background-image: url("https://myatthitkoko.com/images/butterfly-swim.jpeg");
  background-position: bottom;
}

.hero4 {
  grid-area: hero4;
  background-image: url("https://myatthitkoko.com/images/thinking-pen.jpeg");
  background-position: center;
}

.caption1 {
  grid-area: caption1;
}

.caption2 {
  grid-area: caption2;
}

.caption3 {
  grid-area: caption3;
}

.caption4 {
  grid-area: caption4;
}

.footer {
  grid-area: footer;
  text-align: center;
}

.empty {
  height: 100px;
  background: red;
}

html, body {
  margin: 0;
  padding: 0;
}

.scroll1, .scroll2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scroll1 div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll1 .info {
  display: flex;
  align-items: flex-start;
  align-self: flex-start;
}

.scroll1 p {
  font-size: calc(0.5rem + 0.6vw);
}

.scroll1 .info p {
  margin: 0;
  display: flex;
  align-items: center;
  color: green;
  font-weight: bold;
}

.scroll1 .info img {
  width: 30px;
  height: 30px;
}

.scroll1-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll1 img,
.scroll2 img {
  width: 100%;
  max-width: 300px;
}

.pattern {
  height: 100px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 28' width='56' height='28'%3E%3Cpath fill='%23000000' fill-opacity='0.5' d='M56 26v2h-7.75c2.3-1.27 4.94-2 7.75-2zm-26 2a2 2 0 1 0-4 0h-4.09A25.98 25.98 0 0 0 0 16v-2c.67 0 1.34.02 2 .07V14a2 2 0 0 0-2-2v-2a4 4 0 0 1 3.98 3.6 28.09 28.09 0 0 1 2.8-3.86A8 8 0 0 0 0 6V4a9.99 9.99 0 0 1 8.17 4.23c.94-.95 1.96-1.83 3.03-2.63A13.98 13.98 0 0 0 0 0h7.75c2 1.1 3.73 2.63 5.1 4.45 1.12-.72 2.3-1.37 3.53-1.93A20.1 20.1 0 0 0 14.28 0h2.7c.45.56.88 1.14 1.29 1.74 1.3-.48 2.63-.87 4-1.15-.11-.2-.23-.4-.36-.59H26v.07a28.4 28.4 0 0 1 4 0V0h4.09l-.37.59c1.38.28 2.72.67 4.01 1.15.4-.6.84-1.18 1.3-1.74h2.69a20.1 20.1 0 0 0-2.1 2.52c1.23.56 2.41 1.2 3.54 1.93A16.08 16.08 0 0 1 48.25 0H56c-4.58 0-8.65 2.2-11.2 5.6 1.07.8 2.09 1.68 3.03 2.63A9.99 9.99 0 0 1 56 4v2a8 8 0 0 0-6.77 3.74c1.03 1.2 1.97 2.5 2.79 3.86A4 4 0 0 1 56 10v2a2 2 0 0 0-2 2.07 28.4 28.4 0 0 1 2-.07v2c-9.2 0-17.3 4.78-21.91 12H30zM7.75 28H0v-2c2.81 0 5.46.73 7.75 2zM56 20v2c-5.6 0-10.65 2.3-14.28 6h-2.7c4.04-4.89 10.15-8 16.98-8zm-39.03 8h-2.69C10.65 24.3 5.6 22 0 22v-2c6.83 0 12.94 3.11 16.97 8zm15.01-.4a28.09 28.09 0 0 1 2.8-3.86 8 8 0 0 0-13.55 0c1.03 1.2 1.97 2.5 2.79 3.86a4 4 0 0 1 7.96 0zm14.29-11.86c1.3-.48 2.63-.87 4-1.15a25.99 25.99 0 0 0-44.55 0c1.38.28 2.72.67 4.01 1.15a21.98 21.98 0 0 1 36.54 0zm-5.43 2.71c1.13-.72 2.3-1.37 3.54-1.93a19.98 19.98 0 0 0-32.76 0c1.23.56 2.41 1.2 3.54 1.93a15.98 15.98 0 0 1 25.68 0zm-4.67 3.78c.94-.95 1.96-1.83 3.03-2.63a13.98 13.98 0 0 0-22.4 0c1.07.8 2.09 1.68 3.03 2.63a9.99 9.99 0 0 1 16.34 0z'%3E%3C/path%3E%3C/svg%3E");
}

nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: white;
  height: 100vh;
  width: 100vw;
}

header div label {
  background: none;
  border: none;
}

header a img,
header div label img {
  width: 30px;
  height: 30px;
}

.contact-tag {
  display: none;
}

.nav-toggle {
  display: none;
}

footer h3 {
  margin: 0;
}

footer {
  background: #D6D6D6;
  padding: 30px;
}

footer img {
  height: 50px;
  width: 50px;
}

ul {
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  font-size: 2rem;
  position: absolute;
  padding: 0;
}

header a,
header div label span {
  display: flex;
  align-items: center;
}

.img-container {
  background-image: url("https://myatthitkoko.com/images/Kura.png");
  width: 100%;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1/1;
}

.scroll2 .img-container img {
  object-fit: cover;
}

.caption {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: clamp(100px, 15vw, 200px) 0.5fr 3fr 0.5fr 3fr 0.5fr;
  grid-template-areas: 
    "header header"
    "footer footer"
    "hero1 hero2"
    "caption1 caption2"
    "hero3 hero4"
    "caption3 caption4";
  height: 100vh;
}

.hero {
  background-size: cover;
}

.hero video {
  display: none;
}

.nav-toggle:checked ~ nav {
  display: flex;
}

nav label {
  height: clamp(100px, 15vw, 200px);
  display: flex;
  z-index: 1001;
  padding-left: 20px;
}

@media (min-width: 768px) and (hover:hover) {
  main {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: clamp(100px, 15vw, 200px) calc(100vh - 50px - clamp(100px, 15vw, 200px)) 50px;
  grid-template-areas: 
    "header header header header"
    "hero1 hero2 hero3 hero4"
    "caption1 caption2 caption3 caption4";
  }

  header {
    padding: 0;
  }

  nav label span img {
    margin-top: 20px;
  }

  h1 {
    font-size:calc(0.5rem + 7vw);
  }

  .footer {
   display: none; 
  }
  
  header a,
  header div,
  nav label span img {
    align-self: flex-start;
  }

  header a,
  header div {
    margin: 20px;
  }

  .contact-tag {
    display: flex;
  }
  
  .hero video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .hero:hover {
    background-image: none;
  }

  .hero video:hover {
    opacity: 1;
  }

  .hero1:hover ~ .caption1 {
    text-decoration: underline;
  }

  .hero2:hover ~ .caption2 {
    text-decoration: underline;
  }

  .hero3:hover ~ .caption3 {
    text-decoration: underline;
  }

  .hero4:hover ~ .caption4 {
    text-decoration: underline;
  }

  .hero1 video {
    object-position: left;
  }

  .scroll1 .button:hover {
    background: inherit;
    color: green;
    border: green solid 1px;
  }

  footer .socials img {
    transition: 1s ease;
  }

  footer .socials img:hover {
    background: cyan;
    margin-right: calc(100vw - 60px - 350px);
  }

  nav ul li {
    transition: all 0.3s ease;
  }
  
  nav ul li:hover {
    text-shadow:
    0 0 5px red,
    0 0 10px red,
    0 0 20px red,
    0 0 40px red;
  }
  
}
