/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Estilos del encabezado */
header {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

header nav li {
  margin-left: 1rem;
}

header nav li:first-child {
  margin-left: 0;
}

header nav a {
  color: #fff;
  text-decoration: none;
}

header nav a:hover {
  text-decoration: underline;
}

/* Estilos del contenido principal */
main {
  margin: 2rem;
}

main h2 {
  margin-top: 0;
}

main p {
  line-height: 1.5;
}

/* Estilos del pie de página */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

#icon {
  display: inline-block;
  margin-top: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

#icon:hover {
  transform: scale(1.2);
}

#profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

#download-cv-pdf {
  display: inline-block;
  padding: 10px;
  background-color: #0077B5;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#download-cv-pdf:hover {
  background-color: #005E8A;
}
.btn-download {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0077B5;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: #005E8A;
}

.btn-download i {
  margin-right: 5px;
}

.dlink {
  background: #ffffff;
  border: solid 1px #e6e6e6;
  border-radius: 2px;
  display: inline-block;
  height: 100px;
  line-height: 100px;
  margin: 5px;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: 100px;
}

.dlink span {
  background: #f2594b;
  border-radius: 4px;
  color: #ffffff;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  padding: 5px 10px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.dlink span:last-child {
  margin-left: -20px;
}

.dlink:before,
.dlink:after {
  background: #ffffff;
  border: solid 3px #9fb4cc;
  border-radius: 4px;
  content: '';
  display: block;
  height: 35px;
  left: 50%;
  margin: -17px 0 0 -12px;
  position: absolute;
  top: 50%;
  /*transform:translate(-50%,-50%);*/
  
  width: 25px;
}

.dlink:hover:before,
.dlink:hover:after {
  background: #e2e8f0;
}
/*a:before{transform:translate(-30%,-60%);}*/

.dlink:before {
  margin: -23px 0 0 -5px;
}

.dlink:hover {
  background: #e2e8f0;
  border-color: #9fb4cc;
}

.dlink:active {
  background: #dae0e8;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25);
}

.dlink span:first-child {
  display: none;
}

.dlink:hover span:first-child {
  display: inline-block;
}

.dlink:hover span:last-child {
  display: none;
}

.perfil-usuario .contenedor-perfil {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.perfil-usuario .portada-perfil {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 20rem;
  border-radius: 0 0 12px 12px;
}

.perfil-usuario .avatar-perfil {
  display: block;
  position: relative;
  width: 230px;
  height: 230px;
  background-color: #D9DCF1;
  position: absolute;
  bottom: -65px;
  left: 4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #FFFFFF;
  box-shadow: 0 0 12px 2px rgba(0, 0, 0, .2);
}