diff --git a/proyecto2/style.css b/proyecto2/style.css
index fd6dfbb..7635562 100644
--- a/proyecto2/style.css
+++ b/proyecto2/style.css
@@ -143,6 +143,15 @@ input[type="range"]::-webkit-slider-thumb {
-webkit-backdrop-filter: blur(16px);
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
z-index: 1000;
+ text-decoration: none;
+ outline: none;
+}
+
+.back-btn:focus-visible {
+ background: rgba(255, 255, 255, 0.1);
+ transform: translateY(-2px);
+ border-color: var(--accent-color);
+ box-shadow: 0 0 0 4px var(--bg-color), 0 0 0 6px var(--accent-color);
}
.back-btn:hover {
diff --git a/script.js b/script.js
index 56bdf15..a13151f 100644
--- a/script.js
+++ b/script.js
@@ -1,16 +1 @@
-window.onload = function () {
- const routes = {
- "btn-p1": "proyecto1/proyecto1.html",
- "btn-p2": "proyecto2/proyecto2.html"
- };
-
- Object.keys(routes).forEach(id => {
- const element = document.getElementById(id);
-
- if (element) {
- element.onclick = () => {
- window.location.href = routes[id];
- };
- }
- });
-};
+// No longer needed as we use semantic
tags for navigation.
diff --git a/style.css b/style.css
index f563ad8..3b64d2f 100644
--- a/style.css
+++ b/style.css
@@ -79,8 +79,22 @@ header p {
flex-direction: column;
justify-content: space-between;
position: relative;
- overflow: hidden;
+ overflow: visible;
animation: fadeInUp 0.8s ease-out both;
+ text-decoration: none;
+ outline: none;
+}
+
+.card:focus-visible {
+ transform: translateY(-8px);
+ border-color: var(--accent-color);
+ box-shadow: 0 0 0 4px var(--bg-color), 0 0 0 6px var(--accent-color), 0 20px 40px rgba(0, 0, 0, 0.3);
+}
+
+.card:focus-visible .btn {
+ background: var(--accent-gradient);
+ border-color: transparent;
+ box-shadow: 0 8px 16px rgba(56, 189, 248, 0.2);
}
.card:nth-child(2) {