
/*All child elements of navbar is right-aligned
  Starts at 0 pixels from the top of the page
  Lays over the hero image
*/
.navbar {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: flex-end;
  background: #252525;
  position: fixed;
  top: 0;
  transition: transform 0.3s ease-in-out, background-color 0.3s;
  z-index: 1000;
}

.navbar__menu {
  list-style: none;          
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center; 
  justify-content: center;       
}

/* Alters the navbar link-buttons in the menu */
.navbar__menu a { 
  padding: 12px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: filter 0.2s;
  font-family: 'Verdana', Arial, sans-serif;
}

.navbar__menu a:hover {
  filter: brightness(0.9);
}

/* Button variations */
.btn--donate { background: #1e7d47; }       /* green */
.btn--membership { background: #0e6dcb; }   /* blue */
.btn--tickets { background: #d88520; }      /* orange */

.navbar-secondary {
  position: fixed;
  top: 40px;
  height: 45px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #85754e;
  gap: 25px;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  z-index: 999;  
}

.navbar-secondary__logo a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-secondary__menu {
  display: flex;  
  justify-content: center;
  align-items: center; 
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-secondary__menu a {
  color: #ffffff;
  font-weight: bold;
  font-family: 'Verdana', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: opacity 0.2s;
  text-decoration: none;
}

.navbar-secondary__menu a:hover {
  opacity: 0.8;
}

body, html {
  margin: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  display:flex;
  flex-direction: column;
  min-height: 100dvh;
}

main, .main, .animal-main {
  flex: 1 0 auto;            
} 

.hero--main, .hero--alpaca, .hero--pallas, .hero--hamdarya, .hero--emu {
  height: 65vh;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  position: relative;
}

.hero--main {
  background-image: url('../img/redpanda.jpg');
}

.hero--alpaca {
  background-image: url('../img/alpaca1.jpg');
}

.hero--pallas {
  background-image: url('../img/pallascat1.jpg');
}

.hero--hamdarya {
  background-image: url('../img/hamadrya.jpeg');
}

.hero--emu {
  background-image: url('../img/emu1.jpg');
}

.animal-main  {
  margin: 0;
  padding-top: 85px;
}

.main__header {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 20px;
    color: rgb(1, 108, 135);
}

.main__secondheader {
    text-align: center;
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: rgb(20, 131, 1);
}

.main__animal__introduction {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.main__animal__introduction p {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    color: rgb(40, 40, 40);
    font-size: 1.8rem;
    line-height: 1.7;
    margin: 0;
}

.main__animal__button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main__animal__button a {
    padding: 15px 40px;
    border-radius: 3px;
    background-color: rgb(231, 129, 40);
    text-decoration: none;
    list-style: none;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

.main__image__container {
    display: flex;
    flex-wrap: wrap;         
    justify-content: center;
    gap: 5px;               
    max-width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.main__image {
    flex: 1 1 300px;         
    max-width: 350px;        
    width: 100%;
    height: 250px;           
    object-fit: cover;
    border-radius: 8px;
}

.footer {
  margin-top: auto;            
  padding: 20px 0; 
  background-color: #272525; 
  flex-shrink: 0;   
}

.footer__nav {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer__menu {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__menu a {
    text-decoration: none;
    color: #9c8753;
    font-weight: bold;
    text-transform: uppercase;
}
.animal--main__header {
  text-align: center;
  padding: 35px 0 35px;
  margin: 0;
  letter-spacing: 4px;
  font-size: 3.5rem;
  color: green;
}
.animal--main__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.animal--main__container__card {
  display: block;
  width: 350px;
  text-decoration: none;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.4s ease;
}

.main__container__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.animal--main__container__card img {
  width: 100%;
  display: block;
}

.main__container__card__text {
  text-decoration: none;;
  padding: 10px;
  text-align: center;
}

.main__container__card__text h3 {
  color: teal;
  font-size: 20px;
  margin: 5px;
}

.main__container__card__text p {
  color: black;
  font-size: 14px;
  margin: 9px;
}

