@import url("https://fonts.googleapis.com/css2?family=Bitter&display=swap");

body {
  font-family: "Bitter", serif;
  background-color: rgb(252, 252, 252);
  min-width: 304px;
}

/* >>>>>>>>>> NAV BAR >>>>>>>>>> */
nav {
  min-width: 304px;
}

.navbar {
  background-color: rgb(242, 242, 242);
}

.navbar-nav li {
  padding-left: 2em;
}

.navbar a {
  padding-left: 1em;
}

.nav-link {
  color: black;
}

.navbar-brand {
  width: 60px;
}

.ak {
  color: #45818e;
}

.navbar button {
  border: none;
  
}

.navbar button:focus {
  outline: none;
}

.navbar-toggler-icon {
  font-size: 2em;
  height: 0em;
  padding-bottom: 1.1em;
  color: black;
}

.toggle-container {
  position: sticky;
  width: 4em;
  height: 2.5em;
  margin-top: 0.5em;
}

.toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(30, 30, 30);
  border-radius: 34em;
  border: 1px solid rgb(30, 30, 30);
  cursor: pointer;
}

.toggle-label:before {
  position: absolute;
  content: "";
  height: 1.6em;
  width: 1.6em;
  top: 0.1em;
  left: 0.2em;
  background-color: rgb(242, 242, 242);
  background-image: url("https://img.icons8.com/ios/250/000000/sun.png");
  background-size: contain;
  border-radius: 50%;
  transition: transform 0.4s;
}

#toggle {
  display: none;
}
#toggle:checked + .toggle-label {
  background-color: rgb(242, 242, 242);
  right: 0.2em;
}

#toggle:checked + .toggle-label:before {
  transform: translateX(26px);
  background-image: url("./images/moon.jpeg");
  background-size: contain;
}
/* <<<<<<<<<< NAV BAR <<<<<<<<<< */

/* >>>>>>>>>> ABOUT >>>>>>>>>> */
#about {
  min-height: 700px;
}

.about-me h2 {
  color: #45818e;
}

.about-me,
.bitmoji {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 5em;
}

.my-img.img-fluid {
  width: 58%;
  height: auto;
  margin-left: 32%;
  margin-right: 68%;
}
/* <<<<<<<<<< ABOUT <<<<<<<<<< */

/* >>>>>>>>>> PROJECTS >>>>>>>>>> */
.project-caption {
  text-align: center;
  font-style: italic;
  font-size: .9em;
  color:#45818e;
}
.card {
  border: solid 2px #45818e;
}

.card:hover .project-text {
  display: block;
  height: 97%;
  z-index: 1;
}

.project-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1em;
  background-color: rgba(253, 253, 253, 0.9);
  color: black;
  display: none;
}

.project-card {
  margin-top: 2em;
}

.project-links {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  border-top: solid 2px #45818e;
  padding-top: 1em;
  margin-bottom: -2em;
}

.card-body,
.project-links {
  background-color: rgb(252, 252, 252);
}

.project-links a:hover {
  color: #45818e !important;
}

#github-logo {
  width: 2em;
  height: 1.5em;
  border: none;
  padding-right: 0.3em;
}

#github,
#deploy {
  text-decoration: none;
  color: inherit;
  height: 2em;
  width: 6em;
}

#deploy-logo {
  width: 2em;
  height: 1.6em;
  border: none;
  padding-right: 0.2em;
}

.project-text {
  font-size: 0.9em;
}

.project-text li {
  padding-bottom: 0.5em;
}
.card-subtitle {
  font-weight: bolder;
  font-size: 2.5em;
}
/* <<<<<<<<<< PROJECTS <<<<<<<<<< */

#project-header,
#resume-header,
#contact-header {
  font-size: 2.8em;
}

/* >>>>>>>>>> RESUME >>>>>>>>>> */
.resume-caption {
  font-style: italic;
  font-size: .9em;
  color:#45818e;
  margin-bottom: 4em;
}

#resume {
  margin: 5em auto;
}

#resume-header {
  margin-top: 1em;
}

#view-icon {
  height: 1.5em;
  padding-right: 0.2em;
}

#dl-icon {
  height: 1.5em;
  padding-right: 0.4em;
}

.btn-primary {
  background-color: inherit;
  color: inherit;
  border: solid 1px #45818e;
}

.btn-primary:hover {
  background-color: #45818e;
  color: white;
}

.btn-primary:visited {
  outline: none;
  box-shadow: none;
}
.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}
.row-eq-height [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.row-eq-height .card {
  flex: 1;
}
/* <<<<<<<<<< RESUME <<<<<<<<<< */

/* >>>>>>>>>> CONTACT >>>>>>>>>> */

#contact {
  margin-bottom: 3em;
}

#contact a:hover {
  color: #45818e;
}

#linkedin-logo {
  width: 1.8em;
  height: 1.5em;
  padding-right: 0.3em;
}

#email-logo {
  height: 1.7em;
}
.email-button {
  border: none;
}

.no-hover-bg:hover {
  background-color: transparent !important;
  color: #45818e;
}

/* <<<<<<<<<< CONTACT <<<<<<<<<< */

.ftr-text {
  font-size: 0.8em;
  color: #45818e;
}

/* >>>>>>>>>> SCROLL UP >>>>>>>>>> */
.scroll-up {
  position: fixed;
  right: 1em;
  bottom: 1em;
  display: grid;
  place-items: center;
  /* width: 2.5em; */
  /* height: 2.5em; */
  border: solid 1px #45818e;
  background-color: inherit;
  border-radius: 50%;
  color: #45818e;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 5;
}

.scroll-up.visible {
  opacity: 1;
  visibility: visible;
}

button:focus {
  outline: none;
}

/* <<<<<<<<<< SCROLL UP <<<<<<<<<< */

/* ---------- MEDIA QUERIES ---------- */

@media screen and (min-width: 768px) {
  .card-img-top.img-fluid {
    height: 380px;
  }
}
@media screen and (min-width: 991px) {
  .toggle-container {
    left: 47%;
    right: 53%;
  }
}

@media screen and (max-width: 1199px) {
  #about {
    padding-top: 4em;
    height: 100vh;
  }
}

@media screen and (max-width: 991px) {
  .my-img.img-fluid {
    width: 80%;
  }
}
@media screen and (max-width: 767px) {
  #about {
    padding-top: 1em;
  }
  .about-me p {
    padding-top: 1em;
  }
  .my-img.img-fluid {
    width: 35%;
    margin-top: 0%;
  }
  .container {
    display: flex;
    flex-direction: column;
  }
  .about-me,
  .bitmoji {
    width: 100%;
  }

  .bitmoji {
    order: -1;
    margin-top: 4em;
  }

  .about-me {
    order: 1;
    margin-top: 0em;
    text-align: center;
  }

  .project-text {
    overflow: auto;
    padding-bottom: 5em;
  }

  .card-text {
    width: 70%;
    margin: 0.6em auto 2em auto;
    font-size: 1.3em;
  }

  .card-subtitle {
    font-size: 4em;
    margin-bottom: 0.2em;
    margin-top: 0.1em;
  }

  .project-text li {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
  }
  #contact .mb-3 {
    margin-left: 0%;
    margin-right: 0%;
  }

  #contact input,
  #contact textarea {
    width: 21em;
  }
}
@media screen and (max-width: 575px) {
  .resume-card {
    margin-bottom: 2em;
  }
}
