*, *:before, *:after {
  box-sizing: inherit;
  margin: 0px;
  padding: 0px;
}

html {
  box-sizing: border-box;
}

body {
  background-color: lightpink;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header {
  width: cover;
  background-color: red;
  height: 100px;
}

.headline-big-news {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin: 10px 10px 3px 10px;
}

.headline-news-cards {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 10px 10px 3px 10px;
}

.subheadline {
  margin: 5px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.paragraph {
  font-family: 'Oxygen', sans-serif;
  font-size: 13.5px;
  line-height: 1.3;
  margin: 0px 10px 15px 10px;
}

a {
  text-decoration: none;
}

.navigation-container {
  background-position: center;
  height: 100px;
  width: 92%;
  margin: auto;
}

.navigation { 
  height: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navigation-logo {
  height: 100px;
  padding-top: 15px;
  display: flex;
  align-items: center;
}

.navigation-logo-img {
  height: 30px;
  padding-left: 3%;
}

.navigation-list {
  display: none;
}

.navigation-list a {
  color: white;
}

.navigation-list a:hover {
  background-color: rgb(255, 92, 119);
}

.navigation-list-item {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  padding: 2px;
}

.big-news-parent {
  width: 96%;
  margin: 0px auto;
  background-color: white;
  padding: 20px 0px;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.big-news-child {
  background-color: white;
  border: 0px 1px 1px 1px grey;
  box-shadow: 1px 1px 5px 1px lightgray;
  width: 92%;
  margin: 5px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.news-cards-parent {
  width: 96%;
  margin: auto;
  background-color: white;
  padding: 0px 0px 15px 0px;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.news-cards-child {
  background-color: white;
  box-shadow: 1px 1px 5px 1px lightgray;
  width: 92%;
  margin: 5px 5px 15px 5px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.news-img {
  width: 100%;
  height: auto;
}

.red {
  border-top: 4px red solid;
}

.blue {
  border-top: 4px blue solid;
}

.green {
  border-top: 4px green solid;
}

.orange {
  border-top: 4px orange solid;
}

.pink {
  border-top: 4px rgb(255, 92, 119) solid;
}

footer {
  background-color: red;
  height: 50px;
  padding-top: 15px;
  display: flex;
  justify-content: center;
  color: white;
}

@media (min-width: 668px) {

  .navigation-container, .navigation {
    width: 668px;
  }

  .navigation-logo-img {
    padding-left: 20px;
  }

  .navigation-list {
    list-style: none;
    width: 300px;
    height: 100px;
    padding-top: 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .big-news-parent {
    width: 668px;
    margin: auto;
  }

  .news-cards-parent {
    width: 668px;
    flex-direction: row;
    margin: auto;
  }

  .big-news-child {
    width: 630px;
  }

  .big-news-child:hover h1 {
    text-decoration: underline;
  }

  .news-cards-child {
    width: 310px;
    transition: transform ease-in-out .2s;
  }

  .news-cards-child:hover {
    transform: scale(1.03);
  }

  .news-cards-child:hover h2 {
    text-decoration: underline;
  }
    
}

@media (min-width: 1024px) {

  .navigation-container, .navigation {
    width: 1024px;
  }

  .big-news-parent {
    width: 1024px;
  }

  .news-cards-parent {
    width: 1024px;
    margin: auto;
  }

  .news-cards-child {
    width: 240px;
  }
}