/* Global Styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #FDFEFE;
}

/* Header Styles */

header {
  background-color: #EBDEF0; /* deep purple color */
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo {
  height: 100%;
  background-color: #EBDEF0; /* deep purple color */
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo img {
  height: 70px;
}

/* Nav Styles */

nav {
  background-color: #EBDEF0; /* deep purple color */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

nav ul li {
  display: inline;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #17202A; /* white color */
  text-decoration: none;
  padding: 5px;
}

nav ul li a:hover {
  background-color: #cec1d3; /* darker purple color */
}

/* Card Styles */

.card-container {
  margin-top: 50px; /* add top margin to create space between nav and cards */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: calc(25% - 20px); /* calculate width to fit 4 cards in a row */
  height: auto;/* set a fixed height for all cards */
  min-height:500px;
  margin: 10px; /* add margin to separate cards */
  padding: 10px;
  border-radius: 10px;
  background-color: #EBDEF0;
  background: linear-gradient(45deg, #AF7AC5 0%, #EBDEF0 100%);
}

.card:hover {
  box-shadow: 0 10px 15px -3px #AF7AC5, 0 4px 6px -4px #AF7AC5;
}

/* Content Styles */

.content .price {
  color: #000000;
  font-weight: 500;
  font-size: 30px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.42);
}

.content .price .currency {
  font-size: 20px;
}

.content .content-img img {
  max-width: 100%; /* set max-width to 100% to allow resizing */
  max-height: 400px; /* set max-height to 400px to set a maximum height for the image */
  width: auto; /* set width to auto to scale proportionally */
  height: auto; /* set height to auto to scale proportionally */
  object-fit: cover; /* or contain, depending on your desired behavior */
}

.content .description {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-size: 14px;
}

.content .title {
  font-weight: 800;
  text-transform: uppercase;
  color: #17202A;
  margin-top: 10px;
  font-size: 25px;
  letter-spacing: 1px;
}

/* Button Styles */

button {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: none;
  outline: none;
  color: #17202A;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;
  background-color: #EAF2F8;
  border-radius: 0.5rem;
  width: 90%;
  text-shadow: 0px 4px 18px #2c3442;
}
button a{
  text-decoration: none;
}
/* Media Queries */

@media only screen and (max-width: 768px) {
  .card {
    width: calc(100% - 150px); /* set width to 100% for mobile devices */
  }

}