:root {
    --primary-element: #000000ff;
    --secondary-element: #0a0a0aff;
    --interaction-element: #544cad;
    --important-text: #b3acfc;
    --important-text-variated: #887ef2ff;
    --theme-primary-text: #ffffff;
    --theme-secondary-text: #ccc;
    --theme-third-text: #aaa;
}


/*------------------------------------------- Utility -------------------------------------------*/
.gap-xl-5 {
    gap: 100px !important;
}

.rounded-sm {
    border-radius: 5px;
}

.rounded-md {
    border-radius: 10px;
}

.rounded-lg {
    border-radius: 15px;
}

/*------------------------------------------ END Utility ----------------------------------------*/

.w-fit-content {
    width: fit-content;
}

/*---------------------------------------- END color palette ----------------------------------------*/

/* ANIMATIONS */
.hover-shadow-resize {
    transition: box-shadow .3s ease-out, transform .3s ease-out;
}

.hover-shadow-resize:hover {
    box-shadow: 0 0 10px #00000050;
    transform: scale(1.07);
}

.hover-bloom {
    transition: box-shadow .3s;
}

.hover-bloom:hover {
    box-shadow: 0 0 10px var(--important-text-variated)
}

.hover-border {
    position: relative;
}

.hover-border::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffbe6e;
    transition: transform 0.3s ease-out;
}

.dark-mode .hover-border::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d4913e;
    transition: transform 0.3s ease-out;
}

.hover-border:hover::after {
    transform: scaleX(1);
}

.image-holder {
    overflow: hidden;
}

/* Link element's hover animations */
.hover-color {
    transition: color 0.3s ease-out;
    text-decoration: none;
    position: relative;
}

.hover-color:hover {
    color: #ffffff;
}

.custom-btn {
    text-decoration: none;
    text-align: center;
    align-content: center;
    color: white;
    padding: 10px 15px 10px 15px;
    min-width: 75px;
    max-width: 225px;
    height: 55px;
    font-size: calc(.9rem + 0.2vw);
    border-radius: 10px;
}

.shadow-md {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.img-thumbnail {
    min-width: 200px;
}

.animated-top {
    animation: anim-top 600ms;
    animation-delay: var(--delay);
    position: relative;
}

@keyframes anim-top {
    from {
        top: 50px;
    }

    to {
        top: 0;
    }
}

.animated-top-mini {
    animation: anim-top-mini 600ms;
    animation-delay: var(--delay);
    position: relative;
}

@keyframes anim-top-mini {
    from {
        top: 10px;
    }

    to {
        top: 0;
    }
}

.color-inherit {
    color: inherit !important;
}

.mw-50 {
    max-width: 50%;
}

@media (min-width: 992px) {
    .focus-parent:has(.focus-child:hover) .focus-child:not(:hover) {
        /*
        "focus-parent:has(.focus-child:hover)" = focus-parent içerisindeki .focus-child'ların herhangi birine hover olmuşsa  
        ".focus-child:not(:hover)" = hover'lanmamış focus-child elemanları için stil
    */
        filter: blur(1px);
        opacity: 0.5 !important;
    }

    .focus-child {
        transition: filter 0.3s,
            opacity 0.3s,
            box-shadow 0.3s,
            transform 0.3s;
    }

    .focus-child:hover {
        transform: scale(1.01);
        box-shadow: 0 0 25px #aaaaaa25;
    }
}