@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;700&family=Roboto:wght@100;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #232323;
  --secondary-color: #32881A;
  --overlay: rgba(0, 0, 0, 0.8);
  --white-color: #fff;
}

/*=============== GENERAL STYLES ===============*/

body {
  font-family: 'Montserrat', sans-serif;
  font-family: 'Roboto', sans-serif;
}

.wrapper {
  width: 100vw;
  overflow: hidden;
  background-color: #fbfbfb;
}

.vector {
  width: 100%;
  height: 100%;
}

/*=============== NAV STYLES ===============*/

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 2em 2em;
}

.brand {
  font-size: 1.5em;
  font-weight: bold;
}

.brand-alt-color {
  color: #32881A;
}

.menu-bars {
  z-index: 1;
}

.fa-bars {
  font-size: 1.8em;
  cursor: pointer;

}

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  left: 0;
  background-color: var(--primary-color);
  height: 100vh;
  transform: translateX(-100%);
  transition: all 0.5s;
  z-index: 1;
}

.mobile-bran {
  background-color: #fdfdfd;
  padding: 5px 20px;
}

.show-menu {
  transform: translateX(0%);
}

.nav__links {
  list-style: none;
  margin-bottom: 3em;
}

.nav__links:nth-child(1) {
  margin-top: 5em;
}

.nav__item {
  font-size: 1.5em;
  color: #fff;
  text-decoration: none;
  padding: 2em;
  transition: all 0.2s ease-in;
}

.nav__item--active,
.nav__item:hover {
  color: #32881A;
}

.container {
  width: 100vw;
  height: 90vh;
  margin-top: -5em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 2em;
}

.main-img {
  animation-name: img-animation;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  z-index: 0;
  width: 80%;
  max-width: 100%;
  margin: 0 auto;
}

.content-info__title {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 3em;
}

.content-info__subtitle {
  font-size: 2.5em;
}

.content__text {
  margin: .3em 0em .7em;
  font-size: 1em;
}

.btn-dark {
  background-color: var(--primary-color);
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  color: #fff;
  cursor: pointer;
  font-size: 1.2em;
}


.btn-dark:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.sotial-networks {
  width: 100vw;
  display: flex;
  justify-content: flex-end;
  margin-left: -2em
}

.fa-brands {
  font-size: 2em;
  color: var(--primary-color);
  margin: 0 .2em;
  margin-bottom: 3em;
}

.fa-brands:hover {
  color: var(--secondary-color);
}


@keyframes img-animation {
  form {
    transform: scale(1.2);
  }

  to {
    transform: scale(1.1);
  }
}


@media screen and (min-width: 768px) {
  .container {
    flex-direction: row;
    align-items: center;
  }

  .vector {
    background-image: url(../img/Polygon\ 1.png);
    background-size: cover;
  }

  .brand {
    margin-left: 2em;
  }

  .mobile-bran {
    display: none;
  }

  .main-img {
    width: 50%;
    max-width: 100%;
    margin: 0 auto;
  }

  .content-info {
    width: 40%;
    justify-content: center;
    padding-right: 2em;
  }

  .content-info__title {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 4.2em;
  }

  .content-info__subtitle {
    font-size: 3.2em;
  }

  .content__text {
    font-size: 1.2em;
    color: rgba(35, 35, 35, 0.7);
  }

  .sotial-networks {
    display: flex;
    justify-content: flex-start;
    margin-left: 4.6em;
    margin-top: -4em;
    z-index: 1;
  }

  .fa-brands {
    font-size: 2em;
    color: var(--white-color);
    margin: 0 .2em;
    margin-bottom: 3em;
  }

}

@media screen and (min-width: 768px) {
  .content-info__title {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 3.5em;
  }

  .content-info__subtitle {
    font-size: 2.5em;
  }

  .content__text {
    font-size: 1em;
    color: rgba(35, 35, 35, 0.7);
  }
}

@media screen and (min-width: 886px) {

  .menu-bars {
    display: none;
  }

  .menu {
    justify-content: center;
    background: none;
    height: 12vh;
    display: flex;
    position: relative;
    transform: translateX(0%);
    z-index: 1;
  }

  .menu-links__content {
    display: flex;
    flex-direction: row;
    background: none;
    align-items: center;
    justify-content: flex-end;

  }

  .nav__item {
    font-size: 1em;
    color: var(--primary-color);
  }

  .nav__links:nth-child(1) {
    margin-top: 0em;
  }

  .nav__item--active {
    color: var(--secondary-color);
  }

  .content__text {
    font-size: 1em;
  }

}