/* GENERAL */
body {
  margin: 0;
  padding: 0;
  font-family: "Univers", Arial, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
  color: #222;
}
.safe-area {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* RESETS */
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  line-height: 1.5;
}

h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0;
}

p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* DEFAULTS */
.container {
  min-width: 1280px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1280px) {
  .container {
    min-width: 100%;
  }
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.1;
  background: #1cabe2;
  font-size: 1em;
  text-transform: initial;
  border-radius: 5em;
  cursor: pointer;
  text-decoration: none;
  height: 52px;
  padding: 0 1.4em;
}

@media screen and (max-width: 768px) {
  .button {
    height: 40px;
  }
}

.button-social {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  height: 46px;
  width: 46px;
  background-color: #374ea2;
  border-radius: 50%;
}

.button-donate {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: #222;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.1;
  background: #ffc20e;
  font-size: 1em;
  text-transform: initial;
  border-radius: 5em;
  cursor: pointer;
  text-decoration: none;
  height: 52px;
  padding: 0 1.4em;
}

@media screen and (max-width: 768px) {
  .button-social,
  .button-donate {
    height: 40px;
    width: 40px;
  }
}

.rounded-full {
  border-radius: 50%;
  padding: 0;
  width: 40px;
}

.button-dark {
  background: #374ea2;
}

/* NAVBAR */
.navbar {
  background-color: #1cabe2;
  height: 60px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.navbar__logo {
  height: 44px;
}

.logo-large {
  display: none;
}

@media screen and (min-width: 481px) {
  .logo-large {
    display: block;
  }
}

.logo-small {
  display: block;
  height: 60px;
}

@media screen and (min-width: 481px) {
  .logo-small {
    display: none;
  }
}

.navbar__list {
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
}

.navbar__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-size: 16px;
}

/* HERO */
.hero {
  background-image: url("background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

@media screen and (min-width: 769px) {
  .hero {
    height: calc(100vh - 60px);
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), white);
  z-index: 2;
}

@media screen and (min-width: 769px) {
  .hero::after {
    display: none;
  }
}

.copy {
  position: absolute;
  bottom: 40px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  color: #cccccc;
  z-index: 3;
}

.copy p {
  font-size: 0.8rem;
}

@media screen and (min-width: 769px) {
  .copy {
    bottom: 0;
    padding: 10px 20px;
  }

  .copy p {
    font-size: 1rem;
  }
}

.hero__content--desktop {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  gap: 40px;
}

@media screen and (min-width: 769px) {
  .hero__content--desktop {
    display: flex;
  }
}

.hero__content--mobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .hero__content--mobile {
    display: none;
  }
}

.hero__copy {
  z-index: 3;
  max-width: 100%;
}

@media screen and (min-width: 769px) {
  .hero__copy {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.hero__content--mobile .hero__copy h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero__content--mobile .hero__copy p {
  font-size: 1.1rem;
}

.hero__content--desktop .hero__copy h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.hero__content--desktop .hero__copy p {
  font-size: 1.6rem;
}

@media screen and (max-width: 1280px) {
  .hero__content--desktop .hero__copy h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .hero__content--desktop .hero__copy p {
    font-size: 1.1rem;
  }
}

.hero__video {
  max-width: 500px;
  z-index: 3;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  position: relative;
  transform: translateZ(0);
  will-change: transform;
  background-color: transparent;
}

/* VIDEO */
.video {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: -60px;
  padding: 2rem 1rem 2rem;
}

@media screen and (min-width: 769px) {
  .video {
    display: none;
  }
}

.video__content {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  position: relative;
}

.video__player {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
  transform: translateZ(0);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
  z-index: 10;
}

.video__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .video__actions {
    flex-direction: column;
  }
}

.video__links-buttons,
.video__social-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media screen and (min-width: 769px) {
  .video__links-buttons,
  .video__social-buttons {
    display: inline-flex;
    justify-content: left;
  }
}

.icon {
  height: 20px;
  width: 20px;
}

@media screen and (max-width: 768px) {
  .icon {
    height: 16px;
    width: 16px;
  }
}

/* FOOTER */
.footer {
  background-color: #374ea2;
  color: #fff;
  padding: 20px 0;
}

@media screen and (min-width: 769px) {
  .footer {
    height: 300px;
    padding: 0;
  }
}

.footer__content {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.footer__top-logo {
  height: 108px;
  max-width: 465px;
}

.footer__top-logo img {
  width: 100%;
  height: auto;
}

.footer__top-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  gap: 10px;
  padding-bottom: 10px;
}

@media screen and (min-width: 769px) {
  .footer__top-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .footer__top-left {
    text-align: left;
  }

  .footer__top-right {
    text-align: right;
  }
}

.footer__bottom {
  padding-top: 10px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

@media screen and (min-width: 769px) {
  .footer__links {
    display: flex;
  }
}

@media screen and (min-width: 1024px) {
  .footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
