body {
  margin: 0px;
  padding: 0px;
  height: 100vh;
  /* width: 100vw; */
  font-family: "Poppins", serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 12px;
  border-radius: 20px;
  background: white;
}

.navbar-brand {
  font-size: 40px;
  background: white;
}

#menu-bottom {
  display: none;
  visibility: visible;
}

#main {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
}

#home-left-top {
  background: rgb(255, 79, 147);
  border-radius: 0px 20px 20px 0px;
  flex: 35%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

#home-left-top .icon-media {
  width: 38px;
  opacity: 0.85;
}

#home-left-top .icon-media:hover {
  opacity: 1;
  transition: all 150ms ease-in-out;
  transform: scale(1.1);
}

#butterfly {
  width: 80px;
  margin-right: 10px;
}

#butterfly:hover {
  transition: all 150ms ease-in-out;
  transform: scale(1.2);
  cursor: pointer;
}

#name-logo {
  margin: 0px;
  padding: 16px 32px;
  font-size: 40px;
  color: white;
}

#image {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  position: absolute;
  left: 35%;
  transform: translateX(-50%);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}

#home-right-bottom {
  background: white;
  display: flex;
  flex-direction: column;
  flex: 65%;
  height: 100%;
}

#right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-left: 60px;
}

#right-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 60%;
  margin-top: 50px;
  gap: 20px;
}

#resume-buttons {
  display: flex;
  width: 60%;
  gap: 40px;
}

#modal {
  background: rgba(0, 0, 0, 0.5);
  top: 100px;
  visibility: hidden;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
  transition: all 500ms ease;
  opacity: 1;
}

.contenedor {
  width: 400px;
  height: 300px;
  background: #fff;
  box-shadow: 1px 7px 25px rgba(0, 0, 0, 0.6);
  transition: all 500ms ease;
  position: relative;
  visibility: hidden;
  transform: translateY(-30%);
}

#btn-modal {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 30px;
  padding: 0px 12px;
  margin: 0px 12px;
  border: 0px;
  border-radius: 20px;
  align-content: center;
  background: white;
  color: deeppink;
}

.contenido {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#btn-download {
  color: #ff4f93;
  border: 2px solid #ff4f93;
  border-radius: 20px;
  padding: 8px 16px;
  background: none;
}

#btn-download:hover {
  color: white;
  border: 2px solid #ff4f93;
  background: #f60863;
}

#btn-contact {
  color: white;
  border: 2px solid #ff4f93;
  border-radius: 20px;
  padding: 8px 36px;
  background: #ff4f93;
}

#btn-contact:hover {
  color: #f60863;
  border: 2px solid #f60863;
  background: none;
}

/* About  */
#about-body {
  display: flex;
  margin: 60px;
  align-items: center;
}

#about-description {
  display: flex;
  flex-direction: column;
  width: 50%;
}

#about-img {
  width: 50%;
  display: flex;
  justify-content: center;
}

#about-img img {
  width: 350px;
  height: 350px;
  border-radius: 100%;
  box-shadow: 0px 0px 20px #f60863;
}
/* education  */
#education-title {
  color: #ff4f93;
  font-size: 48px;
}

#education-mobile-title {
  font-size: 48px;
}

#education-subtitle {
  font-size: 18px;
}
#education-body {
  display: flex;
  margin: 120px 60px;
  align-items: center;
}

#education-description {
  display: flex;
  flex-direction: column;
  width: 60%;
}

#education-img {
  width: 40%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

#education-img img {
  display: flex;
  width: 350px;
  height: 350px;
  border-radius: 80%;
}

#education-tittles-div {
  display: flex;
  align-items: center;
  color: #ff4f93;
}

.card:hover {
  background: #ff4f922f;
}

#icon-book {
  width: 100px;
  height: 100px;
}

h2 {
  font-size: 48px;
}

/* experience  */
#experience-body {
  display: flex;
  flex-direction: row-reverse;
  margin: 60px;
  align-items: center;
}

#experience-description {
  margin-right: 70px;
  display: flex;
  flex-direction: column;
  text-align: end;
  width: 60%;
}

#experience-cards {
  margin-top: 30px;
  text-align: start;
}

#experience-img {
  width: 40%;
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

#experience-img img {
  display: flex;
  width: 310px;
  height: 310px;
}

/* skills  */
#skills-body {
  display: flex;
  flex-direction: column;
  text-align: center;
}

#skills-title {
  margin-left: 60px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 40s slide infinite linear;
}

.logos-slide img {
  height: 100px;
  margin: 0 40px;
}

/* services  */
#services-body {
  display: flex;
  justify-content: center;
  margin: 60px;
}

#services-description {
  margin-right: 70px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#card-services {
  padding: 12px;
  border-radius: 20px;
  background-color: #ff4f9212;
  cursor: pointer;
}

#card-services:hover {
  box-shadow: 0px 0px 10px #f60863;
}

#card-deck {
  margin-top: 25px;
}

/* contacts  */
#contacts-body {
  margin: 30px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#contacts-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
}

#contacts-icons {
  width: 25%;
  display: flex;
  flex-direction: column;
}
#contacts-img {
  width: 20%;
  display: flex;
  justify-content: center;
}

#contacts-img img {
  position: static;
  height: 330px;
  margin-left: 40px;
}

#btn-send {
  color: white;
  border: 2px solid #ff4f93;
  border-radius: 20px;
  padding: 8px 36px;
  background: #ff4f93;
}

#btn-send:hover {
  color: #f60863;
  border: 2px solid #f60863;
  background: none;
}

/* GOTOP */

.go-top-container {
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  width: 3rem;
  height: 3rem;
  z-index: -1;
}

.go-top-button {
  width: 0rem;
  height: 0rem;
  background: rgb(255, 79, 147);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.go-top-button img {
  position: absolute;
  font-size: 1.7rem;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #fff;
  transition: 0.2s;
}

.show {
  z-index: 10;
}

.show .go-top-button {
  animation: popup 0.3s ease-in-out;
  width: 4.5rem;
  height: 4.5rem;
  z-index: 11;
}

.show img {
  transform: translate(-50%, -50%) scale(0.3);
}

@keyframes popup {
  0% {
    width: 0;
    height: 0;
  }
  50% {
    width: 6rem;
    height: 6rem;
  }
  100% {
    width: 4.5rem;
    height: 4.5rem;
  }
}

footer {
  text-align: center;
  padding: 20px;
}

@media (max-width: 800px) {
  body {
    width: 100%;
  }
  #nav-bootstrap {
    display: none;
  }
  #menu-bottom {
    display: flex;
    width: 50px;
    height: 45px;
    color: #f8f9fa;
    background: transparent;
    border: none;
    margin: 12px;
  }

  #main {
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0px;
  }

  #home-left-top {
    width: 100%;
    flex-direction: 25%;
    border-radius: 0px;
    justify-content: space-between;
  }

  #home-left-top h1 {
    font-size: 20px;
  }

  #name-logo {
    padding: 12px;
  }

  #butterfly {
    width: 40px;
  }

  #home-left-top .icon-media {
    visibility: hidden;
  }

  #image {
    width: 200px;
    height: 200px;
    left: 50%;
    top: 22%;
    border: 6px solid #f8f9fa;
    transform: translate(-50%, -50%);
    box-shadow: none;
  }

  #home-right-bottom {
    flex: initial;
    height: 90%;
    width: 100%;
    align-items: center;
    justify-content: start;
    padding: 40px 10px;
  }

  #name-logo {
    font-size: 30px;
  }

  #right-side {
    margin-left: 0px;
  }

  #right-content {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  #name-home {
    font-size: 2rem;
  }

  #resume {
    text-align: center;
  }

  #resume-buttons {
    width: 100%;
    justify-content: center;
  }

  #modal {
    /* position: absolute; */
    position: fixed;
    z-index: 100;
  }

  .contenedor {
    width: 95%;
    border-radius: 20px;
  }

  .nav-link {
    color: grey;
  }

  h6 {
    text-align: center;
  }

  /* About  */
  #about-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
  }

  #about-description {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  #about-img img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }
  /* education  */

  #education-tittles-div {
    flex-direction: column;
  }

  #education-title {
    font-size: 32px;
  }

  #education-mobile-title {
    font-size: 32px;
  }

  #education-subtitle {
    font-size: 12px;
  }

  #education-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
  }

  #education-description {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }

  #education-img img {
    display: none;
    /* visibility: hidden; */
  }

  #education-subtitle {
    font-size: 18px;
  }
  /* experience  */
  #experience-style-titles {
    display: flex;
    flex-direction: column;
  }
  #experience-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
  }

  #experience-description {
    margin-right: 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px;
  }
  #experience-cards {
    margin-top: 30px;
    text-align: center;
  }

  #experience-img img {
    display: none;
    /* visibility: hidden; */
  }

  #icon-book {
    width: 80px;
    height: 80px;
    margin-top: 12px;
  }

  h2 {
    font-size: 32px;
  }

  #skills-title {
    margin-left: 0px;
  }

  #services-description {
    margin-right: 0px;
  }

  #services-description h4 {
    font-size: 1.2rem;
  }

  #card-deck {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #card-services {
    display: flex;
    align-items: center;
  }

  #card-services img {
    padding: 22px;
    width: 250px;
  }

  /* Contacts  */
  #contacts-body {
    flex-direction: column;
    align-items: flex-start;
    margin: 30px 20px;
  }

  #contacts-description {
    width: 100%;
    margin-bottom: 50px;
  }

  #contacts-img img {
    display: none;
    /* position: relative;
    bottom: 220px;
    right: -450px;
    height: 250px; */
  }

  .go-top-container {
    bottom: 4rem;
    right: 1rem;
  }

  .show .go-top-button {
    width: 3.5rem;
    height: 3.5rem;
  }

  .go-top-button img {
    width: 80px;
  }
}
