:root {
  --dark: rgba(11, 23, 35, 1);
  --blue: rgba(6, 90, 139, 1);
  --light-blue: rgba(168, 183, 195, 1);
  --yellow: rgba(208, 205, 34, 1);
  --light-yellow: rgba(208, 205, 34, 0.5);
  --light: rgba(236, 255, 206, 1);
}

body {
  background: var(--dark);
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

main {
  background-color: #0b1723;
  background-image: url("/assets/img/stardust.png");
  background-attachment: fixed;
}

.navbar {
  background: transparent;
  transition: 0.75s ease;
}

.navbar .container {
  border-bottom: 1px solid var(--light);
}

.navbar.scrolled {
  background: var(--dark);
}

.navbar-brand.logo {
  transition: 0.3s ease;
  color: var(--light);
}

.navbar-brand.logo:hover {
  color: var(--light-yellow);
}

.navbar-brand.logo:visited {
  color: var(--light);
}

.navbar i {
  color: var(--light);
  font-size: 22px;
  padding: 0;
  margin-left: 15px;
  transition: 0.3s ease;
}

.navbar i:hover {
  color: var(--light-yellow);
}

.home-section {
  max-width: 100vw;
  height: 100vh;
  background-image: url('/assets/img/home-background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 0.3rem;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
  color: var(--light);
  opacity: 80%;
  text-shadow: 3px 0px 3px var(--dark);
}

.baffle-title {
  margin-bottom: 20px;
  font-size: 2.5em;
}

.about-info,
.experience-info,
.portfolio-info {
  border-left: 1px solid var(--blue);
  border-radius: 10px;
}

.about h1 {
  font-size: 10em;
  font-weight: bolder;
  letter-spacing: 0.1em;
  color: var(--light-yellow);
}

.download-btn {
  border: 1px solid var(--yellow);
  background-color: var(--yellow);
  opacity: 80%;
  color: var(--dark);
}

.download-btn i {
  font-weight: bolder;
}

.download-btn a {
  text-decoration: none;
}

.download-btn:hover {
  background-color: var(--yellow);
  color: var(--dark);
  opacity: 50%;
}

.about-section p {
  font-size: 1.5em;
  color: var(--light-blue);
}

.experience h1 {
  font-size: 5.3em;
  font-weight: bolder;
  letter-spacing: 0.1em;
  color: var(--light-yellow);
}

.experience-section h4 {
  font-weight: bold;
  margin-bottom: 0px;
  color: var(--light-blue);
}

.experience-section a {
  text-decoration: none;
  color: var(--blue);
  font-size: 1.2em;
  font-weight: bold;
  transition: 0.5s ease;
}

.experience-section a:hover {
  text-decoration: underline;
  color: var(--light);
}

.experience-section article p {
  color: var(--light-yellow);
}

.experience-section article ul li {
  color: var(--light-blue)
}

.experience-section aside {
  border-top: 1px solid var(--light);
  border-radius: 10px;
  padding: 20px 0px 20px 20px;
  margin-top: 100px;
}

.experience-section aside p {
  font-size: 1.3em;
  color: var(--light-blue);
}

.experience-section aside li {
  font-size: 1.3em;
  list-style-type: circle;
  color: var(--yellow);
}

.portfolio h1 {
  font-size: 6.4em;
  font-weight: bolder;
  letter-spacing: 0.1em;
  color: var(--light-yellow);
}

.project {
  margin-top: 50px;
  border-radius: 5px;
}

.card {
  border: 1px solid var(--blue);
  color: var(--light-blue);
  background: var(--blue);
}

.card-body {
  background: var(--dark);
  border-radius: 5px;
}

.card-body .project-date {
  color: var(--light-yellow);
}

.project-img {
  background: var(--blue);
  position: relative;
}

.project-img img {
  transition: 0.5s ease;
}

.project-img:hover img {
  opacity: 50%;
}

.project-links {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.project-img:hover .project-links {
  display: block;
}

.project-links .btn {
  background: var(--yellow);
  color: var(--dark);
  width: 80%;
  margin: 10px;
  transition: 0.5s ease;
}

.project-links .btn:hover {
  background: var(--light-yellow);
  border: 1px solid var(--yellow);
}

footer .display-1 {
  color: var(--light-yellow);
}

.footer-links li {
  list-style: none;
  margin-top: 10px;
}

.footer-links li a {
  text-decoration: none;
  color: var(--light-blue);
  font-weight: bold;
  transition: 0.3s ease;
}

.footer-links li a:hover {
  color: var(--blue);
}

footer .portrait {
  max-width: 200px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 50%;
}

footer .portrait img {
  width: 100%;
  height: auto;
}

footer p {
  color: var(--light-yellow)
}

@media screen and (max-width: 1400px) {

  .baffle-title {
    font-size: 1.8em;
  }

  .about h1 {
    font-size: 7em;
  }

  .about-section p {
    font-size: 1.3em;
  }

  .experience h1 {
    font-size: 3.7em;
  }

  .portfolio h1 {
    font-size: 4.5em;
  }

  .project-img img {
    opacity: 50%;
  }

  .project-links {
    display: block;
  }
}

@media screen and (max-width: 992px) {

  .baffle-title {
    font-size: 1.5em;
  }

  .about h1 {
    font-size: 5em;
  }

  .about-section p {
    font-size: 1.1em;
  }

  .experience h1 {
    font-size: 2.65em;
  }

  .experience-section h4,
  .experience-section a,
  .experience-section aside p,
  .experience-section aside li {
    font-size: 1.1em;
  }

  .portfolio h1 {
    font-size: 3.2em;
  }

  footer .portrait {
    max-width: 150px;
    max-height: 150px;
  }
}

@media screen and (max-width: 768px) {

  .baffle-title {
    font-size: 1.3em;
  }

  .about h1 {
    font-size: 7em;
  }

  .experience h1 {
    font-size: 3.7em;
  }

  .portfolio h1 {
    font-size: 4.5em;
  }
}

@media screen and (max-width: 576px) {

  .baffle-title {
    font-size: 1em;
  }

  .about h1 {
    font-size: 5em;
  }

  .experience h1 {
    font-size: 2.65em;
  }

  .portfolio h1 {
    font-size: 3.2em;
  }

  .footer-section {
    flex-direction: column;
  }

  footer .portrait {
    max-width: 100px;
    max-height: 100px;
  }
  
}

@media screen and (max-width: 400px) {

  .baffle-title {
    font-size: 0.7em;
  }
}

