* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ESTILOS REPETIDOS */

.habilidad, .contacto-card, .contacto-form, .proyecto {
  box-shadow: 0 8px 16px -8px rgba(0,0,0,0.35);
}
.header, .left-header, .social-section, .social-link, .img-main, .dato, .proyecto-header, .proyecto-img, .proyecto-header-info, .stack, .demo, .code, .proyecto-footer, .filtrar, .frontend, .backend, .otras, .contacto-card, .contacto-form, .form-header, .form, .form button {
  display: flex;
}
.header, .left-header, .social-section, .dato, .proyecto-header, .proyecto-img, .proyecto-header-info, .demo, .code, .frontend, .backend, .otras, .contacto-card, .contacto-form, .form-header, .form button {
  align-items: center;
}
.frontend, .backend, .otras, .contacto-form, .form {
  flex-direction: column;
}
.social-link, .cv, .subtitle-nosotros, .subtitle-proyectos, .subtitle-habilidades, .subtitle-contacto, .subtitle-nosotros, .nosotros-info, .demo, .code, .habilidades-info, .info-contacto, .habilidad, .footer {
  text-align: center;
}
.social-link, .cv, .dato-img, .proyecto-img, .code {
  border: 1px solid #000;
}
.nosotros, .proyectos, .habilidades, .contacto {
  margin-top: 120px;
}
/* HEADER */


.header {
  justify-content: space-between;
  padding: 0 24px;
  height: 120px;
  width: 100%;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.35);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #fff;
}
.logo {
  margin-right: 12px;
}
.menu, .logo {
  width: 30px;
  height: 30px;
}
.nav, .backend, .otras, .nodisp {
  display: none;
}
h1 {
  font-size: 24px;
}

/* SECTION */

.section {
  padding: 0 24px;
  margin-top: 180px;
}
.subtitle-section {
  font-size: 32px;
}
.info-section {
  font-size: 20px;
  margin: 24px 0;
}
.description-section {
  font-size: 16px;
  line-height: 1.5;
}
.img-social {
  width: 20px;
  height: 20px;
}
.social-link {
  padding: 10px;
  margin-right: 12px;
  border-radius: 50%;
}
.social-section {
  margin: 24px 0;
}
.social {
  margin-right: 12px;
  font-size: 18px;
}
.cv {
  border-radius: 12px;
  padding: 12px 24px;
  margin-bottom: 120px;
}

/* Movimiento de iconos */

.logo-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.img-main {
  justify-content: center;
}
.icon-float {
  width: 40px;
  height: 40px;
}

.right {
  position: relative;
  width: fit-content;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 60px;
}
.float {
  position: absolute;
  animation: floatMove 3s ease-in-out infinite alternate;
}

.float-top-left {
  top: -20px;
  left: -20px;
}
.float-top-right {
  top: -20px;
  right: -20px;
}
.float-bottom-left {
  bottom: -20px;
  left: -20px;
}
.float-bottom-right {
  bottom: -20px;
  right: -20px;
}

@keyframes floatMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* NOSOTROS */
.subtitle-nosotros, .subtitle-proyectos, .subtitle-habilidades, .subtitle-contacto {
  font-size: 32px;
  margin: 24px 0;
}
.container {
  max-width: 400px;
  margin: 0 auto;
}
.dato {
  width: 100%;
  margin: 24px 0;
}
.subtitle-dato {
  font-size: 14px;
  font-weight: 600;
  margin-right: 12px;
}
.info-dato {
  font-size: 12px;
}
.dato-img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border-radius: 4px;
  padding: 6px;
}


/* PROYECTOS */

.proyecto {
  padding: 14px;
  width: fit-content;
  padding: 12px 24px;
  margin: 0 auto;
}
.proyecto, .proyecto-img {
  border-radius: 12px;
}
.proyecto-img {
  width: 60px;
  height: 60px;
  margin-right: 12px;
  justify-content: center;
}
.proyecto-caracteristica-header {
  font-size: 14px;
  margin-right: 6px;
}
.proyecto-features, .proyecto-stack {
  font-size: 18px;
  margin-top: 12px;
}
.stack {
  margin: 12px 0;
}
.item-stack {
  padding: 4px 12px;
  margin-right: 6px;
  background-color: rgb(200, 199, 199);
  border-radius: 24px;
  font-size: 12px;
}
.demo, .code {
  padding: 12px 24px;
  font-weight: 600;
  justify-content: center;
  border-radius: 12px;
  border: none;
}
.proyecto-footer {
  gap: 12px;
  margin-top: 24px;
}
.demo {
  flex: 2;
  background-color: rgb(170, 170, 170);
}
.code {
  flex: 1;
  background-color: rgb(201, 200, 200);
  cursor: pointer;
}
.img-proyecto-demo {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}
.img-proyecto-code {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

.habilidades-info, .info-contacto {
  font-size: 16px;
}
.filtrar {
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.opcion {
  margin: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background-color: rgb(170, 170, 170);
  border: none;
  cursor: pointer;
}

.frontend, .backend, .otras {
  width: 100%;
}

.habilidad {
  width: 95%;
  max-width: 280px;
  padding: 36px;
  margin-top: 24px;
  border-radius: 24px;
}
.subtitle-habilidad {
  margin: 8px 0;
}
.hbld-img {
  max-width: 60px;
}

.contacto-card {
  width: 95%;
  max-width: 320px;
  justify-content: space-between;
  border-radius: 12px;
  padding: 16px 24px;
  margin: 0 auto;
  margin-bottom: 24px;
}
.info-contacto {
  margin-bottom: 24px;
}
.info-card {
  margin: 0 6px;
}
.img-sign img {
  width: 14px;
  height: 14px;
}
.img-card img {
  width: 60px;
  height: 60px;
  margin-right: 6px;
}
.subtitle-card {
  font-size: 18px;
  margin-bottom: 6px;
}
.card-info {
  font-size: 14px;
}

.contacto-form {
  width: 95%;
  max-width: 320px;
  border-radius: 12px;
  padding: 24px 12px;
  margin: 0 auto;
}
.form-header {
  margin-bottom: 24px;
}
.subtitle-form {
  font-size: 20px;
}
.img-form img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}
.form {
  width: 90%;
  margin: 0 auto;
}
.form input, .form textarea, .form button {
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #7d7b7b;
  padding-left: 12px;
}
.form textarea {
  height: 120px;
  padding-top: 12px;
  resize: none;
}
.form button {
  background-color: rgb(170, 170, 170);
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
}
.send {
  width: 24px;
  height: 24px;
  margin-left: 12px;
}

.footer {
  margin: 120px 0 20px 0;
  color: #7d7b7b;
}



.nav-responsive {
  background-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  display: flex;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  position: absolute;

}

.disp {
  background-color: rgba(89, 89, 89, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 200;
}

.card-nodisp {
  background-color: #fff;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 8px 16px -8px rgba(0,0,0,0.35);
  text-align: center;
  width: 90%;
  max-width: 600px;
}

.nodisp-info {
  margin: 24px 0;
}

.nodisp-btn {
  background-color: rgb(170, 170, 170);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.nodisp-title {
  font-size: 28px;
}
.nodisp-info, .nodisp-btn {
  font-size: 18px;
}

.list-nav-responsive {
  font-size: 20px;
  font-weight: 500;
  list-style: none;
  display: flex;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 120px 0;
}

.no-scroll {
  overflow: hidden;
}

#nosotros, #proyectos, #habilidades, #contacto {
  scroll-margin-top: 160px;
}

#front {
  background-color: rgb(210, 210, 210);
  font-weight: 600;
}