
html {
  box-sizing: border-box;
}


body {
  background: wheat;
  margin: auto;
}

.flex-parent-header {
  background: #fffff0;
  height: 170px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 30px;
}

.logo {
  align-content: center;
}

.logo img {
  height: 130px;
}


.navbar {
  display: none;
  align-content: center;
  margin: 10px;
}
  
.navbar a {
  display: inline-block;
  background: tomato;
  height: 25px;
  width: 80px;
  text-align: center;
  padding: 10px;
  margin: 15px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  box-shadow: 4px 6px pink;
  border-radius: 5px;
}
  
.navbar a:hover {
  background:pink;
  box-shadow: 4px 6px tomato;
}


.news-grid {
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat (8, 1fr);
  gap: 20px;
  margin-bottom: 20px;;
}

.news-card {
  background-color: #fffff0;
}

.big-card {
  height: auto;
  background-color: #fffff0;
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.big-card article {
  margin: auto;
  height: auto;
}

.big-card img {
  object-fit: cover;
}

h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 35px;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  color: black;
  margin: auto;
}

p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 18px;
  padding: 6px 15px 0px 15px;
  color: black;
  text-align: justify;
}


.small-card {
 background-color: wheat;
 grid-column: span 8;
}


.small-card article {
  border: 1px #cccccc solid;
  background-color: #fffff0;
  padding: 4px;
  margin: auto;
  width: 80%;
  height: 400px;
  box-shadow: 6px 6px lightsalmon;
}

.small-card article:hover {
  box-shadow: 9px 9px pink;
}

.small-card img {
  object-fit: cover;
}


h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 26px;
  color: black;
  padding: 0px, 5px, 5px, 5px;
  margin: 10px;

}

a {
  text-decoration: none;
}

footer {
  background: #fffff0;
  height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  display: none;
  text-decoration: none;
  background-color: orange;
  text-align: center;
  color: white;
  border: none;
  box-shadow: 4px 4px pink;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 100px;
  padding: 30px;
  margin: 50px auto 40px auto;
  border-radius: 5px;
}

button:hover {
  box-shadow: 4px 4px orange;
  background-color: pink;
}


footer img {
  height: 120px;
}

footer img:hover {
  height: 130px;
}




@media (min-width: 668px) {
 .navbar {
  display: block;
 }

.small-card {
  grid-column: span 4;
}

.logolarge {
  display: inline-block;
 }

}


@media (min-width: 1024px) {
  .news-grid {
    margin-left: 50px;
    margin-right: 50px;
  }

  .big-card {
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .small-card {
    grid-column: span 2;
    margin-bottom: 40px;
   }

  .small-card article {
    width: 90%;
  }

  h2 {
    padding: 10px 30px 5px 30px;
    font-size: 50px;
  }

  p {
  font-size: 22px;
  padding-left: 30px;
  padding-right: 30px;
  }

  h3 {
    font-size: 22px;
  }
}