:root { --bg-dark-mode: #343a40; --bg-light-mode: #f8f9fa; --txt-dark-mode: #f8f9fa; --txt-light-mode: #343a40; } nav ul .nav-item:hover { border-bottom: 2px solid crimson; transition: all ease-in-out 0.2s; border-bottom-right-radius: 10px; } nav ul .nav-item { transition: all ease-in-out 0.2s; } body.light-mode { background-color: var(--bg-light-mode); color: var(--txt-light-mode); } body.dark-mode { background-color: var(--bg-dark-mode); color: var(--txt-dark-mode); } body.light-mode .navbar a.nav-link, body.light-mode .navbar .navbar-brand, body.dark-mode .custom-btn, body.dark-mode .card-header, body.dark-mode .card-body{ color: var(--txt-light-mode); } body.dark-mode .navbar a.nav-link, body.dark-mode .navbar .navbar-brand, body.light-mode .custom-btn, body.light-mode .card-header, body.light-mode .card-body{ color: var(--txt-dark-mode); } body.dark-mode .navbar-toggler, body.dark-mode .custom-btn, body.dark-mode .card-header, body.dark-mode .card-body { background-color: var(--bg-light-mode); } body.light-mode .custom-btn, body.light-mode .card-header, body.light-mode .card-body{ background-color: var(--bg-dark-mode); } body.light-mode .custom-btn{ border-color: var(--txt-dark-mode); } body.dark-mode .custom-btn{ border-color: var(--txt-light-mode); } body.light-mode .custom-btn:hover{ background-color: var(--bg-light-mode); color: var(--bg-dark-mode); border-color: var(--bg-light-mode); } body.dark-mode .custom-btn:hover{ background-color: var(--bg-dark-mode); color: var(--txt-dark-mode); border-color: var(--txt-dark-mode); } body.dark-mode .other-custom-btn{ background-color: var(--bg-dark-mode); color: var(--bg-light-mode); border-color: var(--bg-light-mode); } body.light-mode .other-custom-btn{ background-color: var(--bg-light-mode); color: var(--bg-dark-mode); border-color: var(--bg-dark-mode); } body.dark-mode .other-custom-btn:hover{ background-color: var(--bg-light-mode); color: var(--bg-dark-mode); border-color: var(--bg-light-mode); } body.light-mode .other-custom-btn:hover{ background-color: var(--bg-dark-mode); color: var(--bg-light-mode); border-color: var(--bg-dark-mode); } .profile_pic { height: 200px; width: 200px; border-radius: 35%; } .box-img { width: 350px; height: 350px; } .box-img img { width: 100%; height: 100%; object-fit: fill; } @media (max-width: 349px) { .box-img { width: 300px; height: 300px; } } .cursor-pointer{ cursor: pointer; } .skill-icon img{ height: 40px; width: 40px; } .intro { display: flex; align-items: center; } .arrow { position: sticky; bottom: 100px; left: 95%; width: 35px; height: 35px; z-index: 1; cursor: pointer; display: none; } .icon{ width: 25px; height: 25px; } .social-media-icon{ width: 40px; height: 40px; } @media screen and (max-width: 400px){ .intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .intro-txt{ width: 100%; text-align: center; } }