* {
   margin: 0; padding: 0; box-sizing: border-box; 
}

/*font families danfo & plaster */

body {
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 20%, rgba(22, 8, 8, 1) 30%, rgba(77, 25, 26, 1) 75%, rgba(162, 13, 20, 1) 95%, rgba(240, 2, 14, 1) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

h1 {
    text-align: center;
    font-family: "Plaster", system-ui;
    font-size: 15svw;
    line-height: 10svw;  /* Changed from svw to vw for better browser support */
    text-transform: uppercase;
    background-image: url(../images/three_sw.jpg);
    background-size: 125%;
    background-position: 40% 45%;
    background-clip: text;
    color: transparent;
    letter-spacing: -50px;
}

section.three_boxes {
    margin: 150px auto;
    display: flex;
    /*flex-flow: row wrap; */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

section.three_boxes div {
    /*flex: 0 0 20%; */
    flex-grow: 0; /*rate of growth of the box */
    flex-shrink: 0;
    flex-basis: 20%; /*20% of the width of the parent */
    aspect-ratio: 1;
    border: 8px solid black;
    border-radius: 20%;
    transform: rotate(-45deg);
    position: relative;
    overflow: hidden;
    box-shadow: 10px 10px 20px black;
}

section.three_boxes div figure {
    background-image: url(../images/three_sw.jpg);
    background-size: 585%;
    width: 145%; 
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left: -23%;
}

section.three_boxes div:nth-child(1) figure {
    background-position: 30% 55%;
}

section.three_boxes div:nth-child(2) figure {
    background-position: 51% 41%;
}

section.three_boxes div:nth-child(3) figure {
    background-position: 67% 55%;
}

