@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;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", sans-serif;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #3498db;
  position: fixed;
  width: 100%;
  height: 8vh;
  z-index: 1;
}

header .sectionName {
  display: block;
  color: white;
  padding: 10px 0px;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 1px;
}

header ul {
  margin-right: 10px;
  list-style: none;
  display: flex;
  gap: 2%;
}

header ul li {
  background-color: white;
  font-size: 95%;
  cursor: pointer;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all ease-in-out 0.25s;
}

header ul li:hover {
  background-color: #d3d1d1;
}

header ul li:nth-child(4) {
  margin-right: 10px;
}

header ul li a {
  font-size: 1.2rem;
  font-weight: bold;
  color: red;
}

main {
  height: 100vh;
  padding-top: 8vh;
  width: 100%;
  min-height: calc(100vh - 8vh);
  overflow-x: hidden;
}

section {
  height: auto;
  min-height: calc(100vh - 8vh);
  width: 100%;
  background-color: #f8f9fa;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}

section > :first-child > div {
  margin-top: 0;
}
