
:root {
  --color-page-bg: #444;
  --color-header-bg: #333;
  --color-header-border: #222;
  --color-text-main: #ddd;
  --color-text-muted: #b8b8b8;
  --color-accent: #f90;
  --color-toggler-border: rgba(255, 255, 255, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: 16px;
  color: var(--color-text-muted);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  background-color: var(--color-page-bg);
}

header {
  width: 100%;
  padding: 0;
  border-bottom: 1px solid var(--color-header-border);
  background-color: var(--color-header-bg);
}

.header-nav {
  padding: 1rem 1.5rem;
  background-color: var(--color-header-bg);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 1rem;
  color: inherit;
  text-decoration: none;
}

.brand-wrap:hover,
.brand-wrap:focus {
  color: inherit;
  text-decoration: none;
}

.logo-img {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 50%;
  background-image: url("../images/studio.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: left;
}

.brand-text {
  display:flex;
  flex-direction: column;
  line-height: 1.1; 
}

.site-name {
  display: inline-block;
  white-space: nowrap;
  color: var(--color-text-main);
  font-size: 2.625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.name-accent {
  color: var(--color-accent);
}

.site-description {
  color: var(--color-text-muted);
  font-size: 1.2rem;
  margin-bottom: 10px;

}

.header-nav .nav-link {
  color: var(--color-text-main);
}

.header-nav .nav-link:hover,
.header-nav .nav-link:focus,
.header-nav .nav-link.active {
  color: var(--color-accent);
}

.header-nav .navbar-toggler {
  border-color: var(--color-toggler-border);
}

.header-nav .navbar-toggler:focus {
  box-shadow: none;
}

.header-nav .navbar-toggler-icon {
  filter: invert(1);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.social-links a:visited {
  color: var(--color-text-muted);
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
  color: var(--color-accent);
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .header-nav .container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .brand-wrap {
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    text-align: center;
  }

  .brand-text {
    align-items: center;
    text-align: center;
  }

  .site-name,
  .site-description {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .header-nav .navbar-toggler {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .header-nav .navbar-collapse {
    width: 100%;
  }

  .header-nav .nav-links {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .header-nav .nav-item,
  .header-nav .nav-link {
    text-align: center;
  }
}
