@import url('index.css');

#about-page {
  color: #111;
  position: relative;
  overflow-x: hidden;
}

#about-page .spotlight-text {
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}

.wrapper-img {
  overflow: hidden;
  position: relative;
  margin-top: 70px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 75vh;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.box {
  background: white;
  opacity: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

/* header  */

.header {
  margin-top: 100px;
  width: 100%;
  text-align: left;
  margin-left: 60px;
  margin-right: auto;
  max-width: 700px;
}

.header h1 {
  font-size: 90px;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  color: #111;
  font-family: "Monument Extended", sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
}

.header-1 .letter {
  display: inline-block;
  line-height: 1em;
}

.header-2 .letter {
  display: inline-block;
  line-height: 1em;
}

/* hero-container */

.sidebar-text {
  position: absolute;
  top: 20%;
  right: 7%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 2px rgb(165, 165, 165);
}

.projects {
  position: absolute;
  bottom: 10%;
  left: 15%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  text-decoration: underline;
}

.img-nav {
  position: absolute;
  right: 13%;
  bottom: 13%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  color: grey;
}

.next {
  position: relative;
  top: 40px;
  left: 80px;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  pointer-events: none;
  z-index: 1;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 50px;
  transform: translate(-50%, -50%);
  display: flex;
  background: rgba(80, 80, 80, 80);
}

.loader-1 {
  position: absolute;
  background-color: white;
  width: 200px;

}

.loader-2 {
  position: absolute;
  background-color: white;
  width: 200px;
}

.loader-3 {
  position: absolute;
  background-color: white;
  width: 150px;
}

.loader-4 {
  position: absolute;
  background-color: white;
  width: 145px;
}

.bar {
  height: 50px;
}

.sec1 {
  margin-top: 100px;
  margin-bottom: 200px;
  height: auto;
}

.headerText h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Nunito', sans-serif;
  color: rgb(99, 94, 93);
}

.gallery {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.headerText h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  color: rgb(99, 94, 93);
}

.headerText h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  color: rgb(99, 94, 93);
}

@media (pointer: coarse) {
  #about-page #spotlight-overlay {
    display: none;
  }
}

@media (max-width: 900px) {
  #about-page .header {
    top: 55%;
    left: 50%;
    text-align: center;
  }

  #about-page .header h1 {
    font-size: 39px;
    color: #212529;
  }
}

@media (max-width: 460px) {
  #about-page .header h1 {
    font-size: 39px;
    color: #212529;
  }
}

#mouse-ball {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  background: rgb(255, 0, 234);
  z-index: -1;
  width: 40px;
  /* initial size, will be set by JS */
  height: 40px;
  left: 0;
  top: 0;
  transition: background 0.2s;
}

#invert-spotlight {
  position: fixed;
  pointer-events: none;
  width: 40px;
  /* or dynamic */
  height: 40px;
  border-radius: 50%;
  background: white;
  mix-blend-mode: difference;
  z-index: 1000;
  transition: width 0.2s, height 0.2s;
}

body,
html {
  cursor: none !important;
}



/* About Page Layout Updates */

.about-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 150px;
  /* Adjust for navbar */
  padding: 0 60px;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.about-container .header {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
  width: 45%;
  max-width: none;
  text-align: left;
}

.about-text-section {
  width: 45%;
  padding-top: 10px;
  color: #111;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 300;
}

.about-text-section p {
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    margin-top: 100px;
  }

  .about-container .header {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }

  .about-text-section {
    width: 100%;
    text-align: center;
  }
}