@font-face {
  font-family: "AvenirBook";
  src: url("../assets/fonts/Avenir/AvenirLTStd-Book.woff2") format("woff2"),
    url("../assets/fonts/Avenir/AvenirLTStd-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    z-index: -2;
    transform: translateY(30rem);
  }
  50% {
    z-index: 0;
    opacity: 0.5;
    transform: translateY(-10rem);
  }
  100% {
    opacity: 1;
    z-index: 0;
    transform: translateY(0);
  }
}
@keyframes titel {
  from {
    opacity: 0;
    transform: translateY(5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0rem);
  }
}
html {
  box-sizing: inherit;
  font-size: 62.5%;
  height: 100%;
}
strong {
  font-weight: bolder;
}

.hidden {
  display: none;
}

.nieuwtjes__empty {
  font-family: "AvenirBook";
  font-size: 2rem;
}

.content__titlewrapper {
  width: 100%;
  height: 30rem;
  background-image: url("../assets/img/contact-wrapper.png");
  background-attachment: fixed;
  background-position-y: -45rem;
  background-size: 100% auto;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  /* border-radius: 0 0 30rem 30rem; */
}
.titlewrapper__box {
  background-color: rgb(244, 244, 244);
  width: 96rem;
  text-align: center;
  padding: 4rem;
  margin-top: 30rem;
  border-radius: 2.5rem;
  /* border: .2rem solid #4485c4; */
  animation: fadeIn 1.25s;
}
.content__title {
  font-family: bebas-neue-by-fontfabric, sans-serif;
  font-weight: 400;
  font-size: 5rem;
  text-transform: uppercase;
  color: #4485c4;
}
.titlewrapper__line {
  width: 5rem;
  border: 0.1rem solid #4485c4;
}

.nieuwtjes {
  padding-top: 12.5rem;
  width: 96rem;
  margin: auto;
  display: flex;
  flex-flow: column;
  align-items: center;
  margin-bottom: 5rem;
}

.nieuwtjes__list {
  width: 100%;
}

.nieuwtje {
  padding: 5rem 2.5rem;
  border-radius: 2.5rem;
}

.nieuwtje:nth-of-type(odd) {
  background-color: rgb(244, 244, 244);
}

/* .nieuwtje:first-child {
  background-color: #4485c4;
  color: white;
  /* width: 100vw; 
}*/

.nieuwtje__tekst {
  font-family: "AvenirBook";
  font-size: 2rem;
  line-height: 1.5;
  word-break: break-word;
}
.nieuwtje__options {
  display: flex;
  justify-content: space-between;
  padding-top: 2.5rem;
}

.form-nieuwtjes {
  width: 96rem;
  margin: auto;
  margin-top: 10rem;
  margin-bottom: 10rem;
}

.form-nieuwtjes__input {
  border-radius: 1.5rem;
  border: none;
  background-color: rgb(244, 244, 244);
  padding: 2.5rem 2.5rem;
  width: 100%;
  font-size: 1.5rem;
}
.form-nieuwtjes__input:focus {
  outline: none;
}
.form-nieuwtjes__button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 5rem;
}

.form-nieuwtjes__button {
  border: 0.2rem solid #4485c4;
  color: #4485c4;
  padding: 1rem 3rem;
  padding-top: 1.5rem;
  text-decoration: none;
  font-size: 1.8rem;
  border-radius: 5rem;
  font-weight: bold;
  transition: background-color 0.5s, color 0.7s, border-radius 1s;
  font-family: bebas-neue-by-fontfabric, sans-serif;
}
.form-nieuwtjes__button:hover {
  background-color: #4485c4;
  color: white;
  border-radius: 0;
  cursor: pointer;
}

.nieuwtje__options__tekst {
  font-family: "AvenirBook";
  font-size: 1.6rem;
  text-decoration: none;
}

.nieuwtje__delete {
  color: red;
}

.nieuwtje__options__tekst--empty {
  padding-top: 5rem;
}

.nieuwtjeofweek {
  background-color: #4485c4;
  color: white;
  margin-top: 15rem;
  padding: 5rem;
}

.nieuwtjeofweek__container {
  width: 96rem;
  margin: auto;
}

.nieuwtjeofweek__timestamp {
  margin-bottom: 2.5rem;
  display: block;
  font-family: "AvenirBook";
  font-size: 1.3rem;
  color: #4485c4;
}
.nieuwtjeofweek__timestamp--white {
  color: white;
}

@media screen and (max-width: 1024px) {
  .content__titlewrapper {
    background-size: cover;
    background-attachment: inherit;
    background-position-y: 0;
  }
}

@media screen and (max-width: 768px) {
  .titlewrapper__box {
    width: 90%;
  }
  .nieuwtjes {
    width: 90vw;
  }
  .nieuwtjeofweek,
  .form-nieuwtjes--space {
    margin-top: 15rem;
  }
  .nieuwtjeofweek__container {
    width: auto;
  }
  .form-nieuwtjes {
    width: 90vw;
  }
}

@media (min-width: 1280px) {
  .content__titlewrapper {
    height: 40rem;
  }
  .titlewrapper__box {
    margin-top: 40rem;
  }
}

@media (min-width: 1366px) {
  .content__titlewrapper {
    background-position-y: -18rem;
  }
}
@media (min-width: 1680px) {
  .content__titlewrapper {
    background-position-y: -22rem;
  }
}
