/* donation.css */

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

html, body {
  display: grid;
  height: 100%;
  place-items: center;
  text-align: center;
  background: radial-gradient(275px at -14% 125%, rgb(243, 218, 249) 0%, rgb(240, 174, 212) 100.7%);
}

.container {
  position: relative;
  height: 500px;
  width: 400px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
  transition: 0.3s ease-out;
}

.container:hover {
  box-shadow: 0px 1px 35px 0px rgba(0,0,0,0.3);
}

.container .image {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  transition: transform 0.3s ease-out;
}

.container:hover .image {
  transform: translateY(-100px);
}

.image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-out;
}

.container:hover .image img {
  opacity: 0.7;
}

.container:hover .image {
  transform: translateY(-100px);
}

.container ul {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  list-style: none;
}

ul li {
  margin: 0 5px;
}

ul li a {
  display: block;
  height: 50px;
  width: 50px;
  color: #000;
  line-height: 50px;
  font-size: 20px;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(200px);
  background: #e579e7;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.container:hover > ul > li > a {
  opacity: 1;
  transform: translateY(0);
}

.container:hover > ul > li:nth-child(2) a {
  transition-delay: 0.1s;
}

.container:hover > ul > li:nth-child(3) a {
  transition-delay: 0.2s;
}

.container:hover > ul > li:nth-child(4) a {
  transition-delay: 0.3s;
}

.container:hover > ul > li:nth-child(5) a {
  transition-delay: 0.4s;
}

.container .content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #d85ac9;
}

.info {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
  color: #000;
  line-height: 26px;
}

.info h2 {
  font-size: 27px;
  margin: 3px 0;
}

.info span {
  color: #1a1a1a;
}

header {
  background: url('http://www.autodatz.com/wp-content/uploads/2017/05/Old-Car-Wallpapers-Hd-36-with-Old-Car-Wallpapers-Hd.jpg');
  text-align: center;
  width: 80%;
  height: auto;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 65% 65% / 20%;
}

header .overlay {
  width: 80%;
  height: 80%;
  padding: 80px;
  color: #fdfbfb;
  text-shadow: 1px 1px 1px #333;
  background-image: linear-gradient( 135deg, #ef87a3 10%, #4d7bf9eb 100%);
}

h1 {
  font-family: 'Open', cursive;
  font-size: 50px;
  margin-bottom: 20px;
}

h3, p {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 30px;
}

button {
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 50px;
  color: #333;
  background: #fff;
  margin-bottom: 50px;
  box-shadow: 0 3px 20px 0 #0000003b;
}

button:hover {
  cursor: pointer;
}

