@charset "UTF-8";

/*
* MEFAMEX WEBSITE (https://mefamex.com/)
* Generated by Mefamex 
* Copyright 2024 Mefamex
* Licensed under MIT (https://github.com/Mefamex/)
* Created on  : 2024-08-20
* Last update : 2025-09-03-T00:00:00Z
* Title : headerFooter.css
* This css file is for the header and footer of the Mefamex website.
*/



*, :before, :after {
    scroll-behavior: smooth;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;


    /*@media screen and (-webkit-min-device-pixel-ratio:0) {
        -webkit-font-smoothing: subpixel-antialiased;
    }*/
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgb(15, 15, 15);
    color: white;
    touch-action: manipulation;
    isolation: isolate;
}

/* -moz-osx-font-smoothing: grayscale; etkisiz */

@media screen and (-webkit-min-device-pixel-ratio:0) {
    html {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-resolution: 192dpi) {
    html {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

body {
    display: block;
    /*flex-direction: column;*/
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: rgb(12, 16, 20);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

@font-face {
    font-family: system;
    font-display: optional;
    src: local(".SFNS-Regular"), local(".SFNSText-Regular"), local(".HelveticaNeueDeskInterface-Regular"), local(".LucidaGrandeUI"), local("Segoe UI"), local("Ubuntu"), local("Roboto-Regular"), local("DroidSans"), local("Tahoma") local("-apple-system"), local("BlinkMacSystemFont"), local(" UI"), local("Roboto"), local("Helvetica Neue"), local("Arial");
}

/* 
*
*
*
*
*
*
*
*
*/

header, footer {
    font-family: system-ui, -apple-system;
    width: 100%;
    max-width: 100vw;
    min-width: 99.5%;
    z-index: 1001;
    color: rgb(255, 255, 255);
}

footer {
    z-index: 1000;
}

header a, footer a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;

}

header a, header a img, footer a, footer a img {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -o-user-drag: none;
}

/* -moz-user-drag: none;  desteklenmezzz*/

/* 
*
*
*
*
*
*
*
*
*/

::-webkit-scrollbar {
    width: calc(0.4rem + 0.4vw);
    height: calc(0.4rem + 0.4vh);
    background-color: inherit;
}

::-webkit-scrollbar-thumb {
    background-color: white;
    /*height: 10em;*/
    border-radius: 12px;
    cursor: grab;
    transition: all 0.5s ease-in-out;
    /* border: 1px solid red; */
    border-left: 4px solid rgb(0, 59, 99);
}

::-webkit-scrollbar-thumb:active {
    background-color: rgb(255, 255, 255);
    cursor: grabbing;
    border: 2px solid red;
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 60, 120, 0.5);
    border-left: 2px solid rgb(150, 150, 150);
}

::-webkit-scrollbar-button {
    display: none;
}

/* 
*
*
*
*
*
*
*
*
*/

header {
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    left: 0px;
    height: 5rem;
    margin: 0;
    background-color: rgb(16, 16, 36);
    justify-content: space-between;
    border-bottom: 0.1rem solid rgb(10, 30, 75);
    box-shadow: 0 12px 30px rgba(0, 3, 65, 0.75);
    transition: all 0.3s ease-in-out;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: white;
}

header * {
    transition: all 0.2s ease-in-out;
}

header:hover {
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 1rem 2rem 0 rgba(0, 68, 108, 0.137), 0 0.1rem 0.5rem 0 rgba(139, 92, 246, 0.15);
    border-bottom: 0.1rem solid #004451 !important;
    filter: brightness(1.08) drop-shadow(0 0 0.5rem #002b3d);
    /* top: 0.3rem; */
}

header.scrolled:not(:hover) {
    animation: opa-0 1s ease-in-out 2s backwards;
    opacity: 0;
}

@keyframes opa-0 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media screen and (max-width: 40rem) {
    header, header.scrolled:not(:hover) {
        opacity: 1 !important;
    }
}

header #headerDivLeft {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 4rem;
    max-height: 4rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    align-self: center;
    margin-left: 1rem;
    margin-top: 0.5rem;
    margin-right: auto;
    align-self: flex-start;
    border-right: 1px solid transparent;
}



header #headerDivLeft:hover {
    transform: scale(1.05) translateX(0.2em);

}


header #headerDivLefticonDiv {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    aspect-ratio: 12 / 16;
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    padding-block: 0.5rem;
    margin: 0;
    background: linear-gradient(135deg, rgb(0, 58, 83), rgb(15, 9, 64), rgb(0, 91, 81));
    background-blend-mode: color;
    border-radius: 1rem;
    border: 1px solid rgb(12, 75, 109);
    text-align: center;
    align-self: center;
    place-content: center;
    position: relative;
}


header #headerDivLeft:hover #headerDivLefticonDiv {
    border-radius: 0.5rem;
    padding-block: 0.2rem;
    background: linear-gradient(135deg, rgb(0, 58, 83), transparent, rgb(0, 91, 81));

}

header #headerDivLefticonDiv img {
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    overflow: hidden;
}


header #headerDivLeftText {
    /* this is div */
    position: relative;
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    padding-inline: 0.5em;
    margin-block: auto;
    text-align: center;
    align-self: center;
    place-content: center;
    background: linear-gradient(135deg, rgb(255 255 255), rgb(58 176 255), rgb(255 255 255));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    animation: 1s gradientAnimation infinite alternate;
}

header.blink #headerDivLeftText {
    animation: header-blink 0.5s linear 1;
}

@keyframes header-blink {
    0% {
        filter: brightness(1.5)
    }

    100% {
        filter: brightness(1)
    }
}

header.slim #headerDivLeftText {
    font-size: 1rem;
}

@keyframes gradientAnimation {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 100%;
    }
}

header #headerDivLeftText::before {
    content: ".com";
    display: inline-block;
    position: absolute;
    opacity: 0;
    right: 0.6rem;
    top: 60%;
    font-size: 0.6em;
    white-space: nowrap;
    line-height: 0;
    transition: 0.5s all ease-in-out;
    text-shadow: 0 0 transparent;
}

header #headerDivLeftText {
    text-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

header #headerDivLeft:hover #headerDivLeftText::before {
    text-shadow: 0 0 rgb(0 121 189);
    transition: all 0.2s ease-in-out 0.5s;
    opacity: 1;
    right: 0.6rem;
    top: 95%;
}

/*
*
*
*/

header #headerNavBar {
    position: relative;
    display: flex;
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    align-items: center;
    align-self: center;
    margin: 0 0.5rem 0 0;
    padding: 0 0.5rem;
    justify-content: flex-end;
    gap: clamp(0.1rem, 1.2vw, 1.2rem);
    overflow: hidden;
    -webkit-animation: headerNavBarGiris 1s ease-in-out 0.5s backwards;
    -moz-animation: headerNavBarGiris 1s ease-in-out 0.5s backwards;
    animation: headerNavBarGiris 1s ease-in-out 0.5s backwards;
}



header.slim #headerNavBar, header.scrolled #headerNavBar {
    margin-right: 0.6rem;
}

header .pageA {
    position: relative;
    display: flex;
    padding: 1rem 0.5rem;
    height: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    max-height: 100%;
    min-width: 5em;
    text-decoration: none;
    color: rgb(130, 150, 170);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 0.8rem;
    overflow: hidden;
    letter-spacing: 0.025em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

header:hover .pageA {
    color: rgb(185, 208, 212);
    transition: color 0.2s ease-in-out;
}

header .pageA:hover {
    color: white;
    transition: all 0.2s ease;
    transform: translateY(-0.2em);
    box-shadow: 0px 0.2em 0.7em 0.5em rgba(21, 79, 140, 0.25);
    background-color: rgba(139, 92, 246, 0.1);
    border-color: rgba(0, 79, 176, 0.324);
}


header .pageA::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(58deg, #00859b, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, #0225a5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

header .pageA:hover::before {
    left: 0;
}

header .pageA.showImg:not(.showText) {
    min-width: -webkit-fill-available;
    min-width: 2.5em;
    border-radius: 0.5rem;
}

header #headerMenuDiv .pageA {
    width: auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem;
    text-align: center;
    justify-content: flex-start;
    border-radius: 0.5rem;
    border-inline: 1px solid white;
    font-size: 0.95rem;
}

header .pageA img {
    height: 1.4em;
    max-height: 90%;
    width: auto;
    padding: 0.1em;
    object-fit: contain;
    filter: invert(0.6);
}


header .pageA:hover img {
    filter: invert(0.9);
}


header .pageA.current_page {
    /* color: #c36565;*/
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-color: #00b3ff;
    font-weight: 700;
    color: rgb(223, 232, 232);
    letter-spacing: 0.1em;
    background-color: rgb(0, 60, 80) !important;
}

header .pageA.current_page img {
    filter: invert(1);
    transform: scale(1.3);
    margin-right: 0.2em;
}

/*
header .pageA.current_page::after {
    position: absolute;
    display: inline-block;
    content: "▼";
    top: 0%;
    transform: translateX(-50%);
    left: 50%;
    opacity: 1;
    color: #d68b8b;
    top: 20%;
    font-size: 0.8em;
    white-space: nowrap;
    line-height: 0;
    transition: 0.2s all 0.2s ease-in-out;
}

header #headerMenuDiv .pageA.current_page::after {
    display: none !important;
}

header .pageA.current_page:hover::after {
    position: absolute;
    display: inline-block;
    content: "▼";
    color: #d68b8b;
    left: 50%;
    transform: translateX(-50%);
    top: 20%;
    font-size: 0.8em;
    white-space: nowrap;
    line-height: 0;
    transition: 0.2s all 0.2s ease-in-out;
    opacity: 1;
}*/

header .pageA:not(.showText) span {
    display: none;
}

header .pageA:not(.showImg) img {
    display: none;
}

header .pageA.showImg.showText {
    gap: 0.3rem;
}

/*
*
*
*
*/

header #headerMenuButton {
    display: none;
    position: relative;
    flex-direction: column;
    opacity: 0;
    height: 75%;
    max-height: 4rem;
    right: 0rem;
    top: 0%;
    width: auto;
    aspect-ratio: 1/1;
    margin-block: auto;
    margin-inline: 0 0.5rem;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transform: translateX(1rem);
    scale: 1;
    transition: all 0.3s ease;
}

header.slim #headerMenuButton {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}

header.menuShow #headerMenuButton {
    scale: 1.5;
    right: 0.2rem;
    top: calc(100% + 0.25rem);
    z-index: 1;
    padding: 0 !important;
    max-height: 2.5rem !important;
    border: 1px solid rgb(0, 54, 39);
    background: rgba(0, 0, 0, 0.3)
}

header #headerMenuButton:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

header .hamburger-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

header.menuShow .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
    background: linear-gradient(135deg, #ec4899, #06b6d4);
}

header.menuShow .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

header.menuShow .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
    background: linear-gradient(135deg, #ec4899, #06b6d4);
}

header #headerMenuDiv {
    position: absolute;
    display: none;
    flex-direction: column;
    right: 0%;
    top: 102%;
    max-width: 100%;
    width: 100%;
    min-height: 5rem;
    height: fit-content;
    max-height: calc(100vh - 3rem);
    gap: 1rem;
    padding: 1.5rem 2rem 0rem 2rem;
    overflow: auto;
    background-color: rgb(0, 31, 55);
    border-bottom: 1px solid rgb(0, 136, 177);
}

header.menuShow #headerMenuDiv {
    display: flex;
    animation: slideDown 1s ease;
}

@keyframes slideDown {
    0% {
        width: 12rem;
        opacity: 0;
        transform: translateX(10%) translateY(-10%);
    }

    40% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }

    100% {
        width: 100%;
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

header.menuShow #headerMenuDiv .pageA {
    height: 3rem;
    min-height: 2.5rem;
    background-color: rgb(0, 35, 58);
}

header.menuShow #headerMenuDiv .pageA:first-child {
    margin-right: 3rem;
}

header #headerMenuDiv::after {
    content: attr(data-lastupdate);
    position: relative;
    display: block;
    margin-block: 1rem 1rem;
    bottom: 0rem;
    right: 1rem;
    color: #878787;
    font-size: 0.7rem;
    text-align: right;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/*
*
*   SCROLLED
*
*/

header.scrolled, header.slim {
    transition: all 0.5s ease-in-out;
    height: 3rem;
    margin-bottom: 2rem;
    border-bottom: 0.1rem solid #70709e;
}

header.scrolled #headerDivLeft, header.slim #headerDivLeft {
    height: 100%;
    margin-top: 0;
    margin-left: 0;
}

header.scrolled #headerDivLefticonDiv, header.slim #headerDivLefticonDiv {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
}

header.scrolled #headerMenuButton, header.slim #headerMenuButton {
    padding: 0;
}

header.scrolled #headerNavBar, header.slim #headerNavBar {
    padding: 0.2rem 0.2rem;
}

header.scrolled .pageA, header.slim .pageA {
    padding: 0 0.5rem;
    height: 90%;
    line-height: 0;
}


/*
*
*
*
*
*
*
*
*/


footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    bottom: 0px;
    min-height: 10rem;
    height: fit-content;
    margin-top: auto;
    padding-block: 4rem 2rem;
    background-color: rgb(14, 16, 19);
    align-content: center;
    align-items: center;
    justify-content: space-around;
    border-top: 0.1rem solid rgb(59, 59, 59);
    transition: all 0.3s ease-in-out;
    color: white;
    font-size: 1rem;
}

@media (max-width: 40rem) {
    footer {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    footer #footerMid {
        order: -1;
    }

    footer #footerMid a {
        padding: 0.4rem !important;
    }

    footer #footerRight a {
        margin-inline: 1rem !important;
    }
}

footer * {
    height: auto;
    width: auto;
}

footer>div {
    transition: all 0.3s ease-in-out;
}

footer a {
    position: relative;
    color: inherit;
    text-decoration: white underline;
}

footer a .AlinkPopup {
    /*z-index: 1001;*/
    display: none;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(70, 70, 70);
    color: rgb(254, 254, 254);
    padding: 0.2em 0.5em;
    border-radius: 0.5em;
    white-space: nowrap;
    font-size: 0.8em;
    transition: all 0.2s ease-in-out;
    animation: none;
}

footer a:hover .AlinkPopup {
    display: block;
    animation: slideInPopup 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}



/*
*
*
*
*
*
*
*
*/


footer>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
}

footer #footerMid {
    display: flex;
}

footer #footerMid a {
    padding: 1rem;
    border-style: solid;
    border-color: transparent;
    border-width: 0 1px 1px 0.1rem;
    transition: all 0.1s ease-in-out, border-radius 0.5s ease-in-out;
}

footer #footerMid a:hover {
    border-color: rgba(57, 57, 57, 0.242);
    border-bottom-color: rgb(97, 92, 92);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
@media screen and (min-width: 40rem) {
    footer #footerMid a:hover img {
        scale: 1.2;
    }
}

footer #footerMid img {
    height: 6rem;
    width: auto;
    object-fit: contain;
    transition: all 0.5s ease-in-out;
}

footer #footerLeft>* {
    transition: all 0.2s ease-in-out;
}
footer #footerRight{
    margin-top: 1rem;
}
footer #footerRight a {
    padding: 0.2rem;
    margin-inline: 0.5rem;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

footer #footerRight a:hover img {
    filter: invert(0);
    background-color: white;
    transition: all 200ms ease-in-out;
    border-radius: 0.5rem;
}


footer #footerRight img {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.2rem;
    border-radius: 0rem;
    -webkit-filter: invert(1);
    filter: invert(1);
    object-fit: contain;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

/*
*
*
*/

.footer-hidden {
    opacity: 0;
    transform: translateY(2em);
    transition: all 1s ease-out;
}

.footer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
*
*
*
*
*
*
*
*
*/


@media screen and (max-width: 60rem) {}




@keyframes headerNavBarGiris {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes headerNavBarGiris {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes headerNavBarGiris {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/*@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}*/
/*@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}*/

/* GPU Hızlandırma için Kompozit Katmanlar */
/*header, #headerNavBar, #headerDivLeft, #navBarHidden {
    transform: translateZ(0);
    will-change: transform, opacity;
    contain: layout style paint;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}*/