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">
<h1 class="presentacion__contenido__titulo">
Eleve 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">
<a class="presentacion__enlaces__link" href="https://instagram.com/">Instagram</a>
<a class="presentacion__enlaces__link" href="https://github.com/">GitHub</a>
</div>
</section>
<img src="Imagem.png" alt="Foto de Sheyla García desarrolando 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');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
font-family: 'Montserrat', sans-serif;
background-color: #000000;
color: #F6F6F6;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.titulo-destaque {
color: #22D4FD;
}
.presentacion {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5% 10%;
gap: 50px;
flex-wrap: wrap;
}
.presentacion__contenido {
flex: 1 1 400px;
display: flex;
flex-direction: column;
gap: 24px;
}
.presentacion__contenido__titulo {
font-size: 2.5rem;
font-family: 'Krona One', sans-serif;
line-height: 1.3;
}
.presentacion__contenido__texto {
font-size: 1.25rem;
line-height: 1.6;
}
.presentacion__enlaces {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 10px;
}
.presentacion__enlaces__link {
background-color: #22D4FD;
padding: 16px 24px;
border-radius: 12px;
text-decoration: none;
color: #000000;
font-weight: 600;
font-size: 1.125rem;
transition: background-color 0.3s ease;
flex: 1 1 180px;
text-align: center;
}
.presentacion__enlaces__link:hover {
background-color: #1ab6d4;
}
.presentacion__imagen {
max-width: 400px;
width: 100%;
border-radius: 12px;
object-fit: cover;
}
@media (max-width: 768px) {
.presentacion {
flex-direction: column;
align-items: center;
text-align: center;
padding: 10% 5%;
}
.presentacion__enlaces {
justify-content: center;
}
}