@import "font-awesome";

.blog-show {
  box-shadow: 0 .5em 1em rgba(0,0,0,.4);
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5em;
  margin: .25em 0em 1em 0em;
  padding: 2em 2em 3em 2em;
  color: white;
  h2 {
    text-align: left !important;
    }
}
.title-image {
  width: 70%;
  margin: 2.5em 0em;
  margin: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}
.title-image-index {
  width: 40%;
  margin: auto;
}
.title-link {
  text-decoration: none;
  color: white
}
.title-link:hover {
  color: rgb(20, 120, 139);
}
.blog-show h1, h3, h6 {
  text-align: center;
}

.blog-show p {
  text-align: left;
}
.twitter-share-button {
  margin: 1em 0em;
}
.blog-image-2024 {
  width: 40% !important;
}

.project-card {
  box-shadow: 0 .5em 1em rgba(0,0,0,.4);
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2em;
  border-radius: 1em;
  text-align: center;
  margin: auto;
  margin-top: 1em;
  color: white;
  height: 30em;
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.blog-card {
  box-shadow: 0 .5em 1em rgba(0,0,0,.4);
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2em;
  border-radius: 1em;
  text-align: center;
  margin: auto;
  margin-top: 1em;
  color: white;
  height: 25em;
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.blog-card h1 {
  margin-bottom: 1em;
}

.blog-card h3 {
  text-align: center;
}

.blog-card p {
  text-align: center;
}

.blog-card h5 {
  text-align: center;
}
.project-card h1{
  margin-bottom: 1em;
}

.project-card h3 {
  text-align: center;
}

.project-card p {
  text-align: center;
}

.project-card h5 {
  text-align: center;
}

.twitter-tweet {
  margin: auto;
}
@media (max-width: 500px) {
  .blog-card {
    width: 80%;
  }
  .project-card {
    width: 80%;
  }
}
@media (max-width: 340px) {
  .blog-card {
    width: 80%;
  }
  .project-card {
    width: 80%;
  }
}

.body-home {
  background-image: url("/assets/home/background-59e627e6.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.body-other {
  background-color: #f9f9f9;
  color: #000000;
}
.body-other > .container > h1 {
  color: #000000;
}
.body-cash-register {
  background-color: #f9f9f9;
  color: #000000;
}
body {
  font-family: 'Lora', serif;
  font-size: 1em;
  font-weight: lighter;
  min-height: 100vh;
}
h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
}
.github-project {
  font-size: 0.75em;
}
.project-links {
  display: flex;
  width: 50%;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: auto;
}
.project-link {
  margin-top: 0em !important;
}
h1 {
  font-size: 3em;
  font-weight: 900;
}
h2 {
  font-size: 2em;
  font-weight: lighter;
  font-weight: 800;
}
h3 {
  font-size: 2.25em;
  font-weight: 800;
}
icon {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  color: white;
  font-weight: 600;
}
a:hover {
  color: rgb(20, 120, 139);
}
.portfolio-link {
  color: #FFFFFF;
  text-decoration: none;
}
.card-white {
  box-shadow: 0 .5em 1em rgba(0,0,0,.1);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5em;
  margin: 3em 0em 0em 0em;
  padding: 2em 1em;
}

.cards-smaller {
  display: grid;
  grid-template-columns: 3fr 3fr;
  gap: 2em;
}

.card {
  text-align: center;
  background: none;
  border-radius: 5em;
  border: none;
  padding-top: 2em;
  padding-bottom: 2em;
  padding-right: 3em;
  padding-left: 3em;
  margin: 0 auto;
  width: 80%;
}
.card h3 {
  padding-bottom: 1em;
}
.portfolio-info {
  display: none;
}

.gfg:hover + .portfolio-info {
  display: block;
  color: red;
}
.img-circle {
  border-radius: 1em;
}

.list-inline {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 1.5em 0.5em;
}
.list-inline3 {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5em 0.5em;
}
.list-inline i {
  font-size: 2.5em;
  color: rgb(230, 230, 230);
}
.list-inline i:hover {
  color: rgb(20, 120, 139);
}
.list-inline2 {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5em 0.5em;
}
.picture {
  text-align: center;
  margin: auto;
  align-items: center;
}
.list-inline2 i {
  font-size: 4em;
  color: rgb(230, 230, 230);
}
.list-inline2 i:hover {
  color: rgb(20, 120, 139);
}

.hover-container {
  position: relative;
}

.hover-target {
  position: relative;
}
.tooltip-arrow {
  display: none !important;
}
.hover-popup {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  top: 4em;
  left: -7em;
  width: 22em;
  font-size: .8rem;
  background-color: #fff;
  border-radius: 8px;
  padding: 1em;
  z-index: 42;
  transform: scale(0);
  transition: transform 200ms ease;
  transform-origin: 8% -10px;
  color: white;
  background-color: black;
}
.strava-hover-popup {
  top: -12em !important;
  left: 5em !important;
  width: 28rem !important;
}
.hover-popup h2 a {
  color: white;
  padding: 0em;
  text-decoration: none;
}
.hover-popup p {
  color: white;
  padding: 0em;
}
.hover-popup a:hover {
  color: rgb(20, 120, 139);
}

.hover-target:hover + .hover-popup,
.hover-target:focus + .hover-popup,
.hover-popup:hover{
  transform: scale(1);
}

.hover-popup :not(:first-child) {
  margin-top: 1rem;
}

.hover-popup span {
  color: rgb(200, 20, 0);
  font-weight: 700;
}

.hover-popup::before {
  content: '';
  position: absolute;
  top: -10px;
}

.hover-popup::after {
  content: '';
  position: absolute;
  top: -1rem;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.hover-popup3 {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  top: 2em;
  left: -3em;
  width: 13em;
  font-size: .8rem;
  background-color: #fff;
  border-radius: 8px;
  padding: 1em;
  z-index: 42;
  transform: scale(0);
  transition: transform 200ms ease;
  transform-origin: 8% -10px;
  color: white;
  background-color: black;
}
.hover-popup3 h2 a {
  color: white;
  padding: 0em;
  text-decoration: none;
}
.hover-popup3 p {
  color: white;
  padding: 0em;
}
.png-project-icon {
  width: 60%;
  margin: auto;
}
.hover-popup3 a:hover {
  color: rgb(20, 120, 139);
}

.hover-target:hover + .hover-popup3,
.hover-target:focus + .hover-popup3,
.hover-popup3:hover{
  transform: scale(1);
}

.hover-popup3 :not(:first-child) {
  margin-top: 1rem;
}

.hover-popup3 span {
  color: rgb(200, 20, 0);
  font-weight: 700;
}

.hover-popup3::before {
  content: '';
  position: absolute;
  top: -10px;
}

.hover-popup3::after {
  content: '';
  position: absolute;
  top: -1rem;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.container {
  width: 80%;
  text-align: center;
  padding-bottom: 1em;
  margin: auto;
}

@media (max-width: 960px) {
  .container {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .cards-smaller {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6em;
    width: 100%;
  }
  .list-inline i {
    font-size: 2.5em;
  }
  .list-inline2 i {
    font-size: 2.5em;
  }
  h3 {
    font-size: 1.8em;
    font-weight: 600;
  }
}
@media (max-width: 500px) {
  .container {
    text-align: center;
    margin: 0 auto;
  }
  .cards-smaller {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: .4em;
    width: auto;
  }
  .list-inline i {
    font-size: 1.5em;
  }
  .list-inline2 i {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.2em;
    font-weight: 600;
  }
  .card {
    padding: 1em;
    width: 80%;
  }
}
@media (max-width: 340px) {
  .container {
    text-align: center;
    margin: 0 auto;
  }
  .cards-smaller {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: .2em;
    width: 20%;
  }
  .list-inline i {
    font-size: 1em;
  }
  .list-inline2 i {
    font-size: 1em;
  }
  h3 {
    font-size: .6em;
    font-weight: 600;
  }
}
