/* Root settings */
:root {
  /* font-size: 16px; */
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  --text-primary: #1D1D1B;
  --text-secondary: #F1F0F5;
  --text-highlight-primary: #FF00AE;
  --bg-primary: #D4D4D4;
  --bg-secondary: #B5B5B5;
  --bg-secondary-translucent: #b5b5b590;
}

/* Global default settings */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* html {
    color-scheme: light dark;
} */

/* General site-wide styles */
body {
  background: var(--bg-primary);
  min-height: 100vh;
  min-height: 100dvh;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.2rem;
  font-weight: 400;
}

p {
  text-align: justify;
  font-size: 1rem !important;
}

img {
  pointer-events: none;
}

nav a,
.menu-icon {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: bold;
  font-size: 1.6rem;
  font-family: 'Roboto', sans-serif;
  transition: color 1000ms;
}

nav a:hover,
.menu-icon:hover {
  color: var(--text-highlight-primary);
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding-left: calc(0.5rem + 6vw);
  padding-right: calc(0.5rem + 6vw);
}

button {
  font-family: inherit;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border: none;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: var(--text-highlight-primary);
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: var(--bg-secondary);
  z-index: 99;
  transition: all 300ms ease;
  opacity: 1;
}

.header-padding {
  height: 5rem;
  background: var(--bg-primary);
}

.header-main {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main .logo {
  width: 6rem;
  position: relative;
  top: 0.3rem;
}

.header-main .navbar-header ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  position: absolute;
  top: 1.5rem;
  right: 2.1rem;
  cursor: pointer;
}

.scroll-down header {
  transform: translate3d(0, -100%, 0);
}

.scroll-up header {
  filter: drop-shadow(0 -0.6rem 1rem);
}

/* Footer styles */
footer {
  width: 100%;
  bottom: 0;
  left: 0;
  background: var(--bg-secondary);
}

.footer-main {
  color: var(--text-secondary);
  text-align: center;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main .navbar-footer ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.social-icons a {
  color: var(--text-secondary);
  margin: 0 1rem;
  font-size: 24px;
  transition: all 1000ms;
}

.social-icons a:hover {
  color: var(--text-highlight-primary);
  transform: scale(1.3);
}

.copyright {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.copyright span {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Index page styles */
.logo-hero {
  max-width: 1000px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.text-home {
  text-align: justify;
  text-justify: auto;
}

/* Gallery image grid styles */
.gallery-image-grid {
  margin: 3rem 0;
  display: grid;
  gap: 2rem;
  grid-auto-columns: auto;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-areas: 
    'gallery-01 gallery-01 gallery-01 gallery-01 gallery-02 gallery-02 gallery-02 gallery-02'
    'gallery-01 gallery-01 gallery-01 gallery-01 gallery-03 gallery-03 gallery-03 gallery-03'
    'gallery-05 gallery-05 gallery-05 gallery-04 gallery-04 gallery-04 gallery-04 gallery-04'
    'gallery-06 gallery-06 gallery-06 gallery-06 gallery-06 gallery-09 gallery-09 gallery-09'
    'gallery-07 gallery-07 gallery-07 gallery-08 gallery-08 gallery-08 gallery-08 gallery-08'
    ;
}

.gallery-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 0.3rem;
}

.gallery-image {
  filter: grayscale(0.6);
  transition: all 200ms ease-in;
}

.gallery-image:hover {
  transform: scale(1.05);
  z-index: 10;
  filter: none;
}

.gallery-image:nth-child(1) {
  grid-area: gallery-01;
}

.gallery-image:nth-child(2) {
  grid-area: gallery-02;
}

.gallery-image:nth-child(3) {
  grid-area: gallery-03;
}

.gallery-image:nth-child(4) {
  grid-area: gallery-04;
}

.gallery-image:nth-child(5) {
  grid-area: gallery-05;
}

.gallery-image:nth-child(6) {
  grid-area: gallery-06;
}

.gallery-image:nth-child(7) {
  grid-area: gallery-07;
}

.gallery-image:nth-child(8) {
  grid-area: gallery-08;
}

.gallery-image:nth-child(9) {
  grid-area: gallery-09;
}

/* Album image grid styles */
.album-art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.album-art-grid img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Profile page styles */
.profile-intro {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
}

.profile-intro p {
  padding: 0.3rem;
  padding-left: 2rem;
}

/* Profile grid styles */
.profile-grid {
  display: grid;
  gap: 2rem;
  grid-auto-columns: 1fr;
  grid-template-areas:
    'text-01 image-02'
    'text-03 text-03'
    'image-04 text-05';
}

.profile-grid img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0 0 0 / 0.4);
}

.profile-grid-01-text {
  grid-area: text-01;
}

.profile-grid-02-image {
  grid-area: image-02;
}

.profile-grid-03-text {
  grid-area: text-03;
}

.profile-grid-04-image {
  grid-area: image-04;
}

.profile-grid-05-text {
  grid-area: text-05;
}

/* Add styling for the music player */
/* .music-player {
  padding: 20px;
} */

/* Contact page styles */
.contact-form {
  /* max-width: 400px; */
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.form-input {
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
}

.form-input input {
  height: 3rem;
}

.form-input textarea {
  overflow: auto;
}

.form-input input,
.form-input textarea {
  width: 100%;
  background: var(--bg-primary);
  padding: 0.8rem;
  border: 0.1rem solid var(--bg-secondary);
  border-radius: 0.3rem;
  outline: none;
  font-family: inherit;
  font-size: 1em;
  color: var(--text-primary);
  transition: border 300ms ease-in-out;
}

.form-input label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.6rem 1.2rem;
  transition: all 300ms ease-in-out;
  pointer-events: none;
  text-transform: uppercase;
  display: block;
}

.form-input input:focus,
.form-input textarea:focus {
  border: 0.1rem solid var(--text-highlight-primary);
}

.form-input input:focus~label,
.form-input textarea:focus~label,
.form-input input:valid~label,
.form-input textarea:valid~label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  transform: translate(1rem, -0.9rem);
  padding: 0 0.5rem;
  background: var(--bg-primary);
  color: var(--text-highlight-primary);
}

.contact-social-icons {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-social-icons a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 1000ms;
}

.contact-social-icons a i {
  margin-bottom: 0.5rem;
  font-size: 24px;
}

.contact-social-icons a:hover {
  color: var(--text-highlight-primary);
  transform: scale(1.1);
}

.keys-banner {
  left: 0;
  max-width: 800px;
}

/* Responsive adjustments using media query */
/* Tablet */
@media only screen and (max-width: 768px) {
  /* Grids */
  .gallery-image-grid {
    gap: 1rem;
    grid-template-areas: 
      'gallery-01 gallery-05'
      'gallery-02 gallery-02'
      'gallery-04 gallery-04'
      'gallery-07 gallery-08'
      'gallery-03 gallery-03'
      'gallery-09 gallery-06';
  }

  .profile-grid {
    grid-template-areas:
      'text-01 text-01'
      'text-03 image-02'
      'image-04 text-05';
  }
}

/* Phone */
@media only screen and (max-width: 500px) {

  /* Header */
  .menu-icon {
    display: flex;
  }

  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-main .navbar-header {
    display: none;
    width: 100%;
    opacity: 0;
    transition: all 200ms ease;
  }

  .header-main .navbar-header ul {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    top: 0.5rem;
  }

  header.open {
    height: 13rem;
    filter: drop-shadow(0 -0.6rem 1rem);
  }

  .header-padding.open {
    height: 13rem;
  }

  .header-main .navbar-header.open {
    display: flex;
    opacity: 1;
    transition: all 500ms ease;
  }

  /* Footer */
  .footer-main .navbar-footer ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* Grids */
  .gallery-image-grid {
    grid-template-areas:
      'gallery-01'
      'gallery-02'
      'gallery-05'
      'gallery-04'
      'gallery-07'
      'gallery-03'
      'gallery-08'
      'gallery-06'
      'gallery-09';
  }

  .profile-grid {
    grid-template-areas:
      'text-01'
      'image-02'
      'text-03'
      'image-04'
      'text-05';
  }

  /* Contact page */
  .contact-social-icons {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Large screens */
@media only screen and (min-width: 1300px) {

}