.updated{
    color:  hsl(234, 29%, 20%);
    font-size: 3.5rem;
    font-weight: 700;
}
.updatedt{
    color:  hsl(234, 29%, 20%);
    font-size: 1.5rem;
}
.desktopimg{
        display: block;
}
.mobileimg{
        display: none;
}
.button{
    background-color:hsl(234, 29%, 20%) ;
    color: white;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    font-weight: 700;
    width: 100%;
}
.input{
    max-width:70%;
    height: 30px;
}
.error-text {
  color: red;
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
}
input.invalid {
  border: 2px solid red;
}
 .returnbutton {
    background-color: hsl(234, 29%, 20%);
    color: white;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-weight: 700;
    width: 40%; /* Adjusted for large screens */
  }

  .dismissmessage {
  position: fixed; /* or absolute depending on your layout */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  width: 40%;
}


  .dismissmessage img {
    width: 15%;
  }

  .suscribe {
    color: hsl(234, 29%, 20%);
    font-size: 3rem;
  }

  #emailtext {
    color: hsl(234, 29%, 20%);
    font-weight: bold;
    cursor: pointer;
  }
}


@media (max-width:800px) {
    .desktopimg{
        display: none;
    }
    .mobileimg{
        display: inline-block;
        width: 100%;
    }
    .input{
        align-items: center;
        justify-content: center;
    }
    .returnbutton{
     background-color:hsl(234, 29%, 20%) ;
    color: white;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-weight: 700;
    width: 80%;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    }
    .dismissmessage{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
        margin-top: 40%;
        margin-left: 30px;
    }
    .dismissmessage img{
        width: 15%;
    }
    .suscribe{
         color:  hsl(234, 29%, 20%);
    font-size: 2.5rem;
    }
    #emailtext{
         color:  hsl(234, 29%, 20%);
         font-weight: bold;
         cursor: pointer;
    }
}