/* Challenge can be found here: https://www.frontendmentor.io/challenges/intro-component-with-signup-form-5cf91bd49edda32581d28fd1 */

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

:root {
  --primary-color-red: hsl(0, 100%, 74%);
  --primary-color-green: hsl(154, 59%, 51%);
  --accent-color-blue: hsl(248, 32%, 49%);
  --neutral-color-darkblue: hsl(249, 10%, 26%);
  --neutral-color-grayishblue: hsl(246, 25%, 77%);
}

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

body {
  font-family: Poppins, sans-serif;
  background-image: url(images/bg-intro-desktop.png);
  background-color: var(--primary-color-red);
}

.container {
  width: 90%;
  /* max-width: 1440px; */
  margin: 0 auto;
}

.hero {
  color: #fff;
  padding: 10px;
  margin: 50px 0px 50px 0px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  line-height: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1rem;
}

.secondary {
  padding: 10px;
  margin: 25px;
}

.trial {
  color: #fff;
  background-color: var(--accent-color-blue);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px rgba(0, 0, 0, 0.25);
}

.form {
  background-color: #fff;
  padding: 20px 20px 40px 20px;
  border-radius: 10px;
  box-shadow: 0 8px rgba(0, 0, 0, 0.25);
}

.form > input {
  display: block;
  font-weight: bold;
  padding: 10px 25px 10px 25px;
  margin: 25px auto;
  height: 60px;
  width: 95%;
  border-radius: 5px;
  border: 1px solid gray;
}

.form input:focus,
.form input:hover {
  border-color: var(--accent-color-blue);
}

button {
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  background-color: var(--primary-color-green);
  display: block;
  padding: 10px;
  margin: 0px auto;
  width: 95%;
  border-radius: 5px;
  cursor: pointer;
}

button:active {
  transform: scale(0.98);
}

.terms {
  font-size: 0.75rem;
  color: gray;
  text-align: center;
  margin-top: 15px;
}

.terms a {
  color: var(--primary-color-red);
  text-decoration: none;
  font-weight: bold;
}

@media (min-width: 800px) {
  .row {
    display: flex;
    height: 90vh;
    justify-content: center;
    align-items: center;
  }
  .col {
    flex-basis: 40%;
    /* width: 100%; */
    text-align: left;
  }
  .hero h1 {
    font-size: 3.5rem;
    line-height: 4rem;
  }
  .hero p {
    font-size: 1.25rem;
  }
}
