body {
    margin: 0;
    padding: 0;
}

.content {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(calc(17% + 100px), 1fr));
    gap: 5px;
    margin-top: 10px;
}

input,
textarea {
    width: 100%;
    margin-bottom: 20px;
}

img {
    width: 100%;
    height: auto;
}

.header {
    background-color: #958181;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
}

.header h1 {
    margin: 0;
}

.header h1 a {
    text-decoration: none;
    color: #ffffff;
    font-size: 28px;
}

.lang-switch {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-switch a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: #6d5a5a;
    padding: 5px 10px;
    border-radius: 6px;
}

.lang-switch a:hover {
    background: #5a4a4a;
}

.logo-header {
    position: absolute;
    left: 20px;
    width: 60px;
    height: auto;
    border-radius: 8px;
}

.footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    border-top: 2px solid #ddd;
    color: #555;
    font-size: 14px;
}

.contenedor {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.adopcion img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.btn-container {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
}

.btn {
    padding: 10px 18px;
    background-color: #ff7b00;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}

.btn:hover {
    background-color: #e56f00;
}

.content a {
    text-decoration: none;
    color: #222;
}

.content a h3 {
    color: #222;
}

h4 {
    font-size: 20px;
}

h3 {
    font-size: 30px;
    margin-top: 0.5rem;

}

.content h3 {
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 600px) {

    .header {
        padding: 10px 15px;
    }

    .header h1 a {
        font-size: 20px;
    }

    .logo-header {
        width: 40px;
        right: 10px;
    }

    .lang-switch a {
        padding: 3px 6px;
        font-size: 12px;
    }

    .content {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .content h3 {
        font-size: 20px;
    }

    .formulario-box {
        max-width: 90%;
        padding: 15px;
    }

    form input,
    form textarea {
        font-size: 14px;
        padding: 8px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 14px;
    }

    .contenedor {
        max-width: 90%;
        padding: 15px;
    }

    .adopcion img {
        border-radius: 8px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }
}