* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: monospace; color: white; background-color: #e3e3e3; padding: 20px; } section { min-height: 90vh; display: flex; justify-content: center; align-items: center; } .card-width { box-shadow: 9px 10px 16px 2px rgba(0,0,0,0.47); height: auto; min-height: 600px; width: 100%; max-width: 400px; background-color: #141211; border-radius: 30px; border: 2px solid orange; padding: 30px 20px; background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.821)), url(../img/bg.png); background-repeat: no-repeat; background-size: contain; background-position: center; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 20px; position: relative; margin: 20px 0; overflow: hidden; } .card-width::after { content: ""; position: absolute; top: calc(var(--y, 0) * 1px - 100px); left: calc(var(--x, 0) * 1px - 100px); width: 200px; height: 200px; background: radial-gradient(rgb(255, 120, 47), #ff7e3900 70%); transition: opacity 0.2s; pointer-events: none; z-index: 10; opacity: var(--opacity, 0); } /* Circular Text Container - Responsive */ .circular-text-container { position: absolute; width: 180px; height: 180px; left: 50%; top: 22%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; } @media (min-width: 768px) { .circular-text-container { width: 220px; height: 220px; top: 24%; } } .circular-text { position: absolute; width: 100%; height: 100%; animation: rotateText 20s linear infinite; } .circular-text span { position: absolute; left: 50%; font-size: 12px; transform-origin: 0 90px; color: rgba(255, 255, 255, 0.8); text-transform: uppercase; letter-spacing: 1px; } @media (min-width: 768px) { .circular-text span { font-size: 14px; transform-origin: 0 110px; } } @keyframes rotateText { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Profile Picture - Responsive Finally ;) */ .profile-pic-container { position: relative; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; z-index: 2; margin-top: 18px; } /* Styles for devices with a max width of 768px */ @media screen and (max-width: 768px) { .profile-pic-container { position: relative; top: -26px; width: 150px; height: 150px; } } @media screen and (max-width: 393px) { .profile-pic-container { position: relative; top: -10px; width: 150px; height: 150px; } } .profile-pic-container img { width: 100%; height: 100%; object-fit: cover; object-position: center; } /* Name - Responsive */ .card-width .fullName { font-size: 2.5rem; margin: 10px 0; font-family: "Allura", cursive; position: relative; z-index: 3; } @media (min-width: 768px) { .card-width .fullName { font-size: 3.5rem; } } /* Social Media - Responsive */ .socmed { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .socmed a { color: rgba(255, 255, 255, 0.869); font-size: 1rem; padding: 7px; transition: all 0.3s ease; } @media (min-width: 768px) { .socmed a { font-size: 1.1rem; } } .socmed a:hover { background-color: #b7b5b542; border-radius: 10px; transform: translateY(-3px); } /* Info Buttons - Responsive */ .info { flex-direction: column; display: flex; align-items: center; gap: 15px; width: 100%; } .info a { text-decoration: none; transition: all 0.3s ease; max-width: 220px; box-sizing: border-box; display: inline-block; } .info .viewMore { padding: 10px 30px; background-color: white; border-radius: 25px; color: #141211; font-weight: bold; } .info .viewMore:hover { background-color: orange; color: white; } .info .resume { padding: 10px 25px; border: 1px solid white; border-radius: 25px; color: white; } .info .resume:hover { background-color: rgba(255, 255, 255, 0.1); border-color: orange; } /* Features - Responsive */ .features { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 10px; } .features span { background-color: rgb(36, 35, 35); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; } @media (min-width: 768px) { .features span { padding: 8px 15px; font-size: 0.9rem; } }