* {
    margin: 0; padding: 0; border: 0;
    box-sizing: border-box;
    }
    
body {
            background-color: hsl(355,90%,90%);
            font-family: verdana;
            color: hsl(200,90%,40%);
    }

h1 {
    /* border on span goes aorund the letters & converts to block elements is usually inline for display */
    display: flex; 
    /* converts to flex parent or container to get things side by side*/
    
}

h1 span {
    display: block; /* converts to block becuase display flex over rides so not needed*/
    flex: 1 0 auto; /* grow shrink & basis */
    padding: 12px  0;
    text-align: center;
    font-size: 5em;
    background-color: hsl(200 100% 100% / .4); /* this above helps with transparentcy could also use rgba*/
    margin: 8px;

}

h3 {
    display: flex;
    color: black;
    margin: 10px 10px;
}

h3 .example1 {
    margin: 30px 30px;
}

p.subtitle {
    background-color: rgba(255,255,255, .4);
    text-align: center;
    padding: 12px;
    margin: 0 8px;
    font-size: 2em;
    font-variant: small caps;
    color: hsl(200,90%,20%);
}

section.examples {
    margin: 8px;
    min-height: 200px;
    background-color: rgba(255,255,255, .6);
    padding: 8px 0;  /* top and bottom then left and right */
    display: flex;
    flex-flow: row wrap; /* displays inna row will wrap when needed */
    justify-content: center;

}

.examples div {  /* div is a block element and wants to be vertical but flex makes side by side */
    border: 4px solid #345;
    margin: 8px;
    flex: 0 0 30%;
    aspect-ratio: 16 / 9;
    min-width: 300px;
}

div.example1 {  /* border radius */
    width: 240px; height: 240px;
    min-width: 240px; max-width: 240px;
    border-radius: 50%; /* makes block a circle  50% is a circle*/
    background-image: repeating-linear-gradient(#FF69B4, #FFFF00);
}

div.example2 { /* making stripes in a block */
    background-image: repeating-linear-gradient(to bottom right, #FF69B4 0px, #FF69B4 20px, #FFFF00 21px, #FFFF00 60px, #FF69B4 61px);

}

div.example3 { /* transition color when mouse hover */
    background-color: #FF69B4;
    transition: background-color .4s ease-in;

}

div.example3:hover {
    background-color: #FFFF23;
}

div.example4 {
    background-image: repeating-linear-gradient(to bottom right, #FF69B4 0px, #FF69B4 20px, #FFFF00 21px, #FFFF00 60px, #FF69B4 61px);
    width: 240px; height: 240px;
    min-width: 240px; max-width: 240px;
    border-radius: 10%;
}

div.example4:hover {
    background-image: repeating-linear-gradient(to bottom left, #0bd3d7 0px, #0bd3d7 20px, #0dd939 21px, #0dd939 60px, #FF69B4 60px);
}

div.example5 {
    background-color: #0bd3d7;
}

div.example5:hover {
    background-color: #0dd939;
}

div.example6 {
    background-image: repeating-linear-gradient(to bottom right, #0fcfc3 0px, #ac24ce 20px, #0fcfc3 21px, #ac24ce 60px, #0fcfc3 61px);
    width: 240px; height: 240px;
    min-width: 240px; max-width: 240px;
    border-radius: 40%;
}