JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="style.css">
    <title>Who am I</title>
</head>
<body>
    <div class="header">
        <h2 class="main-heading">Who am I?</h2>
    </div>

        <div class="container">
            <div class="col col-1">
            <img src="images/css.svg" alt="CSS logo" class="img-css">
            <br>
            <p>I am</p>
            </div>

            <div class="col col-2">

                <p class="my-name">Sri</p>
                
            </div>

            <div class="col col-3">
                <img src="images/javascript.svg" alt="JS logo" class="img-js">
                <p>Developer
                </p>
            </div>

        </div>
</body>
</html>

CSS

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    background-color: #400017;
}

.img-css{
    width: 50px;
    height: 50px;
}

.main-heading{
    display: block;
    text-align: center;
    color: #fc065d;
    margin-bottom: 70px;
    
}

.img-js{
    width: 50px;
    height: 50px;
}

.container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border: 3px solid #360310;
    max-width: 610px;
    height: 310px;
    text-align: center;
    margin: 0 auto; 
    flex-direction: row;
   /* transform: translate(-50%,-50%); */
}

.col{
    width: 130px;
    height: 100px;
    margin: 0 auto; 
    border: 3px solid #5e0a1f;
    padding-top: 44px;
    padding-left: 26px;
    padding-right: 26px; 
    color: #fff;
    background-color: #010001;
    border-radius: 30px;
    z-index: 20;
    /* position: relative; */
}



.col p{
    font-size: 16px;
    font-weight: bold;
}


.col-2 p{
    position: relative;
    top: 55px;
    text-align: center;
    font-weight: bold;
}