div {
    position: relative;
    left: 15px;
    width: 500px;
    height: 650px;
    border: 4px solid gray;
}
#blue {
    background-color: blue;
   position: absolute;
   top: 15px;
   left: 40px;
   width: 200px;
   height: 130px;
   z-index: 1;
   color: white;
}
#green{
    background-color: green;
    position: absolute;
    z-index: 2;
    top: 45px;
    left: 140px;
    height: 130px;
    width: 200px;
}
#yellow {
    background-color: yellow;
    z-index: 3;
    position: absolute;
    top: 90px;
    left: 75px;
    width: 200px;
    height: 130px;
}
#andra {
    border: solid red;
    left: 30px;
    top: 70%;
    position: absolute;
    width: 450px;
    height: 125px;
    background-color: red;
    z-index: 1;
    text-align: center;
}
img {
  table-layout: fixed;
  width: 95%;
  height: 95%;
  text-align: center; 
    border: black;
    z-index: 2;
}
table img {
    max-width: 100px;
}
p {
    position: absolute;
    top: 35%;
    left: 30%;
}
span{
    top: 50%;
    left: 50%;
    text-decoration: double;
    background-color: yellow;
    z-index: 3;
}
#text {
    color: green;
    position: absolute;
    left: 75%;
    top: 7%;
}