* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background-color: #ececec;
  font-size: 16px;
  line-height: 1.6;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #113551;
  padding: 12px 30px;
  box-shadow: 0px 0px 3px #000;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-holder a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-logo {
  width: 50px;
  margin-right: 10px;
}

#nav-links {
  display: flex;
  flex-direction: column;
  background-color: #113551;
  position: absolute;
  top: 60px;
  right: 10px;
  width: 200px;
  padding: 10px;
  border-radius: 6px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition: max-height 0.3s ease, opacity 0.3s ease;
}

#nav-links.open {
  max-height: 300px;
  opacity: 1;
}

#nav-links a {
  margin: 10px 0;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  white-space: nowrap;
}

#nav-links a:hover {
  text-decoration: underline;
}

#hamburger {
  width: 30px;
  cursor: pointer;
}

h2 {
  font-size: 32px;
  margin-top: 20px;
}

h3 {
  font-size: 26px;
  margin-top: 15px;
}

p {
  font-size: 1rem;
}

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.2);
}

.hero-content {
  padding-left: 80px;
  max-width: 500px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.1rem;
  max-width: 260px;
  margin-top: 10px;
  margin-bottom: 25px;
}

.hero-home {
  background-image: linear-gradient(#00000033, #00000033),
    url("../images/baby-aardvark-dark.png");
}

.hero-adopt {
  background-image: linear-gradient(#00000033, #00000033),
    url("../images/mom-n-baby.png");
}

.btn,
input[type="submit"] {
  background-color: #156cb9;
  color: #ffffff;
  text-decoration: none;
  border: none;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
}

.btn:hover,
input[type="submit"]:hover {
  background-color: #145fa3;
}

.form-box {
  margin: 40px auto;
  width: 90%;
}

.form-box form div {
  margin-bottom: 15px;
}

.form-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-box input,
.form-box textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-box input:focus,
.form-box textarea:focus {
  border-color: #156cb9;
  outline: none;
}

footer {
  background-color: #1a4f77;
  padding: 20px;
  color: #d9d9d9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .logo-holder img {
  max-width: 100px;
}

footer a {
  color: #dadada;
}

footer a:hover {
  color: #ffffff;
}

.things-we {
  display: block;
}

.do {
  width: 100%;
  margin-bottom: 20px;
}

.founders {
  display: block;
}

.founder {
  width: 100%;
  margin-bottom: 20px;
}

.mission-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 20px;
}

.aardvark-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.adoption-grid {
  display: block;
}

.adopt {
  width: 100%;
  margin: 20px 0;
}

@media (min-width: 768px) {

  #nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    background: none;
    width: auto;

    max-height: none;
    opacity: 1;
    overflow: visible;
  }

  #nav-links a {
    margin-left: 25px;
    margin-top: 0;
    margin-bottom: 0;
  }

  #hamburger {
    display: none;
  }

  .things-we {
    display: flex;
  }

  .do {
    width: 33.33%;
  }

  .founders {
    display: flex;
  }

  .founder {
    width: 50%;
  }

  .mission-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 40px;
    padding: 20px 100px;
  }

  .adoption-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .adopt {
    width: 100%;
    margin: 0;
  }

  .form-box {
    width: 60%;
  }
}

body.scrolled nav {
  padding: 4px 16px;
}

body.scrolled .nav-logo {
  width: 25px;
}

body.scrolled .logo-holder a {
  font-size: 13px;
}