@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Raleway:wght@600&display=swap"); /*********************************/
/************* RESET *************/
/*********************************/
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  font-family: "Open Sans", sans-serif;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*********************************/
/************ COMMON ************/
/*******************************/
body {
  background-color: #f5f5dc;
}

p {
  font-size: 1.6rem;
}

small {
  font-size: 1.4rem;
}

ul {
  font-size: 1.6rem;
}

button {
  display: flex;
  border-radius: 4rem;
  padding: 1rem 4rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}

/*********************************/
/************ HEADER ************/
/*******************************/
.header {
  height: 9.5rem;
  padding: 1rem 1rem;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

.header__logo-link {
  text-decoration: none;
  grid-column: 1/4;
}

.header__logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.header__logo-image {
  width: 6rem;
}
@media screen and (min-width: 768px) {
  .header__logo-image {
    width: 8rem;
  }
}

.header__title {
  font-size: 1.8rem;
  font-family: "Raleway", sans-serif;
  color: #ffd69e;
  display: block;
}
@media screen and (min-width: 768px) {
  .header__title {
    font-size: 2rem;
  }
}

.header__subtitle {
  padding-left: 2rem;
  display: block;
}

.header__nav-container {
  grid-column: 4/5;
  align-self: center;
  justify-self: flex-end;
}
@media screen and (min-width: 768px) {
  .header__nav-container {
    grid-column: 4/9;
  }
}

.header__nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3.5rem;
  font-size: 1.6rem;
}

.header__nav-link {
  text-decoration: none;
  color: white;
  font-size: 1.6rem;
  text-transform: uppercase;
}
.header__nav-link:hover {
  text-decoration: underline;
}

.front-img-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-background {
  background-image: url("../assets/photo-main.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.front-text-container {
  grid-column: 1/-1;
  max-width: 65rem;
  margin-inline: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.front-text-container__header {
  font-weight: 600;
  font-size: 3rem;
  text-align: center;
  color: #f5f5dc;
  margin-bottom: 4rem;
  -webkit-animation: slide-in-blurred-top 1.5s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation: slide-in-blurred-top 1.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@media screen and (min-width: 768px) {
  .front-text-container__header {
    font-size: 6rem;
  }
}
.front-text-container__header span {
  text-transform: uppercase;
}
.front-text-container__cta {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.9rem;
  text-transform: uppercase;
  color: black;
  padding: 1rem 4rem;
  background-color: #f5f5dc;
  box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
  border-radius: 4rem;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  -webkit-animation: slide-in-blurred-bottom 1.5s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation: slide-in-blurred-bottom 1.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.front-text-container__cta:hover {
  background-color: white;
}
.front-text-container__cta--button {
  background-color: #f5f5dc;
  box-shadow: 0rem 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
}

/**************************************
*********** HAMBURGUER ***************
**************************************/
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.menu__input,
.menu__label {
  display: none;
}

@media screen and (max-width: 767px) {
  .menu__label {
    display: flex;
    justify-content: flex-end;
    align-self: center;
    cursor: pointer;
    color: white;
    z-index: 2;
    grid-column: 4/5;
  }
}

@media screen and (max-width: 767px) {
  #toggle:checked ~ .header__nav-container .header__nav-list {
    transform: translateX(0%);
  }
}

@media screen and (max-width: 767px) {
  .header__nav-list {
    gap: 4rem;
    background-color: #9cd0af;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.35s ease-out;
    transform: translateX(100%);
  }
}
@media screen and (min-width: 768px) {
  .header__nav-list {
    gap: 4rem;
  }
}

/*********************************/
/*********** ARTICLES ***********/
/*******************************/
.article__photo {
  width: 100%;
  max-height: 50rem;
  overflow: hidden;
  filter: brightness(65%);
}

.article__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  padding-bottom: 9.5rem;
}
@media screen and (min-width: 768px) {
  .article__grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.article__title {
  grid-column: 1/-1;
  font-weight: 600;
  font-size: 2.5rem;
  justify-self: center;
  margin: 2.4rem;
  text-transform: uppercase;
  text-align: center;
  -webkit-animation: puff-in-top 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) both;
  animation: puff-in-top 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) both;
}
@media screen and (min-width: 768px) {
  .article__title {
    font-size: 4rem;
    margin: 4rem;
  }
}

.article__left {
  grid-column: 1/-1;
}
@media screen and (min-width: 768px) {
  .article__left {
    grid-column: 1/5;
  }
}
.article__left .article__text {
  margin-bottom: 2rem;
}
.article__left .article__text:first-child {
  margin-top: 1rem;
}
@media screen and (min-width: 768px) {
  .article__left .article__text:first-child {
    margin-top: 0;
  }
}
.article__left .article__text:last-child {
  margin-bottom: 0;
}

.article__right {
  grid-column: 1/-1;
}
@media screen and (min-width: 768px) {
  .article__right {
    grid-column: 5/9;
  }
}
.article__right .article__text {
  margin-bottom: 2rem;
}
.article__right .article__text:first-child {
  margin-top: 1rem;
}
@media screen and (min-width: 768px) {
  .article__right .article__text:first-child {
    margin-top: 0;
  }
}
.article__right .article__text:last-child {
  margin-bottom: 0;
}
.article__right .article__list {
  margin-bottom: 2rem;
}

.article__donate-buttons {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 2.4rem;
  margin-top: 4rem;
}
@media screen and (min-width: 768px) {
  .article__donate-buttons {
    grid-column: 6/9;
    align-items: flex-start;
    justify-content: space-evenly;
    margin-top: 0rem;
  }
}
.article__donate-buttons button {
  color: black;
  border-color: black;
  background-color: transparent;
}

.article__right .article__list,
.article__left .article__list {
  list-style: disc;
  padding-left: 2rem;
}

.article__right .article__list .article__item::marker,
.article__left .article__list .article__item::marker {
  font-size: 1.8rem;
}

/*********************************/
/************ INDEX *************/
/*******************************/
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  padding-bottom: 0rem;
}
@media screen and (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(8, 1fr);
  }
}

.why-volunteer .block__title, .who-are-we .block__title {
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .why-volunteer .block__title, .who-are-we .block__title {
    font-size: 6rem;
  }
}

.why-volunteer .block__subtitle, .who-are-we .block__subtitle {
  display: block;
  font-size: 2rem;
  font-weight: 400;
  padding-left: 4.5rem;
}
@media screen and (min-width: 768px) {
  .why-volunteer .block__subtitle, .who-are-we .block__subtitle {
    font-size: 3rem;
  }
}

.why-volunteer .block--right, .why-volunteer .block--left, .who-are-we .block--right, .who-are-we .block--left {
  grid-column: 1/-1;
  margin-bottom: 1rem;
}
@media screen and (min-width: 768px) {
  .why-volunteer .block--right, .why-volunteer .block--left, .who-are-we .block--right, .who-are-we .block--left {
    margin-bottom: 0;
  }
}

/***** WHO ARE WE *****/
.who-are-we {
  background-color: #f5f5dc;
  padding-block: 5rem;
}
.who-are-we section {
  align-items: center;
}
@media screen and (min-width: 768px) {
  .who-are-we .block--left {
    padding-right: 5rem;
    grid-column: 1/5;
  }
}
@media screen and (min-width: 768px) {
  .who-are-we .block--right {
    padding-left: 5rem;
    grid-column: 5/9;
  }
}
.who-are-we .block--right img {
  width: 100%;
  height: auto;
}
/***** WHY VOLUNTEER *****/
.why-volunteer {
  background-color: #ffd69e;
  padding-block: 5rem;
}
.why-volunteer section {
  align-items: center;
}
@media screen and (min-width: 768px) {
  .why-volunteer .block--left {
    padding-left: 5rem;
    order: 2;
    grid-column: 5/9;
  }
}
@media screen and (min-width: 768px) {
  .why-volunteer .block--right {
    padding-right: 5rem;
    grid-column: 1/5;
  }
}
.why-volunteer .block--right img {
  width: 100%;
  height: auto;
}
/*********************************/
/*********** CONTACT ************/
/*******************************/
/*********************************/
/******** CONTACT BUTTON ********/
/*******************************/
.contact__form-button {
  color: black;
  border-color: black;
  background-color: transparent;
  border-radius: 4rem;
  padding: 1rem 3.7rem;
  text-transform: uppercase;
}
.contact__form-button:hover {
  color: white;
  background-color: black;
}

/*********************************/
/******** CONTACT INPUT *********/
/*******************************/
.contact__form {
  grid-column: 1/-1;
}

.form-control {
  width: 100%;
  max-width: 100%;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 4rem;
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
}
.form-control:focus {
  border: 1px solid black;
  box-shadow: 0 0 5px gray;
}

.map__container {
  grid-column: 1/-1;
  padding: 1.2rem 1.6rem;
}

.map__frame {
  width: 100%;
  margin-top: 4rem;
}

/*********************************/
/************ FOOTER ************/
/*******************************/
.footer {
  background-color: #435524;
  padding-block: 4.5rem;
  color: white;
  display: flex;
  justify-content: center;
}

.footer__title {
  font-size: 2rem;
  font-family: "Raleway", sans-serif;
  color: white;
  display: block;
}

.footer__subtitle {
  margin-right: -3.5rem;
  display: block;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  padding-bottom: 0rem;
}
@media screen and (min-width: 481px) {
  .footer__grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.footer__logo {
  grid-column: 1/3;
  text-align: center;
  z-index: 1;
}
.footer__logo img {
  max-width: 9rem;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 481px) {
  .footer__logo {
    grid-column: 1/4;
  }
}
@media screen and (min-width: 768px) {
  .footer__logo {
    grid-row: 1/3;
    justify-self: center;
  }
}

.footer__button {
  grid-column: 3/5;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.4rem 1.6rem;
  justify-content: center;
}
@media screen and (min-width: 481px) {
  .footer__button {
    grid-column: 4/9;
    justify-self: center;
  }
}
@media screen and (min-width: 768px) {
  .footer__button {
    grid-row: 1/2;
  }
}

.footer__cta {
  color: white;
  border-color: white;
  background-color: transparent;
  min-width: 18rem;
  box-sizing: border-box;
}

.footer__social-media {
  grid-column: 1/5;
  justify-self: center;
  margin-top: 4rem;
  gap: 1rem;
  display: flex;
  align-items: center;
}
.footer__social-media h3 {
  font-size: 1.6rem;
}
@media screen and (min-width: 481px) {
  .footer__social-media {
    grid-column: 1/9;
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 2.5rem;
    margin-top: 4rem;
  }
}
@media screen and (min-width: 768px) {
  .footer__social-media {
    grid-row: 2/3;
    grid-column: 4/9;
    justify-self: center;
  }
}

/***** MAIN *****/
@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@-webkit-keyframes slide-in-blurred-bottom {
  0% {
    -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-bottom {
  0% {
    -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
/***** ARTICLES *****/
@-webkit-keyframes puff-in-top {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(2px);
    filter: blur(2px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-top {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(2px);
    filter: blur(2px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */
