@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:400,700&display=swap");
:root {
  --background-color-prim: rgba(24, 24, 24, 1);
  --background-color-sec: rgba(40, 40, 40, 1);
  --label-color-prim: rgba(40, 40, 40, 1);
  --label-color-sec: #fff;
  --theme-elevate: rgba(40, 40, 40, 1);
}

[data-theme="light"] {
  --background-color-prim: #F5F5F7;
  --background-color-sec: #fff;
  --label-color-prim: #fff;
  --label-color-sec: #000;
  --theme-elevate: rgba(255, 255, 255, 1);
}

body {
  background: var(--background-color-prim);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

#logo {
  width: 100%;
  height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 24px;
}

#logo svg {
  fill: var(--label-color-sec);
  width: 250px;
}

#family {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  margin-top: 40px;
}

#family .card-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#family .card-group .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--background-color-sec);
  margin: 0 auto 16px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#family .card-group .card {
  font-family: 'Roboto Mono', monospace;
  width: 300px;
  background: var(--background-color-sec);
  border-radius: 4px;
  padding: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#family .card-group .card img {
  width: 100%;
}

#family .card-group .card .name {
  font-size: 32px;
  font-weight: 700;
  color: var(--label-color-sec);
  margin: 24px 0 0 0;
}

#family .card-group .card .mail {
  font-size: 16px;
  font-weight: 400;
  color: var(--label-color-sec);
  margin: 12px 0 24px 0;
}

.card_second {
  margin: 48px 0 0 0;
}

.cards_second {
  margin: 48px 0 0 0;
}

#pets {
  margin: 80px auto 0 auto;
  width: 300px;
  border-top: 2px solid var(--background-color-sec);
  border-radius: 2px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#pets .cat {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--background-color-sec);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 64px;
}

#pets .cat:nth-child(2) {
  margin: 64px 32px 0 32px;
}

#bottom {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 80px 0 80px 0;
}

#bottom #theme_button {
  position: relative;
  height: 40px;
  width: 64px;
  border-radius: 20px;
  background: var(--theme-elevate);
  overflow: hidden;
  cursor: pointer;
  overflow: visible;
}

#bottom #theme_button #theme_track {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  height: 32px;
  width: 32px;
  background: linear-gradient(45deg, #4BB7FF, #9A95ED);
  border-radius: 16px;
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  -webkit-transition: -webkit-transform 400ms 100ms;
  transition: -webkit-transform 400ms 100ms;
  transition: transform 400ms 100ms;
  transition: transform 400ms 100ms, -webkit-transform 400ms 100ms;
}

#bottom #theme_button #theme_track.active {
  background: linear-gradient(45deg, #ED3838, #FFAB5B);
  -webkit-transform: translateX(-24px);
          transform: translateX(-24px);
}

#bottom #theme_button #theme_thumb {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  height: 20px;
  width: 20px;
  background: var(--theme-elevate);
  border-radius: 10px;
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  -webkit-transition: -webkit-transform 400ms 100ms;
  transition: -webkit-transform 400ms 100ms;
  transition: transform 400ms 100ms;
  transition: transform 400ms 100ms, -webkit-transform 400ms 100ms;
}

#bottom #theme_button #theme_thumb.active {
  -webkit-transform: translateX(-36px) scale(0);
          transform: translateX(-36px) scale(0);
}

/* ---------- Responsive Behaviour ----------*/
@media (min-width: 800px) {
  #logo {
    margin-top: 40px;
  }
  #logo svg {
    width: 350px;
  }
  #family {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 80px;
  }
  #family .card-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .card_second {
    margin: 0 0 0 40px;
  }
  .cards_second {
    margin: 56px 0 0 0;
  }
  #pets {
    width: 300px;
    border-top: none;
  }
  #pets .cat {
    margin-top: 20px;
  }
  #pets .cat:nth-child(2) {
    margin: 20px 32px 0 32px;
  }
}

@media (max-width: 340px) {
  #family .card {
    width: 260px;
  }
  #pets {
    width: 260px;
  }
  #pets .cat:nth-child(2) {
    margin: 64px 24px 0 24px;
  }
}
/*# sourceMappingURL=main.css.map */