@import url(./normalize.css);
@font-face {
  font-family: "Archivo Black";
  src:
    url(../fonts/ArchivoBlack-Regular.woff2) format("woff2"),
    url(../fonts/ArchivoBlack-Regular.woff) format("woff");
}
@font-face {
  font-family: "Open Sans";
  src:
    url(../fonts/OpenSans-Regular.woff2) format("woff2"),
    url(../fonts/OpenSans-Regular.woff) format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-weight: bold;
  src:
    url(../fonts/OpenSans-Bold.woff2) format("woff2"),
    url(../fonts/OpenSans-Bold.woff) format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-weight: 600;
  src:
    url(../fonts/OpenSans-SemiBold.woff2) format("woff2"),
    url(../fonts/OpenSans-SemiBold.woff) format("woff");
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}
body {
  background-color: #111;
  color: #fff;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  padding: auto;
}
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header__cv-intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}
.header__cv-person {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  max-width: 600px;
}
.header__cv-title {
  font-size: 72px;
  font-family: "Archivo Black", sans-serif;
  height: 156px;
  margin-bottom: 15px;
}
.span__accent,
.span__subtitle {
  display: block;
}
.header__cv-subtitle {
  font-size: 18px;
  opacity: 0.5;
}
.header__cv-description {
  font-size: 18px;
}
.header__cv-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}
.header__cv-circle {
  position: absolute;
  bottom: 0;
  left: 100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  color: #6d6dff;
  background: radial-gradient(
    circle at center,
    rgba(109, 109, 255, 0.18) 0%,
    rgba(109, 109, 255, 0.1) 30%,
    rgba(109, 109, 255, 0.05) 50%,
    rgba(109, 109, 255, 0.02) 65%,
    transparent 80%
  );
  filter: blur(10px);
  z-index: -1;
}
.header__cv-foto {
  width: 100%;
  max-width: 387px;
  height: auto;
  margin-top: 50px;
}
.header__cv-text {
  font-size: 18px;
  max-width: 520px;
  max-height: 150px;
}
.header__cv-nav {
  margin-top: 10px;
}
.header__cv-nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.header__cv-nav-item {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
}
.header__cv-nav-item span {
  opacity: 0.5;
}
.header__cv-nav-item:hover span {
  color: #fff;
  border-radius: 5px;
  opacity: 1;
}
.header__cv-nav-item::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 0;
  width: calc(100% - 30px);
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(109, 109, 255, 0.4),
    rgba(109, 109, 255, 0.2),
    rgba(109, 109, 255, 0.1)
  );
}
.header__cv-skills {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.header__skills-title {
  font-family: "Archivo Black", sans-serif;
  font-size: 40px;
  margin: 0 0 50px 0;
}
.header__cv-skill-icon {
  width: 50px;
  height: 50px;
}
.main__cv {
  margin-top: 100px;
}
.main__cv-title {
  font-size: 40px;
  font-family: "Archivo Black", sans-serif;
  margin: 0 0 50px 0;
}
.main__cv-projects {
  display: flex;
  gap: 40px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}
.main__cv-project1,
.main__cv-project2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 590px;
}
.main__cv-project1-description,
.main__cv-project2-description {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.main__cv-project1-image,
.main__cv-project2-image {
  width: 100%;
  padding: 10px;
}
.main__cv-project1-links,
.main__cv-project2-links {
  display: flex;
  gap: 12px;
  align-self: flex-start;
  margin-top: auto;
}
.projects__logo {
  max-width: 40px;
  max-height: 40px;
}
.main__cv-projects-link {
  opacity: 0.5;
}
.main__cv-projects-link:hover {
  opacity: 1;
}
.main__projects-title {
  font-size: 24px;
  font-weight: bold;
}
.main__projects-text {
  font-size: 18px;
}
.main__cv-project1-image {
  background-image: url(../images/portada-cafeteria.png);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: auto;
  gap: 10px;
  max-width: 590px;
  aspect-ratio: 16 / 9;
}
.main__cv-project1-logo {
  width: 40px;
  height: 40px;
  gap: 10px;
}
.main__cv-project1-description {
  width: 100%;
  max-width: 590px;
  background-color: #1c1c1c;
  padding: 30px;
}
.main__cv-project2-image {
  background-image: url(../images/imagen-proyecto.png);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: auto;
  gap: 10px;
  max-width: 590px;
  aspect-ratio: 16 / 9;
}
.main__cv-project2-description {
  width: 100%;
  max-width: 590px;
  height: 340px;
  background-color: #1c1c1c;
  padding: 30px;
}
.footer__cv {
  width: 100%;
  height: 343px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.footer__cv-title {
  font-size: 40px;
  font-family: "Archivo Black", sans-serif;
  margin-bottom: 20px;
  margin-top: 100px;
  align-items: center;
}
.footer__cv-email {
  color: #6d6dff;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.5;
}
.footer__cv-email:hover {
  opacity: 1;
}
.footer__cv-social {
  display: flex;
  gap: 80px;
}
.footer__social-link img {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}
.footer__social-link img:hover {
  opacity: 1;
}
.footer__cv-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(109, 109, 255, 0.25) 0%,
    rgba(109, 109, 255, 0.15) 25%,
    rgba(109, 109, 255, 0.08) 40%,
    rgba(109, 109, 255, 0.04) 55%,
    rgba(109, 109, 255, 0.02) 70%,
    transparent 80%
  );
  filter: blur(10px);
  position: absolute;
  z-index: -1;
  align-items: center;
}
