@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

html, body {
    font-family: "Share Tech Mono", monospace;
    align-items: center;
    justify-content: center;
    background-color: #08040f;
    color: white;
}

#h1Align
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* adds space between items */
    opacity: 0; /* Start hidden */
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 2s; /* delay  animation */
}
#heyText
{
    margin-right: 10px;
}

#imText
{
    display: inline-block;
}
#meowText
{
    display: inline-block;
    color: #7f47f1;
    border-right: 4px solid;
    white-space: nowrap;
    overflow: hidden;
    width: 12.7ch; /* reserve space for the full text */
    animation: 
        typing 1.5s steps(11) 2s forwards, /* Add delay here */
        cursor .5s step-end infinite alternate; 

}











/********** animations ***********/


.fadeIn
{
    opacity: 0; /* start with element hidden */
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay-1
{
    opacity: 0; /* start with element hidden */
    animation: fadeIn 0.5s ease-out forwards 1s; /* delay the animation */
}

.fade-in-delay-2
{
    opacity: 0; /* start with element hidden */
    animation: fadeIn 0.5s ease-out forwards 4s; /* delay the animation */
}

.fade-in-delay-3
{
    opacity: 0; /* start with element hidden */
    animation: fadeIn 2s ease-out forwards 4s; /* delay the animation */
}

.fade-in-delay-4
{
    opacity: 0; /* start with element hidden */
    animation: fadeIn 4s ease-out forwards 5.4s; /* delay the animation */
    

}

@keyframes fadeIn
{
    from
    {
        opacity: 0;
        transform: translateY(-3px); /* upward movement */
        transform: scale(0.97); /* scale down */
    }
    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cursor
{
    50% {border-color: transparent;}
}

@keyframes typing
{
    0% {width: 0;}
    100% {width: 12.7ch;} /* adjusted to ensure full width */
}

.intro
{
    margin-top: 100px;
    text-align: center;

}

.btnLinks
{
    margin-top: 20px;
}

.placeHolder1
{
    margin-top: 100px;
}










/************** cards **************/

.list
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* adds space between items */
    justify-content: center;


    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.item
{
    position: relative;
    flex: 1 1 200px; 
    max-width: 200px; 

    /* border animation */
    transition: filter 0.5s, transform 0.5s; /* Ensure transition is applied */
}

.item img
{
    width: 100%;
    height: 150px; 
    object-fit: cover; /* ensures the image covers the entire area */
}

.item p
{
    display: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    padding: 5px;
    border-radius: 5px;
    font-style: italic;
    font-size: 20px;
}

.item:hover p
{
    display: block;
}

.list .item
{
    transition: .5s;
    filter: brightness(10%);

}

.list .item:hover
{
    filter: brightness(1);
    transform: translateZ(250px); /* hover up animation */
}

/* right side */
.list .item:hover + *{
    filter: brightness(0.2);
    transform: translateZ(150px) rotateY(30deg);
}

.list .item:hover + * + *{
    filter: brightness(0.03);
    transform: translateZ(70px) rotateY(10deg);
}

.list .item:hover + * + * + *{
    filter: brightness(0.02);
    transform: translateZ(30px) rotateY(10deg);
}

/* left side */
.list .item:has(+ *:hover){
    filter: brightness(0.2);
    transform: translateZ(150px) rotateY(-30deg);
}

.list .item:has(+ * + *:hover) {
    filter: brightness(0.03);
    transform: translateZ(70px) rotateY(-10deg);
}

.list .item:has(+ * + * + *:hover) {
    filter: brightness(0.02);
    transform: translateZ(30px) rotateY(-10deg)
}



/************** border animation **************/

.borderAnimation
{
    position: relative;
    z-index: 1;
}

.borderAnimation::before
{
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #000;
    background: repeating-conic-gradient(from var(--a), #7f47f1 0%, #eb47f1 5%,
        transparent 2%, transparent 40%, #7f47f1 50%);
    z-index: -1;
    animation: animate 14s linear infinite;
}

.borderAnimation::after
{
    content: "";
    position: absolute;
    inset: 1px;
    background: #08040f;
    z-index: -1;
    border-radius: 1px;
    border: 8px solid #08040f;
}

.item:hover .borderAnimation::before
{
    animation: animate 14s linear infinite;
}

.item:hover .borderAnimation
{
    animation: animate 14s linear infinite;
}

@property --a
{
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;

}

@keyframes animate
{
    0%
    {
        --a: 0deg;
    }
    100%
    {
        --a: 360deg;
    }
}



















/************** blazor standard css **************/
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MS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.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}