The information in this dropdown menu is currently aligned to the left of the icon. I would like it to be aligned to the right. Thank you!
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous" />
<style>
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-span {
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
</style>
</head>
<body>
<div style="text-align:center;">
<div class="dropdown">
<span><i class="far fa-caret-square-down fa-lg"></i></span>
<div class="dropdown-content">
<p>Hello World!</p>
</div>
</div>
</div>
</body>
</html>