:root {
  --primary: #76ABAE;
  --secondary: #6196A6;
  --dark-bg: #31363F;
}

html, body {
  height: 100%;
  margin: 0;
  background-color: #31363F; /* fills the bottom white bar */
}

section {
  background-color: var(--dark-bg);
  color: whitesmoke;
}

h1, h1.title-header, h2 {
  color: var(--primary);
}

.hover-link {
  text-decoration: none;
  color: whitesmoke; 
  padding: 3px 3px; 
}

.hover-link:hover,
.hover-link:hover .bi {
  color: var(--secondary); 
  fill: var(--primary); 
}

hr {
  border: none;         
  height: 2px;            
  background-color: white; 
  width: 60%;         
  margin: 20px auto;      
  opacity: 0.8;           
}

.center {
  text-align: center; 
  padding: 20px;
}

.rounded-link {
  display: inline-block; 
  padding: 10px 20px; 
  background-color: var(--secondary); 
  color: white; 
  text-decoration: none; 
  border-radius: 20px;
  transition: background-color 0.3s; 
}

.rounded-link:hover {
  background-color: var(--primary); 
}

.link-next {
  display: inline-block; 
  padding: 12px 24px; 
  text-align: center;
  color: var(--secondary); 
  background-color: white; 
  text-decoration: none; 
  border-radius: 30px; 
  font-weight: 600; 
  transition: all 0.3s ease; 
}

.link-next:hover {
  background-color: var(--primary); 
  color: whitesmoke;
}

/* --- FOOTER --- */
footer {
  background-color: var(--secondary);
  color: whitesmoke; 
}

footer span,
footer .small,
footer a,
footer a svg {
  color: whitesmoke;
  fill: whitesmoke;
  transition: color 0.3s ease, fill 0.3s ease;
}

footer a:hover,
footer a:hover svg {
  color: var(--primary);
  fill: var(--primary);
}

.text-footer {
  color: whitesmoke;
}

/* --- Images --- */
.skills-image {
  border-radius: 50%;
  width: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.flex-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%; 
}

/* --- Personality list --- */
#personality ul li strong {
  color: var(--primary); 
  font-weight: 600;
}

/* --- Responsive fixes --- */
@media (max-width: 1000px) { 
  .img-md-center {
    display: flex;
    justify-content: center;
  }
}

/* --- Navbar links --- */
.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #76ABAE; 
}

/* --- Separator ( | ) --- */
.navbar-nav .text-white-50 {
  margin: 0 4px;
  font-size: 0.9rem;
}

ul li strong {
  color: #76ABAE;         
  font-weight: 700;       
  font-size: 1.05em;      
}

/* --- Carousel indicators --- */
.carousel-indicators [data-bs-target] {
  background-color: #6c757d; 
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #343a40; 
}


/* --- Responsive footer icons --- */
#footer svg {
  width: 24px;
  height: 24px;
}

#page-header .bi-house {
  width: 22px;
  height: 22px;
}

@media (max-width: 992px) { 
  #page-header .title-header {
    font-size: 2rem; 
  }
  #page-header .bi-house {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  #footer svg {
    width: 20px;
    height: 20px;
  }
  #footer span.small {
    font-size: 0.85rem;
  }
  #page-header .title-header {
    font-size: 1.6rem;
  }
  #page-header .bi-house {
    width: 18px;
    height: 18px;
  }
  #page-header a.hover-link {
    font-size: 0.9rem; 
  }
  .rounded-link strong {
    font-size: 0.9rem;  
  }
  .link-next {
    font-size: 0.9rem;  
  }


}

@media (max-width: 480px) {
  #footer svg {
    width: 18px;
    height: 18px;
  }
  #page-header .bi-house {
    width: 16px;
    height: 16px;
  }
  .rounded-link strong {
    font-size: 0.8rem;  
  }
  .link-next {
    font-size: 0.8rem;  
  }
}
