/* public/styles.css */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

.clickable {
    cursor: pointer;
}

.language-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.tooltip {
    position: absolute;
    background-color: #5e2d91;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    transform: translateY(-40px);
    z-index: 10;
}
.tooltip.show {
    opacity: 1;
}


.container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar {
    width: 200px;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.3);
    /* purple glow */
    margin-bottom: 20px;
    border: 3px solid #9b59b6;
    /* purple border */
}

.contact {
    width: 100%;
}

.contact h2 {
    margin: 0;
    font-size: 28px;
    color: #5e2d91;
}

.contact h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #b396d3;
}

.contact p {
    margin: 4px 0;
}

.contact a {
    color: #7f3fbf;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
    color: #5e2d91;
}

.text-contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 20px;
}

.links a:hover {
    transform: scale(1.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.projects {
    padding: 40px 20px;
    border-radius: 10px;
}

.projects h2 {
    text-align: center;
    position: relative;
    font-size: 24px;
    color: #5e2d91;
    margin-bottom: 30px;
}

.projects h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background-color: #a26ee3;
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.project-card {
    flex: 1 1 250px;
    position: relative;
    /* grow, shrink, base width */
    max-width: 300px;
    background-color: #fff;
    padding: 20px;
    padding-bottom: 70px;
    border-left: 6px solid #a26ee3;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    background-color: #5e2d91;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


.project-card .project-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 15px;
    padding: 10px 16px;
    font-weight: 500;
    background-color: #a26ee3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(128, 0, 128, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card .project-button:hover {
    background-color: #8e4ad8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.3);
}

.project-card .project-button:active {
    transform: scale(0.98);
    box-shadow: 0 1px 3px rgba(128, 0, 128, 0.2);
}

.project-card .btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.2);
}

.project-card h3 {
    margin-top: 0;
    color: #5e2d91;
}

.project-card p {
    margin-top: 5px;
}

.tag-box-container {
    display: flex;
    gap: 10px;
}

.tag-box {
    text-align: center;
    padding: 5px;
    border-radius: 8px;
}

.tag-box.not-active {
    background-color: rgb(250, 234, 87);
}

.tag-box.active {
    background-color: rgb(90, 226, 102);
}

.tag-box.archived {
    background-color: rgb(230, 146, 37);
    color: white;
}

.tag-box.koltin {
    background-color: rgb(141, 52, 177);
    color: white;
}

.tag-box.ts {
    background-color: rgb(59, 89, 226);
    color: white;
}

.tag-box.c {
    background-color: rgb(97, 97, 97);
    color: white;
}

.tag-box.csharp {
    background-color: rgb(46, 133, 38);
    color: white;
}

.language-switcher {
    display: flex;
    gap: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.language-switcher button {
    font-size: 28px;
    background: none;
    border: none;
    margin: 0 10px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher button:hover {
    transform: scale(1.2);
}

.language-button img {
    pointer-events: none;
}


.selected {
    border: 3px solid #9b59b6 !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.3);
}

.footer {
    text-align: center;
    border-radius: 12px;
    font-size: 14px;
    color: #777;
    padding: 10px 10px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: #f7f7f7;
}
