/* Root Variables */

:root {
  --background-color: #FFFCF4;
  --brown: #D1C6B7;
  --pink: #F4C9CD;
  --light-pink: #F9E1DF;
  
  --text-color-bold: #000000;
  --text-color-regular: #424242;
  --text-color-light: #929292;

  --font-family-bold: "Italiana", sans-serif;
  --font-family-regular: "Montserrat", sans-serif;
}


/* Global Resets */

html { font-size: 10px; }

@media(min-width: 1400px) {
    html { font-size: 15px; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { text-decoration: none; }


/* Mobile Resets */

.desktop-container-vertical, .desktop-container-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
}


/* Main Styling */

body {
  background-color: var(--background-color);
  color: var(--text-color-regular);
  font-family: var(--font-family-regular);
  line-height: 1.25;
}


/* Menu */

#header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

#hamburgerMenu {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
}

.top-style-logo {
  width: 20rem;
  position: relative;
  padding-top: 3.2rem;
}

#desktopMenu { display: none; }

#menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 3;
}

#menuOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

#mobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 32rem;
  height: 100vh;
  background: var(--background-color);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 6.4rem 3.2rem 3.2rem;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-left: 5px solid var(--pink);
}

#mobileMenu.open {
  right: 0;
}

.close-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  cursor: pointer;
  transition: transform 0.25s ease;
  margin: 0;
}

#menuClose:hover {
  transform: rotate(90deg) scale(1.1);
}

#mobileMenu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  padding-left: 0;
}

#mobileMenu ul a {
  font-family: "Italiana", serif;
  text-transform: uppercase;
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--text-color-bold);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.4rem;
  transition: color 0.3s ease;
}

#mobileMenu ul a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.2rem;
  width: 0;
  background: var(--pink);
  transition: width 0.3s ease;
}

#mobileMenu ul a:hover {
  color: var(--brown);
}

#mobileMenu ul a:hover::after {
  width: 100%;
}

#mobileMenu-button {
  position: relative;
  left: 50%;
  margin-left: -10rem;
}


/* Typography */

.italiana-regular {
  font-family: "Italiana", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;
  text-align: center;
  width: 90%;
}

h3 {
  font-size: 2.4rem;
}

.paragraph-text {
  color: var(--text-color-light);
  width: 90%;
  text-align: center;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1.6rem;
  font-style: normal;
}

/* Miscellaneous */

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.6rem;
  gap: 2.4rem;
  margin-bottom: 3.2rem;
}

.pink-button {
  width: 20rem;
  border-radius: 4px;
  text-align: center;
  padding: 1.2rem 0 1.2rem 0;
  color: white;
  background: var(--pink);
  font-size: 1.6rem;
}

@media(min-width: 1000px) {
  
  /* Menu */

  #header {
    position: fixed;
    margin-top: -10rem;
    padding-bottom: 0.7rem;
    box-sizing: content-box;
    height: 10rem;
    justify-content: left;
    background: var(--background-color);
    z-index: 2;
  }

  #hamburgerMenu {
    display: none;
  }

  .top-style-logo {
    padding-left: 1.2rem;
    padding-top: 1.2rem;
    width: auto;
    height: 100%;
    min-height: 10rem;
  }

  #desktopMenu { 
    position: absolute;
    right: 0;
    display: flex;
    align-self: center;
    flex-direction: row;
    align-items: center;
    padding: 0 2rem 0 0;
  }

  .desktop-menu-link {
    color: var(--text-color-light);
    margin: 0 2rem 0 2rem;
    transition: 0.4s;
    font-size: 1.6rem;
  }

  .desktop-menu-link:hover {
    color: var(--brown);
  }

  #desktopMenuButton {
    width: 17.5rem;
  }

  .pink-button:hover {
    opacity: 0.8;
  }

  /* Desktop Styles */

  .italiana-regular {
    color: #000000;
    width: auto;
    text-align: left;
    font-size: 4.8rem;
  }

  .paragraph-text {
    text-align: left;
    font-size: 1.75rem;
  }

  .pink-button {
    padding: 0.8rem 0 0.8rem 0;
    transition: 0.4s;
    box-shadow: 2px 2px 10px #EBEBEB;
    border-radius: 0.3rem;
    font-size: 1.6rem;
  }

  section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    min-height: 45rem;
    padding: 0 2rem 0 2rem;
    margin-top: 1.6rem;
    gap: 2.4rem;
    margin-bottom: 10rem;
  }

  .desktop-container-vertical {
    width: 45vw;
    gap: 1.5vw;
    margin-left: 4.8rem;
    align-items: start;
  }

  .desktop-container-horizontal {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}