@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&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&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: gray;
}

h1 {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    color: pink;
    font-weight: 200;
    font-size: 3.3rem;
    font-family: "Lobster", sans-serif;
    font-style: normal;
}

p {
    text-align: center;
    font-size: 1.2rem;
    color: pink;
    font-family: 'Poppins', sans-serif;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.item {
    position: relative;
    transition: transform 0.5s;
}

.item img {
    border-radius: 10px;
    display: block;
    width: 350px;
    height: auto;
}

.png {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 60%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.item:hover {
    transform: scale(1.02);
}

.item:hover .png {
    opacity: 1;
}

.links:hover .item:not(:hover) {
    filter: blur(3px);
}

.links:hover .teclado:hover {
    filter: blur(3px);
}

.links:hover .mousepad:hover {
    filter: blur(3px);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
        text-align: center;
        padding: 0 10px;
    }

    p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .item img {
        width: 90vw; /* ocupa quase toda a largura da tela */
        max-width: 320px;
    }

    .png {
        width: 70%;
    }

    .links {
        gap: 1.5rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .item img {
        width: 90vw;
        max-width: 280px;
    }

    .png {
        width: 75%;
    }

    .links {
        gap: 1rem;
    }
}