*{
    box-sizing: border-box;
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('webfonts/lato-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('webfonts/lato-v25-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('webfonts/lato-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('webfonts/lato-v25-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url('webfonts/libre-baskerville-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  src: url('webfonts/libre-baskerville-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  src: url('webfonts/libre-baskerville-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



body{
    background-color: black;
    color: white;
    line-height: 1.5;

    margin: 0;

    font-family: 'Libre Baskerville', serif;
}

img,
video{
    max-width: 100%;
    height: auto;
    display: block;
}

.image-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 900px){
    .image-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 600px){
    .image-grid{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) and (orientation: landscape){
    .image-grid{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

header,
footer{
    background-color: rgb(0, 87, 0);
}

header{
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

header h1{
    margin: 0;
}

header, footer,
h1, h2, h3{
    font-family: 'Lato', sans-serif;
}

h1, h2, h3{
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav ul{
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

nav li{
    display: inline;
    padding-left: 20px;
}

a{
    color: currentColor;
}

#meet-a-plant{
    background-color: brown;
}

#plant-facts{
    background-color: cadetblue;
}

#watch-a-plant-grow{
    background-color: crimson;
}

section,
header, 
footer{
    padding: 20px;
}

@media print{
    nav{
        display: none;
    }
}

iframe{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

