* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body  {
   background-color: #1d2933;
   color:#86b9b0;
  font-family: "Black Ops One", system-ui;
}
 
h1  {
padding-top:10px;
    text-align: center;
  font-family: "Black Ops One", system-ui;
    font-size: 14vw;
    line-height: 10svw;
    text-transform: uppercase;
    background-image: url(../images/three\ heads.jpg);
    background-size: 70%;
    background-position: 50% 90%;
    background-clip: text;
    color: transparent;
}

section.three_boxes {
 margin: 150px auto;
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: space-evenly;

}

section.three_boxes div {
    flex-grow:0;
    flex-shrink: 0;
    flex-basis: 20%;
    aspect-ratio: 1;
    border: 8px solid rgb(136, 170, 243);
    border-radius: 0%;
    transform: rotate(-45deg);
    position:relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 500px;
    border-radius: 10px;
    transition: all 600ms linear;

}

section.three_boxes div:hover {
    border: 8px solid rgb(231, 93, 0);
}

section.three_boxes div figure {
    background-image: url(../images/three\ heads.jpg);
    background-size: 400%;
    width: 145%; 
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left: -23%;
}

section.three_boxes div:nth-child(1) figure {
    background-position: 23% 89%;
}

section.three_boxes div:nth-child(2) figure {
    background-position: 49% 89%;
}

section.three_boxes div:nth-child(3) figure {
    background-position: 78% 89%;
}


.black-ops-one-regular {
  font-family: "Black Ops One", system-ui;
  font-weight: 400;
  font-style: normal;
}
