
.ola, .hi, .ciao, .hola, .bonjour, .hallo, .gruezi {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    font-weight: bold;
    font-style: italic;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.language-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.technologies {
    margin-top: 30px;
}

.technologies h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; 
    padding-right: 750px;
}

.tech-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1); 
}

#language {
    background-color: #202020;
    border: 1px solid #ced4da; 
    border-radius: 50px;
    padding: 5px 5px;
    font-size: 20px; 
    color: #F4F5F0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

#language:focus {
    outline: none;
    border-color: #f0f2f4;
    box-shadow: 0 0 5px rgba(14, 31, 49, 0.5); 
}

#language option {
    background-color: #ffffff; 
    color: #495057; 
    padding: 10px; 
}

#language option:hover {
    background-color: #f1f1f1; 
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.text-block {
    flex: 1;
    margin-right: 250px;
    margin-left: 50px;
    text-align: justify;
    padding-right: 20px;
}

.image-block {
    flex: 0 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 90px; 
}

/* Imagem circular */
.profile-image {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white; 
}

#home {
    background-color: #e0e0e0;
    color: #0a0a0a;
    padding: 100px 20px;
    box-sizing: border-box;
}

#tech {
    background-color: #000000;
}

#tech {
    text-align: center;
    margin: 0px 0;
}

#tech h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.technologies {
    display: flex;
    justify-content: center;
    gap: 150px;
}

.tech-item {
    position: relative;
    display: inline-block;
    text-align: center;
}

.tech-icon {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.tech-icon:hover {
    transform: scale(1.1);
}

.tech-info {
    display: none;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.tech-item:hover .tech-info {
    display: block;
}

.related-icon {
    width: 50px;
    height: 50px;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

#php:hover .related-icon {
    opacity: 1;
}

#php .related-icon#laravel {
    transform: translate(-100px, -30px);
}

#php .related-icon#bootstrap {
    transform: translate(100px, -30px);
}

#html:hover .related-icon {
    opacity: 1;
}

#html .related-icon#css {
    transform: translate(-100px, -30px);
}

#html .related-icon#js {
    transform: translate(100px, -30px);
}

.download-cv-content {
    text-align: center;
    margin-top: 250px;
    margin-bottom: 40px;
}

.download-cv-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.btn-download {
    padding: 10px 20px;
    background-color: #202020;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #666666;
    display: inline-block;
}

.btn-download:hover {
    background-color: #666666;
    border-color: #e0e0e0;
}
.project-case {
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 60px;
}
.project-media {
    flex: 1.8;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
}

.carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.projects-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.projects-track {
    display: flex;
    transition: transform 0.6s ease;
}

.project-wrapper {
    flex: 0 0 100%;
}

.project-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 60px;
    cursor: pointer;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.project-arrow.prev {
    left: 20px;
}

.project-arrow.next {
    right: 20px;
}

.carousel img.active {
    opacity: 1;
}
.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}
.project-points {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.project-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.project-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #dfdcdc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}
.project-button {
    display: inline-block;
    padding: 14px 32px;
    background: #dfdcdc;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
#projects h2 {
    text-align: center;
    width: 100%;
}
.project-button.disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.construction-banner {
    position: absolute; 
    top: 0; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: rgba(51, 255, 0, 0.7); 
    color: white; 
    padding: 10px 20px; 
    font-size: 18px; 
    text-align: center; 
    border-radius: 5px; 
    z-index: 10;
}

#about {
    background-color: #272727; 
    color: #fff; 
    padding: 100px 20px;
    box-sizing: border-box;
}

#contact {
    background-color: #000000; 
    color: #fff; 
    padding: 100px 20px;
    box-sizing: border-box;
}

#contact .contact-info {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 20px;
}

#contact .contact-item {
    text-align: center;
}

#contact {
    margin-bottom: 10px;
}

#contact a {
    color: #fff; /* cor do link */
    text-decoration: none;
}

#contact a:hover {
    text-decoration: none; /* sublinhado no hover */
}

/* tamanho icon email e linkedin */
#contact .contact-icon {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

/* Efeito de zoom nas imagens ao passar o mouse */
#contact .contact-icon:hover {
    transform: scale(1.1); 
}

/* Estilo da tela de carregamento */
.loading-screen {
    position: fixed;
    inset: 0;
    background-color: #666666;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.5s ease-out;
}
.loading-screen ul {
    list-style: none;
    margin: 0;
    padding: 0;

    position: relative;
}

/* Estilo do conteúdo principal */
.content {
    /* display: none; 
    text-align: center; 
    padding: 50px 20px;  */
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.loading-screen.hide {
    transform: translateY(-100%);
}
.section {
    display: flex;
    align-items: center; 
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}
#projects {
    align-items: stretch;
}


.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Estilo do menu */
.menu {
    position: fixed; 
    top: 0; 
    right: 0; 
    background-color: #202020; 
    width: 100%; 
    height: 60px; 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    padding: 0 20px; 
    box-sizing: border-box; 
    z-index: 1000;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center; 
}

.menu ul li {
    margin-right: 20px;
}

.menu ul li:last-child {
    margin-right: 0;
}

.menu ul a {
    text-decoration: none;
    color: #F4F5F0;
    font-size: 20px;
    padding: 10px 15px;
    position: relative;
}

.menu ul a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.menu ul a:hover::after {
    background-color: #F4F5F0;
}

.menu ul a.active::after {
    background-color: #F4F5F0; 
}

.menu ul select {
    appearance: none;
    background-color: #1f2023;
    color: #F4F5F0;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
    vertical-align: middle;
    border-bottom: 2px solid transparent;
}
.menu ul select:hover {
    border-bottom-color: #F4F5F0; 
}
.menu ul select:focus {
    outline: none; 
}

/* Responsividade */
@media (max-width: 768px) {

    .project-case {
        flex-direction: column;
    }
    .language-selector {
        flex-direction: column;
        margin: 10px 0;
    }

    /* Tecnologias */
    .tech-icons {
        justify-content: center;
        padding-right: 0;
    }

    .tech-icon {
        width: 80px;
        height: 80px;
    }

    /* Conteúdo principal */
    .home-content {
        flex-direction: column; /* Empilha o texto e a imagem */
        align-items: center;
        margin-top: 20px;
    }

    .text-block {
        margin: 0;
        text-align: center;
        padding: 0 20px;
    }

    .image-block {
        margin: 20px 0;
        flex: none;
    }

    .profile-image {
        width: 300px;
        height: 300px;
    }

    .loading-screen {
        flex-direction: column; 
    }

    .ola, .hi, .ciao, .hola, .bonjour, .hallo, .gruezi {
        font-size: 30px;
        font-weight: bold;
        font-style: italic;
        color: #ffffff;
        opacity: 0;
        transition: opacity 0.15s ease;
        text-align: center;
        white-space: nowrap;
    }
    .menu {
        width: 100%; 
        text-align: center; 
        padding: 10px 0;
    }

    .menu ul {
        flex-direction: row; 
        justify-content: center; 
        padding: 0;
    }

    .menu ul li {
        margin-right: 15px; 
    }

    .menu ul li:last-child {
        margin-right: 0; 
    }

    .menu ul a {
        font-size: 18px; 
        padding: 10px 15px; 
    }

    .menu ul a:hover::after, 
    .menu ul a.active::after {
        background-color: #F4F5F0; 
    }
}

@media (max-width: 480px) {
    .menu ul {
        display: flex;
        justify-content: center;
        gap: 5px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .menu ul li {
        margin: 0;
    }
    
    .menu ul a {
        padding: 1px 5px; 
        font-size: 16px;
        text-decoration: none;
        color: #F4F5F0;
        display: block;
    }
    #language {
        font-size: 16px;
        padding: 3px 8px;
        width: 60px
    }
    #tech h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .technologies {
        flex-direction: column;
        gap: 30px;
    }

    .tech-icon {
        width: 80px;
        height: 80px;
    }

    .tech-info {
        top: 50%;
        left: 120%; 
        transform: translateY(-50%);
    }

    .tech-item:hover .tech-info {
        display: block;
    }

    #contact .contact-info {
        flex-direction: column;
        gap: 40px;
    }


    #contact .contact-item {
        text-align: center;
    }

    #contact .contact-icon {
        width: 80px;
        height: 80px;
    }

    #contact .contact-item p {
        font-size: 0.9rem;
    }
}