/*  Styles for Homework 5 */

/* Vistitors container */
#container {
  padding: 5px;
  display:flex; 
  flex-direction:row;
  align-items: center;
  justify-content: center;
}

/* ID for history section */
#history {
  padding: 15px;
  background-color: #8b7d62;
  border-radius: 20px;
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 1px 1px 5px #333;
  font-size: .85em;
}

/* ID styling Like button */
#like {
  padding: 15px;
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto; 
  text-align: center;
}

/* class to center image */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:45%;
}

/* changes the color of the heart icon to black */
.fa_custom {
  color:  #000000;
}

/* ID that centers validation text */
#validation {
  text-align: center;
}

/* adds a margin around the entire footer */
footer {
  margin: 50px;
}

footer a:link {
  color: black; 
}

footer a:visited {
  color: #D2B48C; /* Tan color for visited links */
}

/* Link color when active  */
footer a:active {
  color: #D2B48C; /* Tan color while link is clicked */
}


img { /* Shrinks image to a reasonable size */
  width: 80%;
  height: auto; 
}

body {
  background-image: url('background.png');
  background-size: cover; /* makes the image cover the entire page */
  background-position: center; /* centers the image */
  background-attachment: fixed;
}



.left { 
  width: 500px;  
  height: 300px; 
  float: left;    /* Float the image to the left */
  margin-left: 50px;  /* Add some space on the left */
  margin-bottom: 10px;  /* Add some space at the bottom */
}

.right {
  width: 500px; 
  height: 300px; 
  float: right;    /* Float the image to the right */
  margin-right: 50px;  /* Add some space on the right */
  margin-bottom: 10px;  /* Add some space at the bottom */
}


.cards { /* Orders cards in a row */
  display: flex;  
  justify-content: space-between;  /* Distributes the boxes evenly */
  gap: 5px;  /* Adds some space between the boxes */
}