:root {
  --text-color: hsl(0, 0%, 93%);
  --gold: hsl(37, 52%, 53%);
  --dark-grey: hsl(233, 18%, 19%);
}

html,
body {
  /* height: 100vh;
  width: 100vw; */
  background-color: var(--dark-grey);
  font-size: 16px;
  color: var(--text-color);
  scroll-behavior: smooth;
  line-height: 1.2rem;
}

a {
  color: var(--gold);
  text-decoration: none;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
  color: var(--gold);
  line-height: 2rem;
}

img {
  border-radius: 5px;
  margin-bottom: 1rem;
  position: relative;
}

.parallax-break {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  background-color: var(--dark-grey);
  background-size: cover;
  font-size: 2rem;
}

.parallax1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(images/IMG_2781.jpeg);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.parallax1 img {
  height: 10rem;
  border-radius: 50%;
}

.parallax1 h1 {
  font-size: 1.5rem;
}

.parallax1 h2 {
  font-size: 1.2rem;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.socials img {
  height: 1.5rem;
  margin: 0.3rem;
  border-radius: 0;
}

.parallax2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(images/IMG_2851.jpeg);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.about-me {
  margin: 0.5rem;
  padding: 1rem;
  max-width: 900px;
}

.about-me h3,
.projects h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about-me p,
.projects p {
  margin-bottom: 1rem;
}

.projects {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0.5rem;
  padding: 1rem;
  max-width: 900px;
}

.projects div {
  width: 100%;
}

.project-imgs {
  display: flex;
  justify-content: center;
  justify-items: center;
  width: 100%;
}

.parallax3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url(images/IMG_3040.jpeg);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.parallax3 img {
  max-height: 50rem;
}

.glass {
  background: rgba(40, 42, 58, 0.5);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14.7px);
  -webkit-backdrop-filter: blur(14.7px);
}

.main-info {
  display: flex;
  align-items: center;
  align-content: center;
  text-align: center;
  flex-direction: column;
  margin-top: 5rem;
  margin-bottom: 1rem;
  padding: 3rem;
  gap: 3rem;
}

.main-info a {
  text-decoration: none;
  color: var(--text-color);
}

.main-info a:hover {
  color: var(--gold);
}

nav {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -250px;
  background: var(--dark-grey);
  z-index: 2;
  transition: 0.5s;
}

nav ul li {
  list-style: none;
  margin: 50px 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
}

.menuBtn {
  width: 50px;
  height: 50px;
  background: var(--dark-grey);
  text-align: center;
  position: fixed;
  right: 30px;
  top: 20px;
  border-radius: 3px;
  z-index: 3;
  cursor: pointer;
}

.menuBtn img {
  width: 20px;
  margin-top: 15px;
}

.label-text {
  font-weight: 800;
  color: var(--gold);
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .menuBtn {
    display: none;
  }

  nav {
    display: flex;
    width: 100vw;
    height: 4rem;
    right: 0;
    align-items: center;
    justify-content: center;
    height: 4rem;
  }

  nav {
    background-color: var(--dark-grey);
  }

  nav ul li {
    list-style: none;
    margin: 50px 20px;
    float: left;
  }

  nav ul li a {
    color: var(--text-color);
    font-style: normal;
    font-weight: 700;
    margin-left: 1rem;
    text-decoration: none;
  }

  nav ul li a:hover {
    color: var(--gold);
  }

  nav ul li a:active {
    color: #735f32;
  }

  .main-info {
    flex-direction: row;
  }

  .about-me {
    padding: 3rem;
    margin: 0;
  }

  .parallax-break {
    scroll-margin-top: 4rem;
  }
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  background-color: var(--dark-grey);
  text-align: center;
}

@media (min-width: 900px) {
  body {
    background-image: url(images/IMG_2781.jpeg);
    background-size: cover;
  }

  body,
  .parallax2,
  .parallax3 {
    background-attachment: fixed;
  }

  .parallax1 {
    background-image: none;
  }

  .projects {
    flex-direction: row;
    padding: 3rem;
  }
}
