/* CSS Reset */
/* Resetting margins, paddings, and borders */
html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Box sizing */
html {
  box-sizing: border-box;
}

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

/* Sizing - Height */
body {
  min-height: 100vh;
}

/* Typography */
body {
  font-size: 1rem;
  line-height: 1.5;
}

* {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a,
a:visited {
  color: inherit;
}

/* Resetting specific element styles */
ol,
ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
}

img {
  border-style: none;
  display: block;
}

a {
  text-decoration: none;
}

/* General styles */
body {
  background-color: #fafafa;
  font-family: 'Poppins', sans-serif;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 950px;
  padding: 1rem 0;
  width: 100%;
}

/* Introduction */
.intro {
  max-width: 100%;
  padding: 3rem 2rem;
  text-align: center;
}

.intro h1 {
  font-size: 1.6rem;
  font-weight: 300;
}

.intro span {
  display: block;
  font-weight: bold;
}

.intro p {
  color: gray;
  padding-top: 1rem;
}

/* Four card feature section */
.four-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 400px;
  padding: 1rem;
}

/* Flexbox column */
.column {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.column:nth-child(2) .card:first-child {
  margin-bottom: 2rem;
}

/* Card box */
.card {
  border-width: 6px;  
  border-top-style: outset;
  border-radius: 6px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  flex: 100%;
  height: 260px;
  padding: 1.5rem;
  position: relative;
}

/* Card boxes - Border top colors */
.border-cyan {
  border-top-color: rgba(69, 211, 211, 0.7);
}

.border-red {
  border-top-color: rgba(	234, 83, 83, 0.7);
}

.border-orange {
  border-top-color: rgba(251,173,74, 0.7);
}

.border-blue {
  border-top-color: rgba(84, 158, 242, 0.7);
}

/* Card box - Text */
.card h2 {
  font-size: 1.1rem;
  padding-bottom: .7rem;
}

.card p {
  color: gray;
  line-height: 1.5;
}

/* Card box - Vector Graphics */
.card img {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  display: block;
}

/* Media Queries */
@media screen and (min-width: 992px) {
  /* Margin bottom utility */
  .intro {
    padding: 3rem;
    max-width: 600px;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .four-card-body {
    flex-direction: row;
    max-width: 1100px;
  }
  
  .column {
    align-items: center;
    flex: 1;
    height: 580px;
    justify-content: center;
    padding: 0 1rem; 
  } 

  .column:nth-child(2) .card:first-child {
    margin-bottom: 0;
  }
}
