@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@media screen and (min-width: 250px) {
    * {
        color: antiquewhite;
        font-family: "Parkinsans", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background: linear-gradient(to right, rgba(0, 4, 22, 0.9), rgba(22, 22, 22, 0.8));
        text-align: center;
        width: 100%;
        margin: 0;
    }

    #menu_burguer {
        display: block;
        margin: 5px;
        padding: 5px;
        font-size: 1.3rem;
    }

    .menu-nav {
        display: none;
    }

    .menu-nav.show {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #00f5ffe4;
    }

    .menu-nav a {
        text-decoration: none;
    }

    .menu-nav .fa-solid {
        position: absolute;
        right: 20px;
        margin: 5px;
        font-size: 1.2rem;
    }

    .menu-itens {
        margin: 15px;
        list-style: none;
    }

    #Projects,
    #Service,
    #Contact {
        margin: 33px 0;
    }

    .home {
        box-sizing: border-box;
        margin: 5px auto;
        padding: 5px;
    }

    .presentation {
        margin: 5px;
        padding: 5px;
    }

    .presentation h1 {
        font-size: 2rem;
        text-shadow: 1px 1px 2px black;
    }

    .presentation span {
        color: #00f5ffe4;
    }

    .function {
        font-style: italic;
        font-size: 0.9rem;
    }

    .photo {
        width: 75%;
        height: 50vh;
        margin: 5px auto;
        border-radius: 100px;
        box-shadow: 0px 0px 5px 2px rgba(0, 225, 255, 0.2);
        background: url("Images/foto_service.jpg") no-repeat center;
        background-size: cover;
    }

    .about {
        margin: 5px;
        padding: 5px;
    }

    .about-me {
        text-align: left;
    }

    .social {
        font-size: 2rem;
    }

    .skills-carousel-container {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
        width: 100%;
        margin: auto;
        padding: 10px;
    }

    .skills-carousel {
        display: flex;
        gap: 30px;
        transition: transform 0.4s ease-in-out;
    }

    .item-skill {
        flex: 0 0 auto;
        width: 120px;
        height: 120px;
        background-color: #e5f6ff;
        border-top-left-radius: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
        position: relative;
    }

    .item-skill::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 0.3rem;
        background-image: linear-gradient(90deg, #2d9aff 0%, #0e84e4 92.32%);
        bottom: -0.1rem;
        left: 0;
    }

    .skill {
        width: 50px;
        height: 50px;
        margin-bottom: 5px;
    }

    .text-skill {
        color: black;
    }

    .projects {
        min-height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .projects-container {
        position: relative;
        width: 100%;
        margin: 5px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .project {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin: 10px;
    }

    .title-projects {
        font-size: 1.2rem;
        margin: 5px;
        text-shadow: 1px 1px 2px black;
        color: #e5f6ff;
    }

    .project-img {
        object-fit: contain;
        transition: all 0.5s ease;
        border-radius: 10px;

    }

    .btn-project {
        background: #e5f6ff;
        color: black;
        width: 15vw;
        height: 4vh;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        box-shadow: -3px 3px 20px #002b80;
        cursor: pointer;
    }

    .project-info-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        overflow: auto;
    }

    .project-info-modal.show {
        display: flex;
    }

    .project-info-content {
        background: #e5f6ff;
        color: #000;
        padding: 20px;
        border-radius: 10px;
        max-width: 90%;
        text-align: center;
        position: relative;
        max-height: 100vh;
        overflow-y: auto;
    }

    .project-info-content p {
        color: black;
    }

    .close-modal {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
        color: red;
    }

    .description-project {
        font-size: 1.2rem;
        margin: 20px;
        text-align: left;
    }

    .services {
        min-height: 35vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .type-service {
        margin: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service {
        margin: 10px;
        gap: 10px;
        position: relative;
        text-align: center;
        background-color: #e5f6ff;
        width: 16rem;
        height: 40vh;
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-top-left-radius: 2.5rem;
        cursor: pointer;
        transition: 0.2s;
    }

    .service::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 0.3rem;
        background-image: linear-gradient(90deg, #2d9aff 0%, #0e84e4 92.32%);
        bottom: -0.1rem;
        left: 0;
    }

    .service-name {
        color: black;
        font-size: 1.5rem;
    }

    .service .fa-solid {
        color: black;
        font-size: 2rem;
    }

    .service-description {
        color: black;
        text-align: center;
        margin: 5px;
        font-size: 1rem;
    }

    .services a{
        text-decoration: none;
    }

    .btn-orcamento {
        color: #0e84e4;
        font-style: italic;
        margin: 5px;
        background: #e5f6ff;
        width: 35vw;
        height: 5vh;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
    }

    .click {

        margin-top: revert-layer;
        font-size: 10px;
        font-style: italic;
    }

    .contact {
        min-height: 25vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .box-contact {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .item-contact .fa-brands {
        font-size: 2rem;
        margin: 10px;
    }

    .subtitle {
        font-size: 1.5rem;
        margin: 5px;
        text-shadow: 1px 1px 2px black;
        color: #00f5ffe4
    }
}

@media screen and (min-width: 480px) {
    .photo {
        width: 50%;
        height: 25vh;
        border-radius: 150px;
    }
}

@media screen and (min-width: 768px) {
    .home {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .photo {
        width: 150vw;
        height: 56vh;
        border-radius: 150px;
    }

    .carousel-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
    }

    .carousel-img.focused {
        max-width: 500px;
        height: auto;
        border-radius: 20px;
    }

    .type-service {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (min-width: 1024px) {
    #menu_burguer {
        display: none !important;
    }

    .menu {
        min-height: 7vh;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .menu-nav {
        display: flex;
        position: fixed;
        z-index: 9999;
        justify-content: center;
        width: 100vw;
        flex-direction: row;
    }

    ul {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
    }

    .menu-nav li a {
        text-decoration: none;
        margin: 15px;
    }

    .menu-nav ul .fa-solid {
        display: none;
    }

    .menu-nav ul li a:hover {
        color: #00f5ffe4;
    }

    .nav-link {
        position: relative;
        color: antiquewhite;
        text-decoration: none;
    }

    .nav-link.active::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #00f5ffe4;
        bottom: -5px;
        left: 0;
    }

    .projects-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .project {
        display: flex;
        align-items: center;
        gap: 10px;
        transition: transform 0.5s ease;
    }

    .btn-orcamento{
        width: 15vw;
    }
}

@media screen and (min-width: 1200px) {
    .photo {
        width: 52%;
        height: 60vh;
        border-radius: 150px;
    }

    .presentation h1 {
        font-size: 3rem;
    }

}