#secNewsLetter {
    display: grid;
    grid-template-columns: 20% 1fr 20%;
    width: 100%;
    height: 100vh;
    margin-top: 5%;
    margin-bottom: 5%;
    background: linear-gradient(to top, rgba(0, 131, 193, 0.3), rgba(196, 222, 235, 0.05) 80%);
}


#spaceGrid-NL {
  display: grid;
  grid-template-rows: 15% 75% 1fr;
  width: 100%;
  border-radius: 20px 20px 20px 20px;
}

#spaceGrid-NL div {
  position: relative;
}

#spaceTitle-NL {
  display: flex;
  position: absolute;
  left: 0;
  top: -1.5rem;
  background-color: rgb(31, 167, 176);
  width: 250px;
  border-radius: 30px 30px 30px 30px;
  align-items: center;
  justify-content: center;
  padding-top: 7px;
}


#title-NL {
    font-family: 'Roboto', sans-serif; 
    font-weight: 600;
    font-size: 2.5rem;
    color: white;
}

#lineBottom-NL {
  display: flex;
  position: absolute;
  right: 0;
  bottom: -7.5px;
  background-color: rgb(31, 167, 176);
  border-radius: 10px 10px 10px 10px;
  width: 100%;
  height: 15px;
}

#gridNewsLetter {
  display: grid;
  grid-template-columns: 10% 1fr 10% 1fr 10%;
  width: 100%;
}

#news-1, #news-2 {
  display: grid;
  width: 100%;
  grid-template-rows: 1fr 20% 25%;
  background-color: #fbf7f5;
  border-radius: 10px 10px 10px 10px;
  overflow: hidden;
  transition: transform 0.5s ease;

  box-shadow:     0px 5px 10px rgba(53, 53, 53, 0.2), /* Sombra superior */
  0px -5px 10px rgba(53, 53, 53, 0.2), /* Sombra inferior */
  5px 0px 10px rgba(53, 53, 53, 0.2), /* Sombra direita */
  -5px 0px 10px rgba(53, 53, 53, 0.2); /* Sombra esquerda */
}

#news-1:hover, #news-2:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.boxNews {
  display: grid;
  width: 100%;
  grid-template-rows: 1fr 15% 25%;
}

.boxNews div img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.boxNews div {
  display: flex;
  justify-content: center;
}

.boxTitle-NL {
  display: flex;
  align-items: end;
  margin-top: 10px;
}

.boxImage-NL {
  display: flex;
  align-items: start;
  justify-content: start;
}


.newsTitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

.newsParagraph {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding-left: 25px;
  padding-right: 25px;
  text-align: justify;
}

.linkTitle-NL {
  text-decoration: none;
  color: inherit;
}

@media only screen and (max-width: 1300px) {
  #secNewsLetter {
    margin-top: 15%;
    grid-template-columns: 15% 1fr 15%;
  }

  #spaceGrid-NL {
    grid-template-rows: 15% 80% 1fr;
  }
}

@media only screen and (max-width: 1220px) {
  #secNewsLetter {
      grid-template-columns: 10% 1fr 10%;
  }

  #spaceGrid-NL {
    grid-template-rows: 15% 80% 1fr;
  }
}

@media only screen and (max-width: 1160px) {
  #spaceGrid-NL {
    grid-template-rows: 15% 80% 1fr;
  }

  #title-NL {
    font-size: 2.1rem;
  }

  .newsTitle {
    font-size: 1.1rem;
  }

  .newsParagraph {
    font-size: 1rem;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 1110px) {
  #secNewsLetter {
    grid-template-columns: 6% 1fr 6%;
  }
}

@media only screen and (max-width: 1000px) {
  #secNewsLetter {
    margin-top: 25%;
  }
}

@media only screen and (max-width: 940px) {
  #secNewsLetter {
    grid-template-columns: 8.5% 1fr 8.5%;
  }

  .newsTitle {
    font-size: 1.3rem;
  }

  .newsParagraph {
    font-size: 1.1rem;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media only screen and (max-width: 870px) {
  #secNewsLetter {
    margin-top: 20%;
    grid-template-columns: 6% 1fr 6%;
  }
}

@media only screen and (max-width: 560px) {
  #secNewsLetter {
    margin-top: 35%;
  }
}

@media only screen and (max-width: 820px) {
  #secNewsLetter {
    grid-template-columns: 4% 1fr 4%;
  }

  #title-NL {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 780px) {
  #secNewsLetter {
    grid-template-columns: 0px 1fr 0px;
  }
}

@media only screen and (max-width: 752px) {
  #secNewsLetter {
    margin-top: 25%;
  }
}

@media only screen and (max-width: 720px) {
  #gridNewsLetter {
    grid-template-columns: 7% 1fr 7% 1fr 7%;
  }
}

@media only screen and (max-width: 640px) {
  #gridNewsLetter {
    grid-template-columns: 5% 1fr 5% 1fr 5%;
  }
}

@media only screen and (max-width: 605px) {
  #secNewsLetter {
  }
}

@media only screen and (max-width: 600px) {
  #secNewsLetter {
    height: 220vh;
    margin-bottom: 30%;
  }

  #spaceGrid-NL {
    grid-template-rows: 5% 90% 5%;
    width: 100%;
  }

  #gridNewsLetter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5%;
  }

  #news-1, #news-2 {
    width: 85%;
    height: 100%;
  }
}


@media only screen and (max-width: 550px) {
  #secNewsLetter {
    height: 200vh;
  }

  #title-NL {
    font-size: 1.7rem;
  }

  #spaceTitle-NL {
    width: 200px;
  }
}

@media only screen and (max-width: 485px) {
  #secNewsLetter {
    height: 190vh;
  }

  .newsTitle {
    font-size: 1.2rem;
  }

  .newsParagraph {
    font-size: 1.1rem;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media only screen and (max-width: 390px) {
  #secNewsLetter {
    height: 130vh;
  }
}

@media only screen and (max-width: 360px) {
  #secNewsLetter {
    height: 140vh;
  }
}


@media only screen and (max-width: 320px) {
  #secNewsLetter {
    height: 150vh;
  }
}

@media only screen and (max-width: 290px) {
  #secNewsLetter {
    height: 140vh;
  }

  .newsTitle {
    font-size: 0.9rem;
  }

  .newsParagraph {
    font-size: 0.8rem;
    padding-left: 5px;
    padding-right: 5px;
  }

  #news-1, #news-2 {
    width: 90%;
    height: 100%;
  }
}