I am trying to make boxes to list upcoming events and am having trouble getting them aligned horizontally. I am using Codepen.io, I will link what I have done. I thought makings a second box #two with the exact details as the first box #one and just moving to the right would work, but I do not know why it doesn't. I made sure not to nest it within the first box #one and just inside the .container .
https://codepen.io/bibaboy/pen/YzVJWKR
body {
display: grid;
background-image: radial-gradient(#3f5efb, #fc466b);
}
.container {
width: 1500px;
height: 1000px;
margin: auto;
border: 1px double black;
}
#one {
width: 20%;
height: 350px;
margin-left: 10%;
margin-top: 5%;
padding: 5px;
border-radius: 35px;
background: pink;
box-shadow: 0 2px 10px 0 #e667b8;
}
#two {
width: 20%;
height: 350px;
margin-left: 40%;
margin-top: 10%;
padding: 5px;
border-radius: 35px;
background: pink;
box-shadow: 0 2px 10px 0 #e667b8;
}
#header1 {
font-size: 40px;
color: #477ced;
text-align: center;
text-shadow: 1px 1px black;
}
#p1 {
font-size: 25px;
color: black;
text-align: center;
}
<div class="container">
<div id="one">
<p id="header1">September 15 2021</p>
<hr>
<p id="p1"> We will be holding a conference for blahblah company in the <b>7th floor of the IBC Bank building</b>.</p>
</div>
<div id="two">
<p id="header1"> Hello Hello </p>
</div>
</div>