
body{
    background-image: url("../photos/purple-cover.jpg");
    margin: 0;
    min-height: 200vh; /* force enough scroll to see the effect */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: scroll; /* <-- this is the default */
}
.navbar {
  background-color: black;
}
.About_me {
  font-size: medium;
  color: white;
  text-align: justify;
  max-width: 350px; /* Adjust width for better readability */
  margin: auto; /* Center the paragraph */
}

.Contact {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center; /* Asegura que todo dentro de .Contact esté centrado */
  gap: 15px; /* Agrega espacio entre "Contact" y los íconos */
}

hr {
  color: white;
}

.poiret-one-regular {
  font-family: "Poiret One", serif;
  font-weight: 400;
  font-style: normal;
}

* {
  font-family: "Poiret One", serif;
  font-weight: bold;
  box-sizing: border-box; /* Ensures consistent sizing */
}

/* content from uiverse */
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px; /* Espacio entre el texto y los íconos */
  margin-left: -22px; /* Ajusta este valor según sea necesario */
}

.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  background-color: black;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

.example-2 .icon-content a:hover {
  color: white;
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}

.example-2 .icon-content a[data-social="gmail"] .filled,
.example-2 .icon-content a[data-social="gmail"] ~ .tooltip {
  background-color: #D44638; /* Color de Gmail */
}

.example-2 .icon-content a[data-social="phone"] .filled,
.example-2 .icon-content a[data-social="phone"] ~ .tooltip {
  background-color: #34A853; /* Verde típico de teléfono */
}
/* content from uiverse */

.parent {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px;
}

/* project post styles */
.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Adjusted spacing */
  margin: 20px auto;
  max-width: 50%; /* Keeps layout from becoming too wide */
}

.project {
  flex: 1 1 calc(50% - 20px); /* Ensures 2 items per row with spacing */
  min-width: 280px; /* Prevents items from shrinking too much */
  background-color: black;
  border: 1px solid gray;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover effect for Project posts */
.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.container-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.container-search .d-flex {
  display: flex;
  justify-content: center;
  gap: 5px;
}