html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-width: 100%;
    box-sizing: border-box;

    font-family: "Noto Sans", 'Segoe UI', sans-serif;
    background: url(../images/colored_body_top_v2-optimized.webp) center top no-repeat, black;
    /* background: linear-gradient(to right, #111111, black); */
    background-color: black;
    color: rgb(170, 170, 170);
}

a {
    text-decoration-color: rgb(100, 100, 100);
    color: rgb(200, 200, 200);
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
}

a:hover {
    text-decoration-color: rgb(170, 170, 170);
}

.description {
    /* background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.250); */
    padding: 25px 0;
    border-radius: 10px;
    margin-bottom: 50px;
}

.description p {
    text-align: justify;
}

.navigator {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    font-size: 14px;
    margin: 40px 0 70px;
    user-select: none;
}

.navigator ul {
    display: flex;

    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navigator ul li:not(:last-child) {
    margin-right: 35px;
}

.navigator a {
    color: rgb(200, 200, 200);
    text-decoration: none;
    cursor: pointer;

    transition: all 0.2s ease;
}

.navigator a:link {
    color: rgb(200, 200, 200);
}

.navigator a:hover {
    color: rgb(230, 230, 230);
    text-decoration: none;
    cursor: pointer;

    transition: all 0.2s ease;
}

.wrap {
    margin: 0 auto;
    padding: 20px;
    max-width: 780px;
    width: 100%;

    box-sizing: border-box;
}

.header {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.85);
}

.description-div {
    margin-bottom: 50px;
}

.des-button-div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.des-top-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px 35px;
    background-color: rgb(200, 200, 200);
    border: 0;
    color: #1d1d1d;
    border-radius: 5px;
    user-select: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.des-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 35px;
    border: 3px solid rgba(255, 255, 255, 0.250);
    background-color: transparent;
    border-radius: 5px;
    user-select: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.des-top-button:hover {
    background-color: #1a67be;
    transform: translateY(-2px);
}

.des-button:hover {
    border: 3px solid #862191;
    transform: translateY(-2px);
}

.language-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1060px;
    border-radius: 5px;
    background: linear-gradient(to right, #333333, #111111);
    background-color: #111111;
    border-left: 2px solid #333333;
    overflow: hidden;
    margin-bottom: 50px;
}

.language-div::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #333333, #111111);
}

.language-description {
    margin: 10px;
    font-size: 18px;
}

.languages {
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: space-evenly;
    background: linear-gradient(to right, #0c0c0c, #111111);
    background-color: #111111;
    border-radius: 5px;
    font-size: 12px;
}

.languages svg {
    width: 36px;
    height: 36px;
    aspect-ratio: 1/1;
}

.lan {
    position: relative;
    display: inline-block;
}

.lan .tooltiptext {
    opacity: 0;
    visibility: hidden;
    width: 120px;
    background-color: rgb(230, 230, 230, 0.25);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    left: 50%;
    bottom: 50px;
    z-index: 1;
    transform: translateX(-50%); /* Gerçekten ortalamak için */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lan .tooltiptext {
    /* Mevcut stiller */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Tooltip hover'da fade-in ile görünür */
.lan:hover .tooltiptext {
    opacity: 1;
    visibility: visible;
}

/* Tooltip üçgeni */
.lan .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: rgb(230, 230, 230, 0.25) transparent transparent transparent;
}

.project-div {
    margin-bottom: 70px;
}

.project-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.card {
    display: flex;
    position: relative;
    flex-direction: column;
    flex: 1 1 275px;
    background: linear-gradient(to right, #111111, black);
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
}

#elden-ring {
    background: linear-gradient(to right, #c99836, #234947);
    border-left: 2px solid #c99836;
    border-right: 2px solid #234947;
}

#elden-ring::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #c99836, #234947);
}

#anistia {
    background: linear-gradient(to right, #cf455c, #101014);
        border-left: 2px solid #cf455c;
    border-right: 2px solid #101014;
}

#anistia::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #cf455c, #101014);
}

#steam {
    background: linear-gradient(90deg, #2881af 0%, #1d3a68 50%, #0f1f3c 75%, #162134 100%);
        border-left: 2px solid #2881af;
    border-right: 2px solid #162134;
}

#steam::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2881af 0%, #1d3a68 50%, #0f1f3c 75%, #162134 100%);
}

#tr-anime {
    background: linear-gradient(to right, #5c92a6, #1d1e23);
        border-left: 2px solid #5c92a6;
    border-right: 2px solid #1d1e23;
}

#tr-anime::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #5c92a6, #1d1e23);
}

#bay-yarasa {
    background: linear-gradient(to right, #7f3119, #151618);
        border-left: 2px solid #7f3119;
    border-right: 2px solid #151618;
}

#bay-yarasa::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #7f3119, #151618);
}

#dc-bot {
    background: linear-gradient(to right, #288572, #0d0d15);
        border-left: 2px solid #288572;
    border-right: 2px solid #0d0d15;
}

#dc-bot::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #288572, #0d0d15);
}

#datecord {
    background: linear-gradient(to right, rgb(79, 88, 179), black);
        border-left: 2px solid rgb(79, 88, 179);
    border-right: 2px solid black;
}

#datecord::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgb(79, 88, 179), black);
}

.card-header {
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.card-link {
    display: flex;
    align-items: center;
    z-index: 1;
}

.card-header a {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, .5);
}

.card-link a:hover, .card-link a:hover svg {
    color: white;
}

.card-link {
    margin: 5px 0 5px 10px;
}

.card-header svg {
    margin-right: 5px;
    filter: drop-shadow(0px 2px 8px black);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/ripple_texture.webp);
    background-size: cover;
    opacity: 0.2;
}

.card-description {
    background: rgba(9, 13, 15, 0.66);
    flex-grow: 1;
    padding: 10px 15px;
    border-radius: 5px;
}

.card-description p {
    margin: 0;
}

.footer {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    background-color: #111111;
    color: #777;
    user-select: none;
}

.footer-space a {
    text-decoration: none;
}

.footer-icon {
    fill: #666666;
    transition: fill 0.2s ease;
}

.footer-icon:hover {
    fill: rgb(170, 170, 170);
}

::selection {
    background: #2c2c2c;
}
