

/* -------------------- */
/* PORTFOLIO SECTION    */
/* -------------------- */

.portfolio-section {}

/* Category filter */
.filter-container {
    text-align: center;
    margin: 15px 0 30px;
}

ul.filter > li > a {
    color: #d22b68;
    font-size: 15px;
    line-height: 40px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    padding: 0 17px;
}

ul.filter > li > a:hover,
ul.filter > li > a:focus {
    text-decoration: none;
    color: #d22b68;
}

ul.filter > li.active a {
    color: #d22b68;
}

ul.filter > li span {
    color: #d22b68;
    font-size: 20px;
    margin: 0 5px;
}

.filter-section h1 {
    text-align: center;
}

/* Overlay color */
.portfolio-section.port-col figure .overlay-background {
    background-color: rgba(0,0,0,0.4);
}

.portfolio-section figure {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.portfolio-section figure img {
    width: 100%;
    height: auto;
}

.portfolio-section figure:hover .overlay,
.portfolio-section figure:hover .overlay-background {
    opacity: 1;
    visibility: visible;
}

.portfolio-section figure .overlay-background {
    z-index: 1;
    transition: .2s ease-in-out;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}

.portfolio-section figure .overlay-background .inner {
    position: absolute;
    inset: 0;
    background-color: rgba(210, 43, 104, .8);
}

.portfolio-section figure .overlay {
    z-index: 2;
    transition: .2s ease-in-out;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}

.portfolio-section figure .inner-overlay {
    display: table;
    width: 100%;
    height: 100%;
}

.portfolio-section figure .inner-overlay-content {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    padding: 20px 40px;
}

.portfolio-section figure .inner-overlay-content.with-icons {
    text-align: center;
}

.portfolio-section figure .inner-overlay-content.with-icons a {
    width: 40px;
    height: 40px;
    line-height: 42px;
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
    font-size: 50px;
    color: #fff;
    opacity: 0.7;
}

/* Hover scale */
.isotopeSelector img {
    transition: .4s ease;
}

.isotopeSelector:hover img {
    transform: scale(1.5) rotate(2deg);
    transition: .8s ease;
}

.isotopeSelector figure {
    overflow: hidden;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

/* --------------- */
/* SKILLS BUBBLES  */
/* --------------- */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.skill-bubble {
    background-color: #f7dfe6;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.skill-bubble:nth-child(2) { background-color: #dff7ea; }
.skill-bubble:nth-child(3) { background-color: #e2e9f7; }
.skill-bubble:nth-child(4) { background-color: #f7f0d9; }

/* ---------------- */
/* EXPERIENCE LIST  */
/* ---------------- */

.experience-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.experience-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

.experience-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #f8f2fb;
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.experience-date {
    width: 120px;
    font-weight: bold;
    color: #7a4fa3;
    font-size: 16px;
}

.experience-content h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 20px;
}

.missions {
    color: #555;
    line-height: 1.6;
}

/* ---------------- */
/* POST-IT SKILLS   */
/* ---------------- */

.skills-postit {
    text-align: center;
    padding: 40px 20px;
}

.skills-postit h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.postit-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.postit {
    width: 150px;
    height: 150px;
    background: #fff6a9;
    padding: 20px;
    font-size: 16px;
    color: #444;
    font-weight: 600;
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-4deg);
    transition: transform .2s, box-shadow .2s;
}

.postit:nth-child(2) { transform: rotate(3deg); }
.postit:nth-child(3) { transform: rotate(-2deg); }
.postit:nth-child(4) { transform: rotate(4deg); }
.postit:nth-child(5) { transform: rotate(-3deg); }
.postit:nth-child(6) { transform: rotate(2deg); }

.postit:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 18px rgba(0,0,0,0.2);
}

/* ---------------- */
/* HEADER BANNER    */
/* ---------------- */

.banner-magic {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, #ffe7ef, #fff0d9);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.banner-content {
    text-align: center;
    z-index: 2;
}

.banner-content h1 {
    font-size: 36px;
    color: #b03a5b;
}

.banner-content p {
    font-size: 18px;
    color: #5e3b4f;
}

/* Bubble animation */
.bubble {
    position: absolute;
    bottom: -50px;
    font-size: 24px;
    animation: rise 8s linear infinite;
    opacity: 0.8;
    user-select: none;
}

.bubble:nth-child(1) { left: 5%; animation-duration: 7s; font-size: 28px; }
.bubble:nth-child(2) { left: 20%; animation-duration: 9s; }
.bubble:nth-child(3) { left: 35%; animation-duration: 6s; font-size: 30px; }
.bubble:nth-child(4) { left: 50%; animation-duration: 10s; }
.bubble:nth-child(5) { left: 70%; animation-duration: 8s; font-size: 26px; }
.bubble:nth-child(6) { left: 85%; animation-duration: 9s; }

@keyframes rise {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: .8; }
    50%  { transform: translateY(-150px) scale(1.1); opacity: 1; }
    100% { transform: translateY(-350px) scale(1.2); opacity: 0; }
}

.bubble:hover {
    transform: scale(1.5);
    opacity: 1;
}