@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #777fe4;
  --fontColor: rgb(24, 24, 24);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: var(--fontColor);
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: rgb(235, 235, 235);
}

ul {
  list-style-type: none;
}

.half {
  width: 50%;
  height: 65%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.left {
  border-right: 3px solid rgb(221, 221, 221);
  align-items: start;
  padding-left: 20%;
}

.left h1 {
  font-weight: 700;
}

.right {
  padding-left: 4%;
}

.card {
  width: 400px;
  height: 90px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #fff;
  box-shadow: 2px 2px 5px 3px rgba(0, 0, 0, 0.1);
  transition: all 200ms ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 25px;
}

.card p {
  color: rgb(80, 80, 80);
  font-size: 14px;
  font-weight: 500;
}

.card:not(:last-of-type) {
  margin-bottom: 10px;
}

.card:hover {
  border: 1px solid var(--primary);
}

.icon {
  margin-right: 25px;
  font-size: 32px;
  color: var(--primary);
}

@media screen and (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .half {
    width: 87%;
    height: 50%;
  }

  .left {
    border-right: none;
    border-bottom: 3px solid rgb(221, 221, 221);
    padding-left: 0;
  }

  .left h1 {
    font-size: 24px;
  }

  .right {
    padding-left: 0;
  }

  .card {
    width: 100%;
    padding: 20px;
  }

  .card p {
    font-size: 12px;
  }
}
