* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
    background-image: url(../images/pollution.png);
}

nav {
    margin: 25px;
    padding: 10px;
}

.menuItems {
    list-style: none;
    display: flex;
}

a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    position: relative;
}

.menuItems li a:hover {
    color: rgb(245, 14, 85);
    transition: all 0.4s ease-in-out;
}

h1 {
    font-size: 40px;
    color: white;
    text-align: center;
}

h1:hover {
    color: red;
    transition: all 0.4s ease-in-out;
}

ul li {
    border-radius: 10px;
    padding: 30px;
    margin-left: %;
    text-align: center;
    cursor: pointer;
    transform: rotateY(-35deg) rotateX(15deg);
    border-bottom: 4px solid rgba(0, 0, 0, .2);
    border-right: 4px solid rgba(0, 0, 0, .2);
    transition: 0.4s;
}

ul li:nth-child(1) {
    color: #fff;
    background: linear-gradient(90deg, rgba(218, 150, 7, 1) 3%, rgba(255, 74, 0, 1) 42%);
    top: -120px;
    left: 62%;
    z-index: 2;
}

ul li:nth-child(1) a:hover {
    color: #e0d811;
}

ul li:nth-child(2) {
    background: linear-gradient(90deg, rgba(218, 150, 7, 1) 3%, rgba(255, 74, 0, 1) 42%);
    z-index: 1;
    top: 10px;
    left: 60.5%;
    color: white;
}

ul li:nth-child(2) a:hover {
    color: #e0d811;
}

ul li:nth-child(3) {
    color: #fff;
    background: linear-gradient(90deg, rgba(218, 150, 7, 1) 3%, rgba(255, 74, 0, 1) 42%);
    top: 140px;
    left: 59%;
    z-index: 2;
}

ul li:nth-child(3) a:hover {
    color: #e0d811;
}

ul li:nth-child(4) {
    color: #fff;
    background: linear-gradient(90deg, rgba(218, 150, 7, 1) 3%, rgba(255, 74, 0, 1) 42%);
    top: 270px;
    left: 57.5%;
    z-index: 1;
}

ul li:nth-child(4) a:hover {
    color: #e0d811;
}

ul li:nth-child(5) {
    color: #fff;
    background: linear-gradient(90deg, rgba(218, 150, 7, 1) 3%, rgba(255, 74, 0, 1) 42%);
    top: 400px;
    left: 56%;
    z-index: 1;
}

ul li:nth-child(5) a:hover {
    color: #e0d811;
}

ul li:hover {
    transform: translateY(20px) rotateY(-35deg) rotateX(10deg) scale(1.2);
    z-index: 3;
}

h2 {
    color: white;
    text-align: center;
}

h2:hover {
    color: red;
    transition: all 0.4s ease-in-out;
}

p {
    color: #FFFFFF;
    padding: 120px;
    margin-top: 20%;
    font-size: 130%;
    text-align: left;
    display: inline-block;
    text-shadow: #000000 1px 1px, #000000 -1px 1px, #000000 -1px -1px, #000000 1px -1px;
}

.img1 {
    width: 40%;
    position: absolute;
    left: 30%;
    top: 19%;
    align-content: center
}

.img2 {
    width: 30%;
    height: 20%;
    float: right;
    margin-top: 5%;
    margin-left: 2%;
}

quote {
    color: antiquewhite;
    text-align: center;
    border-color: gray;
    position: absolute;
    font-style: italic;
    left: 25%;
}

footer {
    color: gray;
    text-align: center;
    border-top: solid;
    border-color: gray;
    margin-top: 59px;
    padding: 10px;
    font-style: italic;
}
