/* Custom styles */
body {
    font-family: 'Montserrat', sans-serif;
}

main {
    background-color: white;
    z-index: 2;
}

a {
    text-decoration: none;
    /* Removes underlines from links */
}

/* Navbar styling */

.navbar .nav-link {
    color: #ccc;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff;
    background-color: #495057;
}

#quote {
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

#quote:hover {
    white-space: normal;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 8px;
}

/* Sidebar styling */
.sidebar {
    background-image: url('images/sunrise_mobile.jpeg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-right: 1px solid #dee2e6;
    min-height: 100vh;
}

.sidebar .profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #000000;
    border-radius: 50%;
}

.social-icons {
    display: flex;
    gap: calc(1rem + 1vw);
    background-color: #1a1313;
    border: 2px solid #000000;
    padding-left: 0.5rem;
    border-radius: 10%;
}

.social-icons a {
    margin-right: 0.5rem;
    color: #333;
    font-size: 2.5rem;
}

.social-icons a i {
    color: rgb(255, 255, 255);
}

.social-icons a i:hover {
    color: #ffffffd5;
}

.project-card {
    transition: transform 0.2s;
}

.project-card:hover {
    transform: scale(1.02);
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  background-image: url("images/loader.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* or 'cover' if you want it to fill the screen completely */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}