@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500;1,600&display=swap");

html {
  position: relative;
  min-height: 100%;
}

body {
  background: rgb(10, 25, 47, 1);
  font-family: "Libre Franklin", sans-serif;
  color: rgb(100, 255, 218, 1);
}

/*--- Desktop Nav ---*/

.topnav {
  margin-right: 15rem;
}

.topnav a {
  color: rgb(100, 255, 218, 1);
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  padding-right: 20px;
  border-bottom: 3px solid rgb(100, 255, 218, 1) transparent;
}

.topnav a:hover {
  border-bottom: 3px solid rgb(100, 255, 218, 1);
}

.topnav a.active {
  border-bottom: 3px solid rgb(100, 255, 218, 1);
}

.nav-text:hover {
  color: rgb(100, 255, 218, 1) !important;
  font-weight: bold;
}

.nav-text.active {
  color: rgb(100, 255, 218, 1) !important;
  font-weight: bold;
}

/*--- Text ---*/

.title-name {
  font-size: 58px;
  font-weight: bold;
}

.title-role {
  font-size: 38px;
  font-weight: 200;
}

.title-header {
  font-size: 40px;
  font-weight: bold;
}

.title-sub-header {
  font-size: 15px;
  font-weight: bold;
}

.title-header-2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.flip-card-title {
  font-size: 22px;
  font-weight: bold;
}

.flip-card-code {
  font-size: 16px;
}

.flip-card-title-mb {
  font-size: 20px;
  font-weight: bold;
  color: rgb(100, 255, 218, 1) !important;
}

.flip-card-code-mb {
  font-size: 13px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  color: rgb(100, 255, 218, 1) !important;
}

.detail-description {
  color: rgb(167, 174, 196, 1);
  font-size: 1.05rem;
}

/*--- Margins/ Padding ---*/

.home-margin {
  margin-top: 10rem;
}

.title-section-top-margin {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.flip-card-section-top-margin {
  margin-top: 0rem;
}

.portfolio-margins {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.text-flip-card-margin {
  margin-top: 5rem;
  margin-bottom: 0rem;
  padding-bottom: 0.5rem;
}

.portfolio-margins-mb {
  margin: 1.5rem 1.5rem 2rem 1.5rem;
}

.project-detail-description-margin {
  margin-top: 1.8rem;
  padding-right: 1.5rem;
}

.content-margin {
  padding-left: 0rem;
}

.about-detail-description-margin {
  margin-top: 1rem;
}

.project-detail-page-margin {
  margin-bottom: 9rem;
}

.project-page-margin {
  margin-bottom: 7rem;
}

.about-page-margin {
  margin-bottom: 7rem;
}

.error-page-margin {
  margin-top: 10rem !important;
}

/*---lists---*/

ul.about-list {
  list-style-type: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 2rem;
}

/*---Icons---*/

.live-icons a {
  border: 1.5px solid rgb(100, 255, 218, 1);
  padding: 8px 8px 8px 8px;
  margin-top: 5rem;
  margin-right: 1rem;
  text-decoration: none;
  color: rgb(100, 255, 218, 1);
}

.live-icons a:hover {
  color: rgb(10, 25, 47, 1) !important;
  background-color: rgb(100, 255, 218, 1);
  cursor: pointer;
}

.bullet-icons a {
  border: 1.5px solid rgb(100, 255, 218, 1);
  padding: 8px 8px 8px 8px;
  text-decoration: none;
  color: rgb(100, 255, 218, 1);
}

.bullet-icons a:hover {
  color: rgb(10, 25, 47, 1) !important;
  background-color: rgb(100, 255, 218, 1);
  cursor: pointer;
}

.live-icons {
  margin-top: 0.5rem;
}

.fa-download:hover {
  transform: scale(1.4) !important;
}

.fa-linkedin:hover {
  transform: scale(1.4) !important;
}

.fa-github:hover {
  transform: scale(1.4) !important;
}

.fa-book-open {
  font-size: 3rem;
}

.fa-futbol {
  font-size: 3rem;
}

.fa-person-hiking {
  font-size: 3rem;
}

.fa-person-running {
  font-size: 3rem;
}

/*--- Flip Card ---*/

.flip-card {
  background-color: transparent;
  width: 95%;
  height: 264px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front img {
  border-radius: 5px;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: rgb(10, 25, 47, 1);
  box-shadow: 0 4px 8px 0 rgba(100, 255, 218, 0.7),
    0 6px 20px 0 rgba(100, 255, 218, 0.8);
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 5px;
}

.flip-card-back a {
  text-decoration: none;
  color: rgb(100, 255, 218, 1);
}

.flip-card-mb:hover {
  box-shadow: 0 4px 8px 0 rgba(100, 255, 218, 0.7),
    0 6px 20px 0 rgba(100, 255, 218, 0.8);
  text-decoration: none !important;
}

.flip-card-image-mb {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.flip-card-mb a {
  text-decoration: none !important;
}

.mockup-image img {
  border-radius: 5px;
  margin-top: 1.8rem;
}

.content-bg-mb {
  background-color: rgb(10, 25, 47, 1);
  color: rgb(100, 255, 218, 1);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom: solid 1px rgb(100, 255, 218, 0.5);
  border-left: solid 1px rgb(100, 255, 218, 0.5);
  border-right: solid 1px rgb(100, 255, 218, 0.5);
}

/*--- Mobile Nav ---*/

.sidebar ul,
li {
  list-style: none;
}

.sidebar a {
  text-decoration: none !important;
}

.sidebar ul {
  list-style: none;
  margin-bottom: 7rem;
  margin-right: 1rem;
}

.input-toggler {
  display: none;
}

.menu-toggler {
  position: fixed;
  right: 0px;
  top: 0px;
  width: 80px;
  height: 90px;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggler-line {
  width: 60%;
  height: 3px;
  background: rgb(100, 255, 218, 1);
  margin: 0 0 10px 0px;
  position: relative;
  transition: all .40s ease-out;
}

.input-toggler:checked~.menu-toggler .menu-toggler-line {
  top: 5px;
  translateY: 100px;
  transform: rotate(45deg);
}

.input-toggler:checked~.menu-toggler .menu-toggler-line:nth-child(2) {
  display: none;
}

.input-toggler:checked~.menu-toggler .menu-toggler-line:nth-child(3) {
  top: -5px;
  translateY: 10;
  transform: rotate(135deg);
}

.nav {
  width: 100%;
  height: 100%;
  background: rgb(10, 25, 47, 1);
}

.nav ul {
  width: 100%;
}

.nav ul li {
  width: 100%;
  text-align: center;
}

.nav ul li a {
  display: inline-block;
  font-size: 36px;
  color: rgb(100, 255, 218, 1);
  text-transform: uppercase;
}

.sidebar {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  background: rgb(10, 25, 47, 1);
  opacity: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: all .40s ease-out;
  z-index: 1;
}

.menu-link {
  color: rgb(100, 255, 218, 1);
  font-size: 10vmin;
  line-height: 15vmin;
  -webkit-transition: all .25s ease-out;
  transition: all .25s ease-out;
}

.menu-link:hover,
.menu-link:focus,
.menu-link:active {
  color: rgb(58, 70, 88, 1) !important;
}

.input-toggler:checked~.sidebar {
  transform: translateX(0%);
  opacity: 1;
}

/*---Footer---*/

.footernav {
  background-color: rgb(10, 25, 47, 1);
  color: rgb(100, 255, 218, 1);
}

#footer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 57px;
  width: 100%;
  overflow: hidden;
}

#footer-copyright p {
  margin-bottom: 0rem !important;
  text-align: center;
  font-size: 0.6rem;
  font-family: "Roboto", sans-serif;
  margin-top: 0rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.footer-links a {
  color: rgb(100, 255, 218, 1);
  font-size: 1.3rem;
  text-decoration: none !important;
  cursor: pointer;
}

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

/*---Height adjusment for images in flip-card for beter viewing on 1399px---*/

@media (max-width: 1399px) {
  .flip-card {
    height: 225px;
  }
}

/*---Height adjusment for images in flip-card for beter viewing on 1199px---*/

@media (max-width: 1199px) {
  .flip-card {
    height: 185px;
  }
}

/*---Height adjusment for images in flip-card for beter viewing on 991px---*/

@media (max-width: 991px) {
  .flip-card {
    height: 213px;
  }
}

/*---Height adjusment for images in flip-card for beter viewing on 767px---*/

@media (max-width: 767px) {
  .flip-card {
    height: 150px;
  }
}

/*---Reduce font size for flip-card title for better viewing on smaller devices---*/

@media (max-width: 575px) {
  .flip-card-title {
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
  }
}

/*---Reduce font size for flip-card code content for better viewing on smaller devices---*/

@media (max-width: 575px) {
  .flip-card-code {
    font-size: 14px;
  }
}

/*---Reduce margin-top for flip-card for devices at 1399px for better viewing---*/

@media (max-width: 1399px) {
  .text-flip-card-margin {
    margin-top: 4rem;
  }
}

/*---Reduce font size/ margin-top for flip-card for devices at 1199px for better viewing---*/

@media (max-width: 1199px) {
  .text-flip-card-margin {
    margin-top: 2.5rem;
  }

  .flip-card-title {
    font-size: 20px;
    font-weight: bold;
  }

  .flip-card-code {
    font-size: 15px;
  }
}

/*---Reduce margin-top for flip-card for devices at 991px for better viewing---*/

@media (max-width: 991px) {
  .text-flip-card-margin {
    margin-top: 4rem;
  }
}

/*---Reduce font size/ margin-top for flip-card for devices at 767px for better viewing---*/

@media (max-width: 767px) {
  .text-flip-card-margin {
    margin-top: 1.5rem;
  }

  .flip-card-title {
    font-size: 17px;
    font-weight: bold;
  }

  .flip-card-code {
    font-size: 14px;
  }
}

/*---For mobile reduce mt and font size for page header for better viewing---*/

@media (max-width: 575px) {
  .title-section-top-margin {
    margin-top: 6rem;
  }

  .title-header {
    font-size: 30px;
    font-weight: bold;
  }

  .title-header-2 {
    font-size: 30px;
    font-weight: bold;
  }
}

/*---padding for project detail sectiom for better margins and viewing on mobile---*/

@media (max-width: 575px) {
  .content-margin {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}

/*---Reduce font size for project/about page for better viewing on mb---*/

@media (max-width: 575px) {
  .detail-description {
    color: rgb(167, 174, 196, 1);
    font-size: 1rem;
  }
}

/*---Reduce Margin Right for better viewing for icons at 360px screen---*/

@media (max-width: 430px) {
  .live-icons a {
    margin-right: 0.4rem;
  }
}

/*---Reduce Margin Right for better viewing for icons for galaxy fold---*/

@media (max-width: 289px) {
  .live-icons a {
    margin-right: 0rem;
    font-size: 0.7rem;
  }
}

/*---Reduce size of icons for better layout/ fitting for smaller devices (991px)---*/

@media (max-width: 991px) {
  .fa-book-open {
    font-size: 2.3rem;
  }

  .fa-futbol {
    font-size: 2.3rem;
  }

  .fa-person-hiking {
    font-size: 2.3rem;
  }

  .fa-person-running {
    font-size: 2.3rem;
  }
}

/*---Reduce size of icons for better layout/ fitting for smaller devices (475px)---*/

@media (max-width: 991px) {
  .fa-book-open {
    font-size: 2rem;
  }

  .fa-futbol {
    font-size: 2rem;
  }

  .fa-person-hiking {
    font-size: 2rem;
  }

  .fa-person-running {
    font-size: 2rem;
  }
}

/*---Reduce font size for name and role for smaller devices for better viewing 771px---*/

@media (max-width: 771px) {
  .title-name {
    font-size: 48px;
    font-weight: bold;
  }

  .title-role {
    font-size: 30px;
    font-weight: 200;
  }
}

/*---Reduce font size for name and role for smaller devices for better viewing px---*/

@media (max-width: 460px) {
  .title-name {
    font-size: 38px;
    font-weight: bold;
  }

  .title-role {
    font-size: 20px;
    font-weight: 200;
  }
}

/*---Reduce footer links/icons for better viewing on smaller devices---*/

@media (max-width: 767px) {
  .footer-links a {
    font-size: 1.1rem;
  }
}

/*---Increase footer height for galaxy fold for better viewing ---*/

@media (max-width: 350px) {
  #footer {
    height: 67px;
  }
}

/*---Padding-right reduction for better viewing on smaller devices---*/

@media (max-width: 575px) {
  ul.about-list {
    padding-right: 1.5rem;
  }
}

/*---Reduce font for span hearder for better layout on mobile---*/
@media (max-width: 575px) {
  .title-sub-header {
    font-size: 14px;
    font-weight: bold;
  }
}

/*---Reduce margin top for mockup image on mobile for better placement---*/
@media (max-width: 575px) {
  .mockup-image img {
    border-radius: 5px;
    margin-top: 1rem;
  }
}

/*---Rpadding right zero for project-detail-description-margin for better viewing on smaller devices---*/
@media (max-width: 575px) {
  .project-detail-description-margin {
    margin-top: 1.8rem;
    padding-right: 0rem;
  }
}