*{
    box-sizing: border-box;
    width: 100%;
}
:root{
    --background-1: rgb(248, 250, 250);
    --background-2:red;
    --foreground-1:rgb(54, 2, 21);
    --foreground-2:rgb(2, 2, 10);
    --melon:rgb(54, 2, 33);
    --yellow: rgba(250, 213, 5, 0.886)
}
body{
    background: var(--melon);
    color:white;
    font-family: "Garamond";
    
}
/* Custom spinner animation */
.spinner {
    border: 8px solid rgba(158, 153, 153, 0);
    border-top: 8px solid rgba(183, 185, 185, 0.623); /* Blue color for the spinner */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation for fading out the loading screen */
.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* Loading Screen Container */
#loading-screen {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background-color: #1a202c5c; /* bg-gray-900 */
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
    border-radius: 0.5rem; /* rounded-lg */
    width: 100vw;
    height: 100vh;
}

#loading-screen p {
    margin-bottom: 1.5rem; /* mb-6 */
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #d1d5db; /* text-gray-300 */
    text-align: center
}
h2{
   
    padding: 30px 0px 40px 0px;
    font-weight: 800;
}
form{
    
    width: 100%;
    margin-bottom: 30px;
}
#credentials{
    margin: 40px auto;
    height: 400px;
    outline: none;
    border: 1px solid rgba(249, 230, 17, 0.172);
    width: 70vw;
    border-radius: 10px;
    text-align: center;
    background: linear-gradient(90deg, rgba(227, 1, 133, 0.289)30%, var(--melon)70%);
    
}

form input{
    border-radius: 10px;
    margin: 5px 0px;
    font-size: 25px;
    padding: 5px 10px 5px 20px;
    border: 1px solid mediumvioletred;
    outline: none;
    width: 60%;
    backdrop-filter: blur(10px);
    background: transparent;
    color: white;
    
    
}
form input::placeholder{
    color: white;
}
form input:focus{
    color: white;
    background: transparent;
}
#wrong-credentials{
    color: red;
    font-size: 16px;
    display: none;
}
#credentials #sign-in-btn{
    margin: 15px 5px 5px 0px;
    background-color: transparent;
    border-radius: 15px;
    outline: none;
    border: 1px solid rgba(249, 70, 201, 0.327);
    width: 250px;
    margin: 0px auto;
    font-size: 30px;
    transition: 2s;

}
#credentials #sign-in-btn:hover{
    background:  rgba(249, 70, 201, 0.327);
    border:1px solid rgba(255, 255, 255, 0.041);
}




@media only screen and (max-width: 600px) {
    body{
        font-size: 14px;
    }
  form{
    width: 200px;
    
  }
  form input{
    font-size: 16px;
    width: 100%;
    
    
}
#credentials #sign-in-btn{
    font-size: 20px;

}
  
#credentials #sign-in-btn{
    width: 180px;
   

}
   
  }
