@charset "UTF-8";
/*
* MEFAMEX WEBSITE (https://mefamex.com/) 
* Generated by Mefamex  
* Copyright 2024 Mefamex 
* Licensed under MIT (https://github.com/Mefamex/) 
* Created on  : 2024-12-02
* Last update : 2025-09-03-T00:00:00Z
* Title : style.css
* This css file is for the projects main page of the Mefamex website.
*/

#main_container main {
    transform: translateZ(0);
}

#main_container main .card {
    max-width: 30rem;
    transition: opacity 0.2s ease;
    /* GPU hızlandırma */
    contain: content;
}

#main_container main>section {
    flex: 1 1 auto;
    height: auto;
    min-height: 10rem;
    width: 20rem;
    /* GPU hızlandırma */
    contain: layout style paint;
    backface-visibility: hidden;
}

#main_container main>section ul {
    list-style: none;
    padding: 0;
}

#main_container main>section ul li {
    transition: all 0.2s normal;
    padding: 0.3rem 0.5rem;
    border-radius: 2rem;
    height: min-content;

    &::before {
        content: " ■ ";
        color: rgb(123, 255, 255);
    }
}

#main_container main>section ul li:hover {
    background-color: rgba(255, 255, 255, 0.07);
}

#main_container main>section ul li:hover a {
    font-weight: 600;
}

#main_container main #mainWellcome {
    margin-bottom: 0.5rem;

}

#projects-search {
    display: none;
    /* when js is enabled, it will be flex */
    flex-basis: 100% !important;
    max-width: 95% !important;
    min-height: 5rem !important;
    margin-block: -2rem 3rem !important;
    margin-inline: 1% !important;
}

#projects-search h2 {
    margin: 0 auto 0 2rem !important;
    justify-self: left;
    background-color: rgb(32, 32, 32) !important;
    border: 0.01em solid rgba(255, 255, 255, 0.3) !important;
    color: rgb(255, 255, 255) !important;
}

#search-form {
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
    align-items: center;
}

#search-form #search {
    display: none;
    width: 18rem;
    flex-grow: 1;
    padding: 0.5rem;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

#search-form #search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#search-form fieldset {
    display: flex;
    flex-flow: row wrap;
    padding: 0 1rem;
    margin: 0;
    width: 28rem;
    flex-grow: 10;
    justify-content: space-evenly;
    border-radius: 1em;
    border: none;
}

#search-form fieldset label {
    /* Seçim engelleme için cross-browser desteği */
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
    /* Flex yapısı için cross-browser desteği */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    /* Boyutlandırma ve büyüme */
    flex-shrink: 1;
    flex-grow: 1;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -ms-flex-negative: 1;
    padding: 1.5vh 0.5em;
    max-width: 10em;
    margin: 0.5em;
    /* Hizalama */
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* Görünüm */
    border-radius: 0.5em;
    cursor: pointer;
    color: white;
    border: 0.1rem solid rgba(0, 255, 251, 0.2);
    /* Geçiş efektleri */
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    /* GPU hızlandırma */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#search-form fieldset label:hover {
    border-color: rgba(255, 255, 255, 0.7);
    /* Üzerine gelindiğinde kenar rengi */
}

#search-form fieldset .label-secildi {
    background-color: rgb(255, 255, 255);
    color: black;
    font-weight: bold;
    border-color: blue;
}

#search-form fieldset .count {
    margin: 0 0.3rem 0 0;
    color: #888;
    font-size: 0.8em;
    align-content: center;
}

@supports not (display: flex) {
    #search-form fieldset label {
        display: inline-block;
        text-align: center;
        width: auto;
        min-width: 8em;
    }
}

@layer animations {
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

@media only screen and (max-width: 600px) {
    #main_container main section {
        min-height: 10rem;
    }
}