header img {
  width: 8rem;
  height: 8rem;
  border-radius: 0%;

}

header h1 {
  font-size: 3rem;
}

header>div {
  margin-top: 1rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

header>div i {
  font-size: .9rem;
}

main>h3 {
  margin-bottom: .8rem;
  font-weight: 400;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link {
  border: 1.5px solid var(--purple);
  border-radius: 0 .8rem .8rem;
  box-shadow: 0 .1rem .3rem rgba(0, 0, 0, 0.137);
  padding: .8rem 1rem;
  width: 15rem;
  max-width: 20rem;
  text-align: center;
  transition: all 0.4s ease-in-out;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dark .link {
  color: var(--white);
}

.link:hover {
  background: var(--purple);
  color: var(--white);
  opacity: 1;
}

.socialIcons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: .9;
  height: 28px;
}

.social {
  padding: .2rem;
  margin: 0;
  transform: scale(1.5);
}

.dark .social i {
  color: white;
}

.social a:hover {
  opacity: .5;
}

.toggle {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}

label {
  cursor: pointer;
  text-indent: -9999px;
  width: 42px;
  height: 20px;
  background: grey;
  float: right;
  border-radius: 100px;
  position: relative;
}

label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 90px;
  transition: 0.3s;
}

input:checked+label {
  background-color: var(--bg-checked);
}

input:checked+label::after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
  background-color: var(--purple);
}

label:active:after {
  width: 45px;
}