/* Featured */
#featured {
  position: relative;
  max-width: 2500px;
  width: 100%;
}

#featured .title {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  width: 30%;
  font-family: "Merriweather", serif;
  padding: 20px;
  background-color: rgb(255, 200, 69);
  border-radius: 5px;
  background-image: url("/../imgs/logo_clear.png");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: right;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.156);
}

#newsBox {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 95%;
  padding-bottom: 20px;
  margin-top: 60px;
  gap: 20px;
  margin-bottom: 40px;
}

#templateNewsBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  border-radius: 5px;
  height: 500px;
  width: 90%;
  overflow: hidden;
  background-color: whitesmoke;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.156);
}

#templateNewsBox a, 
#templateNewsBox a:visited {
  text-decoration: none;
  color: rgb(20, 28, 37);
  padding: 20px;
  padding-bottom: 0px;
  font-size: 26px;
  font-family: "Merriweather", serif;
  width: 90%;
  transition: color ease 250ms;
}

#templateNewsBox a:hover {
  color: rgb(173, 132, 31);
  cursor: pointer;
}

#templateNewsBox p {
  padding: 18px;
  padding-top: 0px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  width: 90%;
}

#templateNewsBox img {
  object-fit: cover;
  object-position: 50% 50%;
  height: 250px;
  width: 100%;
  margin-bottom: 10px;
}

#tagHolder {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  gap: 10px;
}

#tagHolder::after {
  content: "";
  height: 1px;
  width: 110%;
  background-color: rgba(20, 28, 37, 0.24);
}

#tag {
  font-family: "Source Code Pro", monospace;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  background-color: rgb(255, 200, 69);
  font-size: 14px;
}

/* Broadcast */
#broadcast {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: rgb(20, 28, 37);
}

#broadcast h1 {
  font-size: 80px;
  padding-bottom: 20px;
  width: 85%;
  max-width: 1525px;
  margin: auto;
  color: whitesmoke;
  font-family: "Source Code Pro", monospace;
}

#featured iframe {
  max-width: 1525px;
  display: block;
  position: relative;
  width: 85%;
  height: 500px;
  margin: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.156);
}

/* Application */
#application {
  max-width: 2500px;
  position: relative;
  height: 400px;
  width: 100%;
  overflow: hidden;
}

#application img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 50% 50%;
}

#applicationCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  width: 30%;
  font-family: "Merriweather", serif;
  padding: 20px;
  background-color: rgb(255, 200, 69);
  border-radius: 5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.156);
  max-width: 400px;
}

#applicationCenter button {
  margin-top: 5px;
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  background-color: whitesmoke;
  border-radius: 5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.156);
  transition: all ease 250ms;
}

#applicationCenter button:hover {
  background-color: rgb(29, 79, 145);
  cursor: pointer;
  color: whitesmoke;
}

/* Goals */
#goals {
  position: relative;
  padding: 30px 0px 30px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#goals button {
  padding: none;
  max-width: 1000px;
  margin: auto;
  width: 90%;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

#goalsCont {
  max-width: 1000px;
  position: relative;
  margin: auto;
  width: 100%;
  overflow: hidden;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.156);
}

#goals img {
  position: relative;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform ease 1s;
  filter: brightness(0.7);
  transform: scale(1.02);
}

#goals img:hover {
  transform: scale(1);
}

#goalsContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 80%;
  left: 15px;
  bottom: 20px;
  position: absolute;
  color: whitesmoke;
}

#goalsContent {
  width: 80%;
  left: 15px;
  bottom: 20px;
  position: absolute;
}

#goalsContent h1 {
  font-family: 'Merriweather', serif;
  font-size: 50px;
  color: rgb(255, 200, 69);
  transition: color ease 250ms;
}

#goalsContent h1:hover {
  color: rgb(173, 132, 31);
}

#goalsContent p {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  color: rgb(219, 219, 219);
}

/* Media Query */
@media screen and (min-width: 1021px) {
  #templateNewsBox {
    max-width: 500px;
  }
}

@media screen and (max-width: 648px) {
  #broadcast h1 {
    font-size: 45px;
  }
}
