@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

/* Add mobile-specific styles here */

.container-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: fixed;
  background-color: #000;
  inset: 0;
  z-index: 90;
  background-color: #000000;
  background-image: url('http://nhw.momberg.co.za/assets/img/GreyBackgroundNHW.svg');
  background-repeat: no-repeat;
  background-position: bottom+15% right;
  text-align: center;
  margin: 0 auto;
}

.container-main section {
  position: absolute;  
  top: 0;
  height: 100vh;
  width: 0;
  opacity: 0;
  transition: all ease-in .5s;
  display: flex;
  justify-content: center;
  align-items: center;
} 

.container-main section h1 {
  position: relative;
  color: #c4c3ca;
  font-size: 50px;
  text-transform: uppercase;
  opacity: 0;  
  margin-bottom: 40vh; 
  width: 400px;
}

/* Styles applied on trigger */
.container-main section:target {
  opacity: 1;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.container-main section:target h1 {
  opacity: 0;
  animation: 2s fadeIn forwards .5s;
}

@keyframes fadeIn {
  100% { opacity:1 }
}

.navbar {
  width: 400px;
  height: 58.33px;
  background: #c4c3ca;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;  
  bottom: 2vh;
  z-index: 50;
}

.navbar ul {
  display: flex;
  width: 350px;
}

.navbar ul li {
  position: relative;
  list-style: none;
  width: 58.33px;
  height: 58.33px;
  z-index: 1;
}

.navbar ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;  
  text-align: center;
  font-weight: 500;
}

.navbar ul li a .icon {
  position: relative;
  display: block;
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: #5a5560;
}

.navbar ul li.active a .icon {
  transform: translateY(-35px);
}

.navbar ul li a .text {
  position: absolute;
  color:#5a5560;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(20px);
}

.navbar ul li.active a .text {
  opacity: 1;
  transform: translateY(5px);
}

.navbar .indicator {
  position: absolute;
  top: -30px;
  width: 58.33px;
  height: 58.33px;
  background: #faed26;
  border-radius: 50%;
  border: 6px solid #000000;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -22px;
  width:20px;
  height: 20px;
  background:transparent;
}

.indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -22px;
  width:20px;
  height: 20px;
  background:transparent;
}

.navbar ul li:nth-child(1).active ~ .indicator {
  transform: translateX(calc(58.33px * 0));
}

.navbar ul li:nth-child(2).active ~ .indicator {
  transform: translateX(calc(58.33px * 1));
}

.navbar ul li:nth-child(3).active ~ .indicator {
  transform: translateX(calc(58.33px * 2));
}

.navbar ul li:nth-child(4).active ~ .indicator {
  transform: translateX(calc(58.33px * 3));
}

.navbar ul li:nth-child(5).active ~ .indicator {
  transform: translateX(calc(58.33px * 4));
}

.navbar ul li:nth-child(6).active ~ .indicator {
  transform: translateX(calc(58.33px * 5));
}



.input-field {
  background: #c4c3ca;
  width: 100%;
  padding: 10px;
  outline: none;
  font-family: "Poppins";
  border: 2px solid #333333;
}

.btn {
  margin-top: 1em;
  background-color: #c4c3ca;
  color: #5a5560;
  padding: 15px 20px;
  border: 1px;
  border-color: #3b373f;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
  font-size: 16px;
}

.btn:hover {
  opacity: 1;
}

a {
  color: #c4c3ca;;
}