/* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0; /* Remover a margem do body 
}*/

/*.skills{
    width: 80%;
    margin-top: -1rem;
    margin-bottom: 32rem;
    max-width: 820px;
    min-height: 600px;
    height: auto;
    background: rgba(0, 0, 0, 0.306);
    backdrop-filter: blur(10px);
    border-radius: 20px; /* Bordas arredondadas 
    box-shadow: 0 4px 10px rgba(33, 31, 31, 0.3); /* Sombra sutil 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
}*/
.container {
    width: 100%;
    margin-top: 30%;
    max-width: 1200px;
    margin: 10%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.306);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: 10px;
    align-items: center;
}

.header {
    text-align: center;
    margin-bottom: 35px;
}

.header h1 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.header h3 {
    max-width: 600px;
    margin-inline: auto;
    color: var(--extra-light);
    text-align: center;
    line-height: 2rem;
}

.carousel {
    position: relative;
    overflow: visible;
}

.cards-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 0;
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    margin: 0 17px;
    padding: 20px;
    max-width: 300px;
    width: 100%;
    text-align: center;
    opacity: 0.7;
    transform: scale(0.8);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.card.active {
    transform: scale(1.3);
    opacity: 1;
    margin-bottom: 0.5rem;
}

.card .circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    top: -3px;
}

.card .circle::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #222;
    opacity: 0.8;
}

.card .circle::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: #333;
    border: 15px solid #4d4c51;
    border-radius: 50%;
    box-shadow: 
        inset 0px 5px 10px rgba(0, 0, 0, 0.25),
        0px 10px 10px rgba(0, 0, 0, 0.75),
        0px -2px 2px rgba(255, 255, 255, 0.5),
        inset 0px 4px 2px rgba(0, 0, 0, 0.25),
        inset 0px -2px 2px rgba(255, 255, 255, 0.5);
}

.card .circle .number {
    position: relative;
    color: #fff;
    z-index: 2;
    line-height: 1em;
    font-size: 1.5em;
}

.card .circle .number span {
    font-size: 0.5em;
    font-weight: 500;
}

.card .circle h4 {
    position: relative;
    color: #fff;
    z-index: 10;
    font-weight: 500;
    font-size: 0.8em;
    text-transform: uppercase;
    line-height: 0.6em;
}

.skill-title {
    color: #ccc;
    font-size: 0.8em;
    margin-top: 10px;
}

.skill-description {
    color: #ccc;
    font-size: 0.6em;
    margin-top: 10px;
}

.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev, .next {
    background-color: transparent;
    border: none;
    font-size: 1em;
    color: white;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ff2972;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
        margin: 5%;
    }

    .header h1 {
        font-size: 2.2em;
    }

    .header h2 {
        font-size: 1.4em;
    }

    .card {
        max-width: 250px;
        margin: 0 10px;
    }

    .card .circle {
        width: 150px;
        height: 150px;
    }

    .card .circle::after {
        width: 80px;
        height: 80px;
    }

    .card .circle .number {
        font-size: 1.2em;
    }

    .card .circle h4 {
        font-size: 0.7em;
    }

    .skill-title {
        font-size: 0.7em;
    }

    .skill-description {
        font-size: 0.5em;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 1%; /* Menos margem */
        padding: 10px; /* Menos padding */
        margin-top: 15%; /* Menos espaço no topo */
        max-width: 750px;
    }

    .carousel {
        max-width: 650px;
    }

    .card {
        width: 100%;
        margin: 0 10px;
    }

    .card .circle {
        width: 130px;
        height: 130px;
    }

    .card .circle::after {
        width: 70px;
        height: 70px;
    }

    .card .circle .number {
        font-size: 1em;
    }

    .card .circle h4 {
        font-size: 0.6em;
    }

    .skill-title {
        font-size: 0.7em;
    }

    .skill-description {
        font-size: 0.5em;
    }
}

@media (max-width: 480px) {
    .carousel {
        max-width: 320px;
    }

    .card {
        width: 100%;
    }

    .container {
        margin: 5%; /* Reduzindo ainda mais a margem */
        padding: 8px; /* Reduzindo o padding */
        margin-top: 10%; /* Menos espaço no topo */
    }

    .header h1 {
        font-size: 1.8em;
    }

    .header h2 {
        font-size: 1.2em;
    }
}