* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Neue Haas Grotesk', sans-serif;
}

header {
  background-color: #9a0201;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
}

header img {
  height: auto;
  max-height: 200px;
  padding-top: 20px;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0661c7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  margin-top: 20px;
  width: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 20px;
  margin-right: 20px;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #cccccc;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.thispage {
  text-decoration: underline;
}

nav li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

main {
  margin: 0 auto;
  max-width: 1200px;
  padding: 40px;
}

section {
  margin-bottom: 60px;
}

.about {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.about-content {
  display: flex;
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
}

.about-image {
  flex: 1;
  padding-right: 20px;
}

.about-image img {
  width: auto;
  max-width: 400px;
}

.about-text {
  flex: 2;
}

.about-text img {
  align-items: center;
  display: grid;
}

.about-text p {
  line-height: 1.25;
  padding-bottom: 10px;
  text-indent: 20px;
}

.featured-artists {
  background-color: #f2f2f2;
  padding: 50px 0;
  text-align: center;
}

.featured-artist {
  margin-left: auto;
  margin-right: auto;
}

.artist-info {
  align-items: center;
  display: flex;
  gap: 20px;
}

.image-container {
  display: flex;
  justify-content: center;
  padding: 25px;
}

.image-container img {
  max-width: 350px;
  margin: 0 10px;
}

.profile-img {
  height: 150px;
  object-fit: cover;
  width: 150px;
}

.image-center h1 {
  text-align: center;
  padding: 25px;
}

.image-center img {
  margin: auto;
  display: grid;
  align-items: center;
  max-width: 1070px;
  margin-top: 50px;
}

.gallery {
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.thumbnails img {
  max-width: 30%;
  height: auto;
  margin: 10px;
  padding: 0;
}

.thumbnail {
  width: 30%;
  float: left;
  margin: 10px;
}

.thumbnail img {
  max-width: 100%;
  height: auto;
  display: block;
}

.thumbnail:hover .info {
  opacity: 1;
}

.info {
  opacity: 0;
  transition: opacity 0.5s;
  position: relative;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  color: black;
  text-align: centered;
  font-size: 18px;
  display: flex;
  margin: auto;
}

.featured-artists h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
}

.featured-artist h3 {
  padding-top: 50px;
}

.artist-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.artist {
  max-width: 300px;
  margin: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  text-align: center;
}

.artist img {
  max-height: 200px;
  height: auto;
  width: auto;
  object-fit: cover;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.artist img:hover {
  transform: scale(1.05);
}


.artist h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.artist p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.artist a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #e6e6e6;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.artist a:hover {
  background-color: #333;
  color: #fff;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFF8EE;
  padding: 10px;
  text-align: center;
  box-shadow: 0px -3px 3px rgba(0, 0, 0, 0.25);
}
.sidebar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 5px;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  display: block;
  padding: 5px;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.sidebar a:hover {
  background-color: #333;
  color: #f8f8f8;
}

.contact {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

#map {
  height: 500px;
  width: 100%;
  padding: auto;

}
.attractions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
}
.bold {
  font-weight: bold;
}

.mapinfo h3 {
  padding-top: 25px;
}

.mapinfo ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.mapinfo li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.mapinfo li:hover {
  background-color: #f0f0f0;
}

.mapinfo li.selected {
  background-color: #f0f0f0;
}

.bold {
  font-weight: bold;
}

.attraction-info {
  font-size: 14px;
  margin-top: 5px;
}

.view-gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* Optional: Add some spacing between the paintings and the button */
}

.view-gallery-container a {
  font-size: 24px;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #e6e6e6;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.view-gallery-container a:hover {
  background-color: #333;
  color: #fff;
}

.sold-gallery {
  padding-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.sold-gallery-item {
  text-align: center;
}

.sold-gallery-item img {
  max-width: 300px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.enlarged-img {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid white;
}

/* Additional styles to center and enlarge the images */
.sold-gallery-item img,
.artist img {
  cursor: pointer;
  transition: transform 0.3s;
}

.sold-gallery-item img:hover,
.artist img:hover {
  transform: scale(1.05);
}

/* Add the following styles */
.fullscreen-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone,
.email,
.hours,
.address,
#map {
  margin-bottom: 20px;
}

.phone h3,
.email h3,
.hours h3,
.address h3 {
  font-size: 36px;
}

.phone p,
.email p,
.hours p,
.address p {
  font-size: 18px;
}

#map {
  width: 100%;
  height: 400px;
}
