* {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  list-style: none;
}

h1,
h2,
h3 {
  color: #333;
}

p {
  color: #70747a;
}

/*? Barra de navegação */

.navbar-container {
  width: 100%;
  height: 80px;
  background-color: #232a31;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1;

  & nav {
    position: relative;
  }

  & img {
    width: 50px;
    margin-top: 0.9rem;
  }

  & .navbar-items {
    position: absolute;
    right: 0;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    margin: 0;

    & .navbar-item {
      display: inline-block;
      list-style: none;
      text-transform: uppercase;
      margin-left: 25px;

      & a {
        text-decoration: none;
        color: #fff;
        transition: 0.5s;
      }

      & a:hover {
        color: #4e725d;
      }

      & .default-btn {
        background-color: #2cc76a;
        color: #fff;
        border-radius: 10px;
        padding: 0.9rem 1.25rem;
        transition: all 0.5s ease-in-out;
        border: 2px solid transparent;
        color: #fff;
      }

      & .default-btn:hover {
        background-color: transparent;
        border: 2px solid #2cc76a;
        color: #2cc76a;
      }
    }
  }

  & i {
    display: none;
  }
}

/*? Banner */

.main-banner {
  background-image: url(../img/mainbanner.png);
  background-position: center;
  background-size: cover;
  padding: 10rem 0;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.5);

  & h1 {
    text-align: center;
    color: #fff;
    text-shadow: #000 3px 2px 3px;
    font-weight: bold;
    font-size: 3.37em;
  }

  & p {
    text-align: center;
    color: #fff;
    text-shadow: #000 3px 2px 3px;
    font-weight: bold;
    font-size: 2em;
  }
}

/*? Seção serviços*/

.service-container {
  padding: 8rem 0;

  & ul {
    display: flex;
    width: 90%;
    margin: 0 auto;
    gap: 20px;

    & li {
      flex: 1 1 200px;
      list-style: none;
      text-align: center;
      padding: 20px;
      border: 2px solid #ddd;
      border-radius: 18px;

      & .fas {
        font-size: 60px;
        margin-bottom: 30px;
      }

      & .fa-shield-alt {
        color: #2cc76a;
      }

      & .fa-rocket {
        color: #ef3f29;
      }

      & .fa-comments {
        color: #ef8f29;
      }

      & h3 {
        margin-bottom: 23px;
      }

      & p {
        line-height: 24px;
        text-align: justify;
      }
    }
  }
}

/*? Seção de preços */

.pricing-container {
  padding-bottom: 5rem;
  text-align: center;

  & h2 {
    font-size: 2.25em;
    margin-bottom: 2rem;
  }

  & p {
    font-size: 1.25em;
    color: #000;
  }

  & .plans-container {
    display: flex;
    justify-content: space-around;
    width: 90%;
    margin: 50px auto 0;

    & .plan {
      flex: 1;
      max-width: 17.1rem;
      margin: 0 1.25rem;

      & ul {
        padding: 0;
        & li {
          height: 3.1rem;
          line-height: 3.1rem;
          color: #333;
          background-color: #e8e9ea;
        }
      }

      & .price {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        line-height: 120px;
        text-align: center;
        background-color: #2cc76a;
        color: #fff;
        font-weight: bold;
        margin: 0 auto -50px;
        position: relative;
      }
      & .plan-name {
        text-transform: uppercase;
        font-size: 20px;
        font-weight: bold;
        padding: 50px 0;
        background-color: #292929;
        color: #fff;
        border-radius: 15px 15px 0 0;
      }

      & .price-btn {
        font-size: 24px;
        height: 75px;
        line-height: 75px;
        background-color: #2cc76a;
        color: #fff;
        cursor: pointer;
        border-radius: 0 0 15px 15px;
      }

      & .recommend {
        background-color: #f45c57;
      }
    }
  }
}

/*? Seção de dominio */

.search-domain-container {
  background-color: #292929;
  padding: 5rem 0;
  text-align: center;

  & h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 25px;
  }

  & p {
    font-size: 24px;
    color: #d9d9d9;
    margin-bottom: 25px;
  }

  & input {
    display: block;
    border: none;
    border-radius: 5px;
    margin: 0 auto;
  }

  & input[type="text"] {
    width: 60%;
    padding: 20px;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  & input[type="submit"] {
    background-color: #2cc76a;
    color: #fff;
    padding: 15px 30px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
  }

  & input[type="submit"]:hover {
    opacity: 1;
  }
}

/*? Formulário de contato */

.contact-container {
  text-align: center;
  padding: 5rem 0 8rem 0;
  background-color: #d9d9d9;

  & h2 {
    font-size: 36px;
    margin-bottom: 25px;
  }

  & p {
    font-size: 20px;
    margin-bottom: 40px;
  }

  & input,
  textarea {
    width: 240px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 2px 3px 4px rgba(0, 0, 0, 0.5);
    margin: 0 10px 20px;
  }

  & textarea {
    display: block;
    margin: 0 auto 20px;
    width: 500px;
    height: 150px;
  }

  & input[type="submit"] {
    display: block;
    background-color: #2cc76a;
    margin: 0 auto;
    box-shadow: none;
    color: #fff;
    width: 125px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  & input[type="submit"]:hover {
    border: 2px solid #2cc76a;
    color: #2cc76a;
    background-color: #d9d9d9;
  }
}

footer {
  text-align: center;
  background-color: #292929;
  padding: 1.4rem 0;

  & p {
    color: #fff;
    font-weight: bold;

    & a {
      text-decoration: none;
      color: #5cbc84;
      font-size: 18px;
    }
  }
}

/** laptop acima de 1100px */

@media screen and (max-width: 1100px) {
  .pricing-container {
    & .plans-container {
      width: 95%;

      & .plan {
        margin: 0 5px;
      }
    }
  }
}

/** Tablet */

@media screen and (max-width: 900px) {
  .service-container {
    width: 100%;
    margin: 0;
    & ul {
      width: 100%;
      display: flex;
      max-width: 750px;
      flex-wrap: wrap;
      gap: 20px;

      & li {
        flex: 1 1 280px;
      }
    }
  }
  .pricing-container {
    margin: 0 auto;
    & .plans-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-around;
      & .plan {
        display: flex;
        margin: 5rem auto;

        & ul {
          width: 350px;
        }
      }
    }
  }
}

@media screen and (max-width: 600px) {
  .navbar-container {
    & .navbar-items {
      display: none;
    }

    & i {
      display: block;
      position: absolute;
      right: 0;
      top: 1.2rem;
      font-size: 2.5rem;
      color: #5cbc84;
      cursor: pointer;
    }
  }

  .main-banner {
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.5);

    & h1 {
      font-size: 2.87em;
      margin-bottom: 2rem;
    }

    & p {
      font-size: 1.5rem;
    }
  }

  .service-container {
    & ul {
      display: flex;
      max-width: 500px;
      flex-wrap: wrap;
    }
  }

  .pricing-container {
    & .plans-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;

      & .plan {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 5rem;
        & ul {
          width: 350px;
        }
      }
    }
  }

  .search-domain-container {
    background-color: #292929;
    padding: 5rem 0;
    text-align: center;

    & h2 {
      font-size: 38px;
      color: #fff;
      margin-bottom: 25px;
    }

    & input[type="text"] {
      width: 90%;
    }
    & input[type="submit"] {
      padding: 25px 20px;
      font-size: 18px;
    }
  }

  .contact-container {
    text-align: center;
    padding: 5rem 0 8rem 0;
    background-color: #d9d9d9;

    & h2 {
      font-size: 36px;
      margin-bottom: 25px;
    }

    & p {
      font-size: 20px;
      margin-bottom: 40px;
    }

    & input,
    textarea {
      width: 85%;
      padding: 10px 20px;
      font-size: 16px;
      text-align: center;
      border-radius: 5px;
      border: none;
      box-shadow: inset 2px 3px 4px rgba(0, 0, 0, 0.5);
      margin: 0 10px 20px;
    }

    & textarea {
      display: block;
      margin: 0 auto 20px;
      height: 150px;
    }

    & input[type="submit"] {
      display: block;
      background-color: #2cc76a;
      margin: 0 auto;
      box-shadow: none;
      color: #fff;
      width: 125px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    & input[type="submit"]:hover {
      border: 2px solid #2cc76a;
      color: #2cc76a;
      background-color: #d9d9d9;
    }
  }

  footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 1rem;
  }
}
