html {
  scroll-behavior: smooth;
  scroll-padding-top: 65px;
}

body {
  background-color: #f8f6fc !important;
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: "Major Mono Display", monospace;
  font-style: normal;
}

main {
  margin: 0 10px;
  padding-top: 65px;
}

footer {
  background: linear-gradient(135deg, #2e5266 0%, #b4a7d6 100%);
  color: #f8f6fc;
  text-align: center;
  padding: 5px;
}

footer p {
  font-size: 14px;
}

footer a {
  color: #f8f6fc;
  font-size: 20px;
  margin-right: 5px;
}

footer a:hover {
  color: #2e5266;
}

ul {
  list-style-type: none;
  padding-left: 0 !important;
}

form {
  text-align: left;
}

span,
small {
  display: block;
}

.container {
  margin: 20px;
  padding: 0;
}

.navbar {
  background: linear-gradient(135deg, #2e5266 0%, #b4a7d6 100%);
}

.navbar .navbar-brand {
  font-family: "Major Mono Display", monospace;
  font-weight: 700;
  color: #b4a7d6;
}

.navbar .navbar-nav {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
}

.navbar .nav-link {
  color: #f8f6fc;
}

.hero {
  max-width: 1920px;
  padding: 5%;
  text-align: center;
  background: linear-gradient(135deg, #2e5266 0%, #b4a7d6 100%);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-header {
  background-color: #f8f6fc;
  border: 1px solid #f8f6fc;
  border-radius: 6px 6px 0 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-header-controls,
.cta-header-controls,
.img-window-header-controls,
.toolkit-header-controls,
.learning-header-controls,
.next-header-controls,
.portfolio-header-controls,
.form-window-header-controls,
.fe-header-controls {
  margin: 0 15px;
  font-family: monospace;
  font-size: 14px;
  color: #666;
}

.hero-content {
  border: 1px solid #f8f6fc;
  border-top: none;
  background-color: #b4a7d6ad;
  padding: 10%;
  border-radius: 0 0 6px 6px;
  color: #f8f6fc;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(180, 167, 214, 0.8),
    0 0 100px rgba(180, 167, 214, 0.4);
}

.hero-button .btn-custom,
.cta .btn-custom,
.form-window-content .btn-custom,
.work-cta .btn-custom {
  background-color: #2e5266;
  color: #f8f6fc;
  border: 2px solid #2e5266;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.hero-button .btn-custom,
.cta .btn-custom,
.work-cta .btn-custom {
  padding: 12px 24px;
}

.hero-button .btn-custom:hover,
.cta .btn-custom:hover,
.form-window-content .btn-custom:hover,
.work-cta .btn-custom:hover {
  background-color: #f8f6fc;
  color: #2e5266;
  transform: translateY(-2px);
}

.hero p {
  font-size: 28px;
  font-family: "Major Mono Display", monospace;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-30px) translateX(10px) rotate(180deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-40px) translateX(-15px) rotate(270deg);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 0.6;
  }
  50% {
    transform: translateY(-25px) translateX(20px) rotate(360deg);
  }
}

.hero::before,
.hero::after {
  content: "✦";
  position: absolute;
  color: rgba(57, 255, 20, 0.8);
  font-size: 16px;
  pointer-events: none;
}

.hero::before {
  top: 30%;
  left: 20%;
  animation: float1 8s ease-in-out infinite;
}

.hero::after {
  top: 50%;
  right: 12%;
  animation: float2 10s ease-in-out infinite 2s;
}

.hero-content::before {
  content: "✧";
  position: absolute;
  top: 25%;
  left: 65%;
  color: rgba(57, 255, 20, 0.8);
  font-size: 20px;
  animation: float3 7s ease-in-out infinite 1s;
}

.hero-content::after {
  content: "★";
  position: absolute;
  bottom: 20%;
  left: 15%;
  color: rgba(57, 255, 20, 0.8);
  font-size: 16px;
  animation: float1 9s ease-in-out infinite 3s;
}

.recent-projects h2,
.about-blurb h2,
.cta h2 {
  font-size: 26px;
  color: #2e5266;
}

.about-blurb-link .learn-more-link,
.recent-projects-link .see-more-link {
  text-decoration: none;
  color: #b4a7d6;
}

.about-blurb-link .learn-more-link:hover,
.recent-projects-link .see-more-link:hover {
  text-decoration: underline;
  color: #2e5266;
}

.recent-projects img {
  border: 1px solid #2e5266;
  border-radius: 6px;
  max-width: 100%;
  height: auto;
}

.cta {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-content {
  border: 1px solid #2e5266;
  border-top: none;
  background-color: #b4a7d6;
  padding: 8%;
  border-radius: 0 0 6px 6px;
  color: #f8f6fc;
  text-align: center;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.cta-header {
  background-color: #f8f6fc;
  border: 1px solid #2e5266;
  border-radius: 6px 6px 0 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cta h2 {
  color: #f8f6fc;
}

.cta::before {
  content: "✦";
  position: absolute;
  top: 30%;
  right: 15%;
  color: rgba(57, 255, 20, 0.8);
  font-size: 18px;
  animation: float3 7s ease-in-out infinite 1s;
  pointer-events: none;
}

.cta::after {
  content: "★";
  position: absolute;
  top: 70%;
  left: 30%;
  color: rgba(57, 255, 20, 0.8);
  font-size: 18px;
  animation: float2 6s ease-in-out infinite;
  pointer-events: none;
}

.heading h1 {
  color: #2e5266;
}

.opening,
.work-with-me,
.file-explorer {
  background: linear-gradient(135deg, #2e5266 0%, #b4a7d6 100%);
  padding: 1%;
  margin: 0 auto;
  border-radius: 6px;
  color: #f8f6fc;
  max-width: 90%;
}

.img-window {
  max-width: 600px;
}

.img-window,
.form-window {
  text-align: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.img-window-header,
.portfolio-header,
.form-window-header {
  background-color: #f8f6fc;
  border: 1px solid #f8f6fc;
  border-radius: 6px 6px 0 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.img-window-content,
.portfolio-content,
.form-window-content {
  border: 1px solid #f8f6fc;
  border-top: none;
  background-color: #b4a7d6b9;
  padding: 5%;
  border-radius: 0 0 6px 6px;
  text-align: center;
}

.profile-img {
  border-radius: 6px;
}

.heading h1 {
  font-size: 36px;
}

.opening,
.work-with-me {
  position: relative;
}

.opening::before {
  content: "✦";
  position: absolute;
  top: 10%;
  left: 30%;
  color: rgba(57, 255, 20);
  font-size: 18px;
  animation: float1 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.opening::after {
  content: "✦";
  position: absolute;
  top: 45%;
  left: 10%;
  color: rgb(55, 255, 20);
  font-size: 16px;
  animation: float2 10s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 1;
}

.img-window::before {
  content: "★";
  position: absolute;
  top: 75%;
  right: 25%;
  color: rgba(57, 255, 20);
  font-size: 20px;
  animation: float3 7s ease-in-out infinite 1s;
  pointer-events: none;
  z-index: 1;
}

.focus,
.personal {
  max-width: 900px;
  margin: 0 auto;
}

.opening h2,
.focus h2,
.personal h2,
.work-with-me h2 {
  margin-bottom: 20px;
  font-size: 26px;
}

.skills {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.skills h2 {
  font-size: 20px;
}

.skills::before {
  content: "✦";
  position: absolute;
  top: 30%;
  left: 8%;
  color: rgba(57, 255, 20);
  font-size: 18px;
  animation: float1 9s ease-in-out infinite;
  pointer-events: none;
}

.skills::after {
  content: "★";
  position: absolute;
  top: 60%;
  right: 40%;
  color: rgba(57, 255, 20);
  font-size: 16px;
  animation: float2 11s ease-in-out infinite 2s;
  pointer-events: none;
}

.skills-content::before {
  content: "✧";
  position: absolute;
  top: 30%;
  right: 10%;
  color: rgba(57, 255, 20);
  font-size: 20px;
  animation: float3 8s ease-in-out infinite 1s;
  pointer-events: none;
}

.skills-content::after {
  content: "✦";
  position: absolute;
  bottom: 15%;
  left: 25%;
  color: rgba(57, 255, 20);
  font-size: 16px;
  animation: float1 10s ease-in-out infinite 3s;
  pointer-events: none;
}

.toolkit-header,
.learning-header,
.next-header {
  background-color: #f8f6fc;
  border: 1px solid #2e5266;
  border-radius: 6px 6px 0 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.toolkit-window,
.learning-window,
.next-window,
.file-explorer-window {
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.4);
}

.toolkit-content,
.learning-content,
.next-content {
  border: 1px solid #2e5266;
  border-top: none;
  background-color: #b4a7d6;
  padding: 8%;
  border-radius: 0 0 6px 6px;
  color: #f8f6fc;
  text-align: center;
}

.file-explorer,
.work-cta {
  position: relative;
}

.file-explorer-window {
  max-width: 800px;
  margin: 0 auto;
}

.fe-header {
  background-color: #f8f6fc;
  border: 1px solid #f8f6fc;
  border-radius: 6px 6px 0 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.explorer-content {
  display: flex;
  border: 1px solid #f8f6fc;
  border-radius: 0 0 6px 6px;
  border-top: none;
  background-color: #b4a7d6;
  min-height: 250px;
  padding: 2%;
}

.explorer-sidebar {
  background-color: #b4a7d6;
  border-radius: 0 0 0 6px;
  min-width: 150px;
}

.explorer-tab-content {
  border: 1px solid #f8f6fc;
  color: #2e5266;
  background-color: #f8f6fc;
  padding: 0 1%;
}

.file-explorer .card-title {
  font-size: 22px;
  border-bottom: 1px solid #2e5266;
  padding-bottom: 10px;
}

.file-explorer .card-body {
  padding: 1%;
}

.folder-item,
.doc-item {
  font-size: 14px;
  background-color: #2e5266;
  border-radius: 0;
}

.folder-item a,
.doc-item a {
  color: #f8f6fc;
}

.file-explorer .nav-link {
  padding: 5px;
  transition: all 0.2s ease-in-out;
}

.file-explorer .nav-link.active {
  background-color: #f8f6fc !important;
  color: #2e5266 !important;
  border-radius: 0px !important;
  border-right: 1px solid #f8f6fc !important;
}

.file-explorer .nav-link:hover {
  color: #2e5266;
  background-color: #f8f6fc;
  border-radius: 0 !important;
}

.file-explorer .nav-link:visited {
  color: #f8f6fc !important;
}

.file-explorer-style {
  border: none !important;
}

.approach-lists-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3%;
}

.approach-lists-content h2,
.work-cta h2 {
  font-size: 26px;
}

.approach-lists-content h3 {
  border-bottom: 1px solid #f8f6fc;
}

.approach-lists-content h3,
.work-cta p {
  font-size: 22px;
}

.portfolio {
  margin: 0 auto;
  max-width: 90%;
  position: relative;
}

.portfolio-content h2 {
  margin-bottom: 30px;
  padding: 0;
  color: #f8f6fc;
}

.portfolio-window {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

.portfolio-content .card-body {
  background: #f8f6fc;
  color: #2e5266 !important;
  display: flex;
  flex-direction: column;
}

.portfolio-content .portfolio-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.portfolio-content .card-body .btn-custom {
  background: #2e5266;
  color: #f8f6fc;
  font-size: 14px;
  margin-top: auto;
}

.file-explorer::before {
  content: "✦";
  position: absolute;
  top: 15%;
  left: 8%;
  color: rgba(57, 255, 20);
  font-size: 18px;
  animation: float1 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.file-explorer::after {
  content: "★";
  position: absolute;
  top: 65%;
  right: 15%;
  color: rgba(57, 255, 20);
  font-size: 16px;
  animation: float2 10s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 1;
}

.work-cta::before {
  content: "✧";
  position: absolute;
  top: 20%;
  left: 10%;
  color: rgba(57, 255, 20);
  font-size: 20px;
  animation: float3 7s ease-in-out infinite 1s;
  pointer-events: none;
  z-index: 1;
}

.work-cta::after {
  content: "✦";
  position: absolute;
  bottom: 25%;
  right: 8%;
  color: rgba(57, 255, 20);
  font-size: 18px;
  animation: float1 9s ease-in-out infinite 3s;
  pointer-events: none;
  z-index: 1;
}

.work-with-me h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.form-window {
  max-width: 500px;
}

.offer-list,
.technical-list,
.results-list,
.portfolio-list {
  list-style-type: none;
  margin-top: 0;
  display: inline-block;
  text-align: left;
}

.offer-list li::before,
.technical-list li::before,
.results-list li::before,
.portfolio-list li::before {
  content: "✦";
  margin-right: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 5px;
  font-size: 14px;
}

.contact-form label {
  font-size: 14px;
  margin: 1px;
}

.social-grid {
  max-width: 350px;
  margin: 0 auto;
}

.social-link i {
  font-size: 42px;
  color: #b4a7d6;
}

.social-link i:hover {
  color: #2e5266;
}

.link-desc {
  font-size: 14px;
}

.work-with-me::before {
  content: "✦";
  position: absolute;
  top: 15%;
  right: 20%;
  color: rgba(57, 255, 20);
  font-size: 18px;
  animation: float1 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.work-with-me::after {
  content: "★";
  position: absolute;
  bottom: 40%;
  left: 10%;
  color: rgba(57, 255, 20);
  font-size: 16px;
  animation: float2 10s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 1;
}

.form-window::before {
  content: "✦";
  position: absolute;
  bottom: 5%;
  left: 10%;
  color: rgba(57, 255, 20);
  font-size: 16px;
  animation: float3 7s ease-in-out infinite 1s;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 1400px) {
  .opening,
  .work-with-me,
  .file-explorer {
    max-width: 1200px;
  }
}

@media (max-width: 991px) {
  .portfolio {
    padding: 1rem;
  }

  .portfolio-content {
    padding: 2rem;
  }

  .approach-lists-content h3,
  .work-cta p {
    font-size: 20px;
  }
}

@media (max-width: 790px) {
  .approach-lists-content h3,
  .work-cta p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  main {
    margin: 0 5px;
  }

  .hero {
    padding: 3%;
  }

  .hero h1,
  .cta h2,
  .heading h1,
  .work-with-me h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 20px;
  }

  .cta {
    max-width: 90%;
    margin: 20px auto;
  }

  .focus.mt-5 {
    margin-top: 15px !important;
  }

  .personal.mt-4 {
    margin-top: 0px !important;
  }

  .opening h2,
  .focus h2,
  .personal h2,
  .approach-lists-content h2,
  .work-cta h2 {
    font-size: 22px;
  }

  .skills {
    max-width: 300px;
  }
}

@media (max-width: 540px) {
  .file-explorer .card-title {
    font-size: 16px;
  }

  .folder-item,
  .doc-item,
  .file-explorer .card-text {
    font-size: 14px;
  }

  .explorer-sidebar {
    min-width: 125px;
  }

  .explorer-content {
    min-height: 275px;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .cta h2,
  .heading h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-button .btn-custom,
  .cta-button .btn-custom {
    padding: 10px 20px;
    font-size: 14px;
  }

  .opening h2,
  .focus h2,
  .personal h2,
  .work-with-me h2 {
    font-size: 20px;
  }

  .work-with-me h3 {
    font-size: 18px;
  }

  .form-window {
    max-width: 95%;
  }

  .explorer-content {
    min-height: 350px;
  }

  .explorer-sidebar {
    width: 75px;
    min-width: 75px;
  }

  .file-explorer .nav-link {
    font-size: 10px;
    padding: 4px 2px;
    white-space: normal;
    line-height: 1.2;
  }

  .file-explorer .nav-link i {
    display: block;
    font-size: 16px;
  }

  .approach-lists-content h2,
  .portfolio-content h2,
  .portfolio-content .card-title,
  .work-cta h2 {
    font-size: 18px;
  }

  .approach-lists-content h3 {
    font-size: 16px;
  }

  .approach-lists-content li,
  .work-cta p,
  .portfolio-content .card-text {
    font-size: 14px;
  }

  .work-cta .btn-custom {
    font-size: 14px;
    padding: 6px 16px;
  }

  .portfolio {
    max-width: 100%;
  }

  .portfolio-content {
    padding: 3%;
  }
}
