@charset "utf-8";

/* fonts */
@font-face {
  font-family: "font";
  src: url("fonts/Sono/Sono-VariableFont_MONO,wght.ttf");
  font-display: swap;
}

:root{
  --primary: 255, 255, 255;
  --secondary: 0, 0, 0;
  --tertiary: 105, 105, 105;
  --bg: 230, 230, 230;
  --active: 60, 198, 237;
  --hover: 40, 110, 140;
  --primary-border: 0.1rem solid rgb(200, 200, 200);
  --active-border: 0.1rem solid rgb(30, 160, 200);
  --hover-border: 0.1rem solid rgb(30, 80, 100);
  --radius: 1.5rem;
  --radius-pill: 99rem;
  --blur: blur(5px);
}

*{ box-sizing:border-box; }

body{
  font-family: "font", Courier, monospace;
  background-color: rgb(var(--bg));
  margin: 0;
  position: absolute;
  width: 100%;
  overflow-x: hidden;
}

/* Default typography */
input, button, a, p, h1, h2, h3, h4, h5, h6{
  font-family: "font";
  text-decoration: none;
  color: rgb(var(--secondary));
}

button{
  line-height: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  opacity: 1 !important;
}

.pusher{
  margin: 12rem 0;
  max-width: 60rem;
}

/* -------------------------
   Navigation
------------------------- */
#navbar{
  position: fixed;
  height: 4em;
  width: 100%;
  z-index: 100;
  top: 0;
  display: flex;
  transition: 0.5s ease;
  justify-content: center;
  align-items: center;
}

.logo{
  position: absolute;
  left: 0;
  width: calc(9 / 7 * 4rem);
  height: 4rem;
}

.navbarIcons{ fill: rgb(var(--secondary)); }

/* menu */
.menu{
  display: block;
  position: absolute;
  padding: 0;
}
.menu li{
  display:inline-block;
  padding: 0 0.5rem;
}
.menu a{
  font-size: 1.5rem;
  font-weight: 700;
  transition: 0.3s;
  color: rgb(var(--secondary));
}
.menu .active{ color: rgb(var(--active)) !important; }

/* dropdown menu */
.dropbtn{
  display: none;
  position: absolute;
  padding: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  background: transparent;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.dropbtn .active{ fill: rgb(var(--active)) !important; }

.dropdownList{
  top: 4rem;
  position: fixed;
  right: -100%;
  width: 100%;
  max-width: 14rem;
  display: flex;
  z-index: 99;
  transition: 0.5s ease-in-out;
  flex-direction: column;
}
.dropdownList a{
  color: rgb(var(--primary));
  background: rgb(var(--secondary));
  margin: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  transition: 0.5s;
}
.dropdownList a:first-child{ margin-top: 2rem; }
.dropdownList a:last-child{ margin-bottom: 0; }
.dropdownList .active{ background-color: rgb(var(--active)) !important; }
.show{ right: 0 !important; }

/* -------------------------
   Banner
------------------------- */
.banner{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  margin: 0;
  width: 100%;
  height: calc(100vh + 4rem);
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: slideIn2 ease-in-out 0.5s;
  flex-direction: column;
}

.pageName{
  position: absolute;
  margin: 0;
  font-size: 6rem;
}

.homeName{
  margin: 1rem;
  color: rgb(var(--primary));
  font-size: 5rem;
  width: 80%;
}

.slogan{
  margin: 1rem;
  font-size: 2rem;
  color: rgb(var(--primary));
  width: 60%;
  font-weight: 500;
}
.slogan b{
  font-weight: 700;
  color: rgb(var(--active));
}

.gradient{
  position: absolute;
  background: linear-gradient(rgba(var(--bg), 0.6), rgba(var(--bg), 0.9), rgba(var(--bg)));
  backdrop-filter: var(--blur);
  width: calc(100% + 0.2rem);
  bottom: 0;
  border-radius: 3rem 3rem 0 0;
  height: 4rem;
  border: var(--primary-border);
  border-bottom: none;
}

.announcement{
  position:absolute;
  overflow: hidden;
  width: 100vw;
  top: 4rem;
  left: -5vw;
  transform: rotate(350deg);
}
.announcement p{
  font-size: 1.2rem;
  color: yellow;
  overflow: hidden;
  animation: scroll-left 14s ease-in infinite;
}

#scrollbutton{
  position: absolute;
  font-size: 2.5rem !important;
  bottom: 0.5rem;
  background: none;
  padding: 0.3rem;
  transition: 0.4s cubic-bezier(0.22, 0.75, 0.02, 0.79);
}

/* -------------------------
   Scroll animations
------------------------- */
.scrollAppear{
  opacity: 0;
  transform: translate(5%,10%) scale(0.95);
}
@media (prefers-reduced-motion: no-preference){
  .scrollAppear{ transition: opacity 1s ease, transform 1s ease; }
}
.appearAnimation{
  opacity: 1;
  transform: none;
}

.scrollLoadIn{
  transform: scaleX(0.1);
  transform-origin: left;
}
.scrollLoadIn p{ opacity: 0; }
@media (prefers-reduced-motion: no-preference){
  .scrollLoadIn{ transition: transform 0.8s ease-out; }
  .scrollLoadIn p{ transition: opacity 0.6s ease 1.2s; }
}
.loadInAnimation{ transform: scaleX(1); }
.loadInAnimation p{ opacity: 1; }

/* -------------------------
   Tag buttons
------------------------- */
.tagContainer{
  position: relative;
  top: 4rem;
  width: 100%;
  overflow: hidden;
  max-width: 72rem;
  margin: auto;
}
.tagContainer::after{
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: linear-gradient(
    to right,
    rgb(var(--bg)),
    transparent 2rem,
    transparent calc(100% - 2rem),
    rgb(var(--bg))
  );
}

#tagButtons{
  display: flex;
  padding: 0 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  position: relative;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#tagButtons::-webkit-scrollbar{ display:none; }

.tagButton{
  margin: 1rem 0.5rem;
  padding: 0 3rem;
  height: 3rem;
  border-radius: 1.5rem;
  border: var(--primary-border);
  background: rgb(var(--primary));
  transition: 0.3s;
}
.tagButton:first-child{ margin-left:auto; }
.tagButton:last-child{ margin-right:auto; }
.tagButton.active{
  background: rgb(var(--active)) !important;
  border: var(--active-border) !important;
}

/* -------------------------
   Home (Latest post pill)
------------------------- */
.latestPost{
  display: flex;
  position: absolute;
  top: 7rem;
  background: rgba(var(--primary), 0.6);
  backdrop-filter: var(--blur);
  border-radius: 1.75rem;
  border: var(--primary-border);
  height: 12.5rem;
  width: 3.5rem;
  right: 2rem;
  overflow: hidden;
  transition: 1s ease;
}
.latestPost p{
  display: flex;
  font-size: 1.2rem;
  line-height: 3.5rem;
  margin: 0;
  writing-mode: vertical-lr;
  font-weight: 700;
  transform: scale(-1);
  transition: 0.3s;
  justify-content: center;
}
.latestPost img{
  display: flex;
  opacity: 0;
  object-fit: cover;
  width: 100%;
  transition: 1s;
}

/* -------------------------
   Pager
------------------------- */
#pager{
  position: relative;
  display: flex;
  height: 2rem;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#pager a{
  background: transparent;
  display: flex;
  font-size: 1.5rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  margin: 0.5rem;
  transition: 0.3s;
  height: 100%;
}
#pager .fa-solid{
  font-weight: 900;
  border: none;
  text-decoration: none !important;
}
#pager .active{ color: rgb(var(--active)) !important; }

/* -------------------------
   Footer
------------------------- */
.footer{
  display: flex;
  width: 100%;
  background: rgb(var(--primary));
  border-top: var(--primary-border);
  padding: 5rem 0 3rem 0;
  margin-top: 6rem;
  flex-direction: column;
  align-items: center;
}
.copyright{
  font-size: 0.7rem;
  color: rgb(var(--tertiary));
  margin: 0 3rem;
  text-align: center;
}
.socialTxt{
    color: rgb(var(--tertiary));
}
.social{
  display: flex;
  margin: 0 auto 2rem auto;
  flex-direction: row;
}
.social a{
  display: flex;
  font-size: 2rem;
  color: rgb(var(--tertiary));
  width: 1.5em;
  height: 1.5em;
  margin: 0.5rem;
  transition: 0.3s;
  justify-content: center;
  align-items: center;
}

/* -------------------------
   Container
------------------------- */
#container{
  display: flex;
  padding: 5rem 1.5rem;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* content & info */
.card{
  width: 100%;
  position: relative;
  display: grid;
  overflow: hidden;
}
.infoFrame{ max-width: 50rem; }
.contentFrame{
  width: 100%;
  max-width: 100rem;
}
.content{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.text-content{
  width: calc(50% - 6rem);
  margin: 5rem 3rem 4rem 3rem;
  display: flex;
  flex-direction: column;
}
.text-content p,
.timeline-text p,
.blockBody{
  white-space: pre-line;
  text-align: justify;
  font-size: .9rem;
}
.timeline-text p{
  color: rgb(var(--tertiary));
  font-size: .8rem;
}

/* image content */
.image-content{
  display: flex;
  width: calc(50% - 6rem);
  margin: 7rem 3rem 5rem 3rem;
  flex-direction: column;
  align-items: center;
}
.image-frame{
  width: 80%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.image-frame img{
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}
.image-content p, .blockCaption{
  font-size: 0.8rem;
  font-style: italic;
  color: rgb(var(--tertiary));
}

/* statistics */
.statistics-content{
  width: calc(50% - 6rem);
  margin: auto;
}
.statistics-bar-bg{
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: var(--primary-border);
  overflow: hidden;
  padding: 0.25rem;
  margin: 1rem;
  background: rgb(var(--primary));
}
.statistics-bar{
  height: 100%;
  background: rgb(var(--secondary));
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.statistics-bar p{
  margin: 0 0.7rem;
  color: rgb(var(--primary));
  font-size: 0.8rem;
  font-weight: 700;
}

/* timeline */
.timeline-content{
  width: calc(100% + 3rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin: 0 -1.5rem;
}
.timeline-content::-webkit-scrollbar{ display:none; }

.timeline-slider{ display:flex; }

.timeline-line{
  border-top: dotted rgb(var(--tertiary)) 0.3rem;
  width: calc(300% + 4rem);
  margin: 1.25rem 15%;
}
.timeline-buttons{
  margin: 0 -1.5rem -2.75rem -1.5rem;
  z-index: 1;
  width: calc(100% + 3rem);
  display: flex;
  justify-content: space-around;
}
.timeline-button{
  background: rgb(var(--primary));
  color: rgb(var(--secondary));
  font-size: 1.3rem;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: var(--primary-border);
  transition: 0.3s;
}
.timeline-buttons .active{
  background: rgb(var(--active)) !important;
  border: var(--active-border) !important;
  transition: ease-in 0.7s;
}

.timeline-page{
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  margin: 3rem 1rem 9rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.timeline-text{
  width: calc(100% - 4rem);
  margin: 2rem;
  height: fit-content;
  background: rgba(var(--primary), 0.6);
  backdrop-filter: var(--blur);
  border-radius: var(--radius);
  border: var(--primary-border);
  padding: 1rem;
  z-index: 1;
}
.timeline-image{
  width: calc(100% - 6rem);
  aspect-ratio: 1/1;
  margin: 2rem;
  border-radius: var(--radius-pill);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.timeline-image img{
  object-fit: cover;
  min-width: 100%;
  height: 100%;
}

.timeline-paragraph{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 12;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
}
.timeline-paragraph.expanded{
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}
.read-more{
  background: rgb(var(--primary));
  border-radius: var(--radius-pill);
  border: var(--primary-border);
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  margin-top: 0.6rem;
  font-weight: 700;
}

/* profile/info */
.profile, .text{ margin: 3rem 0.5rem; }
.profile{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem;
}
.pfp{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 7rem;
  width: 7rem;
  border-radius: var(--radius-pill);
}
.name{ padding: 0 1rem; }
.text p{ white-space: pre-line; text-align: justify; }

/* map */
#map{
  position: relative;
  display: flex;
  background-color: rgb(var(--secondary));
  border-radius: var(--radius);
  margin: 2.5rem 0.5rem;
  width: calc(100% - 1rem);
  height: 35rem;
  border: var(--primary-border);
  overflow: hidden;
}

/* newsletter */
.newsletter{
  position: relative;
  display: flex;
  margin: 2.5rem 0.5rem;
  flex-direction: column;
}
.newsletter form{
  display: flex;
  align-items: center;
  height: 3rem;
  position: relative;
}
.newsletter input{
  outline: none;
  width: 100%;
  padding: 0 6.5rem 0 1rem;
  height: 3rem;
  background: rgb(var(--primary));
  border-radius: var(--radius-pill);
  border: var(--primary-border);
}
input::placeholder{
  color: rgba(var(--secondary),0.4);
  font-weight: 600;
}
.newsletter button{
  padding: 0 0.75rem;
  position: absolute;
  height: 2.5rem;
  margin: 0.25rem;
  right: 0;
  background-color: rgb(var(--primary));
  border: var(--primary-border);
  border-radius: var(--radius-pill);
  transition: 0.4s;
  display:flex;
  align-items:center;
}

/* -------------------------
   Gallery
------------------------- */
.Gallery{
  position: relative;
  display: block;
  width: 100%;
  max-width: 70rem;
  height: 100%;
  margin-bottom: 5rem;
  animation: slideIn ease-in-out 0.5s;
}
.tile{
  position: relative;
  float: left;
  margin: 0.5rem;
  width: calc(33.333% - 1rem);
  overflow: hidden;
}
.thumbnailFrame{
  overflow: hidden;
  background-color: rgb(var(--secondary));
  display: flex;
  border-radius: var(--radius);
  align-items: center;
}
.thumbnail{
  padding-top: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  transition: 0.4s ease;
}

.hoverTxt{
  display: none;
  position: absolute;
  margin: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(var(--primary));
  animation: zoomIn 0.4s;
}
.hoverTags{
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: .4rem;
  animation: slideIn 0.5s;
}
.tagPill{
  background: rgb(var(--primary));
  color: rgb(var(--secondary));
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: var(--primary-border);
  font-size: 0.8rem;
  margin: .4rem;
  transition: 0.3s;
}

/* -------------------------
   Post
------------------------- */
.postContainer{
  margin-top: 5rem;
  animation: zoomIn ease 0.5s;
  position: relative;
  width: 100%;
}
.postBack{
  position: absolute;
  left: 1rem;
  font-size: 2rem;
  background: transparent;
  transition: 0.3s;
}
.imageContainer{
  display: flex;
  margin: auto;
  width: fit-content;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  align-items: center;
}
.thumbnailImg{
  max-width: 100%;
  max-height: calc(100vh - 12rem);
  margin: auto;
  transition: 0.3s;
}

.txtContainer{
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6rem;
}
.postBlocks{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  max-width: 90rem;
}
.postBlock{
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.postBlockText{
  width: 50%;
}
.postBlockImage, .postBlockVideo{
  width: 40%;
  align-items: center;
}
.blockImage, .blockVideo{
  width: 100%;
  border-radius: var(--radius);
}
.blockVideo{
  aspect-ratio: 16/9;
}
.videoWrapper{
  width: 100%;
  overflow: hidden;
}

.closeBtn{
  display: flex !important;
  float: right;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  align-items: center;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  justify-content: center;
}

.postDate{
  font-size: 0.8rem;
  color: rgb(var(--tertiary));
}
.postTag{
  display: inline-flex;
  margin-bottom: 2rem;
}
.postTag a{
  display: flex;
  font-size: 0.8rem;
  padding: .5rem 1rem;
  margin: 0.5rem;
  border-radius: var(--radius-pill);
  border: var(
  --primary-border);
  background-color: rgb(var(
  --primary));
  transition: 0.3s;
  align-items: center;
  justify-content: center;
}
.postDescription{
  white-space: pre-line;
  text-align: justify;
  margin: 0;
  font-size: 0.9rem;
}
.shareTxt{
  margin-top: 5rem;
}
.shareBtns{
  display: flex;
  flex-direction: row;
}
.shareBtn{
  font-size: 1.5rem;
  height: 2rem;
  width: 2rem;
  margin: 0.5rem;
  background-color: transparent;
  transition: 0.3s;
}

/* -------------------------
   Animations
------------------------- */
@keyframes slideIn{
  0%{ opacity: 0; transform: translateY(10rem); }
  100%{ opacity: 1; transform: translateY(0); }
}
@keyframes slideIn2{
  0%{ opacity: 0; transform: translateY(-10rem); }
  100%{ opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn{
  0%{ opacity: 0; transform: scale(0.5); }
  100%{ opacity: 1; transform: scale(1); }
}
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* -------------------------
   Interaction states
------------------------- */
.latestPost:active,
.postTag a:active,
.text a:active,
.menu a:active,
.htmllink:active,
.logo:active,
#pager a:active,
button:active,
.tile:active,
.dropdownList a:active,
.social a:active,
.dropbtn:active{
  opacity: 0.5 !important;
}

@media(hover:hover) and (pointer:fine){
  .htmllink:hover,
  .text a:hover{ text-decoration: underline; }

  .dropdownList a:hover{
    background-color: rgb(var(--hover));
  }

  .read-more:hover,
  .postTag a:hover,
  .tagButton:hover,
  .newsletter button:hover,
  .timeline-button:hover,
  .tagPill:hover{
    background-color: rgb(var(--hover));
    border: var(--hover-border);
  }

  #scrollbutton:hover{
    transform: scaleY(1.05) translateY(.5rem);
    color: rgb(var(--hover));
  }

  .menu a:hover,
  .postBack:hover,
  .shareBtn:hover,
  #pager a:hover,
  .social a:hover{
    color: rgb(var(--hover));
  }

  .latestPost:hover{ 
    width: 15rem;
    border: var(--hover-border);
  }
  .latestPost:hover p{ background-color: rgb(var(--hover)); }
  .latestPost:hover img{ opacity: 1; }

  .dropbtn:hover{ transform: scaleX(1.2) translateX(-0.5rem); }
  .closeBtn:hover{ transform: scale(1.2); }

  .tile:hover .thumbnail{
    filter: blur(5px);
    transform: scale(1.2);
    opacity: 0.6;
  }
  .tile:hover .hoverTxt,
  .tile:hover .hoverTags{display: flex;flex-wrap: wrap;justify-content: flex-end;}
}

/* -------------------------
   Responsiveness
------------------------- */
@media (min-width:1700px){
  .tile{ width: calc(25% - 1rem); }
  .card, .social{ max-width: 60rem; }
  .Gallery{ max-width: 90rem; }
  .tagContainer{ max-width: 92rem; }
  .announcement{ width: 80vw; }
  .announcement p{ animation: scroll-left 30s ease-in infinite; }
}

@media (max-width:1100px){
  .tile{ width: calc(50% - 1rem); }
  #container{padding-bottom: 0;}

  .text-content,
  .statistics-content,
  .image-content{
    width: calc(100% - 1rem);
    margin: 3rem 0.5rem;
  }

  .timeline-content{ margin: 0.4rem -1rem 0 -1rem; }

  .timeline-page{
    flex-direction: column-reverse;
    margin: 0 4rem 2rem 0;
    justify-content: flex-end;
  }
  .timeline-line{
    margin: 1.5rem 4rem;
    width: calc(300% + 12rem);
  }
  .timeline-buttons{ margin: 2rem -1.5rem -3rem -1.5rem; }

  .timeline-button{
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .timeline-image{
    margin: 1.5rem 2rem -6rem 2rem;
    width: calc(100% - 4rem);
  }
  .statistics-bar-bg{height: 2rem;}
  .statistics-bar p{font-size: 0.6rem;}

  .contentFrame{ max-width: 40rem; }

  .pageName{ font-size: 4rem; }
  .homeName{ font-size: 4rem; }
  .slogan{ font-size: 2rem; }

  .postBlock {width: 100%;padding: 3rem 0;}
}

@media (max-width:800px){
  .announcement{ width: 110vw; }
  .tile{
    width: calc(100% - 1rem);
    margin: 1rem 0.5rem;
  }
  .Gallery{ padding-top: 0; }
  .image-frame{ width: 90%; }
}

@media (max-width:600px){
  .menu{ display:none; }
  .dropbtn{ display:block; }

  .latestPost{
    top: 6rem;
    width: 3rem;
    height: 10rem;
    right: 1rem;
  }
  .latestPost p{
    font-size: 1rem;
    line-height: 3rem;
  }

  .pageName{ font-size: 3rem; }
  .homeName{ font-size: 2.5rem; }
  .slogan{ font-size: 1.5rem; }
}
