body {
  background-color: #eeeeee;
  font-family: "Playfair Display", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;

}
html{
  scroll-behavior: smooth;
}

:root {
  --trans: transition: 0.5s;

}


.navbar {
  display: flex;
  justify-content: end;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid #222222;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  font-size: 16px;
  font-weight: 500;

}



.pa-logo {
  margin-right: auto;
}

a {
  text-decoration: none;
  color: #222222;
  font-size: 16px;
}

a:hover {
  text-decoration: underline;
  font-weight: 600;
  color: #222222;
  transition: var(--trans)
}


/* PASTUDIO button style */

.pa-studio-btn,
.pa-studio-btn-side, .pa-studio-btn-1 {
  text-wrap: nowrap;
  background-color: #222222;
  padding: 0.5rem 2rem 0.5rem 2rem;
  border-radius: 1rem;
  border: none;
  color: #eeeeee;
  font-family: "Playfair Display", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: var(--trans);
}


.pa-studio-btn:hover {
  text-decoration: underline;
  background-color: #000000;
  color: #eeeeee;
  transition: var(--trans)
}

#PA {
  font-family: "Style Script";
  color: #FFFFFF;
}

/* for mobile */
.sidebar {
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 30px;
  width: 80vw;
  height: 80vh;
  margin: 0 auto;

}

.material-symbols-outlined {
  color: #222222;
  font-weight: 500;
}

#menu-button {
  cursor: pointer;
  display: none;
}

#menu-button-close {
  cursor: pointer;
  display: flex;
}



.emotion-filter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;


}

/* search function */

.search {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
    /* Ensures suggestion dropdown is positioned relative to this container */
}

input {
  text-align: center;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #222222;
  color: #222222;
  font-size: 18px;
  width: 50vw;
  font-family: "Playfair Display", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
}

#suggestion {
  width: 50vw;
  /* Matches the width of the input */
  background-color: #eeeeee;

  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  /* Position relative to .search */
  top: 30px;
  /* Adjusts dropdown to appear below the input but above the button */
  left: 0;
  z-index: 1;
  /* Ensures dropdown appears above the button and below the search input */
  display: none;
  /* Hidden by default */

}
.suggestion-item {
  padding: 6px;
  cursor: pointer;
  font-size: 18px;
  text-align: center;
  color: #A9A9A9;
/*   background-color: lightblue; */
  /* Align text to the left for better readability */
}

input:focus {
  outline: none;
}

::placeholder {
  text-align: center;
  color: #A9A9A9;
  font-size: 18px;
}

/* search runner and button */

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222222;
  border: none;
  font-family: "Playfair Display", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  margin-top: 3rem;
  transition: --trans ease-in-out;
  background-color: transparent;
  padding: 0;
}


.fa-solid,
.fa-magnifying-glass{
  font-size: 24px;
  color: #222222;
  transition: var(--trans);
}

.search-btn:hover {
  transform: scale(1.1);
  transition: var(--trans)
}


/* links to emotion filter pages */

.emotion-filter-info {
  margin-top: 2rem;
  font-size: 16px;
  font-family: "Playfair Display", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
}

.emotion-filter-info a {
  color: #222222;
}

/*TO THE NEXT SECTION*/

.next {
  display: flex;
  flex-direction: column;
  justify-items: center;
  text-align: center;
/*   background-color: lightblue; */
  margin-bottom: 2rem;
  color: #222222;


}

span {
  color: #A9A9A9;
}

.sign-up {
  font-size: 14px;
}

.next-section {
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  max-height: 100vh;
  margin-top: -230px;
/*   background-color: lightcoral; */
  color: #222222;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.5;

}

.dashed-line {
  text-align: center;
  color: #A9A9A9;
  font-size: 20px;
}

/*pa-studio section*/

.column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px;
  grid-template-areas: "left right" "full-row full-row";
  width: 80vw;
  margin: 0 auto;
  margin-top: 40px;

}

.left {
  grid-area: left;
/*   background-color: lightgoldenrodyellow; */
}

.right {
  grid-area: right;
/*   background-color: lightgray; */
}

.full-row {
  grid-area: full-row;
  display: flex;
  flex-direction: column;
/*   background-color: lightgreen; */
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;

}






/*Responsive design*/

/*small laptops or windows*/

@media only screen and (max-width: 992px) {
  input {
/*     background-color: lightgrey; */
    width: 85vw;
  }
  #suggestion{
    width: 85vw;
  }

  .hideOnMobile{
    display: none;
  }
  .pa-studio-btn{
    display: none;
  }

  #menu-button {
    display: flex;
    margin-inline-end: 0;
  }

  .navbar {
    margin-bottom: 1rem;
  }

  .sidebar {
    display: none;
/*     background-color: darkred; */
  }

}

/*large ihpones*/
@media only screen and (max-width: 600px) {
  input {
/*     background-color: lightblue; */
    width: 85vw;
  }

  .sidebar {
    width: 95vw;
  }
  
  .column-grid{
    grid-template-columns: 1fr;
    grid-template-areas: 
    "left"
    "right"
    "full-row";
    width: 90vw;
    gap: 18px;
  }
  .next-section{
    margin-top: -230px;
  }
  .full-row{
    margin-bottom: 1rem;
  }


}

/*standard iphones*/
@media only screen and (max-width: 414px) {
  input {
/*     background-color: lightpink; */
    width: 90vw;
  }

  .sidebar {
    width: 95vw;
  }
  .next-section{
    margin-top: -230px;
    line-height: 1.8;
  }
  .next{
    font-size: 14px;
}
}