@charset "UTF-8";
/* CSS Document */
/* THIS IS WHERE YOU CALL YOUR GOOGLE FONTS */
@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap);
/* -- DECLARING COLOUR & TEXT VARIABLES FOR USE THROUGHOUT THE CSS -- */
/* -- SEE https://www.w3schools.com/css/css3_variables.asp FOR EXPLANATION OF VARIABLES -- */
:root {
  --bgc: rgb(255, 255, 255);
  --textc: rgb(255, 255, 255);
  --navbg: #1d1d20;
  --textsm: rgba(0, 0, 0, 0.5);
  --titlesm: rgb(0, 0, 0);
  --bodyfont: "Lato", sans-serif;
  --leaderfont: "Lato", sans-serif;
  --titlefont:"Rubik", sans-serif;
  --smfont:"Rubik", sans-serif;
}



body {
  margin: 0;
  font-family: var(--bodyfont);
  color: var(--textc);
  font-weight: 300;
  font-style: normal;
  font-size: 1.15rem;
  background-color: var(--bgc);
}
a img:hover {
  transform: scale(1.1); 
  transition: transform 0.3s ease; 
}
/* -- HEADER -- */
.topnav {
  background-color: var(--navbg);
  font-family: var(--titlefont);
  background-color: #1d1d20;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
  position: fixed;
  width: 100%;
  z-index: 3;
  /*font-size: 1.74rem;*/
  padding: 0 10px;
}
.topnav #title {
  max-width: 1400px;
  margin: 0 auto;
  
}
/*-- 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%;
  /* note - no colour added, but you can using "border-top" -- */
  /* border-top: 1px dotted red; */
}
.subtitle {
  font-family: var(--titlefont);
  font-weight: 700;
  font-size: 2.25rem;
}
.leader {
  font-family: var(--leaderfont);
  font-weight: 300;
    font-size: 1.5rem;
}
/* -- 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;

  }
}