body {
    display: flex;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: rgb(255, 217, 0);
}
#A {
   height: 250px;
   width: 300px;
    padding: 20px;
    position: absolute;
    top: 30%;
    color: gray;
    background-color: white;
    border: 2px solid gray;
    animation: float 4s ease-in-out infinite;
}
#B{ height: 35px;
width: 200px;
border-radius: 20px 10px 20px 10px;
position: absolute;
top: 50px;
}
#C{
    width: 350px;
    height: 35px;
    border-radius: 15px 15px 15px 15px;
    position: absolute;
    top: 100px;
    left: 40px;
}
#D{  
    position: absolute;
    top: 150px;
    left: 25%;
    
}


#O{
    color: white;
    position: relative;
}

#P {
    color: white;
    position: relative;
}