:root {
  --duration: 2s;
  --outer-delay: 0.2s;
  --main-delay: 0.3s;
  --ease: cubic-beizer(0.17, 0.67, 0.34, 0.99);
  --image-size: 140vh;
}
*, *::before, *::after {
  padding: 0;
  margin: 0;
  position: relative;
  transform-origin: center center;
  font-family: "STIX Two Text", serif;
  scroll-behavior: smooth;
}
.container{
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}
p{
    font-size: 18px;
    font-weight: 300;
    line-height: 25px;
}
.flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.line{
    height:100%;
    left: 15%;
    top: 100px;
    position: absolute;
    border-left: 1px solid black;
}
.circle{
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 100%;
    position: relative;
    left: 14.5%;
    top: -5px;
}
.circle-2{
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 100%;
    position: relative;
    left: 94.5%;
    top: -5px;
}
/** Languaje Selector **/

#select-container {
  position: fixed;
  z-index: 1;
  width: 40px;
  height: 40px;
  background: white;
  top: 25px; 
  right: 30px;
  border-radius: 25px;
  border: 1px solid black;
  box-shadow: 0px 3px 6px rgba(79, 104, 113, 0.20);
  overflow: hidden;
  transition: height 0.2s ease-in-out, border-radius 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  
  &:hover {
    height: auto; /* Can't use height: auto & transition effect */
    border-radius: 20px;
    box-shadow: 0px 7px 10px rgba(79, 104, 113, 0.30);
  }
  ul {
    list-style-type: none;
    position: relative;
    li {
      opacity: 1;
      transition: opacity 0.2s ease-in-out;
      &:first-child {
        a {
          cursor: default;
        }
      }
        a {
        width: 40px;
        height: 40px;
        text-align: center;
        color: black;
        text-decoration: none;
        display: block;
        margin-bottom: 8px;
        transform: translateY(25%);
        cursor: pointer;
        transition: all 0.1s ease-in-out;        
      }  
    }
  }
}

/** Banner **/

.slide-banner {
  height: 60vh;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image {
  width: 140vw;
  height: 140vw;
  position: absolute;
  overflow: hidden;
    top 0;
}
.background, .-clip {
  height: 100%;
  width: 100%;
  position: absolute;
}
.-clip{
   border: 5px solid white; 
}
.background::before {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  content: '';
  height: 100%;
  width: 100%;
  display: block;
    
}
.-rounded {
  border-radius: 100%;
  overflow: hidden;
}
.-outer {
  transform: scale(0.4);
}
.-outer .background {
  transform: scale(2.5);
}
.-outer::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  content: '';
  background: rgba(0, 0, 0, 0.3);
}
.-inner {
  transform: scale(0.2);
}
.-inner .background {
  transform: scale(5.05);
}
.slide-banner .image .background::before {
  animation-duration: var(--duration);
  animation-delay: var(--main-delay);
}
.slide-banner .image:nth-child(2) .background::before {
  animation-delay: var(--outer-delay);
}
.slide-banner .image:last-child .background::before {
  animation-delay: 0s;
}
.slide:first-child .background::before {
  background-image:url('../img/slide_2.jpg')
}
.slide:nth-child(2) .background::before {
  background-image:url('../img/slide_3.jpg')
}
.slide:nth-child(3) .background::before {
  background-image:url('../img/slide_4.jpg')
}

.slide {
  transition: opacity var(--duration);
}
.slide[data-current="true"] {
  opacity: 1;
  --main-delay: 0.5s;
}
.slide[data-current="true"] .image .background::before {
  animation-name: animate-in;
}
.slide:not([data-current="true"]) {
  opacity: 0;
}
.slide:not([data-current="true"]) .image .background::before {
  animation-name: animate-out;
}
@keyframes animate-out {
  from {
    transform: rotateZ(0deg) scale(1);
 }
  to {
    transform: rotateZ(360deg) scale(3);
 }
}
@keyframes animate-in {
  from {
    transform: rotateZ(0deg) scale(3);
 }
  to {
    transform: rotateZ(360deg) scale(1);
 }
}

.btn {
  position:relative;
  text-align: center;
}
.btn h1{
    color: white;
    font-size: 77px;
    font-weight: 600;
    letter-spacing: 40px;
    padding-left: 40px;
}
.btn span{
    color: white;
}

/** Who are we **/

.who-are-we{
    padding: 60px 0 20px 0;
}
.who-are-we .flex{
    align-items: center;
}
.who-are-we h2{
    font-style: italic;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 30px;
}
.who-are-we .donate-btn{
    float: right;
    position: absolute;
    right: 0;
    top: 20px;
    color: black;
    border: 1px solid black;
    border-radius: 100%;
    padding: 35px 10px;
    text-decoration: none;
}
.who-are-we .donate-btn:hover{
    background-color: #FDFBF4;
}
.highlight{
    padding: 30px 20px;
    background-color: white;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}
.highlight p{
    font-size: 25px;
    line-height: 35px;
}
.content-mision{
    padding: 40px 0;
}
.content-mision .img_mision{
    width: 30%;
    text-align: center
}
.content-mision .mision{
    width: 60%;
}
.content-mision .mision h3{
    margin-bottom: 30px;
    font-size: 30px;
    font-style: italic;
    font-weight: 400;
}

/** Events **/

.current-events h2,
.contact-form h2,
.title-donations h2{
    padding: 10px 20px 10px 6%;
    background-color: white;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-style: italic;
    font-size: 40px;
    font-weight: 400;
}
.event{
    padding: 40px 0;
}
.event .img-event{
    position: relative;
    width: 30%;
    margin-left: 0.7%;
}
.event .img-event img{
    border-radius: 50%;
    width: 100%;
    width: 280px;
    border-top: 20px solid white;
    border-bottom: 20px solid white;
    cursor: pointer;
}
.event .img-event .text-img-event{
    visibility: hidden;
    background-color: white;
    text-align: center;
    border-radius: 0.25em;
    z-index: 1;
    transition-property: visibility;
    transition-delay: 0s;
    text-align: center;
    padding: 10px 0;
    max-width: 280px;
}
.content-mision .img_mision .text-img-mision{
    visibility: hidden;
    background-color: white;
    text-align: center;
    border-radius: 0.25em;
    z-index: 1;
    transition-property: visibility;
    transition-delay: 0s;
    text-align: center;
    padding: 10px 0;
    max-width: 227px;
    margin: 0 auto;
}
.content-mision .img_mision .text-img-mision a{
    color: black;
}
.event .img-event .text-img-event p,
.content-mision .img_mision .text-img-mision p{
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
    font-style: italic;
    color: black;
}
.event .img-event:hover .text-img-event,
.content-mision .img_mision:hover .text-img-mision{
  visibility: visible;
  transition-delay: 0.3s;
}
.event .content-event{
    width: 60%;
}
.content-event .category-event h4{
    margin-bottom: 10px;
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
}
.content-event .category-event-2 h4{
    margin-bottom: 10px;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
}
.content-event .date{
    color: #AAA2A2;
    display: flex;
    align-items: center;
}
.content-event .date p{
    padding-left: 10px;
}
.content-event h3{
    padding: 20px 0;
    font-size: 30px;
    font-style: italic;
    font-weight: 500;
}
.content-event .text-event{
    margin-bottom: 20px;
}
.content-event a{
    color: black;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
}
.contact-form{
    padding: 40px 0;
}

/** Donations **/

.donations{
    padding: 0px 0 40px 0;
}
.donations .btn-donations{
    float: right;
    margin-top: 40px;
    width: 100%;
    max-width: 200px;
}
.donations .btn-donations input{
    width: 100%;
    max-width: 120px;
    float: right;
}
.donations .flex h2{
    font-style: italic;
    font-size: 40px;
    font-weight: 400;
    display: inline-block
}
.donations .flex img{
    width: 100%;
    max-width: 50px;
    display: inline-block;
    margin-right: 10px
}
.accordion{
    margin-top: 20px;
    width: 70%;
    margin-left: auto;
}
.accordion .accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.accordion .accordion-item button[aria-expanded='true'] {
  border-bottom: 1px solid black;
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: #D8D8D8;
  font-size: 22px;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}

.accordion button:hover,
.accordion button:focus {
  cursor: pointer;
  color: black;
}

.accordion button:hover::after,
.accordion button:focus::after {
  cursor: pointer;
  color: black;
  border: 1px solid #03b5d2;
}

.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
    color: black;
    font-weight: 600;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 22px;
  height: 22px;
  border: 1px solid;
  border-radius: 22px;
}

.accordion button .icon::before {
  display: block;
  position: absolute;
  content: '';
  top: 9px;
  left: 6px;
  width: 10px;
  height: 2px;
  background: currentColor;
}
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: '';
  top: 5px;
  left: 10px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.accordion button[aria-expanded='true'] {
  color: black;
}
.accordion button[aria-expanded='true'] .icon::after {
  width: 0;
}
.accordion button[aria-expanded='true'] + .accordion-content {
  opacity: 1;
  max-height: 50em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content p {
  font-size: 18px;
  font-weight: 300;
  margin: 2em 0;
}
.accordion-content a{
    color: black;
    font-style: italic;
}

/** Popup-Overlay **/

.popup-overlay {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden; /* hidden */
  position: absolute;
  background-color: white;
  border: 3px solid #F3F3F3;
  width: 50%;
  height: auto;
  max-height: 400px;
  left: 25%;
  z-index: 999;
}

.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden; /* hidden */
  text-align: center !important;
  padding: 40px 0;
}
.popup-content p{
    color: gray;
    text-align: center;
    padding: 20px 0;
}
.popup-content i{
    color: #1BD741;
    font-size: 70px;
}

.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}

.popup-overlay2 {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden; /* hidden */
  position: absolute;
  background-color: white;
  border: 3px solid #F3F3F3;
  width: 50%;
  height: auto;
  max-height: 400px;
  left: 25%;
  z-index: 999;
}

.popup-overlay2.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content2 {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden; /* hidden */
  text-align: center;
  padding: 40px 0;
}
.popup-content2 p{
    color: gray;
    text-align: center;
    margin: 40px 0;
}
.popup-content2 i{
    color: firebrick;
    font-size: 60px;
}

.popup-content2.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}

.contact-form .contact{
    width: 60%;
    margin-left: 30%;
    padding: 40px 0;
}
.contact-form .contact input[type='text'],
.contact-form .contact input[type='number']{
    width: 96%;
    border-radius: 50px;
    outline: transparent;
    border: 1px solid #CCCCCC;
    padding: 10px;
    font-size: 18px;
}
.contact-form .contact textarea{
    width: 96%;
    border-radius: 20px;
    outline: transparent;
    border: 1px solid #CCCCCC;
    padding: 10px;
    height: 50px;
    font-size: 18px;
}
.form-btn input{
    position: absolute;
    right: 0;
    margin-top: 20px;
    width: 100%;
    max-width: 100px;
    padding: 10px 0;
    outline: transparent;
    border: 1px solid #CCCCCC;
    border-radius: 50px;
    font-size: 18px;
    background-color: white;
    cursor: pointer;
    color: black;
}
.form-btn input:hover{
    background-color: #F7F5EA;
}
form .form-group .placeholder {
  font-size: 20px;
  font-weight: 400;
  color: black;
  margin-top: 10px;
  padding-bottom: 10px
}

form .form-group:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: transform .3s ease-in-out;
  -webkit-transition: -webkit-transform .3s ease-in-out;
  transition: -webkit-transform .3s ease-in-out;
  transition: transform .3s ease-in-out;
  transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
  -moz-transition: transform .3s ease-in-out;
  -ms-transition: transform .3s ease-in-out;
  -o-transition: transform .3s ease-in-out;
}

form .form-group.in:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}

/** Footer **/

.newsletter{
    background-color: white;
    border-top: 1px solid black;
    padding: 40px 0;
}
.newsletter .flex{
    align-items: center;
    justify-content: space-between;
}
.form-newsletter,
.content-newsletter{
    width: 48%;
}
.newsletter .content-newsletter h2,
.footer h2{
    font-style: italic;
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 20px;
}
.newsletter .form-newsletter .mc-field-group{
    display: flex;
    flex-direction: column;
    width: 70%;
}
.newsletter .form-newsletter .mc-field-group label{
    padding-bottom: 10px;
}
.newsletter .form-newsletter .mc-field-group input{
    height: 20px;
    padding: 12px;
    border-radius: 20px;
    outline: none;
    border: none;
    font-weight: 300;
    font-size: 18px;
    border: 1px solid #CCCCCC;
}
.newsletter .form-newsletter .clear .button,
.site-btn{
    padding: 10px 30px;
    outline: transparent;
    border: 1px solid #CCCCCC;
    border-radius: 50px;
    font-size: 18px;
    background-color: white;
    cursor: pointer;
    color: black;
}
.newsletter .form-newsletter .clear .button:hover{
    background-color: #F7F5EA;
}
.newsletter .form-newsletter #mc_embed_signup_scroll{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.footer{
    background-color: white;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 40px 0;
}
.footer .flex{
    align-items: center;
}
.content-footer{
    width: 30%;
}
.social-footer{
    width: 30%;
    text-align: center;
}
.terms{
    width: 30%;
    text-align: center;
    position: relative;
    height: 200px;
}
.terms a{
    color: black;
    position: absolute;
    bottom: 0;
    left: 30%;
}
.social-footer a{
    padding: 12px 11px 9px 11px;
    border-radius: 50px;
    border: 1px solid #707070;
    color: black;
    margin: 0 10px;
}
.social-footer a:hover{
    background-color: white;
}
.legal{
    padding: 15px 0;
    text-align: center;
}
.legal p{
    font-size: 16px;
}
.legal a{
    color: black;
}

@media only screen and (max-width: 680px) {
    .slide-banner {
      height: 60vh;
    }
    p,
    .accordion .accordion-content p{
        font-size: 18px;
    }
    .highlight p{
        font-size: 20px;
        line-height: 26px;
    }
    .btn h1{
        font-size: 30px;
        letter-spacing: 20px;
        margin-bottom: 10px
    }
    .accordion button, form .form-group .placeholder{
        font-size: 18px;
    }
    .who-are-we h2,
    .current-events h2, 
    .contact-form h2, 
    .title-donations h2, 
    .newsletter .content-newsletter h2, 
    .footer h2{
        font-size: 30px;
    }
    .newsletter .content-newsletter h2,
    .content-newsletter p{
        text-align: center;
    }
    .newsletter .form-newsletter #mc_embed_signup_scroll{
        flex-wrap: wrap;
    }
    .contact-form .contact{
        width: 90%;
        margin: 20px auto;
        background-color: white;
        padding: 20px 0;
    }
    .content-event h3{
        font-size: 25px;
    }
    .event .img-event, 
    .event .content-event,
    .content-mision .img_mision,
    .content-mision .mision{
        width: 100%;
        background-color: white;
        padding: 20px 0;
    }
    .content-mision .img_mision,
    .event .img-event{
        text-align: center;
    }
    .form-newsletter,
    .content-newsletter,
    .content-footer,
    .social-footer,
    .newsletter .form-newsletter .mc-field-group{
        width: 100%;
    }
    .newsletter .form-newsletter .clear .button{
        margin-top: 10px;
    }
    .content-footer{
        margin-bottom: 40px;
    }
    .content-footer h2,
    .content-footer p{
        text-align: center;
    }
    .donations .flex h2{
        margin-bottom: 20px
    }
    .accordion{
        width: 100%;
        background-color: white;
    }
    .content-newsletter{
        margin-bottom: 20px
    }
    .event .img-event .text-img-event,
    .content-mision .img_mision .text-img-mision{
        visibility: visible;
        margin: 0 auto;
    }
    .legal p{
        font-size: 14px;
    }
    .clear{
        position: absolute;
        right: 0;
        top: 50px;
    }
    .newsletter{
        padding-bottom: 80px;
    }
    footer form{
        width: 90%;
        margin: 0 auto;
    }
    .terms{
        width: 100%;
        position: inherit;
        height: 60px;
    }
    .terms a{
        position:static;
}
}