@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,600&display=swap');

  html {
      box-sizing: border-box;
      background: rgb(183,233,249);
      background: linear-gradient(0deg, rgba(183,233,249,1) 0%, rgba(203,255,225,1) 100%);
      background-repeat: no-repeat;
      background-size: cover;
  }

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

  h1, h2, h3, h4, h5, h6 {
      font-family: 'Montserrat', sans-serif;
      padding: 2rem 0 2rem 0;
      color: #000;
  }

  h1 {
      font-size: 3rem;
  }

  h2 {
      font-size: 2rem;
  }

  h3 {
    text-align: right;
    font-size: 2rem;
    margin-top: -.5rem;
  }

  img {
      width: 100%;
  }

  .parent {
    width: 1100px;
    margin: auto;
    display: grid;
  }

  .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

header {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "header header";
    justify-content: space-between;
    padding: 2.5rem 0 2.5rem 0;
}

main ul{
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: "main main main";
    list-style-type: none;
    grid-row-gap: 32px;
    justify-content: space-evenly;
}


ul li span {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;  
    font-size: 1.2rem; 
}

ul li span img {
    padding-right: .5rem;
}

.button {
    border-radius: 5px;
    font-family: 'Montserrat',sans-serif;
    font-weight: bold;
    border-color: #000;
    background-color: #fff;
    color: #000;
    padding: .5rem 3rem;
    border-style: solid;
    text-align: center;
    text-decoration: none;
    display: inline-grid;
    font-size: 1.5rem;
    justify-items: center;
    cursor: pointer;
    align-items: center;
}

.button:hover {
    background-color: #000;
    color: #fff;
}

input[type="text"], input[type="email"] {
    width: 52%;
    height: 2rem;
    display: grid;
    font-weight: bold;
}

textarea {
    width: 52%;
    height: 6rem;
    font-weight: bold;
}

label {
    font-weight: bold;
}

footer {
    background-color: #000;
    width: 100%;
    margin-top:3rem;
    height: 7rem;
    color: #fff;
}

footer p {
    text-align: center;
    line-height: 7rem;

}

.intro-text {
    width: 52%;
    font-size: 1.2rem;
}

.success {
    width: 20rem;
    display: grid;
    place-items: center;
}
/* MEDIA QUERIES */

@media only screen and (max-width: 1076px) {
    .parent {
      width: 100%;
    }

    .buttons {
        width: 100%%;
        margin: auto;
    }

    .button {
        padding: 1rem 5rem 1rem 5rem;
    }   
}

  @media only screen and (max-width: 736px) {

    input[type="text"], input[type="email"] {
        width: 100%;
        height: 2rem;
        display: grid;
    }
    
    textarea {
        width: 100%;
        height: 6rem;
    }

    .intro-text {
        width: 100%;
    }

    .container {
        padding: 10px;
    }
  }   
  