@charset "UTF-8";

/*
* MEFAMEX WEBSITE (https://mefamex.com/) 
* Generated by Mefamex  
* Created on  : 2024-12-22  
* Last update : 2025-04-23-UTC10:47 
* Copyright 2024 Mefamex 
* Licensed under MIT (https://github.com/Mefamex/) 
* This CSS file is for "The Mefamex Project" page of the Mefamex website.
* Title : style.css
*/

* {
    transition: all 0.1s ease;
}

body {
    color: black;
    background-color: rgb(255, 255, 255) !important;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 85vh;
    height: fit-content;
    width: 100%;
    margin: 0 0 10vh 0;
    padding: 0;
    align-items: center;
}

main>* {
    flex-grow: 1;
    flex-shrink: 1;
}

main ul, main ol, main li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

main ul {
    margin-block: 0.5em;
}

main li {
    transition: text-shadow 0.2s normal, background-color 0.2s normal;
    padding-block: 0.3rem;
    border-radius: 0.5rem 1rem 1rem 0.5rem;
}

main li b {
    font-size: 1.1em;
}

main h2 {
    font-size: 2em;
    margin-block: 1em 0em;
}

main h3 {
    font-size: 1.5em;
    margin-block: 0.6em 0em;
}

main details {
    background: #f8f9fa;
    padding: 0rem 0.3em;
    border-radius: 0.6em;
    border: 0.1em solid rgba(13, 109, 253, 0.631);
    border-left: 0.3em solid rgb(13, 110, 253);
}

main summary {
    cursor: pointer;
    padding: 0.5rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

main summary:hover {
    color: #0d6efd;
    background-color: rgba(255, 228, 196, 0.514);
}

main section {
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 98%;
    height: fit-content;
    justify-content: start;
    background-color: rgb(220, 220, 220);
    margin: 5vh 0;
    padding: 1rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: -0.1rem -0.2rem 0.1rem rgba(255, 255, 255, 0.4), 0 0.5rem 0.5rem rgba(54, 54, 54, 0.4), 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

main section h2 {
    margin-block: 0.5rem;
    text-align: center;
    font-size: 2em;
    text-decoration: underline;
    text-decoration-color: rgb(96, 96, 96);
}

main section p {
    margin-block: 0.3em;
}

main #wellcome {
    flex-flow: row wrap !important;
    margin-block: 1rem;
    font-size: 1.2em;
}

main #wellcome #page_title {
    width: 100%;
    text-align: center;
    margin-block: 0 3rem;
    font-size: 5.5vw;
    font-weight: 900;
    font-family: sans-serif;
    text-decoration: underline;
}

main #wellcome img {
    /* Boyutlandırma ve konumlandırma */
    flex: 1 0 15rem;
    width: auto;
    height: 25rem;
    object-fit: contain;
    max-height: 40vh;
    margin-inline: 1rem;
    /* Görsel optimizasyonları */
    filter: drop-shadow(0 0 0.1rem black) drop-shadow(0 0 0.1rem black) drop-shadow(0 0 0.1rem black);
    background-color: rgb(154, 154, 154);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.5s ease;
    /* performans optimizasyonu */
    /*will-change: transform, filter; */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    content-visibility: auto;
    pointer-events: visible;
    /* user forbidden */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

main #wellcome img:hover {
    background-color: rgba(0, 0, 0, 0.81);
    background-image: linear-gradient(90deg, black, rgba(74, 74, 74, 0.9), rgb(203 203 203), rgba(100, 100, 100, 0.9), black);
    filter: drop-shadow(0 0 0.1rem rgb(255, 0, 0)) drop-shadow(0 0 0.5rem black);
}

main #wellcome #page_description {
    flex-grow: 100;
    flex-shrink: 0;
    flex-basis: 65%;
    line-height: 1.4;
    margin: 1rem 0rem;
    padding: 0;
}

main #uyari {
    margin-block-start: 0.5rem !important;
}

main .kizil {
    font-size: 0.9em;
    opacity: 0.5;
    color: rgb(75, 0, 0);
}

main .alt_cizgi {
    text-decoration: underline;
}

main #temel-amaclar-esas-maddeler li {
    margin-block: 0.5rem;
}

main #yetenekler summary {
    list-style-type: none;
    color: black;
}

main #yetenekler summary h3 {
    margin-top: 0em;
    font-size: 1.3em;
}

main .toggle-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    width: fit-content;
    z-index: 100;
    align-self: center;
    padding: 0.5vh 0.5vw;
    margin: 0.5vh 0.5vw;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: calc(0.5vw + 0.5vh);
    border: calc(0.1vw + 0.1vh) solid white;
}

main .toggle-controls .toggle-btn {
    padding: 0.5vh 2vw;
    font-size: calc(0.5vw + 1vh);
    color: #fff;
    background: rgba(13, 109, 253, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: calc(0.5vw + 0.5vh);
}

main .toggle-controls:hover {
    background: #000000;
    padding-top: 1.5vh;


}

main .toggle-controls:hover .toggle-btn {
    padding-block: 1vh 1vh;
    background-color: rgba(13, 109, 253, 1);
}

#page_label {
    display: flex;
    position: fixed;
    bottom: 0.2em;
    right: 1rem;
    color: white;
    font-size: 0.2em;
    background-color: black;
    border: 0.05rem solid white;
    border-radius: 0.3rem;
    padding: 0.3rem;
    opacity: 0.5;
    z-index: 9999;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media only screen and (max-width: 50rem) {
    body {
        font-size: 0.8rem;
    }

    main section {
        padding-inline: 0.5rem;
    }

    #page_label {
        right: 1rem;
        font-size: 0.5em;
    }
}