/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background-color: black;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
span {
  font-family: "IBM Plex Mono", monospace;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  transition: 0.5s ease;
  font-family: "IBM Plex Mono", monospace;
}

a:hover {
  background-color: white;
  color: black;
}

.logo:hover {
  background-color: black;
  padding: 0;
  margin: 0;
}

header nav {
  text-decoration: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* h1 text white */
h1 {
  color: white;
}

figure,
form {
  margin: 0;
}

/* Image gallry code */
.gallery {
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: 33.3333333333% 33.3333333333% 33.3333333333%;
}

.gallery-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transition: 0.5s ease;
  background-color: black;
  width: 60%;
  cursor: pointer;
}

/* On hover, show the text overlayed on the image */
.gallery-img:hover {
  filter: brightness(120%);
  display: block;
}

.gallery-img:hover .gallery-text {
  opacity: 100%;
}

/*  About section */
.about {
  background-color: black;
  width: 100%;
  height: 100%;
  padding-bottom: 35%;
}

.about-us {
  display: flex;
  margin: 0 auto;
  width: 70%;
  justify-content: space-between;
}

.about h1 {
  background-color: #f5f5f5;
  color: black;
  font-size: 10rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  font-family: "IBM Plex Mono", monospace;
}

.about p {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.about span {
  color: white;
  font-size: clamp(0.5rem, 2vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  padding: 2rem;
}

.contact {
  background-color: black;
  width: 100%;
  height: 100%;
  padding-bottom: 35%;
}

.contact h1 {
  font-size: 10rem;
  background-color: #f5f5f5;
  color: black;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  font-family: "IBM Plex Mono", monospace;
}

.contact span {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  font-family: "IBM Plex Mono", monospace;
}

.contact p {
  color: white;
  font-size: clamp(0.5rem, 2vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  font-family: "IBM Plex Mono", monospace;
}

.contact a {
  background-color: #f5f5f5;
  color: black;
  font-size: clamp(0.5rem, 2vw, 1.5rem);
}

/*Footer that's at the very bottom of the page, centered*/
footer {
  margin-top: auto;
  justify-content: center;
  align-items: center;
}

footer p {
  color: #333333;
  font-size: 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-align: center;
}

.subpage {
  height: 100vh;
}

/*  Media queries for the gallery */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: 50% 50%;
  }
}
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 100%;
  }
}
/* Media queries for the about page */
@media (max-width: 1024px) {
  .about-us {
    flex-direction: column;
  }
  .about-us span {
    font-size: 1rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }
}

/*# sourceMappingURL=main.css.map */
