
html {
  height: 100%;
  margin: 0;
  animation: fadeIn 1.9s ease-in-out;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Open Sans', sans-serif;  
  color: #333;
}
  
body {
  background-image: url("images/new-white-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
   
    /* padding: 50px; */
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-top: 20px;
  }

  .ministries{
    border-left: 2px solid black;
    padding-left: 10px;
    margin-left: 15px;
    margin-top: 20px;
  }

  .ministries h2{
    margin-top: 30px;
    color: #0b0a0a;
  }

  nav a {
    text-decoration: none;
    font-size: 20px;
    margin: 0 20px;
    color: white;
    padding: 10px;
}


nav a:hover {
    text-decoration: underline;
    color: black;
}



nav {
  background-color: #2E81DF;
  padding-left: 7px ;
  padding-right: 9px;
  display: flex;
  justify-content: space-between;
  border-radius: 10px;
  margin-top: 20px;
}

.welcome{
    margin-top: 20px;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.welcome h1{
    text-align: center;
    font-size: 40px;
    font-weight: 100;
    border-bottom: 1px solid rgb(48, 158, 202);
    color: rgb(13, 13, 14);
    animation: slideIn 2s ease-out;

}

.welcome p{
  font-size: 20px;
}
.interest-title{
  background-color: #1a1919;
}
.interest-title h3 {
  color: white;
  font-size: 40px;
  text-align: center;
}


.faq{
  max-width: 900px;
  margin-top: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #1a1919;
  cursor: pointer;

}

.question{
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.question h3{
  font-size: 1.2rem;
  color: rgb(20, 19, 19);
}

.question h4{
  font-size: 1.3rem;
  color: black;
}

.back-to-top{
  float: right;
  /* margin-bottom: 12px; */
  color: white
}

.back-to-top p{
  font-size: 15px;
  margin-bottom: 12px;
}

.back-to-top a{
  color: rgb(39, 27, 211)

}
.interest-grp a{
  color: white;
  background-color: #2E81DF;
  margin-bottom: 10px;
}

.generational-grp a{
  color: white;
  background-color: #2E81DF;
  margin-bottom: 10px;
}
.answer{
  max-height: 0;
  overflow: scroll;
  transition: max-height 1.0s ease;
  background-color: rgba(28, 25, 25, 0.5);
  color: white;
  border-radius: 10px;
  padding-left: 10px;
}

.answer p{
  padding-top: 0.2rem;
  line-height: 26px;
  font-size: 1.4rem;
}

.faq.active .answer{
  max-height: 300px;
}

.faq.active svg{
  transform: rotate(180deg);
  
}

svg {
  transition: transform 0.5s ease-in;
}

@keyframes fade {
  from {
      opacity: 0;
      transform: translateY(-10px);
  
  }
  to {
      opacity: 1;
      transform: translateY(0px);
  }
}


.interest-grp{
  padding: 5px;
}


.generational-title h3{
  color: white;
  font-size: 40px;
  text-align: center;
  background-color: #1a1919;

}

.generational-grp{
  padding: 5px;
  /* background-color: #f1f4f8; */
  background-color: rgba(255, 255, 255, 0.768);
  margin-top: 10px;
  border-radius: 6px;
}


.generational-grp p{
  /* border-left: 2px solid black; */
  padding-left: 4px;
  font-size: 24px;
}

.row {
  margin: 40px -16px;
  color: black;
  display: flex;
  flex-wrap: wrap;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 5px;
}

.column {
  display: flex;
  flex-wrap: wrap;
  float: left;
  width: 22.50%;
  display: none;
  border-radius: 7px;
  cursor: pointer;
}




/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: rgb(239, 239, 239);
  padding: 10px;
  border-radius: 7px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;


}

.content:hover{
  transition: translateY(-0.4%);
    transform: scale(1.1);
    cursor: pointer;
  /* overflow: hidden; */
}

.show {
  display: block;
}

.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
  font-size: 15px;
  border-radius: 5px;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #8c7e7e;
  color: white;
}

.btn-container{
padding-top: 10px;
margin-top: 20px;
}

table, th, td{
  border: 1px solid black;
  border-radius: 15px;
  color: black;
  border-collapse: collapse;
  padding: 20px;
  text-align: center;
  justify-content: center;
}

.purpose ul{
  font-size: 22px;
}

.members ul{
  font-size: 22px;
}

footer{
  text-align: center;
  margin-top: 50px;
}

footer p {
  font-size: 13px;

}



@media(max-width: 480px){
  

  .welcome h1{
    font-size: 20px;
    width: 100%;
  }

  .welcome h2{
    font-size: 18px;
  }

  .interest-title h3{
    font-size: 32px;
  }

  .generational-title h3{
    font-size: 28px;
  }

  .row{
    display: flex;
    flex-direction: column;
  }

  .content {
    background-color: rgb(239, 239, 239);
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
    width: 250%;
    margin-left: 55px;
  }

  /* .btn-container{
    flex-direction: column;
  } */
  .btn-container{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid black;
    border-top: 1px solid black;
  }

  
}


  @media (min-width: 481px) and (max-width: 700px){
  .row{
    /* display: flex; */
    display: grid;
    grid-template-columns: 1fr 1fr;
/* 
    flex-direction: column;
    flex-wrap: wrap; */
    
  }
  .content {
    background-color: rgb(239, 239, 239);
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
    width: 250%;
    margin-left: 55px;
  }

  .btn-container{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid black;
    border-top: 1px solid black;
  }
  
}

@media(max-width: 830px){

  nav{
    flex-direction: column;
    text-align: center;

  }

  nav a {
    margin: 5px 0;
    font-size: 20px;
}

 
  .btn-container{
    flex-direction: column;
  }

  .welcome h1{
    font-size: 17px;
  }

  .welcome h2{
    font-size: 15px;
  }

  .welcome p {
    font-size: 14px;
  }
 
  .generational-title h3{
    color: white;
    font-size: 24px;
    text-align: center;
    background-color: #1a1919;
  
  }

  .interest-title h3 {
    color: white;
    font-size: 24px;
    text-align: center;
  }

  footer p {
    font-size: 13px;
    margin-top: 0px;
  }
}