@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin:0;
  padding:0;
  background-color: #E0EBE3;
}

a {
	text-decoration:none;
}
nav ul {
  list-style-type: none;
  display:flex;
  align-items:center;
  gap:0;
  padding:0;
  margin-left:8%;
}
nav li {
  padding: 0 2%;
  font-family:"Poppins", sans-serif;
  font-weight:900;
  margin-top:1%;
  font-size:1.5rem;
}
nav {
  position: relative;
  height: 55vh;
  background-image: url(images/white_angora_cat.jpg);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 30%;
  min-height:30rem;
}
nav img {
  display:block;
  height:12.5rem;
  width:auto;
}
nav h1 {
  text-align:center;
  margin-top:10%;
  font-family:"Playfair Display",sans-serif;
  font-weight:900;
  color:white;
  font-size:3rem;
  text-shadow: 0 0 .5rem rgba(0,0,0,0.75);
}
nav li a {
  display: block;
  color: white;
  text-align: center;
  text-shadow: 0 .25rem .5rem rgba(0,0,0,0.8);
  transition: color 0.2s ease, transform 0.2s ease;
}
nav li a:hover {
  color: #e3d5af;
}

.nav-img-link {
  position: relative;
  display: block;
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
}
.nav-img-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease;
}
.hover-img {
  opacity: 0;
}
.nav-img-link:hover .hover-img {
  opacity: 1;
}
.nav-img-link:hover .default-img {
  opacity: 0;
}


main {
  padding: 2% 0;
}
.main_flex {
  display:flex;
  justify-content:center;
  gap:0;
  align-items:center;
  margin: 0 20%;
}
.main_flex_item img {
  width:31.25rem;
  border-radius: 1.25rem 0 0 1.25rem;
}
.main_flex_item_text {
  background-color:#1c2428;
  padding:2%;
  border-radius:1.25rem;
}
.main_flex_item_text h1 {
  color: #E0EBE3;
  font-family:"Playfair Display",sans-serif;
  font-weight:900;
  line-height:normal;
  font-size:2.2rem;

}
.main_flex_item_text ul {
  display:flex;
  flex-direction: column;
  gap:50px;
  padding-top:1.5rem;
  padding-bottom:.75rem;
}
.main_flex_item_text li {
  list-style-type: none;
}
.main_flex_item_text li a {
  color: #221E18;
  background-color: #E0EBE3;
  font-family:"Poppins",sans-serif;
  font-weight:bold;
  font-size:1.25rem;
  padding:1rem;
  border-radius:0.625rem;
}
.main_flex_item_text p {
  font-family:"Poppins", serif;
  font-size:1.25rem;
  color:white;
  line-height:30px;
  font-weight:500;
  padding: 1rem 0;
}


#buttons_main a {
  transition: background-color 0.4s ease, transform 0.3s ease;
}
#buttons_main a:hover {
  background-color:#6fa784;
}





#ticket_form {
  max-width: 40rem;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  text-align: center; 
}

#ticket_form label[for="museum-date"] {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #221E18;
  display: block;
  margin-bottom: 1rem;
}


#ticket_form input[type="date"] {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 2px solid #E0EBE3;
  border-radius: 8px;
  text-align: center;
  width: 60%;
  margin: 0 auto 2rem auto;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#ticket_form input[type="date"]:focus {
  border-color: #221E18;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}


#form_age_selection fieldset {
  border: none;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 1rem; 
  text-align: left; 
}

#form_age_selection label {
  flex: 1;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

#form_age_selection input[type="number"] {
  width: 5rem;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  padding: 0.5rem;
  border: 2px solid #E0EBE3;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#form_age_selection input[type="number"]:focus {
  border-color: #221E18;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

#ticket_form button[type="reset"] {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 10px;
  background-color: #E0EBE3;
  color: #221E18;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: inline-block;
  margin: 1.5rem auto 0 auto; 
}

#ticket_form button[type="reset"]:hover {
  background-color: #6fa784;
  transform: translateY(-1px);
}


#ticket_form p {
  margin-top: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #221E18;
  text-align: center;
}
#museum-date h2 {
	font-size:2rem;
}

#faq_flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  margin:2rem 5rem;
  gap:3rem;
}
.faq_flex_item {
  width:37%;
  background-color:white;
  padding:1rem;
  border-radius:10px;
}
.faq_flex_item p {
  font-family:"Poppins";
}
.faq_flex_item h3 {
  font-family:"Poppins", sans-serif;
  padding-bottom:1%;
  font-weight:600;
}
#faq_title {
  text-align:center;
  font-family:"Playfair Display", serif;
  font-weight: bold;
  font-size:2rem;
}

.overlay {
  position: absolute;
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
   bottom: 0;
}

#links_flex {
  width: 70%;
  margin: 2% auto;
  column-count: 3;
  column-gap: 20px;
  list-style: none;
  padding: 0;
  
}
#links_flex li {
  margin-bottom: 20px;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  width: 100%;
}
.artist_card {
  position: relative;
   z-index: 1;
  border-radius: .5rem;
}
.artist_card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s ease, box-shadow .3s ease;
   box-shadow: -6px 4px 6px rgba(0,0,0,0.4);

}
.artist_card:hover img {
  transform: scale(1.03);
  box-shadow:none;
}

.artist_card:hover .overlay {
  opacity: 1;
}
#links_flex h2 {
  margin-top: .5rem;
}
#links_flex h2 a {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  background-color: #E0EBE3;
  color: #221E18;
  transition: background-color 0.4s ease;
  display: inline-block;
  margin: .5rem 0;
  
}
#links_flex h2 a:hover {
  background-color: #6fa784;
}

#credit_footnote {
  text-align: center;
  margin-bottom: 2%;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-size: 1rem;
}

footer {
  padding-left:10%;
  background-color:#1c2428;
  padding-top:1%;
}
footer p, footer h1, footer li {
  color:#E0EBE3;
}
footer p{
  text-align:center;
  border-top:solid white 3px;
  padding-bottom:2%;
  font-family:"Poppins",serif;
  font-weight:bold;
  font-size:1.25rem;
  max-width:90%;
}
footer h1 {
  font-family:"Poppins", sans-serif;
  font-size:1.625rem;
  font-weight:bold;
  padding-top:1%;
}
footer ul {
  display:block;
  padding: 0;
  font-family:"Poppins", serif;
  font-weight:medium;
  margin-top:.5%;
  font-size:1.125rem;
}
footer li {
  list-style-type: none;
  line-height:2em;
}

#meet_artists {
  display: flex;
  flex-wrap: wrap; /* allows items to go to next line */
  gap: 2.5rem; /* optional spacing between items */
  
max-width:1700px;
margin:0 auto;
margin-top:2%;
margin-bottom:2%;

}

#meet_artists li {
  list-style: none;
  flex: 0 0 calc(50% - 1.25rem); /* half minus HALF the gap */
  display: flex;
  gap: 2rem;
  background-color:white;
  padding:1%;
  border-radius:5px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.image img {
  width: 270px; /* adjust as needed */
  height: auto;
  border-radius: 5px 0 0 5px;

}

.artists_text {
  flex: 1;
  font-family:"Poppins",sans-serif;
   max-width: 50ch;
}
.artists_text h2 {
	margin-bottom:1%;
}
.artists_text a {
	font-size:.9rem;
	color: #04402f;
}
.artists_text a:hover {
	color:#6fa784;
}
.artists_text p {
	margin-bottom:1%;
}