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

:root {
  --blue: #6C63FF;
  --black: #000000;
}

/* Reset */

body, h1, ul, li, p {
  margin: 0;
  padding: 0;
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

body {
  font-family: 'Poppins', sans-serif;
  background: url("img/drawing.svg") no-repeat;
  background-position: top -100px right -100px;
  background-size: 400px;
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 100px;
}

.nav p {
  font-size: 3rem;
  padding: 40px 0;
  font-weight: bold;
  text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.2);
}

.nav p a {
  color: var(--black);
}

.nav p a strong {
  color: var(--blue);
}

.menu {
  text-align: center;
}

.menu li a{
  color: var(--black);
  font-size: 1.5em;
  font-weight: 300;
}

.menu li + li{
  padding-top: 15px;
}

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 100px 20px;
}

.title {
  font-size: 3rem;
  text-align: center;
  padding-bottom: 40px;
}

.title strong {
  color: var(--blue);
}

.hero-img {
  width: 75%;
}

/* Contato */

.contato {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 100px 20px;
}

.contato .title {
  padding-bottom: 100px;
  font-size: 2.5rem;
}

.contato-form  {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato-text {
  display: none;
}

.contato-form input {
  box-sizing: border-box;
  padding: 30px 20px;
  border: 4px solid var(--blue);
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
  transition: .3s;
}

.contato-form input::placeholder {
  color: #000000;
}
.contato-form input + input {
  margin-top: 30px;
}

.btn {
  margin-top: 30px;
  color: var(--blue);
  background: var(--black);
  font-size: 1.5em;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  padding: 30px 80px;
  border-radius: 20px;
  transition: .3s;
  cursor: pointer;
}

/* Footer */

.footer {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 60px 20px;
}

.footer .title a{
  color: var(--black);
}

.footer-nav {
  text-align: center;
}

.footer-nav li a{
  color: var(--black);
  font-size: 2em;
  font-weight: bold;
}

.footer-nav li + li {
  padding-top: 10px;
}

/* Hover */

.menu li a:hover, .footer-nav li a:hover {
  text-decoration: underline;
}

.contato-input:hover, .btn:hover {
  transform: scale(1.1);
}

@media (min-width: 1240px) {
  body {
    background-position: top -50px right -50px;
    background-size: 400px;
  }

  /* Nav */
  .nav {
    flex-direction: row;
    padding: 60px 0;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1240px;
  }
  .nav p {
    padding: 0;
  }
  .menu {
    display: flex;
  }
  .menu li + li {
    padding-top: 0px;
    padding-left: 40px;
  }

  /* Hero */
  .hero {
    padding: 100px 0;
    max-width: 1240px;
    margin: 0 auto;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
  }
  .hero .title, .contato .title {
    font-size: 4em;
  }

  /* Contato */
   .contato {
     max-width: 1240px;
     margin: 0 auto;
     padding-bottom: 200px;
     flex-wrap: wrap;
   }
   .contato-content {
     display: flex;
     gap: 60px;
   }
   .contato-form {
     justify-content: space-between;
   }
   .contato-form input {
     padding: 20px 100px 20px 20px;
     font-size: 1.75em;
   }
   .contato-text {
     display: flex;
     border: 2px solid var(--black);
     border-radius: 20px;
     box-shadow: 0 4px 4px rgb(0, 0, 0, 0.4);
   }
   .contato-text p {
     font-size: 1.75em;
     text-align: center;
     font-weight: bold;
     padding: 42px;
   }
   .btn {
     margin-top: 100px;
     font-size: 2em;
     padding: 15px 200px;
   }

   /* Footer */
   .footer {
     flex-direction: row-reverse;
     justify-content: space-around;
   }
}