@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Croissant+One&family=Gabriela&family=Nunito&family=Roboto+Slab:wght@300&display=swap);

:root {
  --bgc: rgb(254, 254, 254);
  --textc: rgb(60, 92, 145);
  --textsm: rgba(44, 43, 51, .5);
  --titlesm: rgb(41, 88, 135);
  --bodyfont: "Nunito", sans-serif;
  --leaderfont: "Roboto Slab", sans-serif;
  --titlefont:"Croissant One", serif;
  --smfont:"Gabriela", serif;
}

a img
{
  box-shadow: 0 4px 8px 0 rgba(209, 227, 250, 0.099), 0 6px 20px 0 rgba(212, 235, 255, 0.077);
  margin-bottom: 2rem;
}
body {
  margin: 0;
  font-family: var(--bodyfont);
  color: var(--textc);
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  background-color: var(--bgc);
}
a img:hover 
{
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  transition: 1s ease;
}
/* -- HEADER -- */
.topnav {
  font-family: var(--titlefont);
  background-color: var(--bgc);
  box-shadow: 0.5px 0.5px 4px 0 rgba(0, 0, 0, .1);
  position: fixed;
  width: 100%;
  z-index: 3;
  font-size: 1.25rem;
  padding: 0 10px;
}
.topnav #title {
  width: 50%;

}
/*-- MULTI-COLUMN CONTAINER AND ITEMS --*/
.item-container {
  max-width: 1400px;
  margin: 0 auto;
  /* -- THIS NEXT LINE LETS THE BODY SITS BELOW THE HEADER -- */
  padding: 220px 20px 0;
  /* -- THIS NEXT LINE MAKES THE BODY FULL HEIGHT MINUS THE HEADER PADDING -- */
  height: calc(100vh - 160px);
}
.item {
  box-sizing: border-box;  
  padding: 20px;
  /*margin-bottom: 20px;*/
}
.small{
  font-family: var(--smfont);
  font-size: 1rem;
  color: var(--textsm); 
  margin-bottom: 20px;
}
.titlesmall{
  font-family: var(--smfont);
  font-size: .75rem;
  color: var(--titlesm); 
  margin-bottom: 10px;
}
hr {
  width: 100%;
  border-top: 1px dashed;
  border-color: #a5ccf6;
}
.subtitle {
  font-family: var(--titlefont);
  font-weight: 700;
  font-size: 2.25rem;
}
.leader {
  font-family: var(--leaderfont);
  font-weight: 300;
  padding:0 0 0 20px;
}




/* -- MEDIA QUERY -- */
/* 48em = 768px */
@media (min-width: 48em) {
  /*-- GRID STYLING FOR BODY CONTENT --*/
  .item-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 0px;

  }
}