* {
  /* height: 100%; */
  width: 100%;
  overflow: hidden;
  font-family: "nasalization";
  transition: font-size 0.1s ease;
  box-sizing: border-box;
  /* border: clamp(1px, calc(0.3vw + 0.3vh), 2px) solid; */
}
body {
  background: #f3e6f3;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-width: 100vw;
  align-items: center;
  justify-content: center;
  display: flex;
}
.maindiv {
  border: #000000 2px solid;
  height: 99vh;
  width: 99vw;
}
.containerdiv {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header"
    "body"
    "footer";
  height: 99vh;
  width: 99vw;
}
.headerdiv {
  grid-area: header;
}

/* #region Menu related CSS */

.hmenu1,
.hmenu2,
.hmenu3,
.hmenu4 {
  color: white;
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  line-height: 0.7; /* add VH*/
  position: relative;
  background-color: #011a30;
}
a {
  /* background-color: #14293b; */
  height: 100%;
  border-radius: calc(1vw + 1vh);
  display: flex;
  justify-content: center;
  outline: 2px solid #2afd00;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  font-size: clamp(0.2rem, 4vw + 2vh, 5rem);
  z-index: 9;
}
@keyframes zoom {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(3deg) scale(0.97);
  }
}
a:hover,
a:focus {
  /* animation: zoom 0.4s ease-in-out infinite; */
  font-weight: 900;
}
a:hover::after,
a:focus::after {
  transform: scaleX(1);
}
a:not(.menuactive)::before {
  content: "";
  position: absolute;
  opacity: 0.1;
  background-color: #dee2e6;
  width: 100%;
  height: 100%;
  border-radius: calc(1vw + 1vh);
}
a::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.1em;
  width: 80%;
  height: 0.7vh;
  border-radius: 50%;
  background: #e74c3c;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s;
}

a.menuactive {
  background-color: #e74c3c;
  border-radius: calc(1vw + 1vh);
  color: #000;
}

a.menuactive::before {
  content: "";
  /* opacity: 1 !important; */
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.1em;
  width: 80%;
  height: 0.7vh;
  background: #fff;
  border-radius: 50%;
  z-index: 1;
}
a.menuactive::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.1em;
  width: 80%;
  height: 0.7vh;
  background: #fff;
  border-radius: 50%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s;
  z-index: 2;
}
a.menuactive:hover::after,
a.menuactive:focus::after {
  transform: scaleX(1);
}
a.menuactive:hover::before,
a.menuactive:focus::before {
  opacity: 0;
}
a.menuactive:hover,
a.menuactive:focus {
  /* animation: zoom 0.4s ease-in-out infinite; */
  font-weight: 900;
}
li.menuslider1 {
  border-radius: calc(1vw + 1vh);
  height: 100%;
  width: 20%;
  position: absolute;
  left: 0px;
  right: auto;
  top: 0px;
  z-index: 8;
  transition: transform 0.5s ease-in-out, background-color 0.5s;
}

li.menuslider2 {
  border-radius: calc(1vw + 1vh);
  height: 100%;
  width: 20%;
  position: absolute;
  left: auto;
  right: 0px;
  top: 0px;
  z-index: 8;
  transition: transform 0.5s ease-in-out, background-color 0.5s;
}
.hmenu1 li:nth-child(2):hover ~ .menuslider2,
.hmenu1 li:nth-child(2):focus ~ .menuslider2,
.hmenu1 li:nth-child(2):active ~ .menuslider2 {
  transform: translateX(-300%);
  background-color: #9b59b6;
}

/* .hmenu1 li:nth-child(3):hover ~ .menuslider1, 
  .hmenu1 li:nth-child(3):focus ~ .menuslider1, 
  .hmenu1 li:nth-child(3):active ~ .menuslider1 {
    left: 40%;
    background-color: #e67e22;
  } */
.hmenu1 li:nth-child(4):hover ~ .menuslider1,
.hmenu1 li:nth-child(4):focus ~ .menuslider1,
.hmenu1 li:nth-child(4):active ~ .menuslider1 {
  transform: translateX(300%);
  background-color: #e67e22;
}
.hmenu1 li:nth-child(5):hover ~ .menuslider1,
.hmenu1 li:nth-child(5):focus ~ .menuslider1,
.hmenu1 li:nth-child(5):active ~ .menuslider1 {
  transform: translateX(400%);
  background-color: #16a085;
}
.hmenu2 li:nth-child(1):hover ~ .menuslider2,
.hmenu2 li:nth-child(1):focus ~ .menuslider2,
.hmenu2 li:nth-child(1):active ~ .menuslider2 {
  transform: translateX(-400%);
  background-color: #3498db;
}

.hmenu2 li:nth-child(4):hover ~ .menuslider1,
.hmenu2 li:nth-child(4):focus ~ .menuslider1,
.hmenu2 li:nth-child(4):active ~ .menuslider1 {
  transform: translateX(300%);
  background-color: #e67e22;
}
.hmenu2 li:nth-child(5):hover ~ .menuslider1,
.hmenu2 li:nth-child(5):focus ~ .menuslider1,
.hmenu2 li:nth-child(5):active ~ .menuslider1 {
  transform: translateX(400%);
  background-color: #16a085;
}

.hmenu3 li:nth-child(1):hover ~ .menuslider2,
.hmenu3 li:nth-child(1):focus ~ .menuslider2,
.hmenu3 li:nth-child(1):active ~ .menuslider2 {
  transform: translate(-400%);
  background-color: #3498db;
}

.hmenu3 li:nth-child(2):hover ~ .menuslider2,
.hmenu3 li:nth-child(2):focus ~ .menuslider2,
.hmenu3 li:nth-child(2):active ~ .menuslider2 {
  transform: translate(-300%);
  background-color: #9b59b6;
}
.hmenu3 li:nth-child(5):hover ~ .menuslider1,
.hmenu3 li:nth-child(5):focus ~ .menuslider1,
.hmenu3 li:nth-child(5):active ~ .menuslider1 {
  transform: translate(400%);
  background-color: #16a085;
}

.hmenu4 li:nth-child(1):hover ~ .menuslider2,
.hmenu4 li:nth-child(1):focus ~ .menuslider2,
.hmenu4 li:nth-child(1):active ~ .menuslider2 {
  transform: translate(-400%);
  background-color: #3498db;
}

.hmenu4 li:nth-child(2):hover ~ .menuslider2,
.hmenu4 li:nth-child(2):focus ~ .menuslider2,
.hmenu4 li:nth-child(2):active ~ .menuslider2 {
  transform: translate(-300%);
  background-color: #9b59b6;
}

.hmenu4 li:nth-child(4):hover ~ .menuslider1,
.hmenu4 li:nth-child(4):focus ~ .menuslider1,
.hmenu4 li:nth-child(4):active ~ .menuslider1 {
  transform: translate(300%);
  background-color: #e67e22;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.logo-img {
  width: 24%;
  border-radius: 50%;
  transition: filter 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
@keyframes logo-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes logo-spin-reverse {
  0% {
    transform: rotate(360deg) scale(1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}
@keyframes logo-glow {
  0%,
  100% {
    box-shadow: 0 0 0px #e74c3c, 0 0 20px #011a30;
  }
  50% {
    box-shadow: 0 0 32px #e74c3c, 0 0 48px #fff;
  }
}
.logo-img:hover,
.logo-img:focus {
  /* animation: logo-spin 1.5s linear infinite, logo-glow 1s alternate infinite; */
  animation: logo-spin 1.5s linear infinite;
  filter: brightness(1.5) saturate(1.3) drop-shadow(0 0 12px #4ff103);
}
.logo-img.reverse-spin {
  animation: logo-spin-reverse;
  animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
/* #endregion Menu related CSS*/

.bodydiv {
  display: flex;
  grid-area: body;
  background-color: #e8e7d6;
  border: #000000 2px solid;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(calc(10vh + 10vw));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.solar-wrapper {
  animation: fadeIn 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  height: 100%;
  /* border: #2afd00 2px solid;
  border-radius: calc(1vh + 2vw); */
  /* height: 70%;
  width: 60%; */
}
.footerdiv {
  grid-area: footer;
  font-size: clamp(4px, 2vw + 1vh, 16px);
  background-color: #011a30;
  border: #000000 2px solid;
  text-align: center;
  margin: 0;
  padding: 0;
}
.footerdiv p {
  color: #fff;
  margin: 0;
  padding: 0;
}
