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

:root {
  --primary-color: #ffcb17;
  --secondary-color: #1b3561;
  --white: #ffffff;
  --off-white: #faf8f7;
  --green-dark: #035f5b;
  --bs-font-sans-serif: 'Gotham-Book';
}

html {
  font-size: 62.5%;
}

/*******/
/* cabecera */
/*******/
.topnav {
  display: flex;
  width: 100%;
  height: 86px;
  font-family: 'Gotham-Book';
  /* background-color: var(--general-background) */
}

.topnav--logo {
  width: 20%;
}

.topnav--logo img {
  width: 180px;
}

.topnav .topnav--sections {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 20px;
}

.topnav a {
  /* width: 100%; */
  padding: 0 15px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--secondary-color);
}

.topnav .icon {
  display: none;
}

.fa{
  font-size: larger;
}

.topnav a:nth-child(6) {
  padding: 0 15px;
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--primary-color);
  text-shadow: 1px 1px 1px var(--secondary-color);
}

.topnav a:nth-child(6):hover {
  padding: 0 15px;
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--secondary-color);
  text-shadow: 1px 1px 1px var(--primary-color);
}

.topnav a:hover {
  padding: 0 15px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--primary-color);
}

/* banner */
.banner{
  width: 100%;
  height: auto;
}

.banner img{
  width: 100%;
}

/* visibility */
.visibility{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--off-white);
  padding:25px 0 25px 0;
}

.visibility__p{
  width: 90%;
  font-size: 2.5rem;
  font-family: 'Fredoka-One';
  padding: 10px 0 15px 0;
  text-align: justify;
  color: var(--secondary-color);

}

.visibility__images{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visibility__img{
  width: 95%;
  padding: 10px 0;
}

.visibility__img img{
  width: 100%;
  border-radius: 30px;
  box-shadow: 2px 2px 2px var(--secondary-color);
}

.visibility__emergency{
  width: 90%;
  height: auto;
}

.visibility__emergency h2{
  width: 100%;
  font-size: 3rem;
  font-family: 'Fredoka-One';
  padding: 20px 0 15px 0;
  text-align: center;
  color: var(--secondary-color);
}

.emergency{
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.emergency__p{
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--green-dark);
}

.emergency__span{
  width: 30px;
  height: 30px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.landSlide {
  background-image: url(../img/deslizamiento-de-tierra.png);
}

.flood {
  background-image: url(../img/emergencias_inundaciones.png);
}

.growing {
  background-image: url(../img/emergencias_crecientes.png);
}

.fire {
  background-image: url(../img/emergencias_incendios.png);
}

.affectation {
  background-image: url(../img/emergencias_afectaciones.png);
}

.pandemic {
  background-image: url(../img/emergencias_pandemia.png);
}

/* projects */
.projects {
  background-color: var(--primary-color);
  padding-bottom: 5px;
}

.projects__title{
  display: flex;
  color: var(--off-white);
  height: 120px;
  background-image: url(../img/cabecera-projects.svg);
  background-size: cover;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-color);
}

.projects__title h2{
  margin-top: -15px;
  font-size: 2.8rem;
  font-family: 'Gotham-Bold';
  text-shadow: 0 0 5px #fff;
               /* 0 0 10px #fff,
               0 0 21px #fff; */
}

.projects__buttons {
  position: relative;
  display: flex;
  width: 80%;
  height: 100px;
  margin: 21px 0;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
}

.projects__buttons h2 {
  margin-left: -25px;
  width: inherit;
  font-size: 2.5rem;
  color: var(--white);
}

.projects__buttons button{
  position: absolute;
  width: 100px;
  height: 100px;
  padding: 15px;
  left: calc(100% - 41px);
  color: var(--white);
  font-size: 2.2rem;
  border-radius: 50%;
  border: 5px solid var(--white);
  background-color: var(--secondary-color);
}

.projects__buttons button:hover {
  background-color: #4072C9;
  transition: all 0.5s ease-in;
}

.projects__buttons button:focus {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.modal-body img{
  width: 100%;
}

/* donations */
.donations{
  width: 100%;
  padding-bottom: 35px;
  height: auto;
  background-color: var(--off-white);
}

.donations__title{
  padding: 15px 0 30px 0;
}

.donations__title h2{
  padding: 35px 0 20px 0;
  display: flex;
  justify-content: center;
  font-size: 3rem;
  font-family: 'Fredoka-One';
  text-shadow: 0 0 5px #fff;
  color: var(--secondary-color);
}

.donations__title hr{
  height: 3px;
  background-image: linear-gradient(90deg, red, transparent); 
  width: 300px;
  margin: -28px auto 10px auto;
  border-radius: 22px;
  opacity: 1;
}

.donationVirtual__channels{
  margin-bottom: 30px;
}

.donationVirtual__channels h2{
  font-size: 2.8rem;
  max-width: fit-content;
  text-align: center;
  font-weight: bold;
  color: var(--green-dark);
}

.donationVirtual__channels img{
  cursor: pointer;
}

.card{
  box-shadow: 1px 1px 1px gray;
}

.donationOnsite__channels{
  margin-top: 40px;
  margin-bottom: 30px;
}

.donationOnsite__channels h2{
  font-size: 2.8rem;
  max-width: fit-content;
  text-align: center;
  font-weight: bold;
  color: var(--green-dark);
}

.donationOnsite__channels .card{
  color: var(--secondary-color);
  font-family: 'Gotham-Bold';
} 

.donationOnsite__nit{
  margin: 30px auto 15px auto;
}

.donationOnsite__nitNumber{
  margin: 0 auto;
}

/* media queries */
@media screen and (min-width:600px) {
  .projects__buttons h2{
    width: auto;
  }
}

@media screen and (min-width:768px) {
  .visibility__images{
    flex-direction: row;
  }

  .visibility__img{
    margin: 0 15px;
  }



  .projects{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .proyects__top-right{
    width: 50%;
  }

  .projects__bottom-left{
    width: 50%;
  }

  .projects__title{
    height: 100%;
  }

  .projects__title h2{
    font-size: 3.3rem;
  }

  .projects__buttons{
    width: 80%;
  }

  .projects__buttons h2{
    width: inherit;
  } 
}

@media screen and (min-width: 1024px) {

  .emergency{
    flex-direction: row;
    justify-content: space-evenly;
  }

  .visibility__p{
    text-align: center;
    font-size: 3rem;
  }

  .visibility__images{
    width: 90%;
  }
}

@media screen and (min-width: 1280px) {
  .projects__buttons h2{
    width: auto;
  }
}

/* nav */

@media screen and (max-width: 1024px) {
  .topnav a {
    display: none;
  }
  .topnav a.icon {
    display: block;
    margin-right: 15px;
  }
  .topnav .topnav--logo:hover {
    padding: 0 15px;
  } 
}


@media screen and (max-width: 1024px) {
  .topnav .topnav--logo:first-child {
    display: block;
    width: initial;
  }
  .topnav.responsive {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 255px;
  }

  .topnav.responsive .topnav--sections {
    display: flex;
    flex-direction: column;
    margin-right: 0px;
  }

  .topnav.responsive .icon {
    position: absolute;
    padding-top: 30px;
    top: 2px;
    right: 0px;
    margin-right: 35px;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .sections--linksnav {
    padding-top: 12px;
  }
}
