/* Global reset & defaults */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Hide scrollbars everywhere but keep scrolling */
html, body {
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000;
  overflow-y: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
  min-height: 100vh;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;  /* Chrome, Safari, Opera */
}

/* Media elements */
img {
  max-width: 2560px;
  height: auto;
  width: 100%;
}

h1 {
  font-size: 3vw;
}

p {
  font-size: 1vw;
}

#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s;
  pointer-events: none;
  display: block;
}

body {
  position: relative;
  z-index: 0;
}

/* Intro video */
#Intro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: 2560px;
  z-index: 3;
}

/* Shatters outlines */
#shatters_outlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: 2560px;
  z-index: 1;
  opacity: 0;
  transition: none;
}

/* Shatters background */
#shatters {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: 2560px;
  z-index: 2;
  opacity: 0;
  transition: opacity 2s ease;
}

/* Overlay 1 */
#overlayImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: 2560px;
  z-index: 9999;
  display: block;
  opacity: 0;
}

/* Overlay 2 */
#overlayImg2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  z-index: 10000;
}

/* Dark overlay */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999999999;
}

.overlay.show {
  display: block;
}

/* Generic popup */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
  background: black;
  border: 5px solid red;
  border-image: linear-gradient(to right, red, green, blue) 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10000000000;
  color: white;
  flex-direction: column;
}

.popup-image,
.popup-video {
  margin-top: 40px;
  margin-bottom: 40px;
}

.popup-image img,
.popup-video video {
  width: 50vw;
  height: auto;
}

.popup.show {
  display: block;
}

/* Generic popup header */
.popup-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid red;
}

.popup-header .title {
  font-size: 1.25rem;
  font-weight: bold;
}

.close-button {
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.popup-body {
  padding: 10px 15px;
}

#About_Me {
  display: flex;
  flex-direction: row;
  column-gap: 3vw;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 3;
  margin-top: 170vw;
  padding: 20px;
  color: white;
  max-width: 1440px;
  width: 80vw;
  align-items: center;
  background-color: #000;
  filter: drop-shadow(10px 10px #0000004D );
}

#Portrait {
  width: 20vw;
  min-width: 300px;
  margin-left: auto;
  margin-right: 0;
}

.Description h1,
.Description p {
  color: white;
}

.Description h1 {
  font-size: 4vw;
}

.Description p {
  font-size: clamp(1rem, 1.3vw, 3rem);
}

#Banner {
  background-color: black;
  position: fixed;
  top: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000000;
  padding: 10px 0;
}

#Logo {
  width: 10vw;
}

footer {
  margin-top: 10vh;
  background-color: black;
  width: 100vw;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.icon {
  width: 10px;
}