body {
  margin: 0;
}
body.dark .container {
  background: linear-gradient(180deg, #040918 0%, #091540 100%);
  align-items: flex-start;
  min-height: 100vh;
}
.container {
  background: linear-gradient(180deg, #ebf2fc 0%, #eef8f9 100%);
  align-items: flex-start;
  min-height: 100vh;
}
.heading-div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  font-family: "Noto Sans", sans-serif;
}
body.dark .heading {
  background-color: hsl(0, 0%, 78%, 20%);
  max-width: 100%;
  width: 1300px;
  display: flex;
  border-radius: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.heading {
  background-color: hsl(200, 60%, 99%);
  max-width: 100%;
  width: 1300px;
  display: flex;
  border-radius: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  color: hsl(0, 0%, 78%);
}
body.dark .theme {
  background-color: hsl(0, 0%, 78%, 20%);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
body.dark .theme:hover {
  background-color: hsl(0, 0%, 78%, 50%);
}
.theme {
  background-color: hsl(0, 0%, 78%, 20%);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.theme:hover {
  background-color: hsl(0, 0%, 78%);
}
.extension-type-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Noto Sans", sans-serif;
  margin: 2rem 4rem 0 4rem;
}
body.dark .title h1 {
  color: hsl(200, 60%, 99%);
  font-family: "Noto Sans", sans-serif;
}
.title h1 {
  color: hsl(227, 75%, 14%);
  font-family: "Noto Sans", sans-serif;
}
.type-btn-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.dark .all-btn.focused {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: hsl(3, 86%, 64%);
  color: hsl(227, 75%, 14%);
  max-width: 100%;
  width: auto;
  padding: 1rem;
  height: 35px;
  border: none;
  border-radius: 3rem;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
}
.all-btn.focused {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: hsl(3, 86%, 64%);
  color: hsl(200, 60%, 99%);
  max-width: 100%;
  width: auto;
  padding: 1rem;
  height: 35px;
  border: none;
  border-radius: 3rem;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
}
body.dark .active-btn,
body.dark .inactive-btn {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: hsl(0, 0%, 78%, 20%);
  color: white;
  max-width: 100%;
  width: auto;
  padding: 1rem;
  height: 35px;
  border: none;
  border-radius: 3rem;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  border: 1px solid hsl(0, 0%, 78%, 20%);
}
body.dark .active-btn:hover,
body.dark .inactive-btn:hover {
  background-color: hsl(0, 0%, 78%, 50%);
}
.active-btn,
.inactive-btn {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: hsl(200, 60%, 99%);
  color: hsl(227, 75%, 14%);
  max-width: 100%;
  width: auto;
  padding: 1rem;
  height: 35px;
  border: none;
  border-radius: 3rem;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  border: 1px solid hsl(0, 0%, 78%, 20%);
}
.active-btn:hover,
.inactive-btn:hover {
  color: hsl(225, 23%, 24%);
}
.extension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  padding: 2rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

body.dark .extension {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background-color: hsl(0, 0%, 78%, 20%);
  padding: 1rem;
}
.extension {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background-color: hsl(200, 60%, 99%);
  padding: 1rem;
}
.extension-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

body.dark .extension-desc {
  margin-top: 0;
  color: hsl(0, 0%, 78%);
  font-family: "Noto Sans", sans-serif;
}
.extension-desc {
  margin-top: 0;
  color: hsl(227, 75%, 14%);
  font-family: "Noto Sans", sans-serif;
}
body.dark .extension-name {
  margin-bottom: 5px;
  color: hsl(200, 60%, 99%);
  font-family: "Noto Sans", sans-serif;
}
.extension-name {
  margin-bottom: 5px;
  color: hsl(227, 75%, 14%);
  font-family: "Noto Sans", sans-serif;
}
.toggle-div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
body.dark .remove-btn {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: hsl(0, 0%, 78%, 10%);
  color: white;
  max-width: 100%;
  width: auto;
  padding: 1rem;
  height: 35px;
  border: none;
  border-radius: 3rem;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  border: 1px solid hsl(0, 0%, 78%, 20%);
}
body.dark .remove-btn:hover {
  background-color: hsl(3, 86%, 64%);
  color: hsl(227, 75%, 14%);
}
.remove-btn {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: hsl(200, 60%, 99%);
  color: hsl(227, 75%, 14%);
  max-width: 100%;
  width: auto;
  padding: 1rem;
  height: 35px;
  border: none;
  border-radius: 3rem;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  border: 1px solid hsl(227, 75%, 14%);
}
.remove-btn:hover {
  background-color: hsl(3, 86%, 64%);
  color: hsl(227, 75%, 14%);
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: hsl(3, 86%, 64%);
}

input:checked + .slider:before {
  transform: translateX(18px);
}
