/* Reset Styles */

*{
  padding: 0;
  margin: 0;
}

body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: white;
  font-family: sans-serif;
  position: relative;
  padding: 0.5em;
}

section{
  display: flex;
  justify-content: stretch;
  align-items: end;
  width: 100%;
  max-width: 24em;
  height: 32em;
  border-radius: 18px;
  background-image: 
  url('./media/footbal.gif');
  background-size: cover;
  background-position-y: -60px;
  overflow: hidden;
  z-index: 1;
}

article{
  position: relative;
}

p{
  font-size: 0.9rem;
  color: rgb(210, 210, 210);
  line-height: 1.3;
}

button{
  background-color: black;
  color: white;
  background-color: rgba(146, 146, 146, 0.806);
  display: grid;
  padding: 0.3em 1.4em ;
  border: none;
  border-radius: 20px;

  font-size: 1rem;
  font-family: inherit;
  text-transform: capitalize;
}

/* Text Style */

.cta span{
  font-size: 0.6rem;
  text-align: center;
  white-space: nowrap;
}

.card__title span.label{
  font-size: 0.8rem;
  color: rgb(207, 207, 207);
}

.card__cta-box .cta__title{
  font-size: 0.9rem;
  margin-block-end: 0.3em;
  color: white;
}

/* Layout Style & Animation */

.card__title{
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 1.2em;
}

.card__cta-box{
  border-radius: 0 0 18px 18px;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 1.2em;
  animation: fadeUp ease 2s;
  animation-fill-mode: forwards;
}

@keyframes fadeUp {
  from{
    margin-block-end: -6em;
  }
  to{
    margin-block-end: 0;
  }
}

.card__cta-box img{
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

div.cta{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4em;
  color: rgb(218, 218, 218);
}


/* Blur & Shadow Filter */

article::after{
  content: '';
  position: absolute;
  inset: 0;
  filter: blur(100px);
  background-color: rgba(31, 31, 31, 0.);
  z-index: 0;
}

.blur{
  display: flex;
  flex-direction: row;
  backdrop-filter: blur(20px);
  background-color: rgba(91, 91, 91, 0.6);
  box-shadow: 0 -50px 100px rgba(218, 218, 218, 0.5) ;
  z-index: 1;
}

.card__title span,
.card__title h2,
.card__title p{
  z-index: 1;
}