* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  user-select: none;
}

header .accessibility_logo_cont {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgb(10, 20, 110);
  background: linear-gradient(rgb(10, 20, 110), #0071EB);
  color: white;

}

.main_menu ul {
  list-style: none;
  display: flex;
  margin: 5px;
  flex-direction: column;
  justify-content: center;

}

.main_menu ul li {
  padding: 20px;
  font-size: 20px;
}

.main_menu ul li a {
  color: black;
  text-decoration: none;
  margin: 10px;
}

:root {
  --p-bg-color-1: rgb(10, 20, 110);
  --p-bg-color-2: #0071EB;
  --white: white;
  --blue: blue;
  --black: black;
  --cornflowerblue: cornflowerblue;
  --warm-yellow: rgb(249, 202, 36);
  --vibrant-orange: rgb(240, 147, 43);

}


.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.menu {
  list-style: none;
  display: flex;
}

.menu li {
  margin-right: 10px;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.menu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 10;

}

header div {
  padding: 10px;
}


header .header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.header-actions div {
  cursor: pointer;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 10;

}

.logo {
  background: linear-gradient(to bottom right, var(--p-bg-color-1), var(--p-bg-color-2));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 24px;
  font-weight: bold;
  font-family: cursive;
  margin-left: 40px;
  cursor: pointer;
}

header .header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.header-actions div {
  cursor: pointer;
}


/* Accessibility */
#accessibility {
  display: inline-block;
  position: relative;
}

.accessibility_menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#accessibility:hover .accessibility_menu {
  display: block;
}

.accessibility_menu li {
  margin-bottom: 5px;
}

.accessibility_menu a {
  text-decoration: none;
}


/* Google Translate */
#google_translate_element {
  margin: 10px;
  display: inline-block;
  border: 1px solid #ccc;
  padding: 15px;
}

#google_translate_element select {
  padding: 5px;
  border-radius: 30px;
}




.converter-box {
  width: fit-content;
  margin: auto;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.converter-box>div {
  display: flex;
  flex-direction: row;
  padding: 10px;
  justify-content: center;
  width: fit-content;
  margin: auto;
}

.converter-box div div {
  margin: 10px;
  padding: 10px;
}

label {
  margin: 5px;
}

.converter-box div div select,
.converter-box div div input {
  padding: 10px;

}

.btn {
  border: 1px solid var(--p-bg-color-2);
  background-color: var(--white);
  border-radius: 50px;
  color: var(--p-bg-color-2);
  cursor: pointer;
  padding: 10px;
  width: fit-content;
}

.btn:hover {
  border: 1px solid var(--p-bg-color-2);
  background-color: var(--p-bg-color-2);
  color: var(--white);
}

.convert-btn,
.unit-converter-popup button,
.currency-converter-popup button,
.area-converter-popup button {
  padding: 10px;
  margin: auto;
  display: flex;
  border-radius: 5px;
  border: 1px solid #0071EB;
  color: #0071EB;

}

.convert-btn:hover {
  background-color: #0071EB;
  color: white;
}

.currency-converter-popup,
.unit-converter-popup,
.area-converter-popup {
  display: flex;
  width: 100%;
  margin: auto;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  text-align: center;
  color: black;
  justify-content: center;
  align-items: center;
  display: none;
  animation-name: popup;
  animation-duration: 0.5s;
  position: absolute;
  top: -10px;
  left: 0;
  bottom: 0;
  z-index: 2;
  background-color: aliceblue;
  flex-direction: column;
  overflow: hidden;

}

.currency-converter-popup p,
.unit-converter-popup p,
.area-converter-popup p {
  margin-top: 20px;
}



#result {
  display: flex;
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#result h3 {
  color: #333;
}

#result p {
  display: none;
  margin: 10px 0;
  font-weight: bold;
}

@keyframes popup {
  from {
    width: 0;
    height: 100%;
    background-color: transparent
  }

  to {
    width: 100%;
    height: 100%;
    background-color: aliceblue;
  }
}




/* footer */

footer {
  background: rgb(10, 20, 110);
  background: linear-gradient(rgb(10, 20, 110), #0071EB);
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex-basis: 33.33%;
  padding: 0 20px;
}

footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

footer p {
  color: #fff;
  margin-bottom: 10px;
  text-align: justify;
}

.social-media-icons {
  margin-top: 10px;
}

.social-media-icons a {
  display: inline-block;
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
}

.social-media-icons a:last-child {
  margin-right: 0;
}



/* menu */


#menu_bar {
  display: block;
  cursor: pointer;
}

.main_menu {
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main_menu.show-menu {

  display: block;
  position: fixed;
  background: white;
  opacity: 1;
  border-right: 1px solid;
  border-bottom: 1px solid;
  z-index: 2;
}


.main_menu ul li:hover {
  border: 1px solid;
  border-image: linear-gradient(rgb(10, 20, 110), #0071EB);
  border-image-slice: 1;
}

main>h2 {
  text-align: center;
  margin-top: 20px;
}










/* CSS for the feature section */
h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #000;
}

#features-head {
  margin-top: 20px;
}

#features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  text-align: center;
  margin-top: 40px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.feature {
  background-color: #f7f7f7;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #000;
}

.feature h3 {
  margin-bottom: 10px;
  color: #000;
}

.feature p {
  color: #000;
}

@keyframes slide-in {
  0% {
    opacity: 1;
    font-size: 16px;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    font-size: 18px;
    transform: scale(1.1);
  }
}

/* footer creator details section*/



.footer-copy {
  text-align: center;
  margin-top: 40px;
  padding: 40px;
  background: linear-gradient(45deg, #0071EB, #00C6FF);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: black;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s;
  transform: rotateY(20deg);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  font-size: 20px;

}

.created-by {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.name {
  margin: 0 10px;
}

.author {
  font-weight: bold;
  color: black;
}

.roll-no {
  margin-top: 10px;
}

.label {
  font-weight: bold;
}

.roll {
  display: inline-block;
  margin: 0 5px;
}

.course {
  margin-top: 10px;
}

.college {
  margin-top: 10px;
  font-style: italic;
}

.copy-right {
  margin-top: 20px;
}





/*  ads style*/
#ads_section {
  margin-top: 20px;
  margin-bottom: 20px;
  display: none;
}

.promo-container {
  display: flex !important;
  margin: auto !important;
  align-items: center !important;
  max-width: 500px !important;
  padding: 16px !important;
  background-color: #f1f1f1 !important;
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
  position: relative !important;
}

.promo-image {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin-right: 16px !important;
}

.promo-content h3 {
  display: inline-block;
}

.promo-title-last {
  float: right;
  padding-right: 10px;
}

.promo-title {
  font-weight: bold !important;
  margin-bottom: 8px !important;
  color: black !important;
  font-size: 16px !important;
}

.promo-description {
  margin-bottom: 8px !important;
  color: black !important;
  font-size: 16px !important;

}

.promo-cta {
  display: inline-block !important;
  padding: 8px 16px !important;
  background-color: #4285f4 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  font-size: 16px !important;

}

.promo-close {
  cursor: pointer !important;
  font-size: 25px !important;
  margin-right: 8px !important;
  color: #000 !important;
  position: absolute !important;
  right: 0px !important;
  top: 0px !important;
}

.promo-close:hover {
  color: #333 !important;
}


#video-container {
  margin: auto;
  display: flex;
  justify-content: center;


}

#mute-button {
  margin: auto;
  display: flex;
  justify-content: center;
}

/* leaves UI */

/* leaf animations */

#leaves {
  position: relative;
  top: -50px;
  width: 100%;
  text-align: right;
}

#leaves i {
  display: inline-block;
  width: 200px;
  height: 150px;
  background: linear-gradient(to bottom right, #309900, #005600);
  transform: skew(20deg);
  border-radius: 5% 40% 70%;
  box-shadow: inset 0px 0px 1px #222;
  border: 1px solid #333;
  z-index: 1;
  -webkit-animation: falling 5s 0s infinite;
}

#leaves i:nth-of-type(2n) {
  -webkit-animation: falling2 5s 0s infinite;
}

#leaves i:nth-of-type(3n) {
  -webkit-animation: falling3 5s 0s infinite;
}

#leaves i:before {
  position: absolute;
  content: '';
  top: 117px;
  right: 9px;
  height: 27px;
  width: 32px;
  transform: rotate(49deg);
  border-radius: 0% 15% 15% 0%;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  border-left: 0px solid #222;
  border-right: 1px solid #222;
  background: linear-gradient(to right, rgba(0, 100, 0, 1), #00ff00);
  z-index: 1;
}

#leaves i:after {
  content: '';
  height: 125px;
  width: 10px;
  background: linear-gradient(to right, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0));
  display: block;
  transform: rotate(125deg);
  position: absolute;
  left: 85px;
  border-radius: 50%;
}


#leaves i:nth-of-type(n) {
  height: 23px;
  width: 30px;
}

#leaves i:nth-of-type(n):before {
  width: 7px;
  height: 5px;
  top: 17px;
  right: 1px;
}

#leaves i:nth-of-type(n):after {
  width: 2px;
  height: 17px;
  left: 12px;
  top: 0px;
}

#leaves i:nth-of-type(2n+1) {
  height: 11px;
  width: 16px;
}

#leaves i:nth-of-type(2n+1):before {
  width: 4px;
  height: 3px;
  top: 7px;
  right: 0px;
}

#leaves i:nth-of-type(2n+1):after {
  width: 2px;
  height: 6px;
  left: 5px;
  top: 1px;
}

#leaves i:nth-of-type(3n+2) {
  height: 17px;
  width: 23px;
}

#leaves i:nth-of-type(3n+2):before {
  height: 4px;
  width: 4px;
  top: 12px;
  right: 1px;
}

#leaves i:nth-of-type(3n+2):after {
  height: 10px;
  width: 2px;
  top: 1px;
  left: 8px;
}

#leaves i:nth-of-type(n) {
  -webkit-animation-delay: 1.9s;
}

#leaves i:nth-of-type(2n) {
  -webkit-animation-delay: 3.9s;
}

#leaves i:nth-of-type(3n) {
  -webkit-animation-delay: 2.3s;
}

#leaves i:nth-of-type(4n) {
  -webkit-animation-delay: 4.4s;
}

#leaves i:nth-of-type(5n) {
  -webkit-animation-delay: 5s;
}

#leaves i:nth-of-type(6n) {
  -webkit-animation-delay: 3.5s;
}

#leaves i:nth-of-type(7n) {
  -webkit-animation-delay: 2.8s;
}

#leaves i:nth-of-type(8n) {
  -webkit-animation-delay: 1.5s;
}

#leaves i:nth-of-type(9n) {
  -webkit-animation-delay: 3.3s;
}

#leaves i:nth-of-type(10n) {
  -webkit-animation-delay: 2.5s;
}

#leaves i:nth-of-type(11n) {
  -webkit-animation-delay: 1.2s;
}

#leaves i:nth-of-type(12n) {
  -webkit-animation-delay: 4.1s;
}

#leaves i:nth-of-type(13n) {
  -webkit-animation-delay: 1s;
}

#leaves i:nth-of-type(14n) {
  -webkit-animation-delay: 4.7s;
}

#leaves i:nth-of-type(15n) {
  -webkit-animation-delay: 3s;
}

#leaves i:nth-of-type(n) {
  background: linear-gradient(to bottom right, #309900, #005600);
}

#leaves i:nth-of-type(2n+2) {
  background: linear-gradient(to bottom right, #5e9900, #2b5600);
}

#leaves i:nth-of-type(4n+1) {
  background: linear-gradient(to bottom right, #990, #564500);
}

#leaves i:nth-of-type(n) {
  opacity: .7;
}

#leaves i:nth-of-type(3n+1) {
  opacity: .5;
}

#leaves i:nth-of-type(3n+2) {
  opacity: .3;
}

#leaves i:nth-of-type(n) {
  transform: rotate(180deg);
}


#leaves i:nth-of-type(n) {
  -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes falling {

  0% {
    -webkit-transform:
      translate3d(300, 0, 0) rotate(0deg);
  }

  100% {
    -webkit-transform:
      translate3d(-350px, 700px, 0) rotate(90deg);
    opacity: 0;
  }
}

@-webkit-keyframes falling3 {
  0% {
    -webkit-transform:
      translate3d(0, 0, 0) rotate(-20deg);
  }

  100% {
    -webkit-transform:
      translate3d(-230px, 640px, 0) rotate(-70deg);
    opacity: 0;
  }
}

@-webkit-keyframes falling2 {
  0% {
    -webkit-transform:
      translate3d(0, 0, 0) rotate(90deg);
  }

  100% {
    -webkit-transform:
      translate3d(-400px, 680px, 0) rotate(0deg);
    opacity: 0;
  }
}


.accordion-container {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 5px;
  overflow: hidden;
}

.accordion-header {
  padding: 10px;
  cursor: pointer;
  background-color: #f1f1f1;
}

.accordion-content {
  padding: 10px;
  display: none;
}