/*
GWD Simple CSS Reset, v2.0
by Eric Girouard, 2014-2021
Originally based on http://meyerweb.com/eric/tools/css/reset/ (version 2)

Use this CSS Reset if using Normalize's (or Modern CSS Reset's) "opinionated defaults" requires you to write too many overrides (such as: p {margin: 0; padding: 0;} ).

By default elements are made position: relative; to make positioning of absolutely positioned elements simpler.

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* "border-box" calculates the width and height of an HTML element including the padding and the border. Opposite of the traditional CSS Box Model of "content-box" */



h1 {
    font-size: 32px;
    font-weight: bold;
    font-family: "Playfair Display", serif;
    margin-top: 1rem;
    margin-left: 1rem;
    text-align: left;
    color: rgb(180, 255, 68);
    line-height: 100%;
    width: 75%;
}

#description{
    background-color: rgba(0, 0, 0,0.65);
    font-size: 14px;
    width: 45%;
    padding: 0.5rem;
    text-align: center;
    margin-left: 0.5rem;
    margin-top: 15rem;
    position: relative;
    bottom: 7rem;
  }


h2 {
    font-size: 32px;
    font-style: italic;
    font-family: "Playfair Display", serif;
    text-align: left;
    color: rgb(166, 186, 143)
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 16px;
    font-family: "Lato", sans-serif;
    margin: 0;
    background-color: #f8f8f8;
    color: #333;
    
}

section p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #444;
}


header{
    padding-top: 0.5rem;
background-image: url(img/duck-ipad-pro.jpg);
background-repeat: no-repeat;
background-size: 350px;
border-bottom: 100px solid #222;

}


#jac-logo{
width: 60%;
margin-left: auto;
margin-right: auto;
margin-top: 0rem;
display: block;


}


/* 
MAKE THIS A BORDER BOTTOM ON HEADER
.rectangle {
    height: 100px;
    width: 100rem;
    background-color: #222;
    margin-top: 0rem;
    position: relative;
    bottom: 3.5rem;
  } */





  /*  ================== ERIC ============  */

  main 
  {max-width: 60rem;
    margin: 0 auto;
}

#woman{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
      }

  section {
    padding: 1rem;
    max-width: 100vw;
    border-bottom: 100px solid #222;
  }

  section h2 {
	color: #333;
	position: relative;
	margin: 1.5rem 0 1.5rem 0;
}

.when{
  background-image: url(img/John_Abbott_College_016.jpg);
background-repeat: no-repeat;
background-size: 100vw;
height: auto;
}

.date{
  margin-bottom: 4.75rem;
  color: white;
  
}

.when > h2:nth-child(1) {
  color: white;
}

.three > p:nth-child(2) {
  margin-top: 2rem;
}
.where > h2:nth-child(1) {
  margin-bottom: 3rem;
}


  .why {
    background-image: url(img/hans-reniers-lQGJCMY5qcM-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: 160vw;
    height: auto;
    background-position-x: center;
    border-bottom: none;
  }



.why > h2:nth-child(1) {
  color: white;
}
.five > p:nth-child(1) {
  color: white;
  background-color: rgba(0, 0, 0,0.65);
  padding: 1rem;
}

.four > picture:nth-child(2) > img:nth-child(1) {
  margin-bottom: 2rem;
}

footer{
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: white;
}



/* @media screen and (min-width: 450/16rem) {
header{
height: ;
}

}
*/

 

  @media screen and (min-width: 60rem) {
    
  .flex-container {
    display: flex; 
    column-gap: 1rem;
}

  .flex-container picture {flex-basis: 50%;}
  /* https://github.com/JACGWD/Responsive-Design-Winter-2025/blob/main/week-8b-notes.md#setting-elements-side-by-side */

  .flex-container picture, 
  .flex-container > div, 
  .flex-container > p {
    flex-basis: 50%;
    border: 2px dotted blue;
}
/* https://github.com/JACGWD/Responsive-Design-Winter-2025/blob/main/week-8b-notes.md#setting-column-width */


.two, .four {flex-direction: row-reverse;}
/* https://github.com/JACGWD/Responsive-Design-Winter-2025/blob/main/week-8b-notes.md#switching-the-items-order */
  }