/* Header */
header {
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    gap:200px;
    
    color: #2B6CB0;
    
  }
nav a {
    font-size: 25px;
    text-decoration: none;   /* remove underlines */
    margin-left: 15px;       /* spacing between links */
    color: #2B6CB0;          /* default link color */
    font-weight: bold;
    font-family: Dosis, sans-serif;
  }
header .headercolor {
    color: #ffffff;
    background: rgb(252, 91, 4);
    padding: 5px;
    margin-bottom: 5px;
    
  }


  #container1 { width: 50%; min-height: 100px;
  }



main {
    font-size: 25px;
    color: black;          
    font-weight: normal;
    font-family: Dosis, sans-serif;
  }


h1 {
    font-size: 55px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000000;
    font-weight:normal;
    font-family: Dosis, sans-serif;
}

h1 .h1color {
    color: #2B6CB0;
}

#mission {
    font-size: 22px;
    max-width: 500px;
    flex: 1;
    float:left; 
    display:inline; 
   
    
  }

                    /* linear-gradient(to bottom, #ffffff, #0090f0) */

body {
    margin: 0;
    background-color: #f5f5f5;   /* overall page color */
    font-family: Dosis, sans-serif;
}

#slideshow {
    float: left;
    display:inline; 
    width: 680px;
    
    padding: 20px;
    height: 600px;
    border-radius: 50%;
    border: 12px solid #2B6CB0; /* blue border ring */
    background-size: cover;
    background-position: center;
    animation: bgSlideshow 7s infinite; /* runs the animation bgSlideshow  */
  }
  /* keyframes defines the steps */
  @keyframes bgSlideshow {
    0%, 25%   { background-image: url("kitty.png"); }
    26%, 50%  { background-image: url("AdoptAndFoster.png"); }
    51%, 75%  { background-image: url("Cat.jpg.webp"); }
    76%, 100% { background-image: url("Impact.png"); }
  }
 



#volunter {
    background: linear-gradient(to bottom, #ffffff, #0090f0); 
 
}

#volunteer-wrapper {
    background: url("AdoptAndFoster.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    color: white;
  }
/* Cards */

.card {
    display: inline-block;              /* turn into a flex container */
    position: relative;

    width: 380px;            
    height: 380px;           
    margin: 20px; 
    vertical-align: top;
    background-size: cover;      
    background-position: center;
    border: 1px solid #2B6CB0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
    color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
    background-size: cover;
    background-position: center;
    transition: box-shadow 0.3s;
  }

  
.card:hover {
    box-shadow: 0 10px 15px #ff8000;
  }
 /* this targets  <p> within the card / content isnide the container*/ 
.card p {
    position: absolute;       
    bottom: 0;                /* pin it to the bottom */
    width: 100%;
    text-align: center
}
  
/* Background overrides only */
.card1 { background-image: url("Impact.png"); }
.card2 { background-image: url("AdoptAndFoster.png"); }
.card3 { background-image: url("volunteer.png"); }