@import "./base.css";

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;

  font-weight: normal;
}

.green {
  text-decoration: none;
  color: 	hsl(284, 100%, 72%);
  transition: 0.4s;
}

a,
.blue {
  text-decoration: none;
  color: 	hsl(260, 100%, 64%);
  transition: 0.4s;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(260, 100%, 64%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
}

icon {
  margin: 0 auto 2rem;
}


html {
  height: 100%;
  width: 100%;
}

header {
  line-height: 1.5;
}

.logo {
  display: block;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  header {
    place-items: center;

  }

  .logo {
    margin: 0 2rem 0 0;
  }

  header .wrapper {
    display: flex;
    place-items: flex-start;
    flex-wrap: wrap;
  }
}

.item {
  margin-top: 2rem;
  display: flex;
}

.details {
  flex: 1;
  margin-left: 1rem;
}

i {
  display: flex;
  place-items: center;
  place-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text);
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-heading);
}

@media (min-width: 1024px) {
  .item {
    margin-top: 0;
    margin-left: 30px;
    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
  }

  i {
    top: calc(50% - 25px);
    left: -26px;
    position: absolute;
    border: 1px solid var(--color-border);
    background: var(--color-background);
    border-radius: 8px;
    width: 50px;
    height: 50px;
  }

  .item:before {
    content: ' ';
    border-left: 1px solid var(--color-border);
    position: absolute;
    left: 0;
    bottom: calc(50% + 25px);
    height: calc(50% - 25px);
  }

  .item:after {
    content: ' ';
    border-left: 1px solid var(--color-border);
    position: absolute;
    left: 0;
    top: calc(50% + 25px);
    height: calc(50% - 25px);
  }

  .item:first-of-type:before {
    display: none;
  }

  .item:last-of-type:after {
    display: none;
  }
}

h1 {
  font-weight: 500;
  font-size: 2.6rem;
  top: -10px;
}

h3 {
  font-size: 1.2rem;
}

.theme-btn {
  width: 3em;
  height: 3em;
  padding: 0.5em;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  background-color: transparent;
  }
  .theme-btn img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  }

:root,
:root.light {
--bg-color: #fff;
--text-color: #123456;
--color-heading: #;
}
:root.dark {
--bg-color: #121212;
--text-color: #ffffff;
--color-heading: #dddddd;
}
:root.hidark {
--bg-color: #121212;
--text-color: #FF0;
--color-heading: #0FF;
}
:root.hilight {
  --color-heading: #FF00FF;
  --bg-color: #fff;
  --text-color: #0000FF;
}
:root.lodark {
  --bg-color: #121212;
  --text-color: #666;
  --color-heading: #888;
}
:root.lolight {
  --bg-color: #fff;
  --text-color: #AAA;
  --color-heading: #777;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  }