* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Michroma", sans-serif;
}
#topnav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  padding: 1.2rem 0;
  font-family: "Michroma", sans-serif;
  font-size: 1.5em;
  font-weight: 500;
  background-color: white;
  box-shadow: 0 -11px 0 0 #d3d3d3 inset;
}
a:link,
a:visited {
  color: rgb(0, 0, 0);
}
a {
  transition: 0.3s;
  margin: 0.5em;
  text-decoration-line: none;
}
a:hover,
a:focus {
  color: rgb(182, 0, 0);
  scale: 1.3;
}
main {
  padding: 0em 8em;
}
article {
  margin: 1em 0em;
}
.title {
  text-align: center;
  font-size: 2em;
}
.logo {
  background-size: contain;
  text-align: center;
  align-items: center;
}
.logo img {
  width: 50%;
  height: auto;
}
.goals {
  display: grid;
  grid-template-columns: 1fr;
}
.header {
  font-size: 1.5em;
  margin: 1em 0em;
}
.paragraph {
  font-size: 1em;
}
.photo-responsi {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.photo {
  background-size: contain;
  background-color: black;
  align-content: center;
}
.photo img {
  width: 100%;
  height: auto;
}
.bg img {
  width: 100%;
  height: auto;
  opacity: 80%;
}
.bg section section {
  background-size: contain;
  align-content: center;
}
.text {
  align-items: center;
  background-color: #ff5900;
  padding: 1em;
}
.text h2 {
  font-size: 2em;
}
.text h3 {
  font-size: 1.5em;
}
.challenge {
  display: grid;
  grid-template-rows: 1fr;
}
.bg {
  background-image: linear-gradient(#ff5900, rgb(63, 30, 0));
  padding: 1em;
  color: white;
}
.bg section {
  margin: 2em 0em;
}
.bg section h2 {
  margin: 1em 0em;
}
/*slider*/
.slider {
  background-color: #ff5900;
  padding: 1em;
  display: grid;
  grid-template-columns: 1fr;
}
/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

.prev,
.next {
  cursor: pointer;
  transform: translateY(-5%); /* Added - true vertical center */
  padding: 1em;
  color: white;
  font-weight: bold;
  font-size: 2em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.buttons a {
  margin: 0;
  text-align: center;
}
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text1 {
  color: #f2f2f2;
  font-size: 1em;
  padding: 1em;
  width: 100%;
  text-align: left;
}

.numbertext {
  color: #f2f2f2;
  font-size: 1.5em;
  padding: 1em;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
article {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

article.visible {
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 600px) {
  #topnav {
    font-size: 0.8em;
  }
  main {
    padding: 0em 2em;
  }
  .photo-responsi {
    grid-template-columns: 1fr;
  }
  .logo img {
    width: 100%;
  }
  .text h2 {
    font-size: 1.5em;
  }
  .text h3 {
    font-size: 1em;
  }
}
