AI Enginner | Deep Learning Engineer | Computer Vision
- diff --git a/images/coder.png b/images/coder.png new file mode 100644 index 0000000..81762d1 Binary files /dev/null and b/images/coder.png differ diff --git a/styles.css b/styles.css index a935b3d..90749b4 100644 --- a/styles.css +++ b/styles.css @@ -79,21 +79,58 @@ body { color: #2c3e50; } -.profile-image { +.profile-card { width: 200px; height: 200px; margin: 2rem auto; + perspective: 1000px; + cursor: pointer; +} + +.profile-card-inner { + position: relative; + width: 100%; + height: 100%; + text-align: center; + transition: transform 0.8s; + transform-style: preserve-3d; +} + +.profile-card:hover .profile-card-inner { + transform: rotateY(180deg); +} + +.profile-card-front, +.profile-card-back { + position: absolute; + width: 100%; + height: 100%; + backface-visibility: hidden; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 3px solid #fff; } -.profile-image img { +.profile-card-front { + background-color: #fff; +} + +.profile-card-back { + background-color: #2c3e50; + transform: rotateY(180deg); +} + +.profile-card-front img, +.profile-card-back img { width: 100%; height: 100%; object-fit: cover; - object-position: center; +} + +.profile-card-back img { + object-fit: cover; + filter: brightness(0.9) contrast(1.1); } /* About Section */ @@ -283,7 +320,7 @@ footer { font-size: 2.5rem; } - .profile-image { + .profile-card { width: 180px; height: 180px; } @@ -336,7 +373,7 @@ footer { font-size: 0.95rem; } - .profile-image { + .profile-card { width: 150px; height: 150px; }