.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.card {
  min-width: 282px;
  box-shadow: 2px 4px 12px var(--card-shadow-color);
  background-color: var(--card-bg-color);
  border-radius: 10px;
  transition: background-color 0.4s ease-out, color 0.4s ease-out;
}

.card a:hover:not(#profile.card a:hover) {
  color: #0e76ee;
  text-decoration: underline;
}

.card-title {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.card-subtitle {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.card-text {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.card-header {
  padding: 2rem 2rem 0;
  /* border-bottom: 2px solid #27272a; */
}

.card-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #e6e6e6;
  border-radius: 50%;
  margin: auto;
}

.card-body {
  padding: 2rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 6rem;
  height: 3.4rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #222222;
  --webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider > i.fi {
  position: absolute;
  height: 2.6rem;
  width: 2.6rem;
  left: 4px;
  bottom: 4px;
  border-radius: 50%;
  place-content: center;
  place-items: center;
  vertical-align: middle;
  text-align: center;
  background-color: white;
  --webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider > i.fi.fi-ss-moon-stars::before,
.slider > i.fi.fi-ss-sun::before {
  display: block;
}

.slider > i.fi.fi-ss-moon-stars {
  color: #dbdbdb;
}

.slider > i.fi.fi-ss-sun {
  color: #f8d511;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider > i.fi.fi-ss-moon-stars,
input:checked + .slider > i.fi.fi-ss-sun {
  --webkit-transform: translateX(2.6rem);
  --ms-transform: translateX(2.6rem);
  transform: translateX(2.6rem);
}

.slider.round {
  border-radius: 3.4rem;
}

.slider.round:before {
  border-radius: 50%;
}

@media screen and (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media screen and (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media screen and (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}
