*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#cardContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.card {
  position: relative;
  width: 120px;
  height: 180px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: white;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card .rank {
  position: absolute;
  top: 5px;
  right: 5px;
}

.card .suit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hearts, .diamonds {
  color: red;
}

.clubs, .spades {
  color: black;
}

.joker {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.joker span.red {
  color: red;
}

.joker span.black {
  color: black;
}

/* Rainbow color styling for days of the week */
.day-o { color: orange; }
.day-y { color: yellow; }
.day-g { color: green; }
.day-b { color: blue; }
.day-v { color: violet; }
.day-i { color: indigo; }
.day-r { color: red; }

.zodiacContainer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  background-color: #004c99;
  margin-bottom: 25px;
}

.zodiac-sign-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  background-color: #003366;
  padding-right: 20px;
}

.zodiac-sign-top p {
  flex: 1;
  color: white;
  font-size: 24px;
  padding: 0 20px;
}

#zodiacDetailsBtn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#zodiacDetailsBtn:hover {
  background-color: #0056b3;
}

#zodiacDetails {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  text-align: left;
}


/* <style> */
  .input-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    margin: 1rem 0;
    width: 100%;
    max-width: 600px;
  }

  .input-section label {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    padding-left: 1rem;
    border-width: 1px 0 1px 1px;
    border-color: #ccc;
    border-style: solid;
    padding: 1rem;
    border-radius: 6px 0 0 6px;
  }

  .input-section input[type="date"] {
    padding: 0.94rem 0.6rem;
    font-size: 1rem;
    border-width: 1px 0;
    border-color: #ccc;
    border-style: solid;
    flex: 1;
  }

  .input-section button {
    padding: 1rem;
    font-size: 1rem;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-width: 1px 1px 1px 0;
    border-color: #ccc;
    border-style: solid;
  }

  .input-section button:hover {
    background-color: #004c99;
  }

  @media(max-width: 375px){
    .input-section label{
      display: none;
    }
  }
/* </style> */
