*:not(.material-symbols-outlined) {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

@keyframes movimiento {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.userconsent-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
  background: white;
  width: 250px;
  padding: 20px;
  z-index: 1000;
  gap: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

.userconsent-content > button {
  padding: 10px;
  border: solid 1px black;
  border-radius: 10px;
  background: black;
  color: white;
  cursor: pointer;
  transition: color 0.25s linear, background 0.25s linear;
}

.userconsent-content > button:hover {
  color: black;
  background: white;
}

.see-more {
  background: transparent;
  position: absolute; 
  bottom: 5%;
  border: solid 2px white;
  color: white;
  border-radius: 20px;
  margin-top: 20px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px !important;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s linear, background-color 0.25s linear;
}

.see-more:hover {
  background-color: white;
  color: black;
}

.menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color linear 0.25s, box-shadow linear 0.25s;
  background-color: white;
}

.menu-bar[data-scrolled] {
  background-color: transparent;
  box-shadow: none;
}

.menu-bar > ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background-color: transparent;
  list-style-type: none;
  padding-inline: 20px;
}

.menu-bar > ul > li > a {
  padding: 10px;
  transition: color linear 0.25s, text-decoration linear 0.25s;
  cursor: pointer;
  color: black;
  text-decoration: none;
  border: solid 1px white;
  border-radius: 5px;
  position: relative;
}

.menu-bar >ul >li > a::after,
.menu-bar >ul >li > a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.1s linear;
}

.menu-bar > ul > li > a.active::after {
  transform: scaleX(1);
}

.menu-bar > ul > li > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-bar[data-scrolled] > ul > li > a {
  color: white;
  text-decoration: none;
  background: black;
  transition: background 0.25s linear, color 0.25s linear;
}

.menu-bar[data-scrolled] > ul > li > a::after {
  all: unset;
}

.menu-bar[data-scrolled] > ul > li > a:hover {
  background-color: white;
  color: black;
}

.earth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  width: 100vw;
  min-height: 100vh;
}

.earth-container > h1 {
  color: white;
  font-family: "Exo 2", sans-serif !important;
  font-optical-sizing: auto;
  padding-top: 60px;
  font-weight: 900;
  font-style: normal;
}

#stars {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  width: 1px;
  background-color: #fff;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: -38vw 25vh 2px 2px #fff,21vw 0vh 2px 0px #fff,38vw -3vh 0px 3px #fff,-1vw -10vh 0px 2px #fff,30vw 26vh 0px 1px #fff,30vw 13vh 2px 0px #fff,-23vw 37vh 1px 0px #fff,-28vw 37vh 2px 1px #fff,35vw 48vh 3px 0px #fff,50vw -37vh 3px 1px #fff,-23vw -23vh 2px 2px #fff,13vw 29vh 0px 1px #fff,-46vw -47vh 1px 0px #fff,-32vw 17vh 0px 3px #fff,-40vw 9vh 3px 0px #fff,-23vw -41vh 3px 1px #fff,-39vw -21vh 1px 2px #fff,-42vw 7vh 0px 2px #fff,36vw 41vh 1px 3px #fff,-38vw -40vh 0px 2px #fff,7vw 10vh 0px 0px #fff,-15vw 21vh 3px 2px #fff,15vw -34vh 0px 1px #fff,-29vw -20vh 0px 1px #fff,-32vw -37vh 1px 0px #fff,-48vw -10vh 3px 2px #fff,-12vw 32vh 1px 3px #fff,-3vw 15vh 2px 3px #fff,-9vw -2vh 3px 1px #fff,-5vw 5vh 1px 0px #fff,30vw -44vh 3px 1px #fff,6vw -10vh 1px 3px #fff,18vw -44vh 1px 3px #fff,20vw 48vh 1px 0px #fff,-22vw -25vh 3px 1px #fff,18vw 21vh 2px 2px #fff,-2vw 21vh 1px 1px #fff,-29vw 16vh 2px 2px #fff,19vw -5vh 1px 0px #fff,10vw 33vh 2px 2px #fff,14vw -23vh 2px 1px #fff,35vw 5vh 1px 1px #fff,-3vw -50vh 0px 2px #fff,12vw -38vh 3px 2px #fff,-4vw 13vh 0px 3px #fff,17vw 2vh 1px 2px #fff,-17vw 35vh 1px 2px #fff,-32vw -36vh 0px 3px #fff,-17vw -42vh 1px 2px #fff,-5vw 12vh 1px 0px #fff;
}

#earth {
  background: url(images/earth-day.jpg);
  background-size: cover;
  border: 2px solid #000;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  aspect-ratio: 1/1;
  animation: movimiento 30s linear 0s infinite;
  box-shadow: 0 0 25px RGBA(255, 255, 255, 0.1), -8px -8px 15px #000 inset,
    2px 2px 25px #000 inset, -45px -45px 25px RGBA(0, 0, 0, 0.5) inset,
    25px 25px 45px RGBA(0, 0, 0, 0.45) inset;
  margin: 6em auto;
  transform: rotateX(6deg) rotateY(6deg) rotateZ(6deg);
}

.bio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.m-article-link {
  display: none;
}

.credit {
  grid-column: span 2;
}

.front-page-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto-fit;
  text-align: center;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: auto;
}

.front-page-article > h2 {
  grid-column: span 2;
  text-align: center;
  font-weight: bold;
}

.front-page-article > p {
  width: 50%;
  padding: 10px;
  place-self: center;
  line-height: 2;
}

.front-page-article > div {
  place-self: center;
  overflow: hidden;
  height: 60%;
  width: auto;
  border-radius: 25px;
  position: relative;
}

.front-page-article > div:not(.no-link) > a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transform-origin: center;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  background: black;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  transition: transform 0.25s linear, opacity 0.25s linear;
}

.front-page-article > div > img {
  place-self: center;
  max-height: 800px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  overflow: hidden;
  transition: filter 0.25s linear, transform 0.25s linear;
  scale: 1;
}

.front-page-article > div:not(.no-link):hover > img {
  filter: grayscale(100%) blur(1px);
  transform: scale(1.2);
}

.front-page-article > div:not(.no-link):hover > a {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

div.view-more {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

a.view-more {
  padding: 20px;
  border: solid 1px black;
  text-decoration: none;
  background: black;
  color: white;
  margin: 20px;
  border-radius: 10px;
  transition: color 0.25s linear, background 0.25s linear;
}

a.view-more:hover {
  color: black;
  background: white;
}

.partners {
  display: flex;
  padding: 60px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.partners > h2 {
  text-align: center;
  font-weight: bold;
  width: 75%;
  border-bottom: 2px solid black;
}

.partner-card { 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 75%;
  padding: 20px;
  gap: 25%;
  text-align: center;
}

.partner-card > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.partner-card > img {
  max-height: 500px;
  border-radius: 10px;
  object-fit: cover;
}

.partner-card > a,
.partner-card > div > a {
  color: black;
  font-size: 1.4rem;
  cursor: pointer;
}

.partner-card > p,
.partner-card > div > p {
  text-align: center;
} 

.partner-card a {
  text-decoration: underline;
  color: black;
  font-weight: bold;
}

address {
  text-align: center;
}

.footer {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1.5rem;
  text-align: center;
}

.footer > p > a {
  color: black;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.featured-podcast {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
}

.featured-podcast > h2 {
  text-align: center;
  font-weight: bold;
  width: 75%;
  border-bottom: 2px solid black;
  padding-bottom: 10px;
}

.featured-podcast > p {
  width: min(90%, 700px);
  line-height: 2;
  padding: 10px;
  place-self: center;
}

.podcast-embed {
  width: min(100%, 760px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 20px;
}

.podcast-embed > iframe {
  width: 100%;
  min-width: 290px;
  min-height: 175px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.podcast-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.podcast-links > a {
  padding: 20px;
  border: solid 1px black;
  text-decoration: none;
  background: black;
  color: white;
  margin: 0;
  border-radius: 10px;
  transition: color 0.25s linear, background 0.25s linear;
}

.podcast-links > a:hover {
  color: black;
  background: white;
}

@media (max-width: 1000px) {
  .featured-podcast {
    padding: 40px 20px;
  }

  .featured-podcast > h2 {
    width: 100%;
  }

  .podcast-links {
    flex-direction: column;
  }

  .podcast-links > a {
    width: min(100%, 320px);
    text-align: center;
  }
}

.featured-podcast {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
}

.featured-podcast > h2 {
  text-align: center;
  font-weight: bold;
  width: 75%;
  border-bottom: 2px solid black;
  padding-bottom: 10px;
}

.featured-podcast > p {
  width: min(90%, 700px);
  line-height: 2;
  padding: 10px;
  place-self: center;
}

.podcast-embed {
  width: min(100%, 760px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 20px;
}

.podcast-embed > iframe {
  width: 100%;
  min-width: 290px;
  min-height: 175px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.podcast-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.podcast-links > a,
.youtube-community > a {
  padding: 20px;
  border: solid 1px black;
  text-decoration: none;
  background: black;
  color: white;
  margin: 0;
  border-radius: 10px;
  transition: color 0.25s linear, background 0.25s linear;
}

.podcast-links > a:hover,
.youtube-community > a:hover {
  color: black;
  background: white;
}

.youtube-community {
  width: min(100%, 760px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid #d9d9d9;
}

.youtube-community > h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.youtube-community > p {
  width: min(90%, 650px);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .featured-podcast {
    padding: 40px 20px;
  }

  .featured-podcast > h2 {
    width: 100%;
  }

  .podcast-links {
    flex-direction: column;
  }

  .podcast-links > a,
  .youtube-community > a {
    width: min(100%, 320px);
    text-align: center;
  }
}


@media (pointer: coarse) {
  .userconsent-content {
    right: unset;
    top: unset;
    bottom: 0;
    width: 100%;
    border-radius: 0;
    transform: unset;
  }

  .front-page-article > div:not(.no-link) > a {
    display: none;
  }

  .m-article-link {
    display: block;
    padding: 10px;
    border: solid 1px black;
    width: min-content;
    white-space: nowrap;
    place-self: center;
    border-radius: 10px;
    background: black;
    color: white;
    text-decoration: none;
  }

  .front-page-article > div:not(.no-link):hover > img {
    filter: inherit;
    transform: inherit;
  }
  
  .front-page-article > div:not(.no-link):hover > a {
    transform: inherit;
    opacity: inherit;
  }
}

@media (max-width: 1200px) {
  #earth {
    width: 300px !important;
    height: 300px !important;
  }

  .see-more {
    font-size: 20px !important;
  }
}

@media (max-width: 1000px) {
  #earth {
    width: 250px !important;
    height: 250px !important;
  }

  .partner-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .front-page-article > h2 {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-weight: bold;
  }

  .front-page-article {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .credit {
    grid-column: span 1;
  }

  .front-page-article:first-of-type {
    padding-top: 40px;
  }

  .front-page-article > p {
    width: 100%;
  }

  .front-page-article > div {
    max-width: 300px;
    height: auto;
    margin: 20px;
  }

  .front-page-article > div:not(.no-link) > a {
    white-space: nowrap;
  }
}
