
@font-face {
  font-family: 'MyFont';
  src: url('main_assets/fonts/Archivo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: black;
  font-family: 'MyFont', sans-serif;
}


#alias {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(225, 225, 225);
  margin: 0;
  font-size: 2rem;
  z-index: 2;
}

#bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 110vw;
  min-height: 110vh;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
}


.navigation {
  position: relative;
  left: 1%;
  top: 20px;
  z-index: 2;
  text-align: left;
  color: rgb(225, 225, 225);
  font-size: 60px;
}

.navigation a {
  color: inherit;
  text-decoration: none;
}

.navigation a:hover {
  filter: brightness(0.7);
}

/* Reset nav spacing */
nav h1,
nav h2,
nav ul {
  margin: 0;
}

nav ul {
  padding-left: 0;
  list-style: none;
}


.social {
  position: relative;
  top: 25px;
  left: 1%;
  z-index: 2;
}

.social a:hover {
  filter: brightness(0.7);
}


.email {
  position: relative;
  top: 30px;
  left: 1%;
  z-index: 2;
  color: rgb(255, 255, 255);
}

.email p {
  cursor: pointer;
  user-select: none;
  color: rgb(225, 225, 225);
  transition: transform 0.15s ease, color 0.15s ease;
}

.email p:hover {
  color: rgb(170, 170, 170);
}

.email p.copied {
  color: #7cff9b;
}


.main {
  position: absolute;
  top: 15%;
  left: 49%;
  transform: translateX(-50%);
  color: rgb(225, 225, 225);
  margin: 0;
  line-height: 1.4;
  width: 55%;
  max-height: 80vh;
  overflow: auto;
  text-align: left;
  font-size: 24px;
	z-index: 2;
}


.no-select {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gallery {
		display:grid;
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 1rem;
		padding: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 40px);
  gap: 12px;
  justify-content: center;
}

.gallery img:hover{
	transform: scale(1.02);
	opacity:0.9;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.gallery {
  position: relative;
  z-index: 2;
}

main {
  position: absolute;
  top: 20vh;              
  left: 67%;
  transform: translateX(-50%);
  width: 90%;
  height: 60vh;           
  overflow-y: auto;
  z-index: 2;
}

body.blog-page {
  background: white;
  color: black;
  overflow: auto; 
  font-family: sans-serif;
    margin: 0;
    padding: 20px;

}

body.blog-page .main {
  background: white;
  padding: 2rem;
  border-radius: 8px;

}




