*{
    margin: 0; padding: 0; border: 0; box-sizing: border-box 
}



body{ 
  background-color: rgb(238, 205, 176); 
  font-family: Verdana, Geneva, Tahoma, sans-serif
}

h1 {
    text-align: center;
    font-weight: normal;
    text-transform: lowercase;
    border-left: 4px solid#456; 
    border-bottom: 4px solid #456;
    margin: 8px 8px 40px 8px;
    padding: 8px;
    transform: rotate(-2deg);
}

#samples-parent {
    display: flex; 
    flex-flow:row wrap;
    justify-content: space-between;
    padding: 8px;
    border: 4px solid red;

}

#samples-parent figure{
    border: 4px solid hwb(300 30% 45%);
    aspect-ratio: 1/1;
    flex-grow: 0;
    flex-basis: 30%;
    margin-bottom: 16px;
    margin-left: 15px;
    position: relative;
}

figure h2 {
    position: absolute;
    top:12px; left:-5%;
    background-color: hsla(220, 50%, 0%, .6);
    background-color: hsla(220 50% 0% / .6);
    color: yellow;
    width: 110%;
    text-align: center;
    padding: 4px 0;
    transition: top .16s linear;
}

figure figcaption {
   position:absolute;
   top: 80%; left: 0;
   width: 100%; height: 20%;
   background-color: hsl(220 50% 40% / .7); 
   color: white; 
   padding: 8px;
   border-radius: 0 0 2px 0;
}

#samples-parent figure:nth-child(1) {
    border-radius:20%;
    border: 10px solid palegreen;
}



#samples-parent figure:nth-child(2) {
  overflow: hidden;
  position: relative;
}

#samples-parent figure:nth-child(3) {
   

}

figure img {
    width:600px; height: 480px;
    object-fit: cover;
}
#samples-parent figure:nth-child(4) div {
    width: 30%;
    aspect-ratio: 1/1;
    margin: 80px auto;
    background-image: conic-gradient(green 0%, green 10%,orange 10%, orange 40%, gray 40%, gray 65%, blue 65%, blue 85%, hotpink 85%, hotpink 100%);
    border-radius: 50%;
}

#samples-parent figure:nth-child(5) div {
   width: 30%;
   aspect-ratio: 1/1;
   border: 4px solid red;
   margin: 80px auto;
   background-image: repeating-radial-gradient(red 0px, red 10px, blue 10px, blue 20px);
}


#samples-parent figure:nth-child(6){
    padding: 30px;

}

#samples-parent figure:nth-child(6) img{
    float:left
}


#samples-parent figure:nth-child(7) h3 {
  text-shadow: -3px 4px 6px orangered;
  margin: 80px auto;
  text-align: center;
  font-size: 4em;
}



#samples-parent figure:nth-child(8) h3 {
 margin:80px auto;
 text-align: center;
 font-size: 4em;
 width: 80%;
 border: 2px solid red;
 transform: rotate(170deg) skewY(5deg);
  }


  #samples-parent figure:nth-child(9) {
    background-color: blue;
   transition: all .15s linear;
     }

     #samples-parent figure:nth-child(9):hover {
        background-color: orangered;
     }