*,*:before,*:after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html,body{
  width:100%;
  height:100%;
  font-family:tahoma;
}


.menu {
  position: fixed;
  top: 0; /* Adjusted to top */
  left: 0;
  width: 100%;
  background: #09e2f6;
  height: 100px; /* Adjust height as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.menu ul {
  list-style: none;
  margin: 0px;
  width: 100%;
  position: relative;
  padding: 0px;
  filter: url(#goo);
  z-index: 1;
  display: flex;
  justify-content: center; /* Center the menu items horizontally */
  align-items: center; /* Center the menu items vertically */
}

.menu ul .goo-index {
  display:none;
  width: 160px;
  height: 80px;
  background: white;
  position: absolute;
  left: 50%; /* Center the .goo-index horizontally */
  transform: translateX(-50%); /* Adjust position to center */
  top: 0;
  z-index: -1;
  border-radius: 100px 0 0 100px;
  transition: all 1s ease;
}


.menu ul li {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px; /* Adjust spacing between list items */
}

.menu ul span {
  background: white;
  border-radius: 50px;
  font-size: 25pt;
  width: 80px;
  height: 80px;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s ease;
  color: #333;
}




.menu ul .goo-index:before{
  content:'';
  position:absolute;
  width:30px;
  height:20px;
  border-radius:20px 0 0 20px;
  background-image:radial-gradient(circle at 10px 0, transparent 0 , transparent 20px , white 20px);
  top:-20px;
  left:60px;
 }

.menu ul .goo-index:after{
  content:'';
  position:absolute;
  width:30px;
  height:20px;
  border-radius:20px 0 0 20px;
  background-image:radial-gradient(circle at 10px 20px, transparent 0 , transparent 20px , white 20px);
  bottom:-20px;
  left:60px;
 }

.content-wrapper{
  width:calc(100% - 100px);
  position:relative;
  left:100px;
  height:100%;
  overflow:hidden;
  padding:50px;
  display:flex;
  justify-content:center;
}

.screen{
  width:calc(100% - 100px);
  max-width:800px;
  height:100%;
  position:absolute;
  top:-100%;
  background:white;
  opacity:0;
  display:grid;
  grid-template-rows:50px auto auto;
  grid-template-columns:100%;
  grid-template-areas:'heading' 'text' 'image';
  transition:all 1s ease;
  transition-delay:0s;
}

.screen.visible{
  top:50px;
  opacity:1;
  transition:all 1.5s ease;
  transition-delay:0.8s ease;
}

.screen h2{
  grid-area :heading;
}

.screen p{
  margin-top:40px;
  grid-area:text;
  text-align:center;
  justify-content:center;
  align-items:center;
  display:flex;
}

.image{
  width:100%;
  height:200px;
  border-radius:10px;
  background-size:cover;
  background-position:center center;
}

h2{
  font-size:25px;
  position:relative;
  text-align:center;
}

h2:after{
  content:'';
  position:absolute;
  width:70px;
  height:5px;
  background:#09e2f6;
  left:calc(50% - 35px);
  bottom:-15px;
}

