/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #739b4a;
  color: #601105;
  font-family: Verdana;
  margin: 0;
}

.candal-regular {
  font-family: "Candal", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3 {
  font-family: "Candal", sans-serif;
  color: #7f2214;
  margin: auto;
}

header { 
  margin: 20px 10px 10px 10px;
  height: 30px;
}

.navigation {
  position: absolute;
  right: 80px;
  z-index: 99;
}

a, a:visited {
  border-bottom: 2px #f6612e solid;
  color: #7f2214;
  transition: 0.5s ease;
  text-decoration: none;
}

a:hover { 
  color: #f6612e;
}

.hero {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background: #739b4a;
}

.heroimagecontainer {
  width: 58%;
}

.heroimagecontainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroimage {
  height: auto;
  width: auto;
}

.herosidebar {
  margin: 30px;
  width: 37%;
}

.heroblurb {
  margin-top: 35px;
  margin-left: 13px;
}

.blurb {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #7f2214;
  color: white;
}

.blurbsidebar { 
  margin: 55px;
  width: 55%;
  padding: 20px;
}

.blurbsidebar ul { 
    font-size: 32px;
    font-family: "Candal", sans-serif;
    list-style-type: square;
}

.blurbimage {
  margin: 40px;
  border: 7px #f6612e solid;
  transform: rotate(-2deg);
  box-shadow: 6px 8px 5px #430b0b63;
}

.donationcontainer {
  background: #7f2214;
  display: grid;
  padding: 40px 20px;
}

.donationcontainer a {
  text-decoration: none;
  border-bottom: none;
  color: white;
}

.donateamountother a {
  color: #601105;
}

.donationcontainer h1 {
  color: white
}

.donation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.donateamount {
  background: #601105;
  color: white;
  font-weight: bold;
  width: fit-content;
  padding: 15px;
  margin: 15px;
  transition: 0.5s ease;
}

.donateamountother {
  background: none;
  color: white;
  border: 1px white solid;
  font-weight: bold;
  width: fit-content;
  padding: 15px;
  margin: 15px;
  transition: 0.5s ease;
}

.donateamount:hover {
  background: #f6612e;
}

.donateamountother:hover {
  background: #f6612e;
  border: 1px #f6612e solid;
}

.title {
  text-align: center;
}

.endorsements {
  background: white;
  text-align: center;
  padding: 20px;
}

.endorsementgrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.endorsementcontainer {
  display: block;
  width: 276px;
  margin: 20px;
  text-align: center;
}

.endorsementimage {
    background-color: #739b4a;
    border: 7px #739b4a solid;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 12px 18px -6px;
}

.endorsementcontainer p {
  margin: 0;
}

.community {
  padding: 20px;
  text-align: center;
  background: #739b4a;
}

.communitycontainer {
    width: 60%;
    margin: auto;
}

.volunteer {
  background-color: white;
  text-align: center;
  padding: 30px 0;
}

.volunteertitle {
  width: 100%;
  height: auto;
}

.volunteercontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}

form {
  width: 40%;
}

input[type=text] {
  padding: 12px;
  margin: 10px 0;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #7f2214;
}

.volunteerimage { 
  width: 55px;
  height: auto;
  padding: 25px;
}

.submit { 
  font-size:20px;
  margin: 10px;
}

footer {
  background-color: #739b4a;
  padding: 25px;
  text-align: center;
}

.paidfor {
  border: 1px #601105 solid;
  width: fit-content;
  margin: auto;
  margin-bottom: 20px;
  padding: 10px;
}

.disclaimer {
  width: fit-content;
  margin: auto;
  padding: 10px;
  font-size: 11px;
}

@media only screen and (max-width: 1200px) {
.herosidebar {
  margin: 35px;
  width: 80%;
  }
  
.heroimagecontainer {
  width: 100%;
}

.blurbsidebar {
  width: 100%;
}
}

@media only screen and (max-width: 520px) {
  /* For mobile phones: */
  
.hero {
  display: grid;
}

.herosidebar {
  margin: 35px;
  width: 80%;
}

.heroimagecontainer {
  width: 100%;
}

.heroimage {
  width: 100%;
}

.blurb {
  display: grid;
  width: auto;
}

.blurbsidebar {
  margin: 30px;
  width: auto;
  padding: 0;
}

.blurbsidebar ul { 
    font-size: 22px;
    font-family: "Candal", sans-serif;
    list-style-type: square;
}

.blurbimage {
  width: 60%;
  margin: auto;
  margin-bottom: 25px;
}

.endorsementgrid {
  display: grid;
}

.communitycontainer {
  width: auto;
}

form {
  width: 85%
}
  
}