/* * * {
  border: 1px solid red;
} */

:root {
  --dark-blue: #001625;
  --shadow-dark-blue: #061e2e;
  --light-blue: #defbf8;
  --shadow-light-blue: #c9f1ed;
  --medium-blue: #8cf0e6;
  --green: #678983;
  --light-yellow: #e2e898;
  --mid-yellow: #d7e53f;
  --dark-yellow: #aebc01;
  --violet: #be6eff;
  --brown: #b35529;
}

body {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
}

.theme-dark {
  background-color: var(--dark-blue);
  color: var(--light-blue);
}

.theme-light {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}

/* Header */

header {
  height: 100vh;
  width: 25%;
  position: fixed;
  top: 150px;
  margin-left: 10rem;
}

header a {
  text-decoration: none;
  color: var(--light-blue);
}

@media screen and (max-width: 992px) {
  header {
    width: 100%;
    position: relative;
    top: 0;
    margin-top: 20%;
    margin-left: unset;
    text-align: center;
  }
}

.nav-link-dark {
  margin-left: 0rem;
  display: block;
  text-decoration: none;
  color: var(--light-blue) !important;
  transition: all 0.3s;
}

.nav-link-light {
  margin-left: 0rem;
  display: block;
  text-decoration: none;
  color: var(--dark-blue) !important;
  transition: all 0.3s;
}

.nav-link-dark.active,
.nav-link-dark:hover {
  margin-left: 1rem;
  font-size: 1.5rem;
  color: var(--light-yellow) !important;
}

.nav-link-light.active,
.nav-link-light:hover {
  margin-left: 1rem;
  font-size: 1.5rem;
  color: var(--violet) !important;
}

.navbar-nav {
  display: block !important;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

/* Fonts */

p {
  font-weight: lighter;
}

h2 {
  font-size: 1.2rem;
  font-weight: lighter;
}

h3 {
  font-size: 1.7rem;
}

.font-bold {
  font-weight: 600;
}

/* Links */

.links-dark {
  text-decoration: none;
  color: var(--light-blue);
  transition: all 0.2s;
}

.links-light {
  text-decoration: none;
  color: var(--dark-blue);
  transition: all 0.2s;
}

/* Get in touch */

.contact-btn {
  text-decoration: none;
  transition: all 0.2s;
}

.contact-btn:hover {
  font-size: 1.1rem;
}

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

.violet {
  color: var(--violet);
}

.links-dark:hover,
.links-light:hover {
  font-size: 1.3rem;
}

.fa-dark {
  font-size: 2.5rem;
  color: var(--light-blue);
}

.fa-light {
  font-size: 2.5rem;
  color: var(--dark-blue);
}

.fa-brands:hover {
  cursor: pointer;
  transition: all 0.3s;
  font-size: 2.7rem;
}

/* Cards */

.box-right {
  width: 50%;
  margin-top: 50px;
  margin-right: 10rem;
}

@media screen and (max-width: 992px) {
  .box-right {
    width: 100%;
    margin-right: 2px;
    margin-left: 2px;
  }
}

.card-dark {
  background-color: var(--dark-blue);
  color: var(--light-blue);
  border-color: var(--dark-blue);
  margin-bottom: 2.5rem;
  padding: 2px;
}

.card-light {
  background-color: var(--light-blue);
  color: var(--dark-blue);
  border-color: var(--light-blue);
  margin-bottom: 2.5rem;
  padding: 2px;
}

@media screen and (max-width: 992px) {
  .card {
    padding: 0;
  }
}

.card-dark:hover {
  background-color: var(--shadow-dark-blue);
  box-shadow: #001625;
}

.card-dark:hover h3 {
  color: var(--light-yellow);
  font-size: 1.72rem;
}

.card-light:hover {
  background-color: var(--shadow-light-blue);
  box-shadow: #001625;
}

.card-light:hover h3 {
  color: var(--violet);
  font-size: 1.72rem;
}

.card-dark img:hover,
.card-light img:hover {
  cursor: pointer;
}

/* About */

#about {
  min-height: 100vh;
}

#about .box-right {
  margin-top: 150px;
}

@media screen and (max-width: 992px) {
  #about .box-right {
    margin-top: 150px;
    height: auto;
  }
}

#about p {
  font-weight: lighter;
}

/* Projects */

.skills span {
  margin-top: 0.4rem;
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 5px;
  border-width: 2px;
  border-style: solid;
}

.skill-set-dark span {
  border-color: var(--light-yellow);
}

.skill-set-light span {
  border-color: var(--violet);
}

/* Carousel */
.modal-content {
  background-color: var(--dark-blue);
  color: var(--light-blue);
}

.modal-content .btn-close {
  --bs-btn-close-color: var(--light-blue) !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--dark-blue) !important ;
  border-color: var(--dark-blue) !important;
}

/* Light Button */
.light-button {
  z-index: 1000;
}

.light-button .btn {
  --bs-btn-color: black;
  --bs-btn-bg: var(--mid-yellow);
}
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:hover,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  color: black;
  background-color: var(--light-yellow);
  border-color: var(--light-yellow);
}

.fa-check {
  opacity: 0;
}

.show {
  opacity: 1;
}
