@font-face {
    font-family: 'Audiowide';
    src: url('/static/fonts/audiowide.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes moveDown {
    0%, 20% { transform: translateY(0); }
    50% { transform: translateY(20px); }
    80%, 100% { transform: translateY(0); }
}


body {
    background-color: black;
    color: white;
    font-family: Audiowide;
    animation: fadeIn 2s ease-in-out;
    margin: 0;
    padding: 0;
}

.resume-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.resume-content {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.resume-content2 {
    font-size: 20px;
    margin: 20px 50px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.title-text {
    font-weight: bold;
    font-size: 30px;
}

.clickable{
    color: #00bfff !important;
    cursor: pointer;
}

.content-text {
    font-weight: lighter;
    font-size: 20px;
    margin-bottom: 15px;
}

.down-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: bold;
    font-size: 25px;
    margin-top: 20px;
}

.down-title img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.custom-hr {
    border: none;
    border-top: 3px solid white;
    margin: 40px 0;
}

.project-name-text {
    position: relative;
    text-decoration: none;
    color: #00bfff !important;
    margin-bottom: 10px;
}

.project-name-text::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: blue;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.project-name-text:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.scroll-down {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 1;
}

.scroll-down img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    animation: moveDown 2s infinite;
}

.resume-container-mobile{
    display: none;
}

@media (max-width: 768px) {
    .resume-container {
        display: none;
    }

    .name-title {
        text-align: center;
        margin: 0 auto 15px auto; /* alt boşluk */
        font-size: 22px;
        font-weight: bold;
        line-height: 1.2;
        font-family: inherit; /* değiştirmiyoruz */
    }

    .resume-container-mobile {
        display: flex;
        flex-direction: column;
        padding: 15px;
        background-color: #000;
        color: #fff;
    }
    .resume-container-mobile h6 {
        color: #ff9800;
    }

    .resume-content-mobile {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 14px;
        line-height: 1.4; /* satırlar arası daha sıkı */
        font-family: 'Roboto', Arial, sans-serif; /* okunaklı font */
    }

    .resume-content-mobile h4 {
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: 17px;
        font-weight: bold;
    }

    .resume-content-mobile h5 {
        margin-top: 2px;
        margin-bottom: 8px;
    }

    .resume-content-mobile h6 {
        margin-top: 2px;
        margin-bottom: 6px;
    }

    .resume-content-mobile hr {
        border: none;
        border-top: 1px solid #555;
        margin: 10px 0;
    }

    .mailClickable {
        color: #00bfff !important;
        cursor: pointer;
        text-decoration: underline;
        font-family: 'Roboto', Arial, sans-serif; /* okunaklı font */
    }
    .projects-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 20px;
    }
    .project-card{
        flex: 0 0 calc(25% - 20px);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 10px;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
        border: 2px solid rgba(138, 43, 226, 0.7);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        cursor: pointer;
        animation: cardFadeUp 0.8s ease forwards;
        text-decoration: none;
        color: inherit;
        display: block;
        opacity: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mobile-project-image{
        width: 15px;
        height: 15px;
    }
    .project-name-text-mobile{
        font-size: 10px;
        color: #00bfff !important;
        text-decoration: none;
        margin-top: 5px;
    }
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}