* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: #999;
  background: #f2f2f2;
}

.wrapper {
  padding-block: 1rem;
  min-height: 100%;
}

.grid {
  width: 90%;
  margin-inline: auto;
  max-width: 1400px;
}

.data {
  position: relative;
  background: #fff url('./assets/background.svg') no-repeat center center / cover;
  padding-bottom: 3rem;
}

.main-text {
  width: 70%;
  padding-left: 2rem;
  padding-top: 2rem;
}

.main-title {
  margin: 0 0 1rem;
  font-family: 'Josefin Slab', sans-serif;
  color: #212121;
  font-weight: 700;
  font-size: 1.5rem;
}

.names {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 300;
  font-size: 1.8rem;
  color: #212121;
  margin-block: 1.2rem;
}

.invite-text {
  line-height: 1.5;
}

.button-shallow {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #999;
  color: #999;
  border-radius: 25px;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #999;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 10px;
  background: #999;
  min-width: 180px;
  text-align: center;
}

.info {
  font-size: .85rem;
}

.card {
  background: #fff url('./assets/background.svg') no-repeat center center / cover;
  padding: 1.5rem;
  margin: 5px 0;
  text-align: center;
  line-height: 1.8;
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.card i {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.forbid {
  border: 3px solid rgba(0,0,0,.4);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  position: relative;
  margin-bottom: 1rem;
}

.forbid:after {
  content: '';
  height: 3px;
  width: 100%;
  transform: rotate(45deg);
  position: absolute;
  left:0;
  top: calc(50% - 1.5px);
  background: rgba(0,0,0,.4);
}

.forbid i {
  margin: 0;
  font-size: 1.2rem;
}

@media (min-width: 900px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    width: 80%;
  }

  .cover {
    grid-column: 1 / span 2;
    background: #fff;
  }

  .data {
    grid-column: 3 / span 2;
  }

  .main-text {
    width: 60%;
    margin-left: 3rem;
    margin-top: 3rem;
  }

  .main-title {
    margin: 0 0 1rem;
    font-weight: 700;
    font-size: 2rem;
  }
  
  .names {
    font-weight: 300;
    font-size: 2.5rem;
    color: #212121;
  }

  .cards {
    grid-row: 2;
    grid-column: 1 / span 4;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(3, 1fr);
  }
}