/*div, section, p, h1, h2, h3, h4, h5, h6, span, a, img, form, .wrapper { 
    border: 1px solid black 
    };
*/

@font-face {
  font-family: "Mash-up";
  src: url("mash_up/Mash-up.otf") format();
  src: url("mash_up/Mash-up.ttf");
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100vh;
  overflow-x: hidden;
}

  body {
    display: grid;
    height: 100%;
    width: 100%;
    grid-auto-rows: minmax(185px, auto);
    gap: 100px;
    align-items: center;
    /*padding-left: 2%;
    padding-top: 4.3%;*/
    /*transform: scale(.9);*/
    font-family: "Mash-up";
    background-color: #E6E6D3;
    background-size: 40px 40px;
    /*transform: scale(0.95);
    transform-origin: top center;*/
    /*overflow: hidden;*/
  }

#door {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 75.5px;
  margin-bottom: 12.5%;
}


a {
  position: relative;
  z-index: 10;
}

/* Login Page*/

#door-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the items horizontally */
  justify-content: center; /* Distributes space vertically between items */
  height: 100vh; /* Full viewport height */
  width: fit-content;
  margin: 0 auto;
  padding: 0; /* Reset any padding */
}

#door-wrapper > * {
  margin: 0; /* Reset margin for all child elements */
  padding: 0; /* Reset padding for all child elements */
}


#circle {
  border: 3px solid rgb(0, 0, 0);
  box-sizing: border-box;
  height: 335px;
  width: 335px;
  border-radius: 50%;
  /* grid-row: 1;
  grid-column: 1; */
  place-self: center;
  margin-top: 11%;
  /*margin: 0 auto;
  margin-left: 43.35%;
  margin-right: 0 auto;
  margin-top: 14.8%;*/
  background-color: #E6E6D3;
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -200px -2px, -2px -2px, -1px -1px, -1px -1px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), transparent 2px), linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 2px), linear-gradient(rgba(0, 0, 0, 0.75), transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 1px);
  animation: animatedBackground 5.2s linear infinite;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

.instagram_link {
  position: fixed;
  bottom: 4.5vh;   /* Distance from the bottom */
  right: 2vw;     /* Distance from the left */
  width: 30px;    /* Adjust width as needed */
  height: auto;
  z-index: 1000;  /* Make sure it's on top of other elements */  
}

#emblem {
  height: 259px;
  width: 259px;
  margin-left: 44.5px;
  margin-top: 30px;
  box-sizing: border-box;
  position: relative;
  z-index: 10000000000000000000000000000000000000;
  opacity: 1;
  animation: glitch1 4.5s infinite;
}

#emblem:nth-child(2) {
  animation: glitch2 1.8s infinite;
}

#emblem:nth-child(3) {
  animation: glitch3 2.5s infinite;
}

.flair {
  width: 65%;
  height: 30px;
  border-style: solid;
  border-color: hsla(0, 0%, 0%, 0.9);
  margin-top: 77px;
  border-width: 2px 0 0 0;
  border-radius: 15px;
}

.flair:before {
  display: block;
  height: 30px;
  border-style: solid;
  border-color: hsla(0, 0%, 0%, 0.9);
  border-width: 0 0 1px 0;
  border-radius: 15px;
}

#capture_box [type=password] {
  display: inline-flex;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 20px;
  /*margin: 83px;
  /*margin-left: 27.3%;
  */
  text-align: center;
}

#pn {
  position: fixed;
  bottom: 7px;
  left: 8px;
  font-size: 0.8rem;
  color: #666; /* subtle but visible */
  font-family: sans-serif;
  user-select: none;
  z-index: 1000;
  opacity: 0.6;
  pointer-events: none; /* So it doesn’t interfere with clicks */
}

/* Portals Page*/

.icontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /*width: 75%;*/
  /* Full height for vertical centering */
}

/* Style each icon and its description */
.icon {
  text-align: center;
  /* Space between icons */
  margin-right: 55.6%;
}

/* Style the description */
.icon p {
  margin-top: 48px;
  /* Space between the icon and the text */
  font-size: 180%;
  font-weight: bold;
  color: #000000;
}

/* Style the icon */
.icon lord-icon {
  transform: scale(4.5);
}

#menu {
  position: relative;
  top: 48%;
}

/*Ex-Mixes*/

/* Centered border wrapper div for portals*/

.border {
  width: 49.5vw;
  height: 85.5vh;
  /*margin-top: 2.3%;*/
  /*max-width: 1200px;*/
  /*min-height: 60vh;*/
  margin: 0 auto;
  padding-top: 25%;
  border: 2.8px solid black;
  box-sizing: border-box;
  /*overflow: hidden;*/
  overflow-y: auto;   /* 👈 Enables vertical scroll */
  overflow-x: hidden; /* Optional, to prevent side scroll */
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  width: 100%;
  /*margin-bottom: 20px;*/
  background-color: #E6E6D3;
  align-items: center;
}

.case a {
  /*height: 120px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #E6E6D3;
  padding: 0.5rem;
}

.cover {
 /* max-height: 100%;*/
  max-width: 90%;
  object-fit: contain;
  display: block;
}


.ver {
  display: inline-block;
  position: relative;
  text-align: left;
  bottom: 8.075em;
  left: -2.5em;
  font-size: x-small;
}

.lis {
  display: inline-block;
  position: relative;
  text-align: right;
  bottom: 36.77em;
  right: -16.1em;
  font-size: x-small;
}

.gobutton {
  display: grid;
  place-items: center;
  height: 6.5vh;
  width: 100%;
  border: none;
  background-color: transparent;
}

.install-banner {
  position: fixed;
  bottom: 8px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 360px;
  background: transparent;
  margin-bottom: 30px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: "Mash-up", sans-serif;
  text-align: center;
  color: #000;
  /*box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);*/
  z-index: 9999;
}

.install-banner span {
  display: inline-block;
  max-width: 85%;
  vertical-align: middle;
  background: transparent;
}

.install-banner button {
  float: right;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  line-height: 1;
  padding: 0;
  margin-top: -2px;
}

/* Media Queries for Mobile*/


@media screen and (max-width: 767px) {
    
html {
  height: 80vh;
  width: 96.5vw;
  overflow-x: hidden;
}

  body {
    display: grid;
    height: 100%;
    width: 100%;
    grid-auto-rows: minmax(185px, auto);
    gap: 100px;
    /*padding-left: 2%;
    padding-top: 4.3%;*/
    /*transform: scale(.9);*/
    font-family: "Mash-up";
    background-color: #E6E6D3;
    background-size: 40px 40px;
    /*transform: scale(0.99);
    transform-origin: top center;*/
    /*overflow: hidden;*/
  }
  
#door-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the items horizontally */
  justify-content: center; /* Distributes space vertically between items */
  height: 100vh; /* Full viewport height */
  width: fit-content;
  margin: 0 auto;
  padding: 0; /* Reset any padding */
  transform: scale(0.85);
  transform-origin: top center;
}
  
  

  .border {
    width: 90vw;
    margin: 5vh auto 0 auto; /* top, right/left centered, bottom */
    padding: 16px;
    min-height: 70vh;
    max-height: 85vh;
    height: calc(var(--vh, 1vh) * 100);
    /*overflow: hidden;*/
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    transform: scale(0.85);
  }
}

  .row{
      grid-template-columns: repeat(3, 1fr);
  }

  #capture_box [type=password] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 20px;
    /*margin: 83px;
    margin-left: 27.3%;
    */
    text-align: center;
  }

  .ver {
    display: none;
  }

  .li {
    display: none;
  }

  .icon {
    margin-right: 49.5%;
  }

  .icon p {
    margin-top: 30px;
    font-size: x-large;
  }

  .icon lord-icon {
    transform: scale(2.5);
  }

.instagram_link {
  position: fixed;
  bottom: calc(1vh + env(safe-area-inset-bottom));   /* Distance from the bottom */
  right: 20px;     /* Distance from the right */
  width: 30px;    /* Adjust width as needed */
  height: auto;
  z-index: 9999;  /* Make sure it's on top of other elements */  
}

/* In PWA mode, shift everything down */
@media screen and (display-mode: standalone) {
  #door-wrapper {
    padding-top: 15vh; /* Adjust this to how far you want to shift down */
  }
 
 .instagram_link {
  bottom: 1vh;   /* Distance from the bottom */
}
}

@media screen and (max-width: 2048px) and (min-width: 1920px) {
  body {
    overflow: hidden;
  }

}

/*GRID ANIMATION KEYFRAMES*/

/*@keyframes animatedBackground {
    from {
      background-position: -100 0;
    }
    to {
      background-position: -300px 0;
    }
  }
*/

@keyframes animatedBackground {
  0% {
    background-position: -100px 0;
  }

  50% {
    background-position: -200px 0;
  }

  100% {
    background-position: -300px 0;
  }
}

/*EMBLEM ANIMATION KEYFRAMES*/
@keyframes glitch1 {
  0% {
    transform: none;
    opacity: 1;
  }

  8% {
    transform: none;
    opacity: 0.75;
  }

  10% {
    transform: none;
    opacity: 1;
  }

  28% {
    transform: none;
    opacity: 1;
  }

  30% {
    transform: none;
    opacity: 0.75;
  }

  33% {
    transform: none;
    opacity: 1;
  }

  45% {
    transform: none;
    opacity: 1;
  }

  55% {
    transform: none;
    opacity: 0.75;
  }

  60% {
    transform: none;
    opacity: 1;
  }

  72% {
    transform: none;
    opacity: 1;
  }

  78% {
    transform: none;
    opacity: 0.75;
  }

  80% {
    transform: none;
    opacity: 1;
  }

  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes glitch2 {
  0% {
    transform: none;
    opacity: 0.25;
  }

  8% {
    transform: none;
    opacity: 0.5;
  }

  10% {
    transform: none;
    opacity: 0.25;
  }

  28% {
    transform: none;
    opacity: 0.25;
  }

  30% {
    transform: none;
    opacity: 0.5;
  }

  33% {
    transform: none;
    opacity: 0.25;
  }

  45% {
    transform: none;
    opacity: 0.25;
  }

  55% {
    transform: none;
    opacity: 0.5;
  }

  60% {
    transform: none;
    opacity: 0.25;
  }

  72% {
    transform: none;
    opacity: 0.25;
  }

  78% {
    transform: none;
    opacity: 0.5;
  }

  80% {
    transform: none;
    opacity: 0.25;
  }

  100% {
    transform: none;
    opacity: 0.25;
  }
}

@keyframes glitch3 {
  0% {
    transform: none;
    opacity: 0.25;
  }

  8% {
    transform: none;
    opacity: 0.5;
  }

  10% {
    transform: none;
    opacity: 0.25;
  }

  28% {
    transform: none;
    opacity: 0.25;
  }

  30% {
    transform: none;
    opacity: 0.5;
  }

  33% {
    transform: none;
    opacity: 0.25;
  }

  45% {
    transform: none;
    opacity: 0.25;
  }

  55% {
    transform: none;
    opacity: 0.5;
  }

  60% {
    transform: none;
    opacity: 0.25;
  }

  72% {
    transform: none;
    opacity: 0.25;
  }

  78% {
    transform: none;
    opacity: 0.5;
  }

  80% {
    transform: none;
    opacity: 0.25;
  }

  100% {
    transform: none;
    opacity: 0.25;
  }
}

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