:root {
  --main-font: Roboto;
  --main-color: #1e202b;
  --secondary-color: #009ad8;
}

/* NAVBAR */
.navbar {
  background-color: var(--main-color);
  padding: 50px 0;

  .navbar-toggler {
    border-radius: 50%;
    transition: all 0.3s;
    border: solid 2px transparent;
    span {
      color: white;
      transition: all 0.3s;
    }

    &:hover {
      border-color: var(--secondary-color);

      span {
        color: var(--secondary-color);
      }
    }

    &:focus {
      box-shadow: none;
    }
  }

  .navbar-nav {
    background-color: #262936;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding: 20px;
  }

  .nav-link {
    padding: 0;
    color: white;
    font-family: var(--main-font);
    font-size: 14px;
    font-weight: 300;
  }

  .active {
    color: var(--secondary-color);
  }

  ul li:last-child {
    border-bottom: none;
  }

  figure {
    width: 64px;
    height: 38px;
  }

  figcaption {
    h1 {
      font-family: var(--main-font);
      font-size: 16px;
      font-weight: 700;
    }
    p {
      font-family: var(--main-font);
      font-size: 10px;
      font-weight: 300;
      color: #bfc1c8;
    }
  }

  a {
    text-decoration: none;
  }
}
/* NAVBAR END */

/* SEARCH */
.search {
  background-image: url("./../images/banner.png");
  height: 50vh;
}
.input-search {
  background-color: var(--main-color);
  border: none;
  outline: none;
  padding: 20px;
  border-radius: 30px;
  font-size: 14px;
  color: white;
  font-family: var(--main-font);
}

.search-container {
  position: relative;
}

button {
  border: none;
  outline: none;
  padding: 15px 40px;
  border-radius: 30px;
  background-color: var(--secondary-color);
  color: white;
  font-size: 14px;
  font-family: var(--main-font);
  font-weight: 400;
  position: absolute;
  top: 5px;
  right: 5px;
}
/* SEARCH END */

/* CARDS */
.cards {
  height: 105vh;
  background-color: var(--main-color);

  .card {
    .header {
      background-color: #2d303d;
      color: #bfc1c8;
      font-family: var(--main-font);
      font-size: 14px;
      font-weight: 400;
      padding: 10px;
    }

    .header.second {
      background-color: #222530;
    }

    .content.second {
      background-color: #262936;
    }
    .content {
      background-color: #323544;
      padding: 30px 20px;
      .city {
        font-family: var(--main-font);
        color: #bfc1c8;
        font-size: 18px;
        font-weight: 400;
        width: 100%;
      }
      .temp {
        color: white;
        font-family: var(--main-font);
        font-size: 90px;
        font-weight: 700;
      }
      .weather {
        font-family: var(--main-font);
        color: #009ad8;
        font-size: 14px;
        font-weight: 300;
      }

      .details {
        color: #bfc1c8;
        font-size: 14px;
        font-family: var(--main-font);
        font-weight: 300;
      }

      .info {
        .temp1 {
          color: white;
          font-family: var(--main-font);
          font-weight: 700;
          font-size: 24px;
        }
        .temp2 {
          color: #bfc1c8;
          font-family: var(--main-font);
          font-size: 16px;
          font-weight: 300;
        }
      }
    }
  }
}

.cards .card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.cards .content {
  flex-grow: 1;
}

.row {
  position: relative;
  bottom: 200px;
  left: 0;
}
/* CARDS END */

/* FOOTER */
footer {
  background-color: #262936;

  a {
    text-decoration: none;
  }

  ul {
    padding: 0;
  }
  p {
    font-family: var(--main-font);
    font-size: 14px;
    color: #bfc1c8;
    font-weight: 300;
    letter-spacing: 1px;
  }

  li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;

    &:hover {
      background-color: var(--secondary-color);

      i {
        color: white;
      }
    }
  }

  i {
    color: var(--secondary-color);
  }
}
