﻿.resume-content {
    width: 70%;
    justify-content: center;
    margin: 8px auto 0 auto;
    padding: 20px;
    min-height: 100vh;
    background: #faedcd;
    border-radius: 20px 0 0 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

h3 {
    margin: 20px 0 0 0;
}

p {
    margin: 5px 0 0 0;
}

.tags {
    position: absolute;
    top: 250px;
    right: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: -1;
}

.tag {
    background-color: #283618ff;
    color: white;
    padding: 12px 25px 12px 35px;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: -5px;
    white-space: nowrap;
    width: 140px;
    text-align: right;
}

.tag:hover {
    background-color: #606c38ff;
    width: 155px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.25);
}

.tag.active {
    background-color: #283618ff;
    width: 160px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.25);
}

#section {
    transition: opacity 0.15s ease-in-out;
}

@media screen and (max-width: 768px) {
    .resume-content {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }

    .tags {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
        z-index: 1;
        flex-wrap: wrap;
    }

    .tag {
        border-radius: 8px;
        margin-right: 0;
        padding: 10px 16px;
        width: auto;
        text-align: center;
    }

    .tag:hover {
        padding-left: 16px;
        transform: translateY(-5px) scale(1.05);
    }

    .tag.active {
        padding-left: 16px;
        transform: translateY(-8px) scale(1.08);
    }
}