@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
/* <weight>: Use a value from 400 to 700  */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
/* <weight>: Use a value from 200 to 800 */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Source+Code+Pro:wght@300&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

html {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
}

hr {
  width: 40%;
  height: 2px;
  color: #000;
  background-color: #000;
}

.vc-content {  /*Vertically center content*/ 
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height to ensure centering */
  margin-left: 230px;
}

.home-page .content {
  margin-left: 0;
}

.section {
  width: 100%;
  max-width: 650px;
  height: 220px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.section img {
  position: relative;
  height: 100%;
  /*max-height: 300px;*/
  transform: scale(1.5);
  z-index: 1;
}

.section .text {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  background-color: white;
  padding: 16px;
  z-index: 2;
}

.section .text h2 {
  margin: 0;
}

.title-section iframe {
  margin-bottom: 2em;
  border-radius: 4px;
}

.header {
  width: 200px;
  height: 100%;
  position: fixed;
  overflow: auto;
  padding: 40px 0;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header .logo {
  font-family: "Arimo", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: black;
  text-decoration: none;
  margin-bottom: 15px;
}

.header .nav-container {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.header h2 {
  margin-top: 40px;
  margin-left: 25px;
  font-weight: 500;
  cursor: default;
}

.header ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 0 5px;
  font-weight: 300;
}

.header ul li {
  padding: 10px 20px 10px 56px;
  transition: background-color 0.14s ease;
  background-color: white;
  color: black;
  text-decoration: none;
  text-decoration-color: black;
  transform: translateX(-37px);
  border-radius: 0 5px 5px 0;
}

.header ul a {
  text-decoration: none;
}

.header ul li a {
  text-decoration: none;
  color: black;
}

.header ul li:hover a {
  color: white;
}

.header ul li:hover {
  background-color: #000;
  color: white;
}

.content {
  margin-left: 230px;
  overflow: auto;
  padding: 30px 50px;
  padding-right: 70px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media only screen and (max-width: 525px) {
  .header {
    display: none;
  }
  .content {
    margin-left: 0;
  }
  .topbar {
    margin-top: 30px;
  }
}

@media only screen and (min-width: 524px) {
  .mobile-header.closed {
    display: none;
  }
  .mobile-header.open {
    display: none;
  }
}

/*-------MOBILE HEADER------*/
.mobile-header {
  position: fixed;
  width: 100vw;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: white;
  z-index: 1000;
}

.mobile-header .hamburger img {
  width: 20px;
  padding-top: 50px;
}

.mobile-header .hamburger img.active {
  display: block;
}

.mobile-header .hamburger img.not-active {
  display: none;
}

.mobile-header.closed .mobile-nav {
  display: none;
}

.mobile-header.open .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  background-color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.mobile-header.open .mobile-nav h2 {
  margin-top: 40px;
  font-weight: 500;
  cursor: default;
}

.mobile-header.open .mobile-nav ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0 0 0 5px;
  font-weight: 300;
}

.mobile-header.open .mobile-nav ul li {
  padding: 10px 20px 10px 20px;
  transition: background-color 0.14s ease;
  background-color: white;
  color: black;
  text-decoration: none;
  text-decoration-color: black;
  border-radius: 5px;
}

.mobile-header.open .mobile-nav ul li:hover {
  background-color: #000;
  color: white;
}


.mobile-header.open .mobile-nav ul a {
  text-decoration: none;
}

.mobile-header.open .mobile-nav .mobile-nav-fill {
  height: 800px;
}

/* PAGE ADD */
.page-add {
  width: calc(100% - 7.6vw);
  padding: 20px;
  margin-top: 50px;
  /*background-color: #e6a7e6;*/
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: left;
}

@media screen and (min-width: 1350px) {
    .page-add {
      width: calc(60% - 7.6vw);
    }
}

.page-add .pac-right {
  min-width: 25vw;
  margin-left: 30px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.page-thumbnail {
  height: var(--image-collection-height);
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  box-shadow: 0 0 4px 2px #e6e6e6;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.page-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-add .pac-right h1 {
  margin-top: 0;
  margin-bottom: 7px;
}

.page-add .pac-right p {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 200px;
}

.explore {
  padding: 8px 23px 10px 25px;
  width: max-content;
  font-size: 1rem;
  text-decoration: none;
  text-align: left;
  text-wrap: nowrap;
  color: white;
  background-color: black;
  border-radius: 4px;
  transition: padding 0.2s ease;
}

.explore:hover {
  padding: 8px 26px 10px 28px;
}

.explore img {
  max-height: 1rem;
  margin-left: 10px;
  transform: translateY(2px);
}

/*PAGE LOADER*/ 
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  background-color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.page-loader-hidden {
  display: none;
}

.loader {
  width: 40px;
  aspect-ratio: 1;
  margin: 36px;
  display: grid;
}
.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  background: #000;
  clip-path: polygon(0 0,101% 0, 0 100%);
  animation: l13 2s infinite;
}
.loader::after {
  --s:-1,-1;
}
@keyframes l13 {
    0%,
    10%  {transform:scale(var(--s,1)) translate(0,0)        rotate(0deg)}
    33%  {transform:scale(var(--s,1)) translate(20px,-20px) rotate(0deg)}
    66%  {transform:scale(var(--s,1)) translate(20px,-20px) rotate(180deg)}
    90%,
    100% {transform:scale(var(--s,1)) translate(0px,0px)    rotate(180deg)}
}

/*TOP BAR*/
.topbar {
  display: flex;
  align-items: center;
  /* width: 100%; */
  height: 300px;
  background-color: white;
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.119);
  overflow: hidden;
  border-radius: 6px;
}

@media (max-width: 525px) {
  div.topbar {
    height: 50px;
    cursor: default;
  }
  .topbar img {
    height: auto;
    width: 120%;
    object-fit: cover;
  }
  div.icon-grid {
    display: none;
  }
  div.socials {
    display: none;
  }
}
@media screen and (min-width: 526px) and (max-width: 900px) {
  div.topbar {
    height: 200px;
    cursor: default;
  }
  .topbar img {
    height: auto;
    width: 100%;
    object-fit: cover;
  }
}

.topbar img {
  height: 100%;
  object-fit: cover;
}

.topbar .biotext {
  max-width: 450px;
  margin-left: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
@media (max-width: 900px) {
  .topbar {
    padding-right: 0;
    width: 100%;
    aspect-ratio: 3 / 5;
    height: auto;
  }
  .biotext {
    display: none;
  }
}

/*Socials*/
@media (max-width: 1235px) {
  .socials {
    display: none;
    opacity: 0;
    position: absolute;
  }
}

.socials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 250px;
  height: 100%;
  /* background-color: whitesmoke; */
}

.socials h1 {
  margin-left: 1em;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5em;
  padding: 0 2em 2em 2em;
}

.icon-grid img {
  background-color: #000;
  transition: 0.2s ease-in-out;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0px #000;
  border-radius: 8px;
  object-fit: cover;
  background-color: #000;
}

.icon-grid img:hover {
  cursor: pointer;
  background-color: #000;
  box-shadow: 0 0 0 4px #000;
}

/* ICON BAR  */
.icon-bar {
  display: none;
}
.icon-bar img {
  width: 55px;
  background-color: #000;
  transition: 0.2s ease-in-out;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0px #000;
  border-radius: 8px;
  object-fit: cover;
  background-color: #000;
}
.icon-bar img:hover {
  cursor: pointer;
  background-color: #000;
  box-shadow: 0 0 0 4px #000;
}
@media (max-width: 1235px) {
  .icon-bar {
    display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 2rem;
  }
  .socials {
    display: none;
  }
  .icon-bar > :nth-child(3) {
  display: none;
  }
}

/*Standard Cards */
.standard-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: flex-start;
  column-gap: 1em;
  row-gap: 2em;
}

.standard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2em;
  color: black;
  background-color: white;
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.119);
  overflow: hidden;
  max-width: 300px;
  border-radius: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: 0.1s ease;
}

@media screen and (min-width: 1615px) and (max-width: 1930px) {
  .standard-card:nth-child(4) {
    margin-left: 320px;
  }
}

.standard-card:hover {
  background-color: #3C5377;
  color: white;
}

.standard-card:hover {
  cursor: pointer;
}

.standard-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  object-fit: cover;
}

.standard-card .card-text p {
  padding: 0;
  margin: 0;
}

/*Featured Cards*/
.featured-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: flex-start;
  column-gap: 1em;
  row-gap: 2em;
}

.featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2em;
  background-color: white;
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.119);
  overflow: hidden;
  max-width: 300px;
  border-radius: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.featured-card:hover {
  cursor: pointer;
}

.featured-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  object-fit: cover;
}

.featured-card .card-text p {
  padding: 0;
  margin: 0;
}

.featured-card .overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  width: 300px;
  height: 100%;
  transform: translateY(-2em);
  transition: 0.4s ease-in-out;
}

.featured-card:hover .overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.featured-card .overlay img {
  opacity: 0;
  width: 50px;
  transform: translateY(2em);
  transition: 0.4s ease-in-out;
}

.featured-card:hover .overlay img {
  opacity: 1;
  transform: translateY(0);
}

/* PAGE CARDS */ 
.page-container {
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;   /* Space between cards */
  justify-content: center;
  align-items: center;
  padding: 20px;/* Adjust padding as needed */
  font-family: "Plus Jakarta Sans", sans-serif;
}

.page-card {
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  background-color: white;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Adjust shadow as needed */
  border-radius: 8px;
  width: 400px; /* You can adjust the card width as needed */
  aspect-ratio: 2 / 1; /* Aspect ratio of 1/2 horizontally, adjust as needed */
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.page-card:hover {
  transform: scale(1.05);
}

.page-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px; /* Space between image and text */
  flex-shrink: 0;
}

.page-card .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.page-card h3 {
  margin: 0;
  margin-bottom: 10px;
}

.page-card p {
  margin: 0;
}

/* HOME PORTALS */
.biome-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(675px, 1fr));
  column-gap: 50px;
  padding: 75px 0;
  padding-bottom: 0;
  /* background-color: aliceblue; */
}
@media only screen and (max-width: 900px) {
  .biome-container {
  display: none;
  }
}
.biome {
  display: flex;
  flex-direction: column;
}
#biome1 {
  align-items: flex-end;
  /* background-color: rgb(250, 219, 159); */
}
#biome2 {
  margin-top: 225px;
  align-items: flex-start;
  /* background-color: rgb(157, 157, 255); */
}
@media only screen and (max-width: 1770px) {
  #biome1 {
    align-items: center;
  }
  #biome2 {
    align-items: center;
    margin-top: 0;
  }
}

.biome .portal {
  display: flex;
  max-width: 650px;
  padding: 25px;
  margin-bottom: 100px;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
/* .biome .portal.highlighted {
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.119);
} */

.biome .portal img.thumbnail {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 150px;
  border: 0px solid #000;
  transition: 0.2s ease;
}
.portal:hover img.thumbnail {
  border: 6px solid #000;
  padding: 2px;
}
.biome .portal .text {
  color: #000;
  margin-left: 1em;
  transition: 0.5s ease-in-out;
}
/* .biome .portal:hover .text {
  color: #fff
} */
.biome .portal .text p {
  font-size: 1.35em;
  font-weight: 400;
}
.biome .portal .text p span {
  font-size: 1.5em;
  font-weight: 800;
}
.biome .portal .link-icon {
  position: absolute;
  width: 30px;
}

/* MOBILE HOME PORTALS  */
.mobile-biome-container {
  display: none;
}
@media only screen and (max-width: 900px) {
  .mobile-biome-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  }
}
.mobile-biome-container .mobile-portal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.mobile-portal img.thumbnail {
  position: relative;
  width: 100vw;
  height: 120px;
  object-fit: cover;
}
.mobile-portal .fade {
  content: '';
  position: absolute;
  top: 0;
  z-index: 100;
  height: 15px;
  width: 100vw;
  /* background-color: red; */
  background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
}
.mobile-portal .text {
  color: #000;
  margin-left: 1em;
  transition: 0.5s ease-in-out;
}
.mobile-portal .text h1 {
  font-size: 1.2em;
  margin-top: 16px;
  display: flex;
  flex-direction: row;
}
.mobile-portal .text h1 img{
  height: 1.2em;
  margin: 0 0 0 8px;
  padding: 0;
  transform: translateY(0.2em);
}
.mobile-portal .text p {
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 25px;
}
.mobile-portal .text p span {
  font-size: 1.2em;
  font-weight: 800;
}

/* FEATURED PORTALS  */
.featured-container {
  width: 100%;
  max-width: 1000px;
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  /* background-color: rgb(255, 197, 255); */
}
.featured-portal {
  width: 200px;
  height: 250px;
  cursor: pointer;
  /* background-color: rgb(204, 204, 255); */
}
.featured-portal img {
  z-index: -10;
  width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: polygon(
    50% 0%, 100% 50%, 50% 100%, 0% 50%
  );
  /* background-color: rgb(255, 207, 119); */
  transition: 0.6s ease;
}
.featured-portal:hover img {
  border-radius: 4px;
  clip-path: polygon(0% 0%, 200px 0%, 200px 200px, 0% 200px);
  transform: translateY(-50px);
}
.featured-portal p {
  z-index: 0;
  font-weight: 600;
  text-align: center;
  background-color: white;
  padding: 25px 20px 30px 20px;
  transform: translateY(-65px);
  display: flex;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.5s ease-in;
}
.featured-portal:hover p {
  background-color: #000;
  color: #fff;
}
.featured-portal p::before {
  content: '';
  position: absolute;
  top: 0;
  z-index: 10;
  width: 120px;
  height: 8px;
  color: #000;
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: 0.25s ease;
}

.featured-portal:hover p::before {
  opacity: 0;
}

/*.box-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 20vh);
  gap: 20px;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2em;
  background-color: #f1f1f1;
  overflow: hidden;
  border-radius: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.box img {
  width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  object-fit: cover;
}

.box .box-text {
  padding: 0 2em 2em 2em;
}

.box .box-text h1 {
  margin: 0;
  padding: 0;
}

.box .box-text p {
  margin: 0;
  padding: 0;
}

.box.b1 {
  grid-row-start: 1;
  grid-row-end: 3;
}
.box.b1 img {
  border-radius: 0;
}

.box.b2 {
  grid-row-start: 1;
  grid-row-end: 3;
}

.box.b3 {
  grid-row-start: 3;
  grid-row-end: 4;
}

.box.b4 {
  grid-column-start: 2;
  grid-column-end: 5;
  flex-direction: row;
}
.box.b4 img {
  height: 100%;
  margin-right: 2em;
}

.box.b5 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 4;
}
.box.b5 img {
  width: auto;
  height: 70%;
}
.box.b5 .box-text {
  padding-left: 0;
}

.box.b6 {
  grid-row-start: 3;
  grid-row-end: 5;
}*/

p.large {
  font-size: 1.25rem;
  padding-top: 2rem;
}