*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Merienda;
}

.btn {
    font-family: 'Courier New', Courier, monospace;
}

p {
    font-family: 'Courier New', Courier, monospace;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: cover;
    
}



.card-img {
    width: 100%; 
    max-height: 200px; 
    object-fit: cover; 
    border-radius: 8px; 
}





.king-card {
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    color: white;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    width: 100%;
    
}
.king-card:hover {
    transform: scale(1.08);
    animation: glow 1.5s infinite ease-in-out ;
    z-index: 1000;
}



.kingdom-name {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: block; 
    text-align: center; 
    line-height: 1.2;
    padding-bottom: 0.2em;
}

.king-hero {
    min-width: 300px;
    min-height: 500px;
    background-position: center;
    background-size:cover;
    background-repeat:no-repeat;
    animation: slide 1s ease-in;
    
}

@keyframes slide {
    0% {
        opacity: 0.2;
        scale: 0.8;
    }
    30% {
        opacity: 1;
        scale: 1;
    }
    60% {
        box-shadow: 0 0 60px rgb(175, 60, 241, 1);
        filter: brightness(1.15);
    }
    80% {

        transform: rotateX(0deg);
        filter: brightness(1.1);
    }
    100% {
        box-shadow: none;
        filter: brightness(1);
    }
}

/*              Colors              */
.bg-purple {
    background-color: #6a0dad;
}
.bg-purple-subtle {
    background-color: #9b59b6;
}

.breadcrumb  {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: bolder;
}

.form-focus:focus-within {
    animation: glow 2s linear infinite;
    
    
}

.fadeIn {
    animation: fadeIn 1.2s ease-in-out;
    
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/*              Utilities            */
.glow:hover {
    animation: glow 1.5s infinite alternate;
}

/*              Keyframes            */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(175, 60, 241, 0.5);
    }
    50% {
        box-shadow: 0 0 60px rgb(175, 60, 241, 1);
        filter: brightness(1.15);
        
        
    }
    
}

