@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  box-sizing: border-box;
  margin:0;
  padding:0;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* wrapper around entire html to remove horizantal scroll */
.total-wrap {
  margin:0;
  padding:0;
  background-color: #fff;
  overflow-x: hidden;
}

.hide-big {
  display:none;
}


/* Navigation bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  position: absolute;
  top: 2em;
  left: 0;
  width: 100%;
  padding: 0 1.5em;
}
nav ul {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
li {
  list-style: none;
}

li a {
  margin-right: 1em;
  color: #000;
}
a {
  text-decoration: none;
  color: black;
}
nav button {
  border: 1px solid #8e8e93;
  margin-left: 2em;
  cursor: pointer;
  padding: 1em;
  background: linear-gradient( to right,  #fff 50%, #2bb359 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  transition: all ease .3s;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
}

nav button:hover {
  background-position: right bottom;
}

nav .logo {
  font-size: 2em;
  font-weight: bold;

}

nav .logo:hover {
  color: #2bb359;
}

.background-light {
  content: '';
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 60vh;
  background-color: #e5f3eb; 
  z-index: 0;
}

.main {
  display: flex;
  flex-direction: column;
  padding: 3em;
  margin-top: 3em;
  z-index: 15;
 
}

.main h1 {
  margin: 1em 0;
  z-index: 1;
  font-weight: normal;
}

h1 {
  text-align: center;
}

.wrapper {
  display: flex;
  width: 100%;
  height: 80vh;
  min-height: 600px;
}

/* Video showcase */
.showcase-video {
  width: 70%;
  height: 100%;
  overflow: hidden;
  position: relative
}
iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
  width: 100%;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 3px 3px 10px 1px rgba(0,0,0,0.3);
}

h2 {
  font-size: 2em;
  margin-bottom: 1em;
  color: #c8d1e0;
}


/* Donation progress section & support button */
.donation-progress {
  height: 100%;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 3px 3px 10px 1px rgba(0,0,0,0.3);
  z-index: 1;
}
.donation-progress h2 {
  margin-top: 1em;
}
.donation-progress p {
  word-wrap: wrap;
  padding: 0.5em;
  color: #888;
}

b {
  color: #000;
}
.donation-progress button {
  cursor: pointer;
  width: 50%;
  padding: 1.75em;
  align-self: center;
  border-radius: 30px;
  text-transform: uppercase;
  border: none;
  color: #fff;
  background-color: #2bb359;
}

.bottom-desc {
  margin-top: 3em;
}

button:hover {
  opacity: 0.8;
}

span.black {
  font-weight: bold;
  font-size: 2.75em;
  display: block;
  margin-bottom: 0.5em;
  color: #000;
}

.prog-bar {
  margin: 0 1em;
  background-color:#b6b6d3;
  
}

.prog-bar>div {
  background-color: #2bb359;
  width: 51.22%;
  /* Adjust with JavaScript */
  height: 0.3em;
}



.fa-rotate-135 {
  -ms-transform:rotate(135deg);     
  -webkit-transform:rotate(135deg); 
  transform:rotate(135deg);         
}

/* Donations Modal popup */

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: none;
  border-radius: 10px;
  z-index: 1000;
  background-color: #ebf4f4;
  padding: 3em;
  width: 500px;
  max-width: 80%;

}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.modal-header .title {
  font-size: 1.25em;
  font-weight: bold;
  margin: 0.5em;
  border-bottom: none;
}

.modal-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  color: #777;
  background: none;
  font-size: 2em;
  font-weight: bold;
  position: absolute;
  top: -1.2em;
  right: -1.2em;
}

.modal-body {
  padding: 0.5em;
  background-color: #fff;
}

.overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  pointer-events: none;
  z-index: 800;
}

.overlay.active {
  opacity: 1;
  overflow-y: hidden;
  pointer-events: all;
}

.donate-buttons {
  cursor: pointer;
  background-color:#00AD86;
  color:#FFF;
  padding:0.5em;
  width: 75px;
  border:0;
  border-radius:5px;
  font-size:1.2em;
  margin: 1em;
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

}

/* Campaign Keywords */
.keywords a{
  border: 1px solid #000;
  border-radius: 30px;
  padding: 0.5em;
  margin: 3em 0 0 3em;
}

/* Campaign description & Donors */
.campaign-info-wrap {
  width: 100%;
  position: relative;
  padding: 3em;
  display: flex;
}

.campaign-story-sec {
  width: 50%;
  margin: 4em 2em 2em 11em;
  max-width: 960px;
}

.campaign-story-sec h3 {
  margin: 3em 0 0em -.5em;
  font-weight: bold;
  font-size: 3em;
  border-bottom: 1px solid #000;
  width: 100%;

}

.green-shade {
  background: #f7fcf9;
  margin:0 0 3em -1.5em;
  padding-top: 0;
  height: 200px;
  width: 100%;
}
.wrap {
  padding: 1em 2em;
}

.wrap h5 {
  font-weight: bold;
  font-size: 1.5em;
  margin: 1em 0 1.5em 0;
}
.wrap p {
  font-size: 1.2em;
}

.campaign-story h4 {
  font-weight: bold;
  font-size: 1.8em;
  margin: 1em 0;
  text-decoration: underline;
}

.campaign-story p {
  font-size: 1.3em;
  margin: 1em 0;
}

.campaign-story img {
  width: 80%;
  height: auto;
}


.contain {
  display: flex;
  flex-direction: column;
  margin-top: -6em;
}
.organizer-info {
  width: 350px;
  height: 350px;
  box-shadow: 3px 3px 10px 1px rgba(0,0,0,0.3);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-top: 3em;
}


.organizer-info h6, .organizer-info .fas{
  color: #57c282;
  margin: 0;
  padding:0;
}

.organizer-info h6 {
  font-weight: bold;
  font-size: 1.3em;
  margin: 0.5em
}
.organizer-info img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 5px;
  margin-top: 1em;
}

.line {
  border-left: 2px solid #888;
  height: 15px;
  padding: 20px 0;
}

.grey {
  color: #888;
  margin-top:0;
  font-size: 1em;
}

h7 {
  font-size: 1.1em;
}

.organizer-info p {
  margin-top: 0;
  padding-top: 0;
}


.hide-desktop {
  display: none;
}

.donors {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.donors ul  {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0.3em 1.5em;
}

.donors img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

img.to-reduce{
  width: 25px;
  height: 25px;
}

.donors li p {
  margin-left: 2em;
  font-size: 0.9em;
  color: #888;
}

.donors li {
  margin-bottom: 0.3em;
}

.donors h1 {
  text-align: left;
  margin: 1em 0;
}
 .donors button {
  font-weight: 800;
  font-size: 1.1em;
  text-transform: uppercase;
  border: initial;
  background-color: initial;
  color: #57c282;
  cursor: pointer;
  text-align: center;
  margin-bottom: 2.5em;
 }


 .see-less {
   display: none;
 }

 

 button:focus{
   outline: 0;
 }


 .donors ul.show-more {
  display: none;
}

button.show-more-button {
  display: none;
}


/* Footer */
 footer {
  background-color: #645398;
  height: 100%;
  width: 100vw;
  margin:0;
  padding: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
 }

 .footer-wrapper {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   max-width: 960px;
   text-align: center;
   
   
 }

 footer span {
  color: #c69df0;
  display: inline-block;
  font-size: 1.2em;
  
 }

 footer h3{
  color: #fff;
  font-size: 2em;
  margin: 0.5em 0;;
 }
 
 footer p {
   color: #fff;
   font-size: 1.2em;
   margin-bottom: 1em;
 }

 footer .buttons {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 1em 0;

 }

 footer button {
   font-size: 1.3em;
   padding: 0.5em;
   border-radius: 5px;
   cursor: pointer;
   width: 200px;
 }

 footer .campaign-but {
  color: #000;
  background: #fff;
  border:none;
  background: linear-gradient( to right, #fff 50%, #c69df0 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  transition: all ease .3s;
  margin:0;
  margin-right: 2em;
 }

 .campaign-but:hover {
  background-position: right bottom;
 }

 .how-but {
  border: 1px solid #3c315b;
  background-color: #645398;
  color: #fff;
  background: linear-gradient( to right,#645398 50%, #c69df0  50%);
  background-size: 200% 100%;
  background-position: left bottom;
  transition: all ease .3s;
 }

 .how-but:hover {
   background-position: right bottom;
   color: #000;
 }

 .success-info {
   width: 100%;
   display: flex;
   justify-content: space-around;
   align-items: center;
   margin: 1em 0;
 }
 .success-info h4 {
   color: #CEC3EF;
   text-decoration: none;
   font-weight: normal;
   font-size: 1.5em;
   
 }

 .icons {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 1em 0;
 }

 .icons i {
   margin: 0 0.5em;
  color: #fff;
 }

 .icons i:hover {
   color: #c69df0;
 }

 .copy {
   margin: 0.5em 0;
   font-size: 1em;
   text-align: center;
 }
/* Media Querries Responsive */


@media(max-width: 875px){
  body {
    font-size: 14px;
  }
  .wrapper {
    margin-top: 2.5em;
  }
  .show-small {
    display: block;
  }
  nav {
    padding: 0.5em 2em;
  }

  .hide-desktop {
    display: block;
  }

  .hide-mobile {
    display: none;
  }
  .main {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 4.5em 0;
  }
  .wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100vw;
  }

  .showcase-video {
    width: 100vw;
    height: 65vh;
    min-height: 350px;
  }

  iframe {
    border-radius: 0;
  }

  .donation-progress {
    width: 100%;
    min-width: 350px;
    height: 50%;
    text-align: left;
    padding: 1em 3em;
    margin-top:0;
    border-radius: none;
    box-shadow: none;
    border-bottom: 1px solid #dfe9f3;
    border-radius: 0;
  }

  .donation-progress h3 {
    font-size: 1.4em;    
    margin-bottom: 1em;
    font-weight: normal;
  }

  .donation-progress h2 {
    font-size: 1em;
    margin-bottom: 0.2em;
    padding: 0;
  }

  .donation-progress .bottom-desc {
    font-size: 1em;
    margin-top:0;
    padding: 0;
    text-align: center;
    padding: 0.5em;
    width: 50%;
    border: none;
    align-self: center;
  }

  span {
    font-weight: bold;
    font-size: 1em;
    display: inline-block;
    color: #2bb359;
  }

  .prog-bar {
    margin: 0;
  }
  
  .campaign-info-wrap {
    width: 100vw;
    display: flex;
    flex-direction: column;
    margin:0;
    padding:0;
  }


  .campaign-story-sec {
    width: 100vw;
    margin: 0;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  

  .campaign-story-sec p{
    padding: 0 1.5em;
  }

  .campaign-story-sec h4{
    padding: 0 1.2em;
    margin-top: 1em;
  }

  .campaign-story img {
    padding:1.8em;
  }


  .title {
    width: 100vw;
    border-bottom: 1px solid #dfe9f3;
    margin:0;
    padding: 0;
  }

  .title h3 {
    padding:0.75em 0;
    margin:0 1em;
    font-size: 2.5em;
    text-decoration: none;
    border: none;
  }


  .keywords {
    margin:0;
    margin-top: -1em;
    padding: 0 0 2.5em 0;
    width: 100vw;
    border-bottom: 1px solid #dfe9f3;
  }

  .keywords a {
    margin: 0 0 0 1em;
    font-size: 1.5em;
  }
  .campaign-story {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .show-more-mobile {
    display: none;
  }

  .button-story{
    font-weight: 800;
    font-size: 1.1em;
    text-transform: uppercase;
    border: initial;
    background-color: initial;
    color: #57c282;
    cursor: pointer;
    text-align: center;
   }

  .button-story {
    opacity: 0.7;
  }

  .green-shade {
    width: 100vw;
    margin:0;
    padding:0;
  }

  .organizer-info {
    margin-top: 10em;
    box-shadow: none;
    width: 100%;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;


  }

  .hide-button {
    display: none;
  }
  .donors {
    padding: 0 1.7em;
  }

  .show-more {
    display: none;
  }

  .show-more-button {
    display: none;
  }
}

@media(max-width: 675px){
  body{
    font-size: 13px;
  }

  .donation-progress .bottom-desc {
    width: 65%;
  }

  .buttons {
    flex-direction: column;
    width: 85%;
    align-items: center;
    justify-content: center;
  }

  footer .campaign-but {
    margin: 1.5em 0;
    
  }

  .how-but {
    margin: 0;
    margin-bottom: 1.5em;
  }

  .show-more-mobile {
    display: none;
  }

  .show-more {
    display: none;
  }

  .show-more-button {
    display: none;
  }

  /* Modal */
  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: none;
    border-radius: 10px;
    z-index: 1000;
    background-color: #ebf4f4;
    padding: 3em;
    width: 500px;
    max-width: 80%;
  
  }
  
  .modal.active {
    transform: translate(-50%, -50%) scale(1);
  }
  
  
  .modal-header .title {
    font-size: 1em;
    margin: 0.25em;
    border-bottom: none;
    font-weight: bold;
  }
  
  
  .modal-body {
    padding: 0.5em;
    background-color: #fff;
  }
  
  
  .donate-buttons {
    padding:0.5em;
    width: 50px;
    border:0;
    border-radius:5px;
    font-size:1em;
    margin: 0.4em;
  }
  
  
}

@media(max-width: 550px){
  .donation-progress .bottom-desc {
    width: 75%;
  }

  .success-info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .success-info h4 {
    margin: 0.75em 0;
    padding:0;
  }
  .icons {
    padding:0;
    margin: 0.5em 0;
    align-self: center;
  }

}


