.personal {
    background-color: black;
    margin: 48px auto;
    max-width: 1024px;
}
.hero {
    position: relative;
}
.hero img {
    width: 100%;
    max-height: 400px;
    object-fit: cover; 
    object-position: center;
    opacity: 0.8;
    display: block; 
}
.hero h2{
    position: absolute;
    top: 20%;
    left: 50%; 
    transform: translateX(-50%);
    font-size: 140%;
    width: 90%;
}
.hero p{
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translateX(-50%);
    font-size: 90%;
    width: 60%;
}
.card1 ,.card2{
    background-color: rgb(200, 255, 18);
    width: 320px;
    height: 100px;
    padding: 20px;
    position: relative;
}
.card1 img {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
.card1 h2{
    position: absolute;
    top: 0;
    left: 5px;
    font-size: 1rem;
    margin: 0;
    color: black;
}
.card1 p{
    position: absolute;
    width: 45%;
    margin-top: 1px;
    left: 2px;
    font-size: 0.8rem;
    color: black;
    text-align: left;
}
.card2 img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.card2 h2{
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 1rem;
    margin: 0;
    color: black;
}
.card2 p{
    position: absolute;
    width: 40%;
    margin-top: 1px;
    right: 0;
    font-size: 0.8rem;
    color: black;
    text-align: left;
}
