/* /////////////////////////////////////////////////////////////////////////////
Body
///////////////////////////////////////////////////////////////////////////// */
:root {
  --dark-base: #172339; /*  */
  --dark-accent: #1d2c47; /*  */
  --medium-base: #182844; /*  */
  --light-base: #4a52b0; /*  */
  --primary: #0aa79f; /*  */
  --red-accent: #b64e2e; /*  */
  --light-accent: #d9b08c; /*  */
  --white: #ffffff; /*  */

  --page-padding: 15vw;
  --sim-pro-max-height: 300px;
}

body {
  --s: 150px; /* control the size*/
  --c1: var(--dark-accent);
  --c2: var(--dark-base);

  background: linear-gradient(135deg, #0000 18.75%, var(--c1) 0 31.25%, #0000 0),
    repeating-linear-gradient(45deg, var(--c1) -6.25% 6.25%, var(--c2) 0 18.75%);
  background-size: var(--s) var(--s);
  color: var(--white);
  font-family: "Roboto", sans-serif;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

.body-container {
  width: calc(100% - 2 * var(--page-padding));
  margin: 0 var(--page-padding);
}

@media (max-width: 768px) {
  .body-container {
    width: 100%;
    margin: 0;
  }
}

section {
  padding: 15px 0;
  overflow: hidden;
}

p {
  font-family: "Roboto", sans-serif;
}

a,
a:hover {
  color: var(--red-accent);
}

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

.section-header h1 {
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-top: 60px;
  padding-bottom: 20px;
  position: relative;
}

.section-header h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  font-family: "Mochiy Pop P One", sans-serif;
}

.section-header h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 4px;
  background: var(--white);
  bottom: 0;
  left: calc(50% - 50px);
}

.section-header p {
  margin-bottom: 0;
  font-size: 18px;
}

.center-align {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
/* /////////////////////////////////////////////////////////////////////////////
Side Navbar
///////////////////////////////////////////////////////////////////////////// */
#side-navbar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  #side-navbar {
    width: 300px;
    background: var(--dark-base);
    border-right: 1px solid var(--light-accent);
    left: -300px;
  }
}

@media (min-width: 768px) {
  .sm-navbar {
  visibility: hidden;
  height: 0;
  }
}

.side-nav-menu {
  display: block;
  padding: 0;
}

.side-nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.side-nav-menu a,
.side-nav-menu a:focus {
  display: flex;
  align-items: center;
  color: var(--light-accent);
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 20px;
  border-radius: 50px;
  border: 2px solid var(--white);
  background: var(--dark-base);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.side-nav-menu .active,
.side-nav-menu .active:focus {
  border: 2px solid var(--red-accent);
}

.side-nav-menu a i,
.side-nav-menu a:focus i {
  font-size: 26px;
}

.side-nav-menu a span,
.side-nav-menu a:focus span {
  padding: 0 3px 0 7px;
  color: var(--white);
}

@media (min-width: 768px) {
  .side-nav-menu a,
  .side-nav-menu a:focus {
    width: 56px;
  }

  .side-nav-menu a span,
  .side-nav-menu a:focus span {
    display: none;
    color: var(--light-accent);
  }
}

.side-nav-menu a:hover,
.side-nav-menu .active,
.side-nav-menu .active:focus,
.side-nav-menu li:hover > a {
  color: var(--dark-base);
  background: var(--light-accent);
}

.side-nav-menu a:hover span,
.side-nav-menu .active span,
.side-nav-menu .active:focus span,
.side-nav-menu li:hover > a span {
  color: var(--dark-base);
}

.side-nav-menu a:hover,
.side-nav-menu li:hover > a {
  width: 100%;
  color: var(--dark-base);
}

.side-nav-menu a:hover span,
.side-nav-menu li:hover > a span {
  display: inline-block;
}

#side-navbar .nav-link {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

/* /////////////////////////////////////////////////////////////////////////////
Top Navbar
///////////////////////////////////////////////////////////////////////////// */
#top-navbar {
  padding-bottom: 20px;
}

.top-nav-menu {
  background-color: var(--red-accent);
  color: var(--white);
}

.top-nav-menu a {
  color: inherit;
}

.top-nav-menu a:hover {
  color: var(--white);
}

.navbar-toggler {
  color: var(--white);
}

.navbar-nav {
  margin-left: auto;
  margin-bottom: 0;
}

#top-navbar .container-fluid,
.sm-navbar .container-fluid {
  margin: 0;
}

@media (min-width: 768px) {
  #top-navbar .container-fluid,
  .sm-navbar .container-fluid {
    margin: 0 var(--page-padding);
  }  
}  

#top-navbar .dropdown-menu {
  background-color: var(--red-accent);
  color: var(--white);
}

#top-navbar .dropdown-item {
  color: inherit;
}

#top-navbar .logout-button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
}

/* /////////////////////////////////////////////////////////////////////////////
Hero
///////////////////////////////////////////////////////////////////////////// */
#hero {
  position: relative;
  width: 100%;
  /* height: 70vh; */
  min-height: 230px;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-attachment: fixed;
  color: var(--white);
}

@media (max-width: 767px) {
  #hero {
    background-attachment: scroll;
  }
}

#hero h1 {
  color: var(--primary);
  text-align: center;
  font-family: "Mochiy Pop P One", sans-serif;
}

#hero h2 {
  text-align: center;
  padding-top: 10px;
}

#hero h4 {
  text-align: center;
  font-family: "Mochiy Pop P One", sans-serif;
}

#hero .img-container {
  display: flex;
  align-items: center;
  max-height: 500px;
  max-width: 500px;
  height: auto;
  width: auto;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 10px solid var(--red-accent);
}

@media (max-width: 767px) {
  #hero .img-container {
    max-height: 300px;
    max-width: 300px;
  }
}

#hero .headshot-img {
  display: flex;
  align-items: center;
}

#hero img {
  height: 100%;
  width: auto;
}

@media (max-width: 767px) {
  #hero .hero-buttons {
    visibility: hidden;
    height: 0;
  }
}

#hero .btn {
  background-color: var(--red-accent);
  color: var(--white);
}

#hero .btn:hover {
  background-color: var(--white);
  color: var(--dark-base);
}

#hero .container {
  position: relative;
}

#hero .text-slider-items {
  display: none;
}

/* /////////////////////////////////////////////////////////////////////////////
Cover About Section
///////////////////////////////////////////////////////////////////////////// */
.about-card {
  background-color: var(--medium-base);
  border-radius: 10px;
  overflow: hidden;
  border: 1px var(--primary) solid;
}

.about-flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#about h1 {
  color: var(--medium-accent);
}

#about h3 {
  text-align: center;
  font-size: 46px;
  font-family: "Dongle", sans-serif;
  margin-top: 10px;
}

#about p {
  font-size: 18px;
}

#about .btn {
  background-color: var(--dark-base);
  color: var(--white);
  margin-bottom: 10px;
}

#about .btn:hover {
  background-color: var(--white);
  color: var(--dark-base);
}

/* /////////////////////////////////////////////////////////////////////////////
Projects Cover Page
///////////////////////////////////////////////////////////////////////////// */
#projects {
  width: 100%;
  background-size: cover;
}

#projects #project-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background-color: inherit;
  border-radius: 50px;
  padding: 2px 15px;
  font-family: "Mochiy Pop P One", sans-serif;
}

#projects #project-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#projects #project-flters li:hover,
#projects #project-flters li.active-filter {
  padding: 9px 15px;
  color: var(--light-accent);
  background-color: var(--red-accent);
  border: 3px var(--primary) solid;
  border-radius: 20px;
}

#projects #project-flters li:last-child {
  margin-right: 0;
}

#projects .project-item {
  overflow: hidden;
  height: auto;
  background-color: inherit;
  padding: 10px 12px;
}

#projects .card {
  overflow: hidden;
  border-width: 5px;
  height: auto;
  background-color: var(--primary);
  border-radius: 15px;
}

#projects .project-item img {
  position: relative;
  top: 0;
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}

#projects .project-item .project-info {
  opacity: 0;
  position: absolute;
  bottom: -50px;
  z-index: 2;
  transition: all ease-in-out 0.3s;
  background-color: var(--dark-base);
  width: 100%;
  padding: 15px 20px;
}

#projects .project-info a {
  font-size: 18px;
  color: var(--red-accent);
  font-family: "Mochiy Pop P One", sans-serif;
}

#projects .project-item .project-info p {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 0;
}

#projects .card:hover img {
  top: -30px;
}

#projects .card:hover .project-info {
  opacity: 1;
  bottom: 0;
}

#projects .project-item .project-tags-container {
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
}

#projects .project-item .project-tags-container::-webkit-scrollbar {
  display: none;
}

#projects .project-item .project-tags {
  border-radius: 15px;
  background-color: var(--dark-base);
  display: inline;
  padding: 0px 5px;
  margin: 0 3px;
  font-size: 16px;
  border: var(--light-accent) solid 2px;
  align-content: center;
}

#projects .project-tags p {
  display: inline-block;
  color: var(--white);
}

/* /////////////////////////////////////////////////////////////////////////////
Footer
///////////////////////////////////////////////////////////////////////////// */
#contact {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: var(--red-accent);
  color: var(--medium-accent);
  text-align: center;
}

#contact a {
  color: var(--white);
}

.goat-icon {
  width: 100px;
  height: auto;
}

@media (max-width: 767px) {
  .goat-icon {
    width: 60px;
  }
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 30px;
  max-height: 75px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  fill: var(--red-accent);
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  opacity: 0.7;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  opacity: 0.5;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  opacity: 0.3;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
  opacity: 1;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/*Shrinking for mobile*/
@media (max-width: 767px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }
}

/* /////////////////////////////////////////////////////////////////////////////
Skills
///////////////////////////////////////////////////////////////////////////// */
.skill-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 10px 5px;
}

.skill-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  padding: 10px 8px;
  border: 2px var(--light-accent) solid;
  border-radius: 10px;
  /* background-color: rgba(10, 167, 159, 0.1); */
  background: linear-gradient(180deg, rgba(26,40,68,0.9), rgba(36,48,88,0.85));

}

.skill-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  height: 51px;
  width: 51px;
  margin-bottom: 10px;
  border-radius: 50%;
  /* background-color: var(--red-accent); */
  background-image: radial-gradient(var(--red-accent) 80%, var(--dark-base));
  color: var(--light-accent);
}

.skill-title {
  text-decoration: underline;
}

.skill-description {
  text-align: left;
  margin-bottom: 0;
  /* padding: 7px; */
}

.skill-rating {
  width: 90%;
  border: 3px solid var(--dark-accent);
}

#skills progress {
    height: 25px;
    border-radius: 5px;
    margin-bottom: 5px;
    -webkit-appearance: none; /* Required for WebKit styling */
    appearance: none;
    accent-color: var(--primary);
}

#skills progress::-webkit-progress-bar {
    background-color: var(--red-accent);
    border-radius: 5px;
}

#skills progress::-webkit-progress-value {
    background-color: var(--primary); /* Blue filled portion */
    border-radius: 5px;
}

#skills progress::-moz-progress-bar {
    background-color: var(--primary); /* Blue filled portion for Firefox */
    border-radius: 5px;
}

/* /////////////////////////////////////////////////////////////////////////////
Experience
///////////////////////////////////////////////////////////////////////////// */
#experience .experience-title {
  font-size: 30px;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--white);
}

#experience .experience-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #376e6f;
  position: relative;
  text-align: left;
}

#experience h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Verdana", sans-serif;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: left;
}

#experience h5 {
  font-size: 16px;
  background: var(--primary);
  /* Edit this color for dates */
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
  text-align: left;
}

#experience p {
  color: var(--red-accent);
  font-family: "Mochiy Pop P One", sans-serif;
}

#experience .experience-item ul {
  padding-left: 20px;
}

#experience .experience-item ul li {
  padding-bottom: 10px;
}

#experience .experience-item:last-child {
  padding-bottom: 0;
}

#experience .experience-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--white);
  border: 2px solid var(--primary);
}

/* /////////////////////////////////////////////////////////////////////////////
Project List
///////////////////////////////////////////////////////////////////////////// */
.timeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .timeline-col {
    visibility: hidden;
    height: 10px;
  }
}

.project-bullet {
  position: relative;
  width: 60px;
  height: 60px;
  top: 5px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--red-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

.project-line {
  position: relative;
  width: 3px;
  height: 90%;
  top: -10px;
  border-radius: 50px;
  background: var(--white);
  border: 2px solid var(--primary);
  z-index: -1;
}

#project-list .project-block {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 20px 50px 20px 50px;
  margin-bottom: 15px;
  border: 5px var(--dark-base) solid;
  transition: 0.25s;
  overflow: hidden;
}

#project-list .project-block:hover {
  border-color: var(--light-accent);
  background-color: #b64e2e;
}

#project-list .project-title {
    font-size: 28px;
    color: var(--light-accent);
    text-align: center;
    font-family: "Mochiy Pop P One", sans-serif;
    margin-top: 5px;
    margin-bottom: 0.5rem;
}

#project-list .project-block:hover .project-title {
  text-decoration: underline;
}

#project-list .project-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 3px var(--dark-base) solid;
}

#project-list .project-img .project-cover {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 15px 0 0 45px;
  border: 5px solid var(--red-accent);
}

@media (max-width: 768px) {
  #project-list .project-img .project-cover {
    max-width: 800px;
    aspect-ratio: 4/3;
    border-radius: 15px 45px 0 0;
    border-width: 5px;
  }
}

#project-list .project-img .project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  #project-list .project-img {
    border-right: 0px;
  }
}

#project-list .project-block .project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#project-list .project-info {
  font-size: 20px;
  padding: 10px;
}

#project-list .project-info p {
  margin-bottom: 3px;
}

#project-list .project-description {
  border-top: var(--dark-base) solid 2px;
  border-bottom: var(--dark-base) solid 2px;
  margin: 5px 5% 5px 5%;
  padding: 5px 0;
}

@media (max-width: 768px) {
  #project-list .project-description {
    margin: 0 0 5px 0;
  }
}

#project-list a:hover,
a {
  text-decoration: none;
}

#project-list .project-tags-container {
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
  display: flex;
  justify-content: flex-start;
}

#project-list .project-tags {
  border-radius: 15px;
  background-color: var(--dark-base);
  display: inline;
  padding: 2px 5px;
  margin: 0 3px;
  font-size: 16px;
  border: var(--medium-base) solid 2px;
  align-content: center;
}

#project-list .project-tags p {
  display: inline-block;
  color: var(--white);
  margin: 0;
}

/* /////////////////////////////////////////////////////////////////////////////
Project Detail Page
///////////////////////////////////////////////////////////////////////////// */
#project_detail .title-block {
  border-bottom: solid var(--light-accent);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(217, 176, 140, 0.3);
  border-radius: 2rem 2rem 0 0;
}

#project_detail .top-row {
  display: flex;
  align-items: center;
  width: 80%;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (max-width: 768px) {
  #project_detail .top-row {
    width: 100%;
  }
}

#project_detail .project-type,
#project_detail .project-date {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 576px) {
  #project_detail .project-date {
    justify-content: flex-end;
  }
}

#project_detail .project-type h3,
#project_detail .project-type h3 {
  font-size: 18px;
  font-family: "Mochiy Pop P One", sans-serif;
}

#project_detail .project-type h3 {
  font-style: oblique;
  text-transform: uppercase;
  margin-bottom: 3px;
}

#project_detail .project-date h3 {
  font-style: italic;
}

#project_detail .project-tags-container {
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
}

#project_detail .project-tags-container::-webkit-scrollbar {
  display: none;
}

#project_detail .project-tags {
  border-radius: 15px;
  background-color: var(--primary);
  display: inline;
  padding: 0px 5px;
  margin: 0 3px;
  font-size: 16px;
  border: var(--medium-base) solid 2px;
  align-content: center;
}

#project_detail .project-tags p {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--white);
}

#project_detail .project-header .project-title {
  font-size: 38px;
  margin: 8px 0 12px 0;
  color: var(--primary);
  font-family: "Mochiy Pop P One", sans-serif;
}

#project_detail .project-title h1 {
  font-family: "Mochiy Pop P One", sans-serif;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 15px;
}

#project_detail .project-title h1::before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 4px;
  background: var(--white);
  bottom: 0px;
  left: calc(50% - 50px);
}

#project_detail .text-block {
  margin: 0;
}

#project_detail .text-container {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--dark-base);
  border-radius: 30px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 15px;
}

#project_detail .project-text-body {
  height: 100%;
  color: var(--white);
  background: linear-gradient(180deg, rgba(26,40,68,0.9), rgba(36,48,88,0.85));
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.03);
}

#project_detail .project-text-body p {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  padding-top: 10px;
}

@media (max-width: 400px) {
  #project_detail .project-text-body p {
    font-size: 14px;
  }
}

#project_detail .img-wrapper {
  border-radius: 20px 40px;
  border: 5px solid var(--dark-base);
  background-color: var(--primary);
  overflow: hidden;
  margin: 7px 0;
  align-self: center;
}

@media (max-width: 767px) {
  #project_detail .img-wrapper {
    width: 100%;
  }
}

#project_detail .project-header {
  padding: 30px 0 10px 0;
}

#project_detail .project-cover {
  max-width: 420px;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 12px;
  border: 8px solid var(--red-accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  padding: 0;
}

#project_detail .project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

#project_detail .project-meta .meta-top {
  margin-bottom: 10px;
}

#project_detail .project-type-badge {
  background: var(--light-accent);
  color: var(--dark-base);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

#project_detail .project-date {
  color: var(--light-accent);
  font-style: italic;
}

#project_detail .project-tags-list {
  margin-top: 6px;
}

#project_detail .tag-badge {
  display: inline-block;
  background: var(--dark-base);
  color: var(--white);
  padding: 6px 10px;
  margin-right: 6px;
  margin-bottom: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
}

#project_detail .page-row {
  border-top: 1px solid;
  border-color: var(--primary);
}

#project_detail .page-img img {
  max-height: 420px;
  object-fit: cover;
  width: 100%;
  border: 3px solid var(--red-accent);
}

@media (max-width: 768px) {
  #project_detail .project-header { padding: 18px 0; }
  #project_detail .project-header .project-title { font-size: 26px; }
  #project_detail .page-img img { max-height: 260px; }
  #project_detail .page-img { margin-top: 15px; }
  #project_detail .project-cover { max-width: 300px; aspect-ratio: 1/1; border-width:6px; }
  #project_detail .project-meta { margin-top: 15px; }
}

#similar-projects {
  width: 100vw;
  margin: 0 calc(-1 * var(--page-padding));
  position: relative;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  #similar-projects {
    margin: 0;
  }
}

#similar-projects .similar-projects-header h2 {
  color: var(--light-accent);
  padding-top: 20px;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 15px;
  position: relative;
  font-family: "Mochiy Pop P One", sans-serif;
}

#similar-projects .similar-projects-header h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 4px;
  background: var(--white);
  bottom: 0;
  left: calc(50% - 50px);
}

#similar-projects .project-carousel {
  background-color: var(--red-accent);
  width: auto;
  padding-bottom: 20px;
}

#similar-projects .carousel {
  height: 100%;
  width: 50%;
  margin: 0 30px;
  margin: auto;
}

#similar-projects .carousel-inner,
#similar-projects .carousel-item {
  max-height: var(--sim-pro-max-height);
  height: 100%;
}

#similar-projects .img-wrapper {
  max-height: var(--sim-pro-max-height);
  height: 100%;
  width: fit-content;
  border-radius: 20px 40px;
  border: 5px solid var(--primary);
  background-color: var(--primary);
  overflow: hidden;
  align-self: center;
  margin: auto;
  /* aspect-ratio: 16/9; */
}

#similar-projects img {
  max-height: var(--sim-pro-max-height);
  height: 100%;
  width: auto;
  background-color: var(--primary);
}

#similar-projects .carousel-caption {
  background-color: #172339;
  left: 0;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
  position: sticky;
}

#similar-projects .carousel-caption a,
#similar-projects .carousel-caption h5 {
  color: #ffffff;
  margin-bottom: 0;
}

/* /////////////////////////////////////////////////////////////////////////////
Accounts
///////////////////////////////////////////////////////////////////////////// */
#accounts .accounts-container {
  background-color: var(--light-accent);
  color: var(--dark-accent);
  padding: 20px 2rem;
  text-align: center;
  border: var(--dark-base) solid 3px;
  border-radius: 2rem;
  width: 80%;
}

@media (max-width: 768px) {
  #accounts .accounts-container {
    width: 95%;
  }
}

#accounts .form-input-table {
  display: flex;
  justify-content: center;
  padding-bottom: 15px;
}

#accounts .form-input {
  margin: 1rem 0;
}

#accounts .login-card {
  display: flex;
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.03));
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

#accounts .login-card-left {
  flex: 1 1 40%;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#accounts .login-card-left h2 {
  color: var(--primary);
  margin-bottom: 6px;
}

#accounts .login-card-left .muted {
  color: rgba(255,255,255,0.85);
}

#accounts .login-card-right {
  flex: 1 1 60%;
  padding: 8px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#accounts .form-input label {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-weight: 600;
}

#accounts .form-input input[type="text"],
#accounts .form-input input[type="password"],
#accounts .form-input input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.08);
  background: rgba(23,35,57,0.6);
  color: var(--white);
}

#accounts .form-actions { margin-top: 12px; }

.btn.primary-btn {
  background: var(--red-accent);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

#accounts .login-links { margin-top: 10px; }

@media (max-width: 1000px) {
  #accounts .accounts-container { width: 95%; }
  #accounts .login-card { flex-direction: column; }
  #accounts .login-card-left, #accounts .login-card-right { padding: 12px; }
}