/* navbar {
  height: 100px;
  width: 100%;
  position: sticky;
} */
@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i");
/* @import url("https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700"); */
#nav {
  padding-left: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: row;
  background-color: black;
  color: white;
}
#logo {
  height: 4.5rem;
}

#nav div {
  display: flex;
  justify-content: center;
  align-items: center;
}

#nav div a {
  text-decoration: none;
  color: white;
}
#home {
  font-family: "Oswald", sans-serif;
  margin-left: 2.5rem;
  font-weight: 500;
  font-size: 1.5rem;
  text-transform: uppercase;
}
#heading {
  margin-left: 5%;
  font-size: xxx-large;
  font-weight: 550;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.5;
  color: #252a32;
  background: #ffffff;
}

.container {
  max-width: 80rem;
  width: 100%;
  padding: 2rem;
  margin: 0 auto;
}
.main {
  margin-top: 2rem;
}
.main .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}
.main .card {
  color: #252a32;
  border-radius: 2px;
  background: #ffffff;
}
.main .card-image :hover {
  transform: scale(1.03);
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.4);
}
.main .card-image {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 70%;
  background: #ffffff;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.2);
}
.main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s;
}

.h2 {
  font-weight: 700;
}

@media only screen and (max-width: 600px) {
  .main .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;

    width: 90%;
  }
  #heading {
    margin-left: 5%;
    font-size: 2.2rem;
    font-weight: 550;
  }
  #nav {
    padding-left: 1.5rem;
  }
}
