html, body {
   width: 100%; 
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: white;
}

img, video {
  max-width: 100%;
  height: auto;
}


/* Fonts */
@font-face {
    font-family: 'Palanquin-Medium', Arial, Helvetica, sans-serif;
    src: url('/Type/Palanquin-Medium.ttf') format('ttf');
}

@font-face {
    font-family: 'Palanquin-Light', Arial, Helvetica, sans-serif;
    src: url('/Type/Palanquin-Light.ttf') format('ttf');
}


@font-face {
  font-family: 'Equateur-Regular';
  src: url('/Type/degheest-types-master/fonts/otf/Equateur-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FT88-Regular';
  src: url('/Type/degheest-types-master/fonts/otf/FT88-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


.literata {
  font-family: "Literata", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}
/*  */


p {
font-family: 'Palanquin-Medium', sans-serif;
  font-optical-sizing: auto;
  font-weight: 50;
  font-style: normal;
    font-variation-settings: 'wght' 100;
    font-size: 17px;
    line-height: 1.5em;
    color: black;
    margin-top: 1px;
}

a {
    color: black;
    text-decoration: underline 0.50px lime;
}

hr {
    size: 0.5px;
}

h1 {
    font-family: 'Palanquin-Medium', sans-serif;
    font-variation-settings: 'wght' 100;
    font-size: 60px;
    font-weight: 20;
    color: black
}

.divider {
  height: 1px;
  color: black;
  margin: 10px 0;       
}


/* Navbar Section */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 8%;
  z-index: 9999;
  margin-left: 20px;
  margin-top: 50px;
}

.navbar a {
    display: block;
    color: black;
    text-align: center;
    text-decoration: none;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    writing-mode: vertical-rl; 
    text-orientation: mixed;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .navbar-text, .hover-text, .pixelate-text {
      font-family: 'FT88-Regular', sans-serif;
    font-weight: 0;
    font-size: 1rem;
    color: black;
  transition: color 0.3s ease;
  transition: filter 0.3s ease;
}

.hover-text:hover, .pixelate-text:hover  {
  color: #BF00FF; 
    filter: contrast(200%) saturate(0%) blur(1px);
  image-rendering: pixelated;
}



/* Name Section */
.name-heading-div {
display: grid;
grid-template-columns: 1fr 1fr;
}

.name-heading{
    text-align: center;
    margin-top: 80px;
    margin-bottom: 0.2em;

}

.home-image {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    margin-right: 50px;
    margin-top: 0.1em;
}


/* Gallery Section */
.mosaic-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 90px;
  margin-left: 200px;
  margin-right: 50px;
  margin-bottom: 20px;
}


.mosaic-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr;
  text-align: right;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
  margin-left: 5rem;
  margin-right: 5rem;
}


/* Mobile Styles */
@media (min-width: 810px) {
    .navbar-mobile  {
    display: none;
}
}

@media (max-width: 810px) {
    .navbar  {
    display: none;
}

.navbar {
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 10px;

}

.navbar-mobile {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

.navbar-mobile a {
    display: block;
    text-align: center;
    text-decoration: none;
    
}

  .navbar-text, .hover-text, .pixelate-text {
    align-items: center;
    justify-content: center;
      font-family: 'FT88-Regular', sans-serif;
    font-weight: 0;
    font-size: 18px;
    color: limegreen;
 padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  border-bottom: limegreen 1px solid;

}

h1 {
   font-family: 'Palanquin-Medium', sans-serif;
    font-variation-settings: 'wght' 100;
    font-size: 4rem;
    font-weight: 20;
    color: black;
}

p {
    font-size: 14px;
    line-height: 1.2em;
    color: black;
}
a {
    color: black;
    text-decoration: underline 0.50px lime;
}

/* Name Section */
.name-heading-div {
display: grid;
grid-template-columns: 1fr;
margin-left: 4em;
  margin-right: 4em;
}

.name-heading{
    text-align: left;
    margin-top: 40px;
    margin-bottom: 0.2em;
    line-height: 0.9em;
}

.home-image {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    margin-top: 0.1em;
}


/* Gallery Section */
.mosaic-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-left: 4em;
  margin-right: 4em;
  margin-bottom: 50px;
}


.mosaic-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  margin-left: 5rem;
  margin-right: 5rem;
}
}