* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.3)), 
        url("fondo.jpg");
    background-size: cover;        
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

.hero h1 {
    font-size: 3rem;
    padding: 10px;
}

.hero p {
    font-size: 1.5rem;
    padding: 10px;
}

.hero-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 350px;
    width: 60vw;
}

.hero-img.top {
    top: 20px;
}