HTML
<!DOCTYPE html>
<html lang="es-mx">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portafolio</title>
<link rel="stylesheet" href="css/estilo.css">
</head>
<body>
<header></header>
<main>
<section class="contenedor">
<div class="texto">
<h1>
Eleve tu negocio digital a otro nivel <br>
<strong>con un Front-end de calidad!</strong>
</h1>
<p>
<strong>¡Hola! Soy Sebastian Cornejo</strong>, aprendiendo las bases para ser desarrollador Front-end <br>
con especialización en React, HTML y CSS. Ayudo a pequeños negocios <br>
y diseñadores a llevar a cabo buenas ideas.
</p>
<p>
<strong>Mi objetivo</strong><br>
Aprender lo máximo posible para estar lo mejor preparado para el campo laboral. <br>¿Hablamos?
</p>
<a href="https://www.instagram.com/seba.cornejo.7927/">Instagram</a>
<a href="https://github.com/xsebet">GitHub</a>
</div>
<div class="imagen">
<img src="img/Imagem.png" alt="img de portafolio">
</div>
</section>
</main>
<footer></footer>
</body>
</html>
CSS
body {
font-family: 'Times New Roman', Times, serif;
color: #F6F6F6;
background-color: black;
margin: 0;
padding: 0;
}
h1 {
font-size: 2.5em;
color: #F6F6F6;
margin-bottom: 20px;
text-align: left; /* Cambiado de center a left */
}
p {
font-size: 1.2em;
line-height: 1.6;
margin-bottom: 30px;
}
a {
display: inline-block;
margin: 10px 20px 0 0;
padding: 14px 28px;
color: black;
background-color: #22D4FD;
text-decoration: none;
border-radius: 12px;
font-weight: bold;
transition: background-color 0.3s ease;
}
a:hover {
background-color: #1bbbe0;
}
header, footer {
background-color: #2E0854;
padding: 20px;
text-align: center;
}
footer {
color: lightgray;
font-size: 0.9em;
}
strong {
color: #22D4FD;
}
.contenedor {
display: flex;
align-items: center;
justify-content: space-between;
padding: 60px 40px;
gap: 40px;
max-width: 1200px;
margin: 0 auto;
flex-wrap: wrap;
}
.texto {
flex: 1;
min-width: 280px;
}
.imagen img {
width: 350px;
max-width: 100%;
height: auto;
border-radius: 20px;
border: 3px solid #22D4FD;
box-shadow: 0 0 20px rgba(34, 212, 253, 0.5);
}
Visual server live