/* Add a background color to the top navigation */
.topnav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: Orchid;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: Plum;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: DarkOrchid;
  color: white;
}

/* Base font size */
body {
  font-size: 20px;
}

ul {
  position: fixed;
  top: 0;
  width:  100%;
  z-index: 1000;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: Orchid;
}

li {
  float: left;
}

li a, .dropbtn {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

.sitename {
  float: right;
  color: blue;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: Plum;
}

li a.active {
  background-color: DarkOrchid;
  color: white;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: Orchid;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: Plum;
}

.dropdown:hover .dropdown-content {
  display: block;
}

figure { 
    display: inline-block;
}

/* For the SOLD sign */
.container {
    position: relative; /* Crucial: Establishes a positioning context for the child overlay */
    display: inline-block; /* Optional: Helps contain the image correctly if it's inline by default */
}

.container img {
    display: block;
    width: 100%;
    height: auto;
}

.sold-overlay {
    position: absolute; /* Positions the overlay relative to the .container */
    top: 0;
    left: 0;
	  width: 100%;
	  height: 100%;

    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    z-index: 10; /* Ensures the overlay is on top of the image */
    display: flex; /* Centers the text within the overlay */
    justify-content: center;
    align-items: center;
	pointer-events: none;
}

.sold-overlay span {
    color: white;
    font-size: 5vw; /* Makes the text responsive and "giant" */
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border: 4px solid white; /* Optional: Adds a border around the text */
    transform: rotate(-20deg); /* Optional: Rotates the sign for a stamped look */
}

li a.sold-text {
	text-decoration: line-through;
	text-decoration-color: red;
 	text-decoration-thickness: 2px;
}
