body{
    font-family:Georgia, 'Times New Roman', Times, serif;
}

h1 {
    padding-top: 30px;
    padding-bottom: 10px;
    color: white;
    margin: 0 auto;
    text-align: center;
}

.background {
    background-image: url("/images/star_background.png");
    max-width: 600px;
    height:700px;
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 6px;
}
.prediction {
    color: white;
    text-align: left;
    font-size: larger;
    margin-bottom: 40px;
    max-width: 450px;
    margin: 0 auto;
    padding: 10px;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    border: 1px solid white;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    
    
}
.choose-your-sign{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
   margin: 0 auto;
   max-width: 400px; 
}

.zodiac-item{
    text-align: center;
}
.zodiac-item label{
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.choose-your-sign input{
    display:  none;
}

legend {
    margin-bottom: 30px;
    margin-top: 10px;
    color: white;
    text-align: center;
   
    display: block;

}

.image {
    width: 50px;
    height: 50px;
    display: block;
    cursor: pointer;
    background-size: cover;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.label-text{
    color: white;
    font-size: 14px;
}

.aries{
    background-image: url("/images/aries.png");
}
.taurus{
    background-image: url("/images/taurus.png");
}
.gemini{
    background-image: url("/images/gemini.png");
}
.cancer{
    background-image: url("/images/cancer.png");
}
.leo{
    background-image: url("/images/leo.png");
}
.virgo{
    background-image: url("/images/virgo.png");
}
.scorpio{
    background-image: url("/images/scorpio.png");
}
.sagittarius{
    background-image: url("/images/sagittarius.png");
}
.libra{
    background-image: url("/images/libra.png");
}
.capricorn{
    background-image: url("/images/capricorn.png");
}
.aquarius{
    background-image: url("/images/aquarius.png");
}
.pisces{
    background-image: url("/images/pisces.png");
}
.submit {
    display: block;
    margin: 0 auto;
    padding: 8px 25px;
    border-radius: 6px;
    border: none;
    background: white;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 30px;
    margin-top: 30px;
    color: #06394e;
    font-size: medium;

  
}

.submit:hover {
    background: #ddd;
}
    
.dots {
  display: inline-flex;
  gap: 5px;
}

.dots span {
  width: 8px;
  height: 8px;
  background-color: #d7dedf;
  border-radius: 50%;
 
  animation: pulse 1.2s infinite;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 80%, 100% {
    transform: scale(0.7);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.choose-your-sign input:checked + label .image {
    border: 2px solid gold;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
    transform: scale(1.08);
}

.choose-your-sign input:checked + label .label-text {
    color: gold;
    font-weight: bold;
}
footer {
    text-align: center;
    color: #06394e;
}