@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;600;900");
body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 10px;
}

* {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

*, *:before, *:after {
  box-sizing: border-box;
}

.h1, h1,
.h2, h2,
.h3, h3,
.h4, h4,
.h5, h5,
.h6, h6 {
  margin: 1rem;
}

main {
  background-attachment: fixed;
  background-color: #ffffff;
  background-image: url("../images/mountains.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
  width: 100%;
  /* background-image: url("https://images.pexels.com/photos/714258/pexels-photo-714258.jpeg?cs=srgb&dl=pexels-denis-linine-714258.jpg&fm=jpg"); */
}

main:after {
  background: linear-gradient(90deg, #d7b1b3 0%, #9ddaea 100%, #00d4ff 100%);
  content: "";
  height: 100%;
  left: 0;
  opacity: .74;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

h1 {
  color: #ffffff;
}

.container {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  min-height: 600px;
  position: relative;
}

.card {
  background-color: whitesmoke;
  border-radius: .6rem;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  height: 28rem;
  margin-top: -2rem;
  text-align: center;
  width: 25rem;
  z-index: 2;
}

.card-header {
  height: 40%;
  padding: 3.5rem 1rem 1rem;
  position: relative;
}

.card-header::after, .card-header::before {
  border: 1px solid #dfdfdf;
  content: "";
  position: absolute;
  width: 120px;
  z-index: 0;
}

.card-header::after {
  left: 0;
  top: 50%;
}

.card-header::before {
  right: 0;
  top: 50%;
}

.card-header img {
  border-radius: 50%;
  opacity: .8;
}

.card-body {
  text-transform: uppercase;
}

.card-body-title {
  color: #333333;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: .2rem;
}

.card-body-subtitle {
  color: #666666;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .08rem;
}

.card-footer {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
}

.card-footer a {
  color: #cdcdcd;
}

.card-footer a .twitter:hover {
  border: 1px solid #35a6f2;
  color: #1d9bf0;
}

.card-footer a .facebook:hover {
  border: 1px solid #279cf4;
  color: #0f91f3;
}

.card-footer a .instagram:hover {
  border: 1px solid #d22a2a;
  color: #bd2626;
}

.card-footer a figure {
  align-items: center;
  border: 1px solid #cdcdcd;
  border-radius: 50%;
  display: flex;
  font-size: 2rem;
  height: 55px;
  justify-content: center;
  margin-left: 1rem;
  width: 55px;
}

.card-footer a:first-child figure {
  margin-left: 0;
}

.footer {
  align-items: center;
  bottom: 2rem;
  display: flex;
  font-size: .8rem;
  justify-content: center;
  letter-spacing: .07rem;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.footer a, .footer div {
  color: #fcfcfc;
  font-weight: 200;
  letter-spacing: .2rem;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.footer a:hover, .footer div:hover {
  font-weight: 600;
}

.card {
  animation: transformAnimation ease 2s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

main {
  animation: opacityAnimation ease 1s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

@keyframes opacityAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes transformAnimation {
  0% {
    transform: rotateX(20deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

@media (max-width: 480px) {
  .card {
    margin: .5rem;
    width: 100%;
  }
  .card-body-title {
    font-size: 1.6rem;
  }
  .card-body-subtitle {
    font-size: .8rem;
  }
  .footer {
    bottom: 1rem;
  }
}