@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap");

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #000;
  background-color: #fff;
  font-family: "Montserrat", sans-serif;
}
/* :root {
  --blue: blue;
} */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
}
p {
  margin: 0;
  line-height: 1.6;
}
a {
  text-decoration: none;
}
a:hover,
a:focus-visible {
  /* outline: none; */
  color: magenta;
  text-decoration: underline;
}
img {
  max-width: 100%;
}
button {
  cursor: pointer;
  color: #fff;
  background-color: blue;
  border: 3px solid blue;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: inherit;
  font-family: inherit;
}
button:hover {
  background-color: magenta;
  border: 3px solid magenta;
}
.title {
  font-weight: bold;
  font-size: 28px;
}
.wrapper {
  /* max-width: 70rem;
  padding-inline: 24px; */
  /* width: min(100% - 48px, 70rem); */
  /* margin-inline: auto; */
  padding: 2rem;
  /* display: flex; */
}
header {
  /* border: 2px solid red; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}
#logo {
  font-weight: bold;
}
ul {
  /* border: 2px solid green; */
  list-style-type: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}
/* li:last-child a {
  color: #fff;
  background-color: blue;
  padding: 10px 16px;
  border-radius: 10px;
} */
/* li:last-child a:hover,
li:last-child a:focus {
  background-color: magenta;
  text-decoration: none;
} */
#banner {
  padding-block: 140px;
  background-color: lightskyblue;
  /* background-image: url(images/redleaves.jpg);
  background-size: cover; */
  /* display: flex; */
  /* flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch; */
  /* background: linear-gradient(180deg, blue, red); 
  use background  or background-image */
}

/* This is an old trick I learned to avoid using <br> in my html back in 2012 */
/* Couldn't for the life of me find out how to do this natively with Flex... */
.break {
  min-width: 100%;
  height: 0;
}

.float {
  display: flex;
  justify-content: center;
  padding: 20px 0 0 0;
}
#banner .wrapper {
  text-align: center;
}
#banner h1 {
  padding: 0 0 20px 0;
}
#banner p {
  max-width: 700px;
  margin: auto;
}
#services {
  padding-block: 70px 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.card {
  border: 1px solid gray;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-basis: calc(33% - 20px);
  flex-grow: 1;
}
.card i {
  font-size: 30px;
  color: blue;
}
#services h2 {
  flex-basis: 100%;
  text-align: center;
}
footer {
  background-color: lightgray;
  display: flex;
  padding: 2rem;
  align-items: center;
  justify-content: space-between;
}
