body {
    background: radial-gradient(circle, rgba(117, 0, 152, 1) 0%, rgba(0, 0, 0, 1) 100%);
    font-family: 'Arial', sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
    z-index: 0;
    overflow-x: hidden; 
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fundo.png') repeat;
    opacity: 0.8;
    z-index: -1;
}

.header {
    text-align: center;
    margin: 50px 0;
}

.profile-img {
    border-radius: 50%;
    width: 20vw; 
    max-width: 130px;
    height: auto;
    border: 4px solid #ff00ff;
    box-shadow: 0 0 20px #ff00ff;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-img:hover {
    transform: scale(1.05);
}


.title {
    font-size: 3rem;
    color: #ff00ff;
    animation: glitch 1.5s infinite;
}

.subtitle {
    font-size: 1.5rem;
    color: #0d88ff;
}

.botao-tema {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #4b0082;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    z-index: 100;
}

.botao-tema:hover {
    background-color: #6a0dad;
    transform: scale(1.1);
}

.botao-tema:focus {
    outline: none;
}

audio {
    width: 80%;
    max-width: 300px;
    margin: 20px auto;
    border-radius: 10px;
    transition: box-shadow 0.3s, transform 0.3s;
    background-color: #1a1a3d;
    border: 2px solid #ff00ff; 
}

audio::-webkit-media-controls-panel {
    background-color: #1a1a3d; 
    border-radius: 10px;
    border: 1px solid #ff00ff; 
}

audio:hover {
    box-shadow: 0 0 20px #ff00ff, 0 0 20px #0d88ff;
    transform: scale(1.05);
}

.carousel {
    position: relative;
    max-width: 35vw;
    margin: 25px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    transition: transform 0.3s ease;
}

.carousel-slide img {
    width: 100%;
    height: auto; 
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(255, 0, 255, 0.7);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicator.active {
    background-color: #ff00ff;
}

.carousel-indicator:hover {
    background-color: #ff80ff;
}


.portfolio-section h2, .portfolio-section p {
    text-align: center;
    margin: 20px 0;
    font-size: 1.5rem;
}

.portfolio-section {
    text-align: center;
    padding: 20px;
  }
  
  .portfolio-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff00ff;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.portfolio-button:hover {
    background-color: #ff80ff;
    box-shadow: 0 0 20px #ff00ff;
}

  .portfolio-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ff00ff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.portfolio-close:hover {
    color: #ff80ff;
}

  .portfolio-modal {
    display: none;
    position: fixed;
    z-index: 9999; 
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

  
  .portfolio-modal.show {
    display: block; 
  }
  
  .portfolio-modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  .portfolio-modal-content h2 {
    text-align: center;
    color: #ff00ff;
    margin-bottom: 20px;
  }
  
  .portfolio-modal-content p {
    text-align: center;
    color: #ff00ff;
    margin-bottom: 20px;
  }

  
  .banner {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .banner p {
    color: #ff00ff;
  }
  
  .banner-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .banner-img {
    width: 30%;
    margin: 10px;
    border-radius: 10px;
  }

  .portfolio-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .portfolio-img {
    width: 30%;
    margin: 10px;
    border-radius: 10px;
  }

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.service-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px #ff00ff;
    margin: 10px;
    padding: 20px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #ff00ff;
}

.service-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.5rem;
    color: #ff80ff;
    margin-bottom: 10px;
}

.service-description {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.service-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff00ff;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.service-button:hover {
    background-color: #ff80ff;
    box-shadow: 0 0 20px #ff00ff;
}

.feedback {
    font-size: 1.5rem;
    color: #ff80ff;
    margin-bottom: 10px;
}

#feedback h2 {
    color: #ff00ff;
    text-align: center;
    text-shadow: 0 0 10px #ff00ff;
}

.feedback-balloons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.balloon {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-top: 50px;
    font-size: 1rem;
    color: #ff00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.feedback-img {
    border-radius: 8px; 
    width: 350px;
    height: 150px; 
    object-fit: contain; 
    margin-bottom: 10px; 
}


.downloads {
    text-align: center;
    margin-top: 50px;
    font-size: 1rem;
    color: #ff00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.downloads h2 {
    color: #ff00ff;
}

.downloads ul {
    list-style-type: none;
    padding: 0;
}

.downloads a {
    text-align: center;
    margin-top: 50px;
    font-size: 1rem;
    color: #ff00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.downloads a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 50px;
    font-size: 1rem;
    color: #ff00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    font-size: 2rem;
    color: #ff00ff;
    transition: transform 0.3s, text-shadow 0.3s;
}

.social-link:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #0d88ff;
}

.support-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 20px #ff00ff;
    z-index: 100;
    background-color: rgba(255, 0, 255, 0.8);
    border: none;
    cursor: pointer;
}

.support-button:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #0d88ff;
}

.support-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .profile-img {
        width: 25vw;
        max-width: 100px;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .carousel {
        max-width: 50vw;
    }

    .portfolio-img,
    .banner-img,
    .service-img,
    .feedback-img {
        width: 40%;
    }

    .services {
        /* Mantém o flex-wrap para múltiplas colunas */
        gap: 20px;
    }

    .service-box {
        width: 200px;
        margin: 10px auto;
    }

    .portfolio-modal-content {
        width: 90%;
    }

    .balloon {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .profile-img {
        width: 30vw;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .carousel {
        max-width: 70vw;
    }

    .portfolio-img,
    .banner-img,
    .service-img,
    .feedback-img {
        width: 45%;
    }

    .portfolio-section h2,
    .portfolio-section p {
        font-size: 1.2rem;
    }

    .services {
        display: flex;
        flex-direction: column; /* Alinha os itens verticalmente */
        align-items: center;
        gap: 15px;
    }

    .service-box {
        width: 180px;
        padding: 15px;
    }

    .feedback h2 {
        font-size: 1.5rem;
    }

    .feedback-balloons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .profile-img {
        width: 35vw;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .carousel {
        max-width: 90vw;
    }

    .portfolio-img,
    .banner-img,
    .service-img,
    .feedback-img {
        width: 100%;
    }

    .portfolio-section h2,
    .portfolio-section p {
        font-size: 1rem;
    }

    .services {
        display: flex;
        flex-direction: column; /* Alinha os itens verticalmente */
        align-items: center;
        gap: 10px; /* Espaçamento reduzido */
    }

    .service-box {
        width: 90%; /* Adapta para quase toda a tela */
        max-width: 300px; /* Limita o tamanho máximo */
        padding: 10px;
    }

    .balloon {
        font-size: 0.8rem;
    }

    .social-link {
        font-size: 1.5rem;
    }

    .support-button {
        width: 50px;
        height: 50px;
    }
}