:root {
  --brand-red: #e3000f;
  --brand-black: #1a1a1a;
  --brand-grey: #f5f5f5;
  --theme-white: #ffffff;
  --theme-shadow-black: rgba(0, 0, 0, 0.2);
  --theme-border-grey: #ccc;
  --theme-text-grey: #b9b9b9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 18px;
  color: var(--brand-black);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--theme-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px var(--theme-shadow-black);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 1%;
}

.logo img {
  width: 100px;
}

.logo a {
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--brand-black);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--brand-black);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover,
nav a.active {
  color: var(--brand-red);
  font-weight: bold;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.header-title {
  font-size: 32px;
  font-weight: bold;
  text-underline-position: below;
  color: var(--brand-black);
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: var(--brand-red);
}

.content-style {
  font-size: 18px;
  font-weight: normal;
  color: var(--brand-black);
}

/* BOTTOM BAR */
.bottom-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 2%;
  background: var(--brand-black);
  color: var(--theme-white);
  margin-top: 50px;
  justify-content: space-between;
}

.bottom-bar a {
  color: var(--theme-white);
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-bar a:hover {
  color: var(--brand-red);
}

.bottom-bar h4 {
  color: var(--theme-white) !important;
}

.about-section {
  flex: 0 0 50%;
}

.links-section {
  flex: 0 0 10%;
  margin-left: 70px;
  gap: 5px;
  display: flex;
  flex-direction: column;
}

.contact-section {
  flex: 0 0 20%;
  margin-left: 10px;
}

.bottom-bar-contact {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-top: 5px;
}

.bottom-bar-contact_image {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* FOOTER */
footer {
  background: var(--brand-black);
  color: var(--theme-text-grey);
  text-align: center;
  padding: 15px;
}

.developer-name {
  color: var(--theme-white);
  font-weight: bolder;
}

.separator {
  border-top: 2px solid var(--theme-border-grey);
  width: 100%;
  margin: 15px 0%;
}

/* RESPONSIVE */
@media(max-width:1000px) {
  .bottom-bar {
    flex-direction: column;
    gap: 30px;
  }

  .header-inner {
    flex-direction: column;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 0 10px;
  }

  .about-section,
  .links-section,
  .contact-section {
    flex: 0 0 100%;
    margin-left: 0px;
  }

  body {
    font-size: 14px;
  }

  .header-title {
    font-size: 25px;
  }

  .content-style {
    font-size: 14px;
  }
}

@media(max-width:1200px) and (min-width:1000px) {
  .about-section {
    flex: 0 0 40%;
  }

  .links-section {
    flex: 0 0 10%;
  }
}