Cambié el CSS y los resultados fueron buenos:
CSS
body {
font-family: Arial, sans-serif;
background-color: #4A249D;
color: #fff;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
display: flex;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.text-content {
flex: 1;
padding-right: 20px;
}
h1 {
font-size: 2em;
line-height: 1.2;
}
h1 strong {
color: #00BFFF;
}
p {
font-size: 1.2em;
line-height: 1.5;
}
.buttons {
margin-top: 20px;
}
.btn {
display: inline-block;
background-color: #F9E2AF;
color: #000;
padding: 10px 20px;
margin-right: 10px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
}
.image-content {
flex: 1;
position: relative;
}
.image-content img {
max-width: 100%;
border-radius: 10px;
}
.image-content::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 2px solid #00BFFF;
border-radius: 10px;
box-sizing: border-box;
transform: translate(15px, 15px);
z-index: -1;
}