* {
    font-family: "Share Tech Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

#fotogato {
    position: absolute;
    padding-left: 14px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

body {
    background-color: white;
}

#minhafoto {
    border: 4px solid red;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container h1 {
    text-align: center;
    color: red;
}

.container h2 {
    text-align: center;
    color: indianred;
    font-size: 30px;
}

.container p {
    text-align: center;
    color: black;
    font-size: 20px;
}

strong {
    color: red;
}

.container a {
    font-size: 20px;
    color: black;
    text-decoration: none;
}

.container a:hover {
    transition: 0.3s;
    color: red;
}

ul img {
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 100%;
}

ul li {
    list-style-type: none;
    font-size: 20px;
}

footer p {
    padding-top: 70px;
    text-align: center;
    color: black;
    font-size: 20px;
}

hr {
    border: 1px solid black;
    width: 100%;
}

#engbutton {
    color: red;
}

#modoingles a {
    text-decoration: underline;
}

#email {
    padding-top: 40px;
    text-align: center;
}

#email strong {
    color: black;
}

#email strong:hover {
    color: red;
    transition: 0.3s;
}

.container navbar nav a {
    text-decoration: underline;
    margin: 0 20px;
}

.tecnologiasicones {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    border: 2px solid indianred;
    padding: 10px;
    border-radius: 200px;
    margin: 0 100px;
}

.tecnologiasicones img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
}

.tecnologiasicones img:hover {
    opacity: 0.3;
    transform: scale(1.4);
    transition: 0.7s;
}

/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */
/* ANIMACOES DE FUNDO, NAO MEXER */

.dots-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
}

/* Animações diferentes para cada bolinha */
@keyframes float1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translate(30px, -120px) scale(1.3);
        opacity: 0.6;
    }
    90% {
        opacity: 0.8;
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translate(-40px, -100px) scale(1.1);
        opacity: 0.5;
    }
    90% {
        opacity: 0.7;
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        transform: translate(20px, -90px) scale(1.4);
        opacity: 0.4;
    }
    90% {
        opacity: 0.9;
    }
}

/* Bolinhas específicas com posições e animações */
.dot:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    top: 20%;
    animation: float1 7s infinite ease-in-out;
}
.dot:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    top: 60%;
    animation: float2 5s infinite ease-in-out 1s;
}
.dot:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 30%;
    top: 40%;
    animation: float3 8s infinite ease-in-out 2s;
}
.dot:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 40%;
    top: 70%;
    animation: float1 6s infinite ease-in-out 0.5s;
}
.dot:nth-child(5) {
    width: 50px;
    height: 50px;
    left: 50%;
    top: 30%;
    animation: float2 7s infinite ease-in-out 1.5s;
}
.dot:nth-child(6) {
    width: 25px;
    height: 25px;
    left: 60%;
    top: 50%;
    animation: float3 5.5s infinite ease-in-out 3s;
}
.dot:nth-child(7) {
    width: 45px;
    height: 45px;
    left: 70%;
    top: 20%;
    animation: float1 6.5s infinite ease-in-out 2.5s;
}
.dot:nth-child(8) {
    width: 35px;
    height: 35px;
    left: 80%;
    top: 65%;
    animation: float2 7.5s infinite ease-in-out 1s;
}
.dot:nth-child(9) {
    width: 55px;
    height: 55px;
    left: 15%;
    top: 80%;
    animation: float3 8.5s infinite ease-in-out 0.8s;
}
.dot:nth-child(10) {
    width: 28px;
    height: 28px;
    left: 85%;
    top: 35%;
    animation: float1 5.8s infinite ease-in-out 2.2s;
}
.dot:nth-child(11) {
    width: 42px;
    height: 42px;
    left: 25%;
    top: 15%;
    animation: float2 6.2s infinite ease-in-out 3.5s;
}
.dot:nth-child(12) {
    width: 38px;
    height: 38px;
    left: 45%;
    top: 85%;
    animation: float3 7.2s infinite ease-in-out 1.8s;
}
.dot:nth-child(13) {
    width: 22px;
    height: 22px;
    left: 65%;
    top: 45%;
    animation: float1 5.5s infinite ease-in-out 4s;
}
.dot:nth-child(14) {
    width: 48px;
    height: 48px;
    left: 75%;
    top: 75%;
    animation: float2 8s infinite ease-in-out 0.3s;
}
.dot:nth-child(15) {
    width: 32px;
    height: 32px;
    left: 5%;
    top: 50%;
    animation: float3 6.8s infinite ease-in-out 2.8s;
}
.dot:nth-child(16) {
    width: 26px;
    height: 26px;
    left: 90%;
    top: 25%;
    animation: float1 5.2s infinite ease-in-out 1.2s;
}
.dot:nth-child(17) {
    width: 52px;
    height: 52px;
    left: 35%;
    top: 55%;
    animation: float2 7.8s infinite ease-in-out 3.2s;
}
.dot:nth-child(18) {
    width: 36px;
    height: 36px;
    left: 55%;
    top: 10%;
    animation: float3 6.5s infinite ease-in-out 4.5s;
}
.dot:nth-child(19) {
    width: 44px;
    height: 44px;
    left: 12%;
    top: 90%;
    animation: float1 7.3s infinite ease-in-out 0.7s;
}
.dot:nth-child(20) {
    width: 30px;
    height: 30px;
    left: 95%;
    top: 55%;
    animation: float2 6s infinite ease-in-out 2s;
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: white;
}

/* ============================================ */
/* MEDIA QUERIES PARA RESPONSIVIDADE */
/* ============================================ */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container h1 {
        font-size: 1.5rem;
        padding-right: 0;
    }

    #fotogato {
        width: 50px;
        height: 50px;
        padding-left: 10px;
    }

    .tecnologiasicones {
        margin: 20px 50px;
        padding: 15px;
    }

    .tecnologiasicones img {
        width: 30px;
        height: 30px;
        margin: 5px;
    }

    .container navbar nav a {
        margin: 0 15px;
        font-size: 18px;
    }
}

/* Celulares grandes e tablets pequenos (481px - 768px) */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .container h1 {
        font-size: 1.2rem;
        line-height: 1.4;
        padding-right: 0;
    }

    #fotogato {
        width: 40px;
        height: 40px;
        padding-left: 8px;
        position: static;
        display: block;
        margin: 10px auto;
    }

    #minhafoto {
        width: 120px;
        height: 120px;
    }

    .container h2 {
        font-size: 24px;
    }

    .container p {
        font-size: 16px;
    }

    pre {
        padding: 0 10px;
    }

    pre p {
        font-size: 16px;
    }

    .container a {
        font-size: 16px;
    }

    .container navbar nav {
        flex-direction: column;
        gap: 15px;
    }

    .container navbar nav a {
        margin: 0;
        display: block;
        padding: 10px;
        font-size: 16px;
        display: inline-block;
    }

    .tecnologiasicones {
        margin: 20px 20px;
        padding: 15px;
        border-radius: 30px;
    }

    .tecnologiasicones img {
        width: 30px;
        height: 30px;
        margin: 8px 5px;
    }

    ul li {
        font-size: 16px;
        margin-bottom: 15px;
    }

    ul img {
        width: 25px;
        height: 25px;
    }

    footer p {
        font-size: 16px;
        padding: 40px 10px;
    }
}

/* Celulares pequenos (até 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .container h1 {
        font-size: 1rem;
        line-height: 1.5;
        word-wrap: break-word;
    }

    #fotogato {
        width: 35px;
        height: 35px;
        padding-left: 5px;
    }

    #minhafoto {
        width: 100px;
        height: 100px;
        border: 3px solid red;
    }

    .container h2 {
        font-size: 20px;
    }

    .container p {
        font-size: 14px;
        padding: 0 10px;
    }

    pre {
        padding: 0 5px;
        margin: 10px 0;
    }

    pre p {
        font-size: 14px;
        line-height: 1.6;
    }

    .container a {
        font-size: 14px;
    }

    .container navbar nav a {
        font-size: 14px;
        padding: 8px;
    }

    .tecnologiasicones {
        margin: 15px 10px;
        padding: 10px;
        border-radius: 20px;
    }

    .tecnologiasicones img {
        width: 30px;
        height: 30px;
        margin: 5px 3px;
    }

    .tecnologiasicones img:hover {
        transform: scale(1.2);
    }

    ul {
        padding: 0 10px;
    }

    ul li {
        font-size: 14px;
        margin-bottom: 12px;
        word-wrap: break-word;
    }

    ul img {
        width: 22px;
        height: 22px;
    }

    footer p {
        font-size: 14px;
        padding: 30px 10px;
    }

    #email {
        padding-top: 30px;
    }

    /* Ajustar animações de fundo para celulares */
    .dot {
        opacity: 0.5;
    }

    .dot:nth-child(n + 11) {
        display: none;
    }
}

/* Celulares muito pequenos (até 360px) */
@media screen and (max-width: 360px) {
    .container h1 {
        font-size: 0.9rem;
    }

    #minhafoto {
        width: 90px;
        height: 90px;
    }

    .container h2 {
        font-size: 18px;
    }

    .container p {
        font-size: 13px;
    }

    pre p {
        font-size: 13px;
    }

    .tecnologiasicones {
        margin: 10px 5px;
    }

    .tecnologiasicones img {
        width: 28px;
        height: 28px;
        margin: 4px 2px;
    }

    .container navbar nav a {
        font-size: 13px;
    }
}
