/*
html {
  background: #0025ff;
  color: #fff;
}
*/

html {
  background: white;
}

body {
  font: sans-serif;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

nav {
  background: #222;
  padding: 5px 20px;
}

ul {
  list-style-type: none;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.menu li {
  font-size: 16px;
  padding: 15px 5px;
}

.menu li a {
  display: block;
}

.logo a {
  font-size: 20px;
  font-weight: bold;
}

.button.secondary {
  border-bottom: 1px #444 solid;
}

/* Mobile Menu*/

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.toggle {
  order: 1;
}

.item.button {
  order: 2;
}

.item {
  width: 100%;
  text-align: center;
  order: 3;
  display: none;
}

.item.active {
  display: block;
}
.toggle {
  cursor: pointer;
}

.bars {
  background: #999;
  display: inline-block;
  height: 2px;
  width: 18px;
  position: relative;
}

.bars::before,
.bars::after {
  background: #999;
  content: "";
  display: inline-block;
  height: 2px;
  width: 18px;
  position: absolute;
}

.bars::before {
  top: 5px;
}

.bars::after {
  top: -5px;
}

.big-news {
  padding-top: 1em;
  display: flex;
  margin: auto;
  margin-top: 30px;
  position: relative;
  text-align: left;
  background: #222;
  width: 80%;
  height: 500px;
}

.big-news p {
  font-size: 16px;
  padding: 40px 30px;
  color: white;
  display: none;
}

.big-news h2 {
  font-size: 30px;
  justify-content: center;
  left: 10px;
  right: 10px;
  color: white;
  position: absolute;
  font-weight: bold;
  bottom: 10px;
  /*background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 5%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0) 100%
  ); */
}

.big-news h3 {
  display: none;
}

.big-news img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  background-position: center;
  opacity: 0.5;
}

.big-news img:hover {
  /*transform: scale(1.1);*/
  cursor: pointer;
  transition: 0.3s;
}
/*.big-news:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, black 100%);
  
}
*/

.grid-parent {
  padding: 15px;
  margin-top: 50px;
  justify-items: center;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 10px;
}

.grid-parent img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.grid-image {
  max-height: 100%;
}

.grid-item p {
  font-size: 15px;
  background: white;
}

.grid-item p:hover {
  text-decoration: underline;
  cursor: pointer;
}

.grid-item h3 {
  padding: 10px 0px;
  background: white;
  font-style: BOLDER;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.grid-item h3:hover {
  text-decoration: underline;
  cursor: pointer;
}

.grid-item {
  background: white;
  display: flex;
  overflow: hidden;
  flex-direction: column;
}

/*
.grid-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
*/
.grid-text {
  width: 100%;
}

/*.grid-item img {
  width: 350px;
}
*/

.grid-item img:hover {
  transform: scale(1.1);
  transition: 0.7s;
  cursor: pointer;
}

.website-footer {
  margin-top: 20px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: white;
  background-color: #222;
  height: 300px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.website-footer h4 {
  padding-top: 60px;
  font-size: 20px;
  text-align: center;
}

.email {
}

@media (min-width: 667px) and (max-width: 1024px) {
  .grid-parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 10px;
  }
  img {
  }
}

@media (min-width: 1025px) {
  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex: 1;
  }

  .item {
    display: block;
    width: auto;
  }
  .toggle {
    display: none;
  }
  .logo {
    order: 0;
  }

  .item {
    order: 1;
  }
  .button {
    order: 2;
  }

  .menu li {
    padding: 15px 10px;
  }

  .menu li.button {
    padding-right: 0;
  }

  .button.secondary {
    border: 0;
  }

  .button a {
    text-decoration: none;
    padding: 7px 15px;
    background: teal;
    border: 1px solid #006d6d;
    border-radius: 50em;
  }
  .button.secondary a {
    background: transparent;
  }
  .button a:hover {
    transition: all 0.3s;
  }
  .button:not(.secondary) a:hover {
    background: #006d6d;
    border: 1px solid #005959;
  }
  .button.secondary a:hover {
    color: #ddd;
    background: #006d6d;
  }

  .grid-parent {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    width: 80%;
  }
  .big-news img {
    width: 50%;
    height: 100%;
    background-position: center;
    opacity: 0.5;
  }
  .big-news h2 {
    font-size: 2em;
    justify-items: center;
    width: 45%;
    left: 10px;
    right: 350px;
    bottom: 5px;
    color: white;
    position: absolute;
    font-weight: bold;
  }
  .big-news h2:hover {
    text-decoration: underline;
    cursor: pointer;
  }
  .big-news p {
    display: block;
    align-items: center;
    justify-items: center;
    font-size: 18px;
  }
  .big-news h3 {
    display: block;
    position: absolute;
    color: white;
    margin-left: 52%;
    margin-top: 20%;
    font-style: oblique;
  }
  img {
  }
}
