*{
    padding: 0;
    margin: 0;
    border: 0;
}
html, body {
    height: 100%;
    width: 100%;
    position: relative;
    font-family: Inter;
    scroll-behavior: smooth;
    scrollbar-color: var(--base-green) var(--base-bg-opaquegreen);
    scrollbar-width: thin;
}
:root {
    --base-light: #E2E8F0;
    --base-gray: #ACACAC;
    --base-green: #43A047;
    --base-bg-green: #2DD4BF10;
    --base-bg-opaquegreen: rgba(30, 59, 37, 0.1);
}
@media (min-width: 1400px) { .container  { max-width: 1320px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 992px){ .container { max-width: 960px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 576px){ .container { max-width: 540px; } }
.container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}
.header-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}
.header-container {
    display: none;
    padding: 6px;
}
#header-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}
#header-menu-icon svg {
    display: block;
    width: 40px;
    height: 40px;
}
.line {
    fill: var(--base-green);
    transform-origin: center;
    transition: transform 0.3s ease, fill 0.3s ease;
}
#header-menu-icon:hover .line {
    filter: drop-shadow(1px 1px 5px var(--base-green));
}
#header-menu-icon {
    margin-left: auto;
}
#header-menu-icon.closed .line.top {
    transform: rotate(45deg) translateY(25px) translateX(0px);
    fill: red;
    filter: drop-shadow(1px 1px 3px red);
}
#header-menu-icon.closed .line.middle {
    opacity: 0;
    transform: scaleX(0);
}
#header-menu-icon.closed .line.bottom {
    transform: rotate(-45deg) translateY(-25px) translateX(-10px);;
    fill: red;
    filter: drop-shadow(1px 1px 5px red);
}
#header-menu-icon:not(.closed) .line.top {
    transform: rotate(0) translateY(0);
}
#header-menu-icon:not(.closed) .line.middle {
    opacity: 1;
    transform: scaleX(1);
}
#header-menu-icon:not(.closed) .line.bottom {
    transform: rotate(0) translateY(0);
}
.header-title-bloc {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.header-title {
    font-weight: bold;
    color: var(--base-light);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease;
}
.hideMobileMenu .header-title {
    opacity: 1;
    visibility: visible;
}
.main-home-wrapper {
    background-color: #232323;
    display: flex;
    justify-content: center;
    height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
}
.main-home-container {
    display: flex;
}
.main-home-left-bloc {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    overflow-y: auto;
    transition: width 0.3s ease;
}
.main-home-right-bloc {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 150px;
    overflow-y: auto;
    padding: 2rem;
    transition: width 0.3s ease;

}
.main-home-info-bloc {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.main-home-info-name {
    font-size: 32px;
    font-weight: bold;
    color: var(--base-light);
}
.main-home-info-sub {
    font-size: 20px;
    font-weight: normal;
    color: var(--base-light);
}
.main-home-info-text {
    font-size: 16px;
    font-weight: normal;
    color: var(--base-gray);
}
.main-home-anchor-bloc ul{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.main-home-anchor-link {
    color: var(--base-gray);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.main-home-anchor-link:hover {
    color: var(--base-light);
    cursor: pointer;
}
.main-home-anchor-link:hover .main-home-anchor-line {
    width: 20px;
    visibility: visible;
    transition: width 0.3s ease, visibility 0s, border-color 0.3s ease;
    border-color: var(--base-light);
}
.main-home-anchor-link.active{
    color: var(--base-green);
}
.main-home-anchor-line {
    display: block;
    border-top: 2px solid;
    border-color: var(--base-green);
    width: 0px;
    visibility: hidden;
    height: 1px;
    transition: width 0.3s ease, visibility 0s linear 0.3s, border-color 0.3s ease;
}
.main-home-anchor-link.active .main-home-anchor-line {
    width: 20px;
    visibility: visible;
    border-color: var(--base-green);
    transition: width 0.3s ease, visibility 0s, border-color 0.3s ease;
}
.main-home-socials-bloc {
    margin-top: auto;
}
.main-home-socials-bloc ul {
    display: flex;
    gap: .5rem;
}
.main-home-socials-link:hover svg {
    filter: drop-shadow(1px 1px 1px var(--base-bg-opaquegreen));
    transform: scale(1.01); 
}
.main-home-socials-link:hover svg path{
    fill: var(--base-green);
}
.bio-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}
.bio-section p {
    color: var(--base-gray);
    font-size: 16px;
    font-weight: 200;
    z-index: 5;
}
.jobs-section {
    display: flex;
    flex-direction: column;
    position: relative;
}
.jobs-section-text-description {
    font-size: 14px;
    color: var(--base-light);
    font-weight: 300;
    margin-bottom: 2rem;
}
.jobs-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    position: relative;
}
.jobs-card:nth-child(5) {
    margin-bottom: 0;
}
.jobs-card-left-bloc {
    width: 35%;
    z-index: 5;
}
.jobs-card-period {
    color: var(--base-gray);
    font-size: 12px;
    font-weight: 200;
}
.jobs-card-right-bloc {
    width: 65%;
    display: flex;
    flex-direction: column;
    z-index: 5;
}
.jobs-card-title {
    color: var(--base-light);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: .2rem;
}
.jobs-card-text {
    color: var(--base-light);
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 1rem;
}
.card-stacks-box {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    gap: .5rem;
}
.card-stacks-badge {
    color: var(--base-green);
    background-color: var(--base-bg-green);
    padding: .25rem 1rem;
    font-size: 12px;
    border-radius: 100px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jobs-link {
    margin-top: 2rem;
    z-index: 5;
}
.jobs-link a {
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: all 0.3s ease;
}
.jobs-link:hover a { 
    color: var(--base-green);
}
.jobs-link svg{
    transition: transform 0.3s ease;
}
.jobs-link:hover svg{
    transform: translate(5px, -3px);
}
.jobs-link:hover svg path {
    fill: var(--base-green);
}
.archives-section {
    display: flex;
    flex-direction: column;
    position: relative;
}   
.archives-card:nth-child(4) {
    margin-bottom: 0;
}
.archives-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;   
    position: relative;
    border-radius: 10px;
    z-index: 5;
    margin-bottom: 2rem;
}
.card-shadow {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    top: -1rem;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,.04)) drop-shadow(0 4px 3px rgba(0,0,0,.1));
    box-shadow: 0 0 #0000, 0 0 #0000, inset 0 1px 0 0 rgba(148,163,184,.1);
    background-color: var(--base-bg-opaquegreen);
    border-radius: 10px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.with-card-shadow-forsection:hover .card-shadow-forsection {
    opacity: 1;
    visibility: visible;
}
.card-shadow-forsection {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    top: -1rem;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,.04)) drop-shadow(0 4px 3px rgba(0,0,0,.1));
    box-shadow: 0 0 #0000, 0 0 #0000, inset 0 1px 0 0 rgba(148,163,184,.1);
    background-color: var(--base-bg-opaquegreen);
    border-radius: 10px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.with-card-shadow:hover .card-shadow {
    opacity: 1;
    visibility: visible;
}
.archives-card-left-bloc {
    width: 35%;
    z-index: 5;
}
.archives-card-right-bloc {
    width: 65%;
    display: flex;
    flex-direction: column;
    z-index: 5;
}
.archives-card-title {
    color: var(--base-light);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: .2rem;
}
.archives-card-text {
    color: var(--base-light);
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 1rem;
}
.archives-card-image {
    width: 100%;
    border-radius: 5px;
}
.archives-link {
    margin-top: 2rem;
    z-index: 5;
}
.archives-link a {
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: all 0.3s ease;
}
.archives-link:hover a { color: var(--base-green);}
.archives-link:hover a svg path { fill: var(--base-green);}
.archives-link svg{
    transition: transform 0.3s ease;
    min-width: 10px;
}
.archives-link:hover svg{
    transform: translate(5px, 0);
}
.contributions-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 275px;
    position: relative;
}
.contributions-section-text {
    font-size: 14px;
    color: var(--base-light);
    font-weight: 300;
}
.skills-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 5;
}
.skills-section-text {
    font-size: 14px;
    color: var(--base-light);
    font-weight: 300;
}
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}
.footer-section-mail-bloc {
    display: flex;
    justify-content: center;
    z-index: 5;
}
.footer-section-mail {
    font-size: 20px;
    color: var(--base-light);
    font-weight: 300;
    text-decoration: underline;
}
.footer-section-text-bloc {
    z-index: 5;
}
.text-bloc h5 {
    font-size: 22px;
}
.footer-section-text {
    font-size: 14px;
    color: var(--base-light);
    font-weight: 300;   
}
.main-archive-wrapper {
    background-color: #232323;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
}
.main-archive-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.main-archive-return-link {
    color: var(--base-light);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    gap: .5rem;
    align-items: center;
}
.main-archive-return-link:hover { color: var(--base-green);}
.main-archive-return-link:hover svg path { fill: var(--base-green);}
.main-archive-return-link svg{
    transition: transform 0.3s ease;
}
.main-archive-return-link:hover svg{
    transform: translate(-5px, 0);
}
.main-archive-header-bloc {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.main-archive-header-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--base-light);
}
.main-archive-table-bloc {
}
.main-archive-table-bloc table {
    width: 100%;
}
.main-archive-table-bloc table th{
    text-align: left;
    padding: .8rem .5rem;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}
.main-archive-table-bloc table td{
    text-align: left;
    padding: .8rem .5rem;
    color: #fff;
    border-bottom: 1px solid var(--base-gray);
}
.main-archive-table-bloc table tr{
    cursor: default;
}
.main-archive-table-bloc table tr:hover td{
    background-color: var(--base-bg-opaquegreen);
}
.main-archive-table-bloc table td:first-child, .main-archive-table-bloc table td:last-child {
    color: var(--base-gray);
    font-size: 12px;
}
.main-archive-table-bloc table td:nth-child(2) {
    font-size: 16px;
}
.main-archive-table-link {
    display: flex;
    gap: .25rem;
    align-items: center;
}
.main-archive-table-link:hover { 
    color: var(--base-green);
}
.main-archive-table-link svg{
    transition: transform 0.3s ease;
}
.main-archive-table-link:hover svg{
    transform: translate(5px, -3px);
}
.main-archive-table-link:hover svg path {
    fill: var(--base-green);
}
.glowing-cursor {
    position: fixed;
    pointer-events: none;
    width: 600px;
    height: 600px;
    background: radial-gradient(500px at center, #43A04715, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: 30;
    transition: transform 0.2s ease-out, opacity 0.3s ease-out;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background-color: var(--base-bg-opaquegreen);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--base-green);
    border-radius: 5px;
    border: 2px solid var(--base-bg-green);
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--base-bg-green);
}
.drag-icon-wrapper {
    position: fixed;
    width: 100%;
    bottom: 5%;
    display: flex;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}
.drag-icon-wrapper img{
    width: 100px;
}
.skills-viewmode-wrapper {
    display: flex;
    justify-content: center;
    z-index: 5;
    height: 75px;
}

/* Device wrapper */
.skills-view-wrapper {
    display: flex;
    justify-content: center;
}

/* Device container */
.skills-viewmode-wrapper .device {
    margin: 0 auto;
    position: relative;
    width: 100%;
    max-width: 140px;
    background: var(--base-light);
    padding: 5px 5px 10px;
    border-radius: 5px;
    transition: all .55s;
}

.skills-viewmode-wrapper .device::before {
    display: table;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -85px;
    background: #999999;
    height: 8px;
    width: 170px;
    border-bottom-left-radius: 4% 100%;
    border-bottom-right-radius: 4% 100%;
    transition: all .55s;

}

.skills-viewmode-wrapper .device::after {
    background: #bbbbbb;
    display: table;
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    margin-left: -17px;
    width: 30px;
    height: 4px;
    border-bottom-left-radius: 4% 100%;
    border-bottom-right-radius: 4% 100%;
    transition: all .55s;

}

/* Device and Screen transitions */
.skills-viewmode-wrapper .device, .skills-viewmode-wrapper .screen {
    transition: all .55s;
}

/* Screen */
.skills-viewmode-wrapper .screen {
    height: 50px;
    width: 100%;
    position: relative;
    background: var(--base-gray);
}

.skills-viewmode-wrapper .screen::before {
    display: table;
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: -8px;
    left: 50%;
    margin-left: -2px;
    border-radius: 50%;
    background: #999999;
    transition: all .55s;

}
.skills-viewmode-wrapper .screen::after {
    content: 'Chart view';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 90px;
    margin-left: -45px;
    border-radius: 50%;
    color: var(--base-green);
    transition: all .55s;

}

/* Mobile device */
.skills-viewmode-wrapper .device.mobile {
    max-width: 50px;
    padding-left: 5px;
    padding-right: 5px;
    min-height: 75px;
}

.skills-viewmode-wrapper .device.mobile::before {
    width: 6px;
    height: 6px;
    margin-left: -2px;
    bottom: 5px;
    border-radius: 50%;
    transition: all .55s;

}

.skills-viewmode-wrapper .device.mobile::after {
    width: 4px;
    height: 4px;
    bottom: 6px;
    margin-left: -1px;
    border-radius: 50%;
    transition: all .55s;

}

.skills-viewmode-wrapper .device.mobile .screen::before {
    width: 10px;
    height: 3px;
    border-radius: 0;
    margin-left: -4px;
    transition: all .55s;
}
.skills-viewmode-wrapper .device.mobile .screen::after {
    content: 'List view';
    position: absolute;
    top: 0px;
    left: 50%;
    width: 40px;
    margin-left: -21px;
    border-radius: 50%;
    color: var(--base-green);
    transition: all .55s;
}

#mySkillsChart {
    width: 100%;
    height: 350px;
    overflow: hidden;
    z-index: 5;
    visibility: visible;
    transition: height 1s ease;
}

#mySkillsChart.disabled {
    height: 0;
    visibility: hidden;
}

#mySkillsList {
    height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: height 1s ease;
    z-index: 5;
}

#mySkillsList.active {
    height: auto;
    visibility: visible;
    min-height: 250px;
}
.list-stacks-box {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    gap: .5rem;
}
.list-stacks-badge {
    color: var(--base-green);
    background-color: var(--base-bg-green);
    padding: .25rem 1rem;
    font-size: 12px;
    border-radius: 3px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cursor-notallow {
    cursor: not-allowed;
}

/* countdown styling */
:root {
  --smaller: .75;
}

.countdown-section {
    align-items: center;
    display: flex;
    font-family: -apple-system, 
        sans-serif;
    background-color: #232323;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
}

.countdown-section  .container {
  color: #fff;
  margin: 0 auto;
  text-align: center;
  width: 50%;
}

.countdown-section  h1 {
  font-weight: normal;
  letter-spacing: .125rem;
  text-transform: uppercase;
}

.countdown-section li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
}

.countdown-section li span {
  display: block;
  font-size: 4.5rem;
}

.countdown-section .emoji {
  display: none;
  padding: 1rem;
}

.countdown-section .emoji span {
  font-size: 4rem;
  padding: 0 .5rem;
}

@media all and (max-width: 768px) {
    .countdown-section h1 {
    font-size: calc(1.5rem * var(--smaller));
  }
  
  .countdown-section li {
    font-size: calc(1.125rem * var(--smaller));
  }
  
  .countdown-section li span {
    font-size: calc(3.375rem * var(--smaller));
  }
}
.clicker-container {
    min-width: 300px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.clicker-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.clicker-noel {
    cursor: url('../img/portfolio/emotes/mouse.png'), auto;    
}
.character-bloc {
    display: flex;
    justify-content: center;
}
.character-bloc img { 
    width: 150px;
    height: 130px;
    object-fit: cover;
}

.clicker-container #character {
    width: 150px;
    transition: transform 0.3s ease-in-out;
}

.clicker-container #click-button {
    background-color: #ff5252;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.clicker-container #click-button:hover {
    background-color: #ff1744;
}

.clicker-container .click-counter {
    font-size: 18px;
    margin-top: 10px;
}
.text-bloc { 
    display: flex;
    justify-content: center;
}
/* custom button */
.effect-button {
    outline: none;
    border: none;
    cursor: pointer;
    position: relative;
    background-color: #f1ba19;
    font-size: 18px;
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 40px;
    border-radius: 5px;
    box-shadow: 0 3px #f1ba19;
    transition: background 300ms ease, transform 0.1s;
    overflow: hidden;
}

.effect-button:hover {
    background-color: #956d26;
    box-shadow: 0 3px #956d26;
    transform: translateY(1px);
}

.effect-button:active {
    background-color: #fcad26;
    box-shadow: none;
    transform: translateY(3px);
}

/* Efeito de clique */
.effect-button:focus::before {
    content: '';
    background-color: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(0.001);
    opacity: 1;
    animation: effect_dylan 0.8s ease-out;
}

@keyframes effect_dylan {
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.001);
        opacity: 1;
    }
}
#pc-content {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
#pc-content img {
    width: 100px;
}
