


h1 {
    text-align: center;
    font-weight: normal;
    text-transform: lowercase;
    border-left: 4px solid; 
    border-bottom: 4px solid;
    margin: 8px 8px 40px 8px;
    padding: 4px;
    transform: rotate(-3deg);
    border-radius: 0 0 30px 0;
}



#samples-parnet figure {
    border: 8px solid;
    aspect-ratio: 2/1.5;
    flex-grow: 0;
    flex-basis: 30%;
    margin-bottom: 16px;
    border-radius: 32px 0px 32px 0px;
    position: relative;
}

figure h2 {
    position: aboslue;
    top: 12px; left: -5px; 
    background-color: hsl(220, 50%, 40%, 0.7);
    color: yellow;
    width: 110%;
    text-align: center;
    padding: 4px 0;
    transition: top .7s ease-in-out;
}

figure figcaption {
    position: absolue;
    top: 80%; left: 0;
    width: 100%; height: 20%;
    background-color: hsl(220, 50%, 40%, .7);
    color: #EEE;
    border-radius: 0 0 24px 0;
    text-align: left;
    padding: 8px;
}

#samples-parent figure:nth-child(1) {
    border-radius: 40% 40% 40px 0;
    border: 16px solid rebeccapurple;
}

#samples-parent figure:nth-child(2) {
    overflow: hidden;
}

#samples-parent figure:nth-child(3) {
    width: 300px; height: 300px;
    object-fit: fill;
}

/* figure img {
    width: 300px; height: 300px;
    object-fit: cover;
} */

#samples-parent figure:nth-child(4) div {
    width: 30%; 
    aspect-ratio: 1/1;
    margin: 80px auto;
    margin: 80px auto;
    background-image: conic-gradient(green 20%, green 20%, orange 20%, orange 40%, gray 40%, gray 60%, blue 60%, blue 80%, hotpink 80%, 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 10px, blue 20px)
}

#samples-parent figure:nth-child(6) div {
    padding-top: 80px;
}

#samples-parent figure:nth-child(6) img {
    float: right;
}

#samples-parent figure:nth-child(6) h3 {
    float: right;
}


#samples-parent figure:nth-child(7) h3 {
    text-shadow: -3px 4px 10px red;
    margin: 80px auto;
    text-align: center;
}

#samples-parent figure:nth-child(8) h3 {
    margin: 80px auto;
    text-align: center;
    font-size: 4em;
    width: 80%;
    border: 2px solid red;
    transform: rotate(180deg) skewY(5deg);
}

#samples-parent figure:nth-child(9) {
    background-color: green;
    transition: background-color .6s linear;
}

#samples-parent figure:nth-child(9):hover {
    background-color: blue;
}

#samples-parent figure:nth-child(9):hover h2 {
    top: 100px;
}