body::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #df294a;
}
#nav-responsive {
  display: none;
}
body {
  width: 100%;
  overflow-x: hidden !important;
}

/*tipografias*/
#titulo {
  font-family: Rammetto One;
  color: #ffffff;
}
#karen {
  font-family: Rammetto One;
  color: #ffffff;
}
#p-texto {
  font-family: Questrial;
  color: #ffffff;
  font-size: 27px;
  text-align: left;
  font-weight: lighter;
  margin-left: 50px;
}
#img-responsive {
  width: 50px;
  height: 50px;
}
#p-texto2 {
  font-family: Questrial;
  color: #000000;
  font-size: 20px;
  text-align: left;
  font-weight: lighter;
  margin-top: 15px;
}
#subtitulo-2 {
  font-family: Rammetto One;
  color: #01004e;
  margin-bottom: 20px;
}
#subtitulo-2trabajos {
  font-family: Rammetto One;
  color: #01004e;
}
#subtitulo-3 {
  font-family: Rammetto One;
  color: #ffffff;
}
#trabajos-txt {
  font-family: Questrial;
  color: #ffffff;
  font-size: 20px;
}
.trabajo-txt {
  font-family: Questrial;
  font-size: 30px;
  color: #01004e;
}
/* header */
/* botones secciones de la página */
#nav-bar-desktop {
  background-color: #01004e;
  color: #01004e;
}
.actual-text {
  font-family: Questrial;
  font-size: 20px;
  font-weight: lighter;
}
.button {
  color: white;
  text-decoration: none;
  font-size: 18px;
  border: none;
  background: none;
  font-weight: bold;
  font-family: "Lato";
}

.button::before {
  margin-left: auto;
}

.button::after,
.button::before {
  content: "";
  width: 0%;
  height: 3px;
  background: #df294a;
  display: block;
  transition: 0.3s;
  text-shadow: #fdcee3;
}

.button:hover::after,
.button:hover::before {
  width: 100%;
}
.actual-text {
  padding-right: 20px;
  padding-left: 20px;
}

/* inicio */
#inicio {
  background-color: #01004e;
  padding-bottom: 50px;
}
#img-inicio {
  display: flexbox;
  margin: 20px;
}
#bienvenida {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*sobre-mi*/
#sobre-mi {
  background-image: url(/imagenes/background-sobre-mi.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  margin-top: 50px;
  padding-bottom: 100px;
}
.card {
  background-color: #ff8d1d;
  border-radius: 8px;
}

.tools {
  display: flex;
  align-items: center;
  padding: 9px;
  margin-bottom: -30px;
}

.circle {
  padding: 0 4px;
}

.box {
  display: inline-block;
  align-items: center;
  width: 10px;
  height: 10px;
  padding: 1px;
  border-radius: 50%;
}

.red {
  background-color: #ff605c;
}

.yellow {
  background-color: #ffbd44;
}

.green {
  background-color: #00ca4e;
}
#sobre-card {
  margin-top: -80px;
  margin-bottom: -430px;
  display: grid;
  grid-template-columns: 1fr 2rem 0.5fr 0.33fr 0.33fr 0.33fr;
  grid-template-rows: auto 1fr 10rem 0.5fr 1fr;
}
#card1 {
  display: grid;
  border-radius: 8px;
  margin-left: 180px;
  width: 237px;
}

#card3 {
  margin-top: 30px;
  margin-left: -90px;
  margin-right: 90px;
}
#cards-2-3 {
  margin-top: 70px;
}
#card4 {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 700px;
  margin-top: 70px;
}
.card-img-sobremi {
  width: 200px;
  height: 254px;
  margin-bottom: 20px;
  position: relative;
}
.card-img-sobremi {
  width: 200px;
  height: 254px;
  margin-bottom: 20px;
  position: relative;
}

.card-info-img {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  margin-bottom: -23px;
  text-align: center;
  color: black;
}

/*Image*/
.card-img {
  margin-top: 15px;

  background-image: url(/imagenes/photo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 5%;
  height: 250px;
  width: 230px;
  position: absolute;
  transition: transform 0.3s ease-in-out;
  z-index: 2;
}

/*Buttons*/
.social-media {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
  transform: translateY(-200%);
  z-index: 3;
}

.social-media li {
  margin-top: -10px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease-in;
}

/*Text*/
.title {
  font-size: 1.5em;
  font-weight: 500;
}

.subtitle {
  letter-spacing: 1px;
  font-size: 0.9em;
}

ul {
  list-style: none;
}

svg {
  --size: 25px;
  width: var(--size);
  height: var(--size);
  fill: #252525;
}

/* Hover */
.card-img-sobremi:hover {
  box-shadow: 1px 2px 10px rgba(35, 35, 35, 0.5);
}

.card-img-sobremi:hover .card-img {
  transform: translateY(-30%);
}

.card-img-sobremi:hover .social-media li {
  transform: translateY(-5%);
  opacity: 1;
}

.card-img-sobremi:hover .social-media li:nth-child(1) {
  transition-delay: 0s;
}

.card-img-sobremi:hover .social-media li:nth-child(2) {
  transition-delay: 0.1s;
}

.card-img-sobremi:hover .social-media li:nth-child(3) {
  transition-delay: 0.2s;
}

.card-text {
  margin-bottom: -5px;
  font-family: "Rammetto One";
  font-size: 20px;
}

.sobre-txt-card {
  font-family: "Questrial";
  font-weight: bold;
  font-size: 16px;
  margin-bottom: -8px;
  text-align: left;
}
.sobre-txt-card-redes {
  margin-top: 13px;
  margin-bottom: 10px;
  font-family: "questrial", cursive;
  font-size: 20px;
}
#herramientas {
  display: flex;
  flex-wrap: wrap;
}

/*trabajos*/
#trabajos {
  background-image: url(/imagenes/background-trabajos.svg);
  background-size: cover;
  padding-bottom: 270px;
  margin-top: -100px;
}
.trabajo-titulos {
  margin: 150px;
  padding: 50px;
  text-align: center;
}
#trabajos-descripción {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: end;
}
#trabajos-img {
  margin: 50px;
}
#trabajos-txt {
  margin-left: 180px;
}
.btn-curricullum {
  transform: translate(0px, 0px) rotate(0deg);
  transition: 0.2s;
  background: #fffefe;
  box-shadow: 15px 15px 30px rgb(211, 211, 211),
    -15px -15px 30px rgb(221, 221, 221);
  border: none;
  margin-top: 20px;
  border-radius: 13px;
  font-size: 20px;
  background-color: #ff8d1d;
  font-family: Rammetto One;
  color: #ffffff;

  transition: all 0.9s ease-in-out;
  letter-spacing: 0.1rem;
  height: 4rem;
  width: 18rem;
}
.btn-curricullum:hover {
  background-color: #01004e;
  color: #ffffff;
}
.btn-curricullum::before {
  content: url(/imagenes/curricullum1.png);
  position: absolute;
  left: 5px;
  top: 3px;
  opacity: 1;
  font-size: 1rem;
  transition: all 0.9s ease-in-out;
  transform: rotate(0deg);
}
.btn-curricullum:hover::before {
  content: url(/imagenes/curriculum2.png);
  opacity: 1;
  visibility: visible;
  transform: rotate(40deg);
  font-size: 2.5rem;
  top: 5px;
  left: 93px;
  transition: all 0.9s ease-in-out;
  animation: rightRun 2s forwards;
}
.btn-curricullum:active::before {
  content: url(/imagenes/curriculum2.png);
}
#div-btn {
  display: grid;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

@keyframes rightRun {
  100% {
    transform: translateX(140px);
  }
}

.main1 {
  display: flex;
  align-items: end;
  justify-content: end;
  padding: 20px;
}
.main2 {
  padding: 20px;
}

.btn1 {
  padding: 5px;
  width: 170px;
  height: 60px;
  font-size: 20px;
  border-radius: 13px;
  color: #fff;
  outline: none;
  cursor: pointer;
  transition: all 0.9s;
  font-family: Rammetto One;
  background: #ff8d1d;
  box-shadow: 15px 15px 30px #3a242d,
    -15px -15px 30px rgba(133, 133, 133, 0.308);
  letter-spacing: 0.1rem;
  border: none;
}

.btn1:hover {
  border-radius: 13px;
  box-shadow: inset 0 0 0 4px #ff8d1d, inset 0 0 0 8px #01004e,
    inset 0 0 0 12px #87005d, inset 0 0 0 16px #df294a;
  background: #df294a;
  color: #fff;
  padding: 15px;
  border: none;
}

#contacto {
  background-image: url(/imagenes/background-contacto.svg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: -70px;
  margin-top: -50px;
  padding-bottom: 100px;
}
.wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  height: 120px;
  width: 100%;
  font-family: Rammetto One;
  justify-content: center;
  margin-top: 5px;
}

.wrapper .icon {
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;

  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  font-family: Questrial;
  position: absolute;
  top: 0;
  font-size: 20px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;

  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .linkedin:hover,
.wrapper .linkedin:hover .tooltip,
.wrapper .linkedin:hover .tooltip::before {
  background: #0a66c2;
  color: #fff;
}

.wrapper .git:hover,
.wrapper .git:hover .tooltip,
.wrapper .git:hover .tooltip::before {
  background: #6a45be;
  color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #b13589;
  color: #fff;
}

#btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  font-family: Rammetto One;
  font-size: 20px;
}
.button-send {
  font-family: Rammetto One;
  font-size: 20px;
  background: #df294a;
  color: white;
  padding: 0.3em 0.6em;
  padding-left: 0.3em;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 13px;
  overflow: hidden;
  transition: all 0.2s;
  width: fit-content;
  height: fit-content;
}

button span {
  display: block;
  margin-left: 0.2em;
  transition: all 0.3s ease-in-out;
}

button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
  transform: translateX(2.2em) rotate(45deg) scale(1.1);
}

button:hover span {
  transform: translateX(6em);
}

button:active {
  transform: scale(0.95);
}

#card5 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
footer {
  padding-top: 60px;
  padding-bottom: 40px;
  background-color: #87005d;
}

@media screen and (max-width: 943px) {
  body {
    width: 100%;
    overflow-x: hidden !important;
  }

  body::-webkit-scrollbar {
    width: 10px;
    background: transparent;
  }
  body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #df294a;
  }
  #sobre-mi {
    background-size: 200%;
    width: 100%;
    overflow-x: hidden !important;
  }
  #card-grupo {
    display: flex;
    flex-wrap: wrap;
  }
  #card1 {
    margin-left: 0px;
  }
  #card2 {
    width: 420px;
  }
  #card3 {
    width: 420px;
    margin-left: -101px;
  }
  #trabajos {
    width: 100%;
    overflow-x: hidden !important;
    background-image: url(/imagenes/background-mobile.png);
    display: flex;
    flex-direction: column;
    padding-bottom: 700px;
  }
  #trabajos-div {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }
  #trabajos-responsive {
    margin-top: -170px;
  }
  #trabajos-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 80px;
  }
  #subtitulo-3 {
    text-align: center;
  }
  #trabajos-txt {
    text-align: center;
    padding: 10px;
  }
  .main1 {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main2 {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #contacto {
    margin-top: -380px;
  }
}
@media screen and (max-width: 600px) {
  body {
    width: 100%;
    overflow-x: hidden !important ;
  }
  #inicio {
    padding-top: 60px;
  }
  #titulo {
    font-size: 40px;
    text-align: start;
    padding-left: 50px;
  }
  #p-texto {
    font-size: 18px;
    padding-top: 30px;
    padding-bottom: 0px;
    padding-right: 50px;
    font-weight: lighter;
  }
  #karen {
    color: #df294a;
    font-size: 45px;
  }
  #img-responsive {
    width: 30px;
    height: 30px;
  }
  #header {
    overflow-x: hidden;
  }
  #nav-bar-desktop {
    display: none;
  }
  #nav-responsive {
    display: flex;
    background-color: #01004e;
    padding-bottom: 30px;
    padding-top: 30px;
  }
  #nav-lista-responsive {
    display: flex;
  }
  #nav-lista-responsive {
    margin-left: 25px;
  }
  .actual-text-responsive {
    font-family: "questrial";
    font-size: 15px;
  }
  #img-inicio {
    width: 300px;
  }
  #sobre-mi {
    display: flex;
    flex-direction: column;
    background-size: 720%;
    padding-top: 50px;
    margin-top: 0px;
  }
  #sobre-mi-responsive {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
  }
  #card1 {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0;
    margin-left: 10px;
  }
  #card2 {
    display: flex;
    flex-wrap: wrap;
    width: 170%;
    margin-top: 20px;
    margin-left: -120px;
  }
  #cards-2-3 {
    margin-top: 570px;
    display: flex;
    flex-direction: column;
  }
  #card3 {
    display: flex;
    flex-direction: column;
    width: 170%;
    margin-top: 20px;
    margin-left: -170px;
  }
  .card {
    display: flex;
    width: 50%;
    margin-left: -310px;
    margin-top: -50px;
  }
  #trabajo-titulos {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  #subtitulo-2trabajos {
    margin-top: -100px;
    display: flex;
    justify-content: center;
    font-family: Rammetto One;
    color: #01004e;
    margin-left: -50px;
  }
  .trabajo-txt {
    display: flex;
    justify-content: center;
    width: 300px;
    height: 150px;
    font-size: 20px;
    text-align: center;
    margin-left: -180px;
  }
  #trabajos-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0px;
  }
  #trabajos-responsive {
    margin-top: -250px;
  }
  #card5 {
    width: 100%;
    margin-left: 0px;
  }
  #p-texto2 {
    text-align: center;
  }
  .img-contacto {
    height: 300px;
  }
  #navbar {
    display: flex;
    flex-direction: column;
    width: fit-content;
  }
  #nav-lista {
    width: fit-content;
    text-align: center;
    margin-bottom: 50px;
  }
  #contacto {
    margin-top: -400px;
  }
}
