@font-face { font-family: MontserratItalic; src: url('fonts/Montserrat-MediumItalic.ttf');} 
@font-face { font-family: MontserratMed; src: url('fonts/Montserrat-Medium.ttf');} 
@font-face { font-family: Arch; src: url('fonts/Archistico_Simple.ttf');} 

svg {
    margin: 50px;
    opacity: 0.8;
    filter: blur(4.5px);
}

h2 {
    width: 65vw;
    /*font-size: 15vw;*/
    font-family: Arch, monospace;
    text-align: center;
    margin-bottom: 12px;
    opacity: 0.8;
    letter-spacing: 5px;
    color: white;
}

h3#date {
    width: 65vw;
    /*font-size: 4vw;*/
    font-family: MonserratMed, monospace;
    text-align: center;
    padding-top: 10px;
    opacity: 0.8;
    margin: 0;
    color: yellow;
}

body {
    margin: 0;
    padding: 30;
    border: 0;
    opacity: 0;
    transition: opacity 4s;
    -webkit-transition: opacity 4s; /* Safari */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('./starryNightRes.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-sizing: border-box;
    
}

#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    
}

p {
    width: 75vw;
    font-family: MontserratItalic, monospace;
    text-align: center;
    opacity: 0.8;
    color: white;
}

#horoscope {
    min-height: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

/* For larger screens */
@media screen and (min-width: 768px) {
    h2 {
        font-size: 10vw;
    }

    h3#date {
        font-size: 4vw;
    }

    p {
        font-size: 4.5vw;
    }
    .loading {
        color: cadetblue;
        font-weight: bold;
        font-size: 6vw; 
    }
}

/* For smaller screens */
@media screen and (max-width: 767px) {
    h2 {
        font-size: 14vw;
    }

    h3#date {
        font-size: 6vw;
    }

    p {
        font-size: 4.5vw;
    }
    .loading {
        color: cadetblue;
        font-weight: bold;
        font-size: 6vw;    
    }
}

.floating-credit {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8); /* Slight transparency */
    color: black;
    font-size: 3.5vw;
    font-family: Arial, sans-serif;
    padding: 6px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s, opacity 0.3s;
    opacity: 0.4; /* Starts subtle */
    z-index: 10001;
  }
  
  .floating-credit:hover {
    background: rgba(255, 255, 255, 0.9);
    opacity: 0.6;
  }