@media (width >= 375px) {

  main {
    form {
      width: 80%;
      min-width: 315px;
      max-width: 583px;
    }
  }

  footer {
    padding: 50px 10% 45px;

    p {
      width: 100%;
    }

    ;

    .links {
      display: flex;
      justify-content: space-between;
    }

    .contact {
      address {
        width: 100%;
      }
    }
  }
}

@media (width >= 720px) {
  main {
    form {
      .text {
        h1 {
          text-align: start;
          font-size: 32px;
          margin-bottom: 20px;
        }

        p {
          text-align: start;
          font-size: 16px;
        }
      }

      .login {
        display: flex;
        align-items: center;
        gap: 20px;

        small {
          margin: 0;
        }

        img {
          display: flex;
        }
      }
    }
  }

  footer {
    padding: 50px 100px 45px;

    .links {
      flex-direction: column;

      .info {
        max-width: 700px;

        ul {
          display: grid;
          grid-template-columns: 1fr 1fr 1fr;
        }
      }
    }
  }
}

@media (width >= 1024px) {
  main {
    padding: 120px 100px 163px;
    display: flex;
    justify-content: center;

    form {
      margin: 0;
      min-width: 583px;
      max-height: 560px;
    }
  }

  footer {
    display: flex;
    flex-direction: column;

    .box {
      display: flex;
      justify-content: space-between;

      .box-logo-social {
        width: 307px;
      }
  
      .links {
        flex-direction: row;
  
        .info {
          width: 100%;
  
          ul {
            display: flex;
            flex-direction: column;
          }
        }
      }

      .contact {
        width: 231px;
      }
    }

  }
}

@media (width >= 1200px){
  footer {
    .box {
      .links {
        gap: 100px;
      }
    }
  }
}

@media (width >= 1400px) {
   header {
    padding: 0 100px;
    
    nav {
      a {
        margin: 0;
      }
    }
  }

  main {
    padding: 120px 8% 163px;
    justify-content: space-between;

    form {
      margin-right: 50px;
    }
    .banner-1 {
      display: block;
      position: relative;
      top: -40px;
      transform: rotate(-3deg);
    }
    
    .banner-2 {
      display: block;
      position: relative;
      top: 150px;
      right: 130px;
    }
  }
}
