/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.plaster-regular {
  font-family: "Plaster", system-ui;
  font-weight: 400;
  font-style: normal;
}
.danfo-uniquifier {
  font-family: "Danfo", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "ELSH" 0;
}

body {
    background: linear-gradient(90deg, darkblue 0%, gray 100%);
    min-height: 100px;
}

h1 {
    text-align: center;
    font-family: Plaster, Verdana, sans-serif;
    font-size: 14svw;
    line-height: 10svw;
    text-transform: uppercase;
    background-image: url(../images/3-dogs.jpg);
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: 50% 20%;
    background-clip: text;
    color: transparent;
}

.three_boxes {
    margin: 150px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}


.three_boxes div {
    flex: 0 0 20%;
    aspect-ratio: 1;
    border: 8px solid black;
    box-shadow: 0 10px 30px black;
    transform: rotate(-45deg);  
    position: relative;
    overflow: hidden;
}
.three_boxes div:hover {
    transform: scale(1.1);
    filter: grayscale(80%) brightness(90%);
}

.three_boxes div figure {
    background-image: url(../images/3-dogs.jpg);
    background-repeat: no-repeat;
    background-size: 300%;
    width: 145%; 
    /* height: 100%; */
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left: -22%;
}

.three_boxes div:nth-child(1) figure {
    background-position: 2% 20%;
}
.three_boxes div:nth-child(2) {
    border-radius: 50%;
}
.three_boxes div:nth-child(2) figure {
    background-position: 50% 25%;
}
.three_boxes div:nth-child(3) figure {
    background-position: 93.5% -1%;
}

nav {
    padding: 20px 0;
    text-align: center;
}

nav a {
    font-size: 20pt;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    font-family: danfo;
}
nav a:hover {
    background-color: white;
    color: black;
}