body, h1, h2,p,ul,ol,li,nav,img {
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

#logo {
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  margin-right: 20px;
}


body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
}


header {
  background-color: #f8f8f8;
  padding: 10px 20px;
  text-align: center;
}

header #logo a {
  font-size: 24px;
  color: #333;
  text-decoration: none;
}

nav ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin-right: 20px;
  margin-top: none;
}

nav ul li input {
  font-size: 3vw;
  outline: none;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 2vw;
}

.py-slider {
  position: relative;
  top: 10px;
  left: 20px;
  width: 1.5vw;
  height: 0.8vw;
  font-size: 1.8vw;
  margin: 0vw 0; 
}

.py-slider ul {
  align-items: left;
  top: 0;
  width:  20vw;
  height: 0vw;
  padding: 0px; 
  list-style: none;
  padding: 0px;
  margin: 0;
  text-align: left;
  margin: 0px 0;
}

.py-slider ul li {
  transform: scale(1.2);
  margin-bottom: 20px;
  line-height: 0.6vw;
}

.py-slider ul li a {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 1em;
  margin-bottom: 0px;
  transition: color 0.3s ease;
}

.py-slider ul li a:hover {
  color: #007BFF; 
}


.pyramid {
  position: relative; 
  transform: scale(0.6);
  width: 60vw;
  height: 60vw;
  position: relative;
}

.pyramid div {
  font-size: 1.9vw;
}

.layer {
  position: absolute;
  width: 100%;
  height: 33.333%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.3s;
}

.top {
  top: 4.5%;
  background: rgb(214, 19, 19);
  width: 48%;
  height: 40%;
  left: 61%;
  clip-path: polygon(50% 0%, 100% 50%, 0% 50%);
}

.block {
  position: absolute;
  top: 75px;
}

.second {
  top: 0%;
  background: rgb(19, 143, 44);
  clip-path: polygon(50% 0%, 50%, 50%, 0% 50%);
}

.third {
  top: 25%;
  width: 25%;
  right: 15%;
  height: 24.5%;
  background: rgb(32, 138, 53);
  clip-path: polygon(30% 0%, 100%, 30%, 0% 30%);
}

.third-left-edge {
  top: 32%;
  transform: translateY(-50%);
  height: 35%;
  width: 120%;
  background: rgb(32, 138, 53);
  left: 0%;
  clip-path: polygon(50% 30%, 25% 100%, 50% 100%);
}

.third-right {
  top: 25%;
  width: 25%;
  left: 85.5%;
  height: 24.5%;
  background: rgb(233, 233, 28);
  clip-path: polygon(30% 0%, 100%, 30%, 0% 30%);
}

.third-right-edge {
  top: 60%;
  transform: translateY(-100%);
  height: 35%;
  width: 120%;
  left: 110%;
  background: rgb(233, 233, 28);
  clip-path: polygon(0% 0%, 25% 70%, 0% 70%);
}

.bottom {
  top: 58%;
  transform: translateY(-50%);
  background: rgb(36, 36, 167);
  width: 120%;
  height: -20%;
  left: 140%;
  clip-path: polygon(0% 25%, 28% 100%, 0% 100%);
}

.bottom-center-right {
  top: 50%;
  transform: translateY(-100%);
  transform: translateX(-100%);
  background: rgb(36, 36, 167);
  width: 54.75%;
  right: -95%;
  height: 24.5%;
  /* clip-path: polygon(50% 50%, 0% 20%, 0% 50%); */
}

.bottom-center-left {
  top: 50%;
  transform: translateY(-100%);
  transform: translateX(-100%);
  background: rgb(60, 50, 17);
  width: 55%;
  left: 85%;
  height: 24.5%;
  /* clip-path: polygon(50% 50%, 0% 20%, 0% 50%); */
}

.bottom-left {
  top: 50%;
  transform: translateY(-50%);
  background: rgb(60, 50, 17);
  width: 100%;
  height: 49%;
  left: -20%;
  clip-path: polygon(50% 50%, 20% 100%, 50% 100%);
}

.last {
  top: 75%;
  width: 174%;
  height: 25%;
  left: -0%;
  background: rgb(121, 44, 157);
  clip-path: polygon(50% 0%, 50%, 50%, 0% 50%);
}

.last-left {
  top: 75%;
  transform: translateY(-50%);
  background: rgb(121, 44, 157);
  width: 100%;
  height: 50%;
  left: -50%;
  clip-path: polygon(50% 50%, 20% 100%, 50% 100%);
}


.last-right {
  top: 83.5%;
  transform: translateY(-50%);
  background: rgb(121, 44, 157);
  width: 120%;
  height: -50%;
  left: 174%;
  clip-path: polygon(0% 25%, 25% 100%, 0% 100%);
}

.layer:hover {
  background-color: #225;
}

a {
  color: blue; /* Default link color */
  text-decoration: none;
}

a:hover {
  color: darkblue; /* Link color on hover */
  text-decoration: underline;
}

.py-slider a {
  color: blue; /* Ensure the links in .py-slider are blue */
}

.py-slider a:hover {
  color: darkblue; /* Ensure the links in .py-slider change color on hover */
}


@media (max-width: 768px) {
  body, h1, h2,p,ul,ol,li,nav,img {
    margin: 0;
    padding: 15px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 3.0;
    color: #333;
    background-color: #fff;
  }

  .py-slider ul li {
    margin-bottom: 0px;
    line-height: 0vw;
    font-size: smaller;
  }
}

@media (max-width: 480px) {
  h1, h2,p,ul,ol,nav,img {
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 3.0;
    color: #333;
    background-color: #fff;
  }

  .py-slider ul li {
    margin-bottom: -10px;
    line-height: 0vw;
  }
}