/* variaber */
:root {
  --primary-color: #6096b4;
  --second-color: #93bfcf;
  --sispan-color1: #bdcdd6;
  --sisipan-color2: #eee9da;
}

* {
  margin: 0;
  padding: 0;
  color: #222;
  font-family: tahoma, sans-serif, serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

li {
  list-style-type: disc;
  list-style-position: inside;
}

body {
  width: 100vw;
}

article {
  text-align: justify;
  padding: 0 1rem;
  margin-block: 2rem;
}

h2 {
  text-transform: capitalize;
  font-size: xx-large;
  margin-bottom: 0.5rem;
}

h3 {
  margin-top: 0.4rem;
  text-transform: capitalize;
}

p::first-letter {
  text-transform: capitalize;
}
/* awal header */
/* awal navbar */

header {
  background-color: var(--primary-color);
  position: fixed;
  width: 100vw;
  z-index: 2;
}

nav {
  max-width: 100%;
  display: flex;
  padding: 0.3rem 2rem;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

nav > div {
  height: 3rem;
}

.logo {
  height: 3rem;
  border-radius: 50%;
}

.menu {
  width: 3rem;
}

/* akhir navbar */
/* awal navitem */

header li {
  list-style: none;
}

.navItem {
  width: 35%;
  display: block;
  position: absolute;
  background-color: var(--second-color);
  top: 4rem;
  right: 0;
  border-radius: 5px 0 0 5px;
  padding: 6px 4px;
  transform-origin: left;
  overflow: hidden;
  transition: width 0.5s linear, opacity 0.1s linear 0.4s;
}

.triangle-line {
  width: 0.5em;
  margin-left: 1rem;
  transition: all 0.5s ease;
}

.collection-warp {
  width: max-content;
}

.navItem > li {
  font-size: larger;
  margin-block: 1rem;
  font-weight: bolder;
}

li > ul {
  padding-left: 1.5rem;
  transform-origin: top;
  height: 80px;
  overflow: hidden;
  font-size: medium;
  transition: all 0.5s ease;
}
/* akhir nav item */
/* akhir header */

/* awal main */
main {
  padding-top: 60px;
  position: relative;
}

.home {
  height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home div {
  text-align: center;
}

.home div h2 {
  font-size: 4rem;
  color: #222;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.p-tagline {
  font-size: larger;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-top: 2rem;
}

.p-tagline span {
  font-weight: bold;
  font-variant: small-caps;
  text-decoration: underline var(--primary-color) 3px;
}

p + button {
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  border: solid var(--primary-color) 3px;
  transition: background-color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

article {
  padding-block-start: 4rem;
}

aside {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background-color: transparent;
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transform-origin: center;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.7s ease;
}

.aside-wrap {
  background-color: whitesmoke;
  width: 70vw;
  padding: 3rem 2rem;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 0px 2px 1px black;
}

.kopi-aside {
  overflow: hidden;
  border-radius: 0.8rem;
  box-shadow: 2px 1px 5px black;
  margin-block: 1rem;
}

.next {
  align-self: flex-end;
  width: 5.5rem;
}

/* akhir main */

/* awal footer */
footer {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  border-block: 1px solid black;
  padding-block: 0.5rem;
  margin-block: 2rem;
}

.callToAction {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.callToAction a {
  color: #aaa;
}

.sosialMedia {
  display: flex;
  justify-content: center;
  margin-block: 1rem;
  column-gap: 2rem;
}

.sosialMedia div img {
  width: 2rem;
}

.copyRight {
  font-size: 0.8rem;
  text-align: center;
}
/* akhir footen */

/* for javascript interaction */
.rotate180 {
  rotate: 180deg;
}

.height-0 {
  height: 0px;
}

.width-0 {
  width: 0px;
}

.scale-0 {
  transform: scale(0);
}

.opacity-0 {
  opacity: 0;
}

/* css interaction */
p + button:active {
  background-color: var(--primary-color);
}

.callToAction a:hover {
  color: black;
}

.kopi {
  position: absolute;
  top: 5rem;
}

/* aside {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background-color: transparent;
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transform-origin: center;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.7s ease;
}

.aside-wrap {
  background-color: whitesmoke;
  width: 70vw;
  padding: 3rem 2rem;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 0px 2px 1px black;
}

.next {
  align-self: flex-end;
  width: 5.5rem;
} */

@media screen and (min-width: 426px) {
  .menu {
    display: none;
  }

  .navItem {
    width: 40vw;
    display: flex;
    justify-content: space-between;
    max-width: 300px;
    position: static;
    background-color: transparent;
    border-radius: none;
    padding: 0;
    overflow: visible;
    font-size: small;
    font-weight: 300;
  }

  .triangle-line {
    display: none;
  }

  .drop-down-parent {
    position: relative;
  }

  .collection-drop-down {
    position: absolute;
    left: -1rem;
    background-color: var(--second-color);
    top: 3rem;
    padding: 0.8rem 0.5rem;
    border-radius: 0.6rem;
  }

  main,
  footer {
    padding-inline: 5px;
    box-sizing: border-box;
  }

  main {
    display: flex;
  }

  .next {
    display: none;
  }

  aside {
    width: 12rem;
    position: static;
    margin-top: 10rem;
    overflow: visible;
    margin-right: 1.5rem;
    box-sizing: border-box;
  }
}
