@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --text-color: black;
  --bg-color: white;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body{
  background-color: var(--bg-color);
  color: var(--text-color);
}

html {
  scroll-behavior: smooth;
}

.StickyNavBar {
  background-color: var(--text-color);
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: space-between;
  transition: 0.6s;
  padding: 0.75% 0.5%; 
  z-index: 4;
}
.StickyNavBar ul {
  display: flex;
  justify-content: flex-start;
}
.StickyNavBar ul li {
  list-style: none;
}
@media only screen and (max-width: 930px) {
  .StickyNavBar ul {
    font-size: 5vw;
  }
  .dropbtn i {
    font-size: 5.5vw;
  }
  .dropbtn {
    font-size: 5vw;
  }
  .dropdown-content {
    font-size: 3.5vw;
  }
}
@media only screen and (min-width: 931px) {
.StickyNavBar ul {
  font-size: 2vw;
  }
  .dropbtn i {
    font-size: 2.5vw;
  }
  .dropdown-content {
    font-size: 2vw;
  }
}
.StickyNavBar ul li a {
  text-decoration: none;
  margin: 0px 1vw;
  color: var(--bg-color);
  transition: 0.6s;
  background-color: var(--text-color);
  border-radius: 3px;
}

.StickyNavBar ul li:hover a {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.sections {
  width: 95vw;
  margin: 10vh auto;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dropdown {
  margin-right: 1vw;
  position: relative;
  display: inline-block;
}

.dropbtn {
  border: none;
  background-color: var(--text-color);
  color: var(--bg-color);
  cursor: pointer;
  border-radius: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--text-color);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content a {
  color: var(--bg-color);
  padding: 0px 5px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: rgb(87, 87, 87);
  border-radius: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.theme-toggle {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  z-index: 4;
  border-radius: 50%;
  background-color: #333;
  cursor: pointer;
}

.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--bg-color);
}

#moon-icon {
  display: none;
}