@import url("fonts.css");
    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p{
    font-family: "Roboto-2";
}

.newsletter{
    background-color: white;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.div-1{
    max-width: 580px;
    padding: 20px;
}

.div-1 h1{
    margin: 20px 0;
    font-size: 35px;
    font-family: "Roboto";
}

.div-1 p{
    color: gray;
    margin-bottom: 60px;
    text-align: center;
    font-size: 19px;
}

.div-2{
   box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.03),0px 8px 12px 0px rgba(0, 0, 0, 0.08);
   margin: 15px 0;
}

.correo{
    width: 90%;
    padding: 16px;
    border: 1px solid lightgray;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.boton{
    width: 90%;
    padding: 16px;
    background-color: #2d50d6; /* Azul vibrante */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bolder;
    font-size: 16px;
    cursor: pointer;
}

.div-2 > p{
    color: gray;
    margin-top: 30px;
    font-size: 15px;
    padding-bottom: 20px;
}

.error {
  color: hsl(0, 66%, 54%);
  font-size: 10px;
  display: block;
  font-weight: bold;
  margin-top: 1px;
  margin-bottom: 16px;
}
.error-input {
  border: 1px solid hsl(0, 66%, 54%);
}

@media (max-width: 1024px) {
    .div-1 {
        max-width: 85%;
    }
    
    .div-1 h1 {
        font-size: 32px;
    }
}

@media (max-width: 412px) {

    .div-1 {
        max-width: 95%;
        padding: 10px;
    }

    .div-1 h1 {
        font-size: 28px;
        margin: 15px 0;
    }

    .div-1 p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .div-2 {
        padding: 20px 10px;
    }

    .correo, .boton {
        width: 100%;
    }
}