index.html
<!DOCTYPE html>
<html lang="es-mx">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portafolio</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header></header>
<main class="presentacion">
<section class="presentacion__contenido">
<!-- Nueva clase -->
<h2 class="nombre-hover">Sheyla García</h2>
<h1 class="presentacion__contenido__titulo">
Eleva tu negocio digital a otro nivel
<strong class="titulo-destaque">con un Front-end de calidad!</strong>
</h1>
<p class="presentacion__contenido__texto">
¡Hola! Soy Sheyla García, desarrolladora Front-end con
especialización en React, HTML y CSS. Ayudo a pequeños
negocios y diseñadores a llevar a cabo buenas ideas.
¿Hablamos?
</p>
<div class="presentacion__enlaces">
<h2 class="presentacion__enlaces__subtitulo">Accede a mis redes:</h2>
<a class="presentacion__enlaces__link" href="https://instagram.com/">
<img src="./assets/instagram.png" alt="Instagram">
Instagram</a>
<a class="presentacion__enlaces__link" href="https://github.com/">
<img src="./assets/github.png" alt="GitHub">
GitHub</a>
</div>
</section>
<img src="./assets/Imagem.png" alt="Foto de Sheyla García desarrollando un proyecto">
</main>
<footer></footer>
</body>
</html>
style.css
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@400;600&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background-color: #000000;
color: #F6F6F6;
}
.titulo-destaque {
color: #22D4FD;
}
.presentacion {
margin: 10% 15%;
display: flex;
align-items: center;
justify-content: space-between;
}
.presentacion__contenido {
width: 615px;
display: flex;
flex-direction: column;
gap: 40px;
}
.presentacion__contenido__titulo {
font-size: 36px;
font-family: 'Krona One', sans-serif;
}
.presentacion__contenido__texto {
font-size: 24px;
font-family: 'Montserrat', sans-serif;
}
.presentacion__enlaces {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
gap: 32px;
}
.presentacion__enlaces__subtitulo {
font-family: Krona One, sans-serif;
font-weight: 400;
font-size: 24px;
}
.presentacion__enlaces__link {
width: 378px;
text-align: center;
border-radius: 8px;
font-size: 24px;
font-weight: 600;
padding: 21.5px 0;
text-decoration: none;
color: #F6F6F6;
font-family: 'Montserrat', sans-serif;
border: 2px solid #22D4FD;
display: flex;
justify-content: center;
gap: 10px;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.presentacion__enlaces__link:hover {
background-color: #272727;
transform: scale(1.05);
}
/* Nueva clase con Hover */
.nombre-hover {
font-family: 'Montserrat', sans-serif;
font-size: 28px;
font-weight: 600;
color: #F6F6F6;
text-align: left;
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}
.nombre-hover:hover {
color: #22D4FD;
text-shadow: 0px 0px 8px #22D4FD;
transform: scale(1.1);
}