html {
  height: 100%;
  margin: 0;
  /* font-family: 'Times New Roman', Times, serif; */
  font-family: 'Open Sans', sans-serif;
  color: #333;
  box-sizing: border-box;
  scroll-behavior: smooth;
  animation: fadeIn 1.5s ease-in-out;

}




@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}



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;
}

nav {
    background-color: #2E81DF;
    padding-left: 7px ;
    padding-right: 9px;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    margin-top: 20px;
}

.nav-links a{
  text-decoration: none;
  color: white;
  margin: 0 20px;
  padding: 10px;
  font-size: 20px;

}


.nav-links a:hover {
    text-decoration: underline;
    color: black;
}

.about-us{
  border-left: 2px solid black;
  padding-left: 7px;
  margin-left: 15px;
  margin-top: 20px;
  color: #1c1a1a;
}

 .container {
    padding: 0px 0px 0px 0px;
    color: white;
    border-radius: 15px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

    height: auto;
    margin-top: 10px;
}


 .welcome {
    background-color: white;
    margin-bottom: 2px;
    border-radius: 5px;
    line-height: 48px;
    padding-top: 10px;
    /* color: black; */
    animation: slideIn 2s ease-out;
    color: #2a2a2a;
    text-align: center;
    margin-top: 2px;
    font-size: 30px;
    font-weight: 90;
    font-family: 'Merriweather', serif;
    /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
  }

 
  .vision{
    background-color: rgba(236, 72, 72, 0.9);
    border-radius: 3px;
    font-weight: 400;
    box-shadow: 0 7px 6px 6px rgba(0, 0, 0, 0.1); 
  }

  .vision h1{
    padding-left: 10px;
    margin-top: 0px;
  }

  .vision p{
    font-size: 22px;
    padding: 10px;
  }
   
  .mission{
   background-color: rgba(46, 129, 223, 0.9);
   border-radius: 5px;
    padding-bottom: 5px;
  }

  .mission h1{
    padding-left: 10px;

  }

  .mission p{
    font-size: 22px;
    padding: 10px;
  }
  .mission li{
    font-size: 20px;
  }

  
  .values{
    background-color: rgba(244, 244, 244, 0.5);
    border-radius: 5px;
    color: rgb(70, 67, 67);
    border: 1px solid black;
    margin-top: 25px;

  }

  .values h1{
    padding-left: 10px;

  }

  .values p{
    font-size: 22px;
    padding: 10px;
  }

  .history-container{
    margin-top: 50px;
  }

  .history_title{
    background-color: rgb(46, 129, 223);
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 0;
    font-size: 30px;

  }

 

  .history{
    border: 1px solid black;
    border-radius: 0px 0px 7px 7px;
    margin: 0px 60px 0px 60px;
    padding-top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
  }

  .history p{
    color:  rgb(86, 82, 82);
    padding: 0 10px 0 10px;
    font-size: 20px;
    line-height: 1.8;
  }

  .formation-title h2{
    background-color:  rgb(236, 72, 72);
    margin-top: 20px;
    text-align: center;
    padding: 10px;

  }
  .groups h2{
    margin-top: 20px;
    text-align: center;
    background-color: rgb(46, 129, 223);
    padding: 10px;
  }

  .committee-title h2{
    background-color:  rgb(236, 72, 72);
    margin-top: 40px;
    text-align: center;
    padding: 10px;
  }

  .committee h2{
    margin-top: 20px;
    text-align: center;
    background-color: rgb(46, 129, 223);
    padding: 10px;
  }

  .committee li{
    color: black;
    font-size: 20px;
    line-height: 1.8;
  }

  
  .admin img{
    max-width: 100%;
    height: auto;
    display: block;
  }



.back-to-top{
  float: right;
  padding-right: 10px;
}

.back-to-top p{
  font-size: 15px;
  margin-bottom: 12px;
}

.back-to-top a{
  color: rgb(37, 17, 188);
}



.profile-container{
    margin: 40px ;
    padding: 10px 65px 0px 65px;
    color: white;
    border-radius: 20px;
    border: 1px solid #b81313;
    height: auto;
    top: 37em;
    box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.2);
    background-image: url("images/blurred_presby_shining_logo.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
}

.profile-container h2{
    padding-right: 4px;
    padding-bottom: 10px;
    padding-left: 4px;
    padding-top: 4px;
    margin-top: -25px;
    margin-bottom: 25px;
    z-index: 7;
    background-color: white;
    color: #2E81DF;
    width: fit-content;
    border-radius: 5px;
    font-size: 35px;
    box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.2);
}



.row {
  display: flex;
  flex-wrap: wrap;
  margin: 40px -16px;
  color: black;
}
  
  .row,
  .row > .column {
    padding: 5px;
  }
  
 
  .column {
    display: flex;
    flex-wrap: wrap;
    float: left;
    width: 22.50%;
    display: none; 
    border-radius: 7px;
    cursor: pointer;
  }
  
  
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }

  
  .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;
    color: black;
    transition: transform 0.3s ease-in-out;

  }

  .content:hover{
    transition: translateY(-0.4%);
    transform: scale(1.1);
    cursor: pointer;
  }

  

  .show {
    display: block;
  }
  
  .btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: white;
    cursor: pointer;
    font-size: 13px;
    border-radius: 6px;
  }
  
  .btn:hover {
    background-color: #ddd;
  }
  
  .btn.active {
    background-color: #666;
    color: white;
  }

footer {
    text-align: center;
    margin-top: 50px;
    color: #161515;

}

@media (max-width: 700px) {

.welcome{
  font-size: 15px;
  line-height: 30px;
}
  .row{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* align-items: center; */
  }
  .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: 85px;
  }

  .btn-container{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid black;
    border-top: 1px solid black;
  }


.profile-container{
  margin: 40px 10px 0px 10px ;
  padding: 10px 65px 0px 65px;
  color: white;
  border-radius: 20px;
  border: 1px solid #b81313;
  height: auto;
  top: 37em;
  box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.2);
}
}


@media (max-width: 830px) {
 
.welcome{
  font-size: 15px;
  line-height: 30px;
}


  .nav-links {
      flex-direction: column;
  }

  .nav-links a {
    /* margin: 0 10px; */
    margin: 5px 0;
      font-size: 20px;
}

 
  nav {
    flex-direction: column;
    align-items: center;
}
.history_title h1{
  font-size: 12px;
}

footer {
  text-align: center;
  margin-top: 50px;
  color: #161515;
  font-size: 12px;
}
}

@media (max-width: 480px) {

 
  nav {
      flex-direction: column;
      align-items: center;
  }

  .welcome{
    font-size: 19px;
    line-height: 30px;
  }

  .content{
    margin-left: 5px;
    width: 350%;
    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;
  }

  .profile-container h2{
   
    padding: 10px;
    margin-top: -25px;
    margin-bottom: 25px;
    z-index: 7;
    background-color: white;
    color: #2E81DF;
    border-radius: 5px;
    font-size: 20px;
    box-shadow: 0 8px 8px 8px rgba(0, 0, 0, 0.2);
}

.btn {
  border: none;
  outline: none;
  padding: 12px 25px;
  margin: 2px;
  background-color: white;
  cursor: pointer;
  font-size: 13px;
  border-radius: 6px;
}

.history{
  border: 1px solid black;
  border-radius: 0px 0px 7px 7px;
  margin: 0px 10px 0px 10px;
  padding-top: 20px;
  padding-right: 5px;
  padding-left: 5px;
}



}
