@import "variables.css";

main {
  animation: transitionIn 0.75s;
}

p {
    font-size: 1.5rem;
}

.logo-for-ground {
  font-family: "Baloo 2", sans-serif;
  position: absolute;
  top: 10rem;
  left: 10%;
}
.logo-for-ground img {
  margin-left: 1rem;
  height: 10rem;
}
.logo-for-ground h2 {
  color: var(--logo-writing);
  font-size: 3rem;
}
.logo-for-ground h3 {
  font-size: 1.25rem;
  color: var(--logo-green);
}
#logo-offset {
  margin-left: 2rem;
  margin-top: -2rem;
}

#primary-img {
  width: 100%;
  margin-top: -35rem;
}
/* ---------------------------------------------------------------------section 1-------------------------------------------------------- */
#divider {
  height: 2rem;
  background-color: var(--logo-green);
}
#section-1 {
  background-color: var(--logo-turquoise);
  color: white;
  padding: 2.5%;
}
#top-div {
  display: flex;
  justify-content: space-evenly;
  align-items: end;
}
#top-div-imgs {
  display: flex;
  justify-content: space-evenly;
  align-items: end;

}
#section-1 img {
  width: 30%;
}
#section-1 h1 {
  font-weight: bold;
  font-size: 3rem;
}
#section-1 p {
  display: block;
  width: 90%;
  
  
}
#our_goals {
  width: 30%;
  
}
/* --------------------------------------------------------------------------Section 2------------------------------------------------------------- */
#section-2 h1 {
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--logo-green);
  text-underline-offset: 2rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

#section-2 h1 span {
  font-weight: bold;
}

#sub-section-2 {
  display: flex;
  justify-content: space-evenly;
  
}
.section-2-sub {
  width: 30%;
  display: inline-block;
  margin: 0 auto;
}
.section-2-sub img {    
  width: 50%;  
}
.break-footer {
    width: 100%;
    margin: 0;
}
/* ---------------------------------------------------------------------------Section 3------------------------------------------------------------------------ */
#section-3 {
    margin: 5% 10%;
}
#section-3 h1 {
    font-weight: bolder;
}
#break-banner {
    width: 100%;
}
/* ---------------------------------------------------------------------------Section 3------------------------------------------------------------------------ */
#section-4 {
    padding: 3rem 10%;
    color: white;
    background-color: var(--logo-green);
}
#section-4 h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
#contact-us {
  margin: 3rem;
  text-align: center;
  
}
#contact-us a {
  text-decoration: none;
  font-size: 6rem;
  color: white;
  font-weight: bold;
  background-color: var(--logo-turquoise);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2); 
  border-radius: 0.5rem;
  padding: 2rem;
  transition: 0.5s;
  
}
#contact-us a:hover {
  background-color: var(--logo-green);
  
}


/* --------------------------------------------------------------------------------Media queries--------------------------------------------------------- */

/* mobile phones */
@media screen and (max-width: 480px) {
  #primary-img {
    margin-top: 4rem;    
  }
  #top-div {
    display: block;
  }
  #our_goals {
    width: 100%;
  }
  #our_goals h1 {
    margin-left: 2rem;
  }
  #top-div-imgs {
    justify-content: space-between;
  }
  #section-1 img {
    width: 45%;
  }
  #sub-section-2 {
    flex-direction: column;
  }
  p {
    font-size: 1rem;
  }
  #sub-section-2 h2 {
    font-size: 1.325rem
  }
  .section-2-sub {
    width: 80%;
  }
  #contact-us a {
    font-size: 3rem;    
    padding: 1rem;   
  }

  
  
}
/* Low Resolution Tablets */
@media screen and (min-width: 481px) and (max-width: 767px) {
  #primary-img {
    margin-top: 0rem;
    
  }
  #our_goals h2 {
    font-size: 1.325rem;
  }
  #sub-section-2 {
    flex-direction: column;
  }
  .section-2-sub {
    width: 80%;
  }
  #contact-us a {
    font-size: 3rem;    
    padding: 1rem;   
  }
  
}
/* Tablets Ipads portrait mode */
@media screen and (min-width: 768px) and (max-width: 1280px) {
  #primary-img {
    margin-top: -55%;
    
  }
  
}
@media screen and (min-width: 1281px){
  #primary-img {
    margin-top: -55%;
    
  }  
}

@keyframes transitionIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}









