@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Lilita+One&display=swap');
* {
    margin:0;
    padding:0;
    text-align: center;
}
html, body {
    height: 100%;
  }
  body {
    display: flex;
    flex-direction: column;
  }

a {
    text-decoration: none;
    color: black;
}
body {
    background-color:plum;
    background: linear-gradient(
        166deg,
        hsl(318.12, 100%, 50%) 0%,
        hsl(318.01, 98.87%, 50.85%) 8.1%,
        hsl(316.88, 95.63%, 51.14%) 15.5%,
        hsl(314.74, 90.57%, 50.91%) 22.5%,
        hsl(311.53, 84.04%, 50.22%) 29%,
        hsl(307.13, 79.26%, 49.09%) 35.3%,
        hsl(301.33, 75.06%, 47.58%) 41.2%,
        hsl(294.34, 72.66%, 49.08%) 47.1%,
        hsl(287.25, 74.77%, 51.27%) 52.9%,
        hsl(280.27, 79.71%, 53.31%) 58.8%,
        hsl(273.54, 84.65%, 55.16%) 64.7%,
        hsl(267.2, 89.35%, 56.78%) 71%,
        hsl(261.47, 93.55%, 58.11%) 77.5%,
        hsl(256.67, 96.93%, 59.13%) 84.5%,
        hsl(253.32, 99.19%, 59.77%) 91.9%,
        hsl(252.06, 100%, 60%) 100%
    );
    background-attachment: fixed;
    font-family: 'Libre Baskerville', serif;
}
h1 {
    font-size: 7em;
    font-family: 'Lilita One', cursive;
    letter-spacing: 15px;
    color: white;
    text-shadow: -2px 2px 0 #000,
				  4px 4px 0 #000,
				 2px -2px 0 #000,
				-2px -2px 0 #000;
}
h2 {
    font-size: 2em;
    width: fit-content;
    border-radius: 15px;
    padding: 10px 20px;
    margin: auto;
    background-color: whitesmoke;
}
main {
    flex: 1 0 auto;
}
.contentBox {
    height: auto;
    border: 3px solid black;
    border-radius: 15px;
    box-shadow: 2px 3px;
    background-color: #ffc2fc;    
    max-width: 900px;
}
.contentBox:hover {
    background-color: white;
    box-shadow: 6px 8px;
}
.contentBox:hover h2{
    background-color: #ffe0fd;
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}
.flex-item {
    padding: 15px;
    margin: 0;
}
footer {
    background-color:rgb(255,151,210,1);
    padding: 20px;
}
.footer {
  flex-shrink: 0;
}