@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

:root {
    --white: rgba(255, 255, 255, 1);
    --blue: rgb(0, 0, 120);
    --dodger: rgba(30, 154, 255, 1);
    --gray: rgb(190, 190, 190);
    --black: rgba(0,0,0,1);
  }

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
	margin: 0;
	background: white;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
    line-height: 1.5;
}

/* navigation styles start here */

.header {
  background: var(--white);
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  padding-left: 20px;
}
.logo {
    width: 40%;
}
/* changed this from the tutorial video to
   allow it to gain focus, making it tabbable */
.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 2em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: black;
  height: 4px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

nav {
  position: absolute;
  text-align: center;
  top: 100%;
  left: 0;
  background: var(--white);
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  padding-top: 30px;
  transition: transform 400ms ease-in-out;
  border-top: 1px solid silver;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin-bottom: 1.5em;
  margin-left: 1em;
}

nav a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}

.nav-toggle:checked ~ nav {
  transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}
.main-container {
    margin-top: 6em;
    padding: 0 1.5em;
}
footer {
    width: 100%;
    background: var(--blue);
    padding: 0;
    text-shadow: 1px 1px 1px var(--black);
    color:var(--white);
    font-weight: 100;
    border-top: 1px solid black;
    box-shadow: 0 -2px 8px var(--gray);
}
.footer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 1.5em;
}
.col-1, 
.col-2,
.col-3 {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
}
.social {
    padding: 1em;
}
.social a, .social a.visited {
    color: white;
}
.social a:hover {
    color: var(--dodger);
}
i {
    margin-left: 10px;
}
#copyright {
    display: block;
    font-size: 8pt;
    text-align: center;
}
address {
    font-style: normal;
}
.note {
    font-size: 10pt;
}
.photo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 1.875rem 0;
}
.photo-container .thumb {
    width: 187px;
    border: 1px solid black;
    box-shadow: 1px 5px 10px var(--black);
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}


@media screen and (min-width: 800px) {
  .nav-toggle-label {
    display: none;
  }

  header {
    display: flex;
    align-items: center;
    height: 6.2rem;
    border-bottom: 1px solid gray;
    box-shadow: 0 2px 8px gray;
  }
  .logo {
      width: 15em;
      display: block;
  }
  .container {
      display: flex;
      justify-content: space-between;
      margin: 0 auto;
      width: 80rem;
  }

  nav {
    width: 100%;
    /* the following lines are not from my video, but add Edge support */
    position: relative;
    text-align: left;
    transition: none;
    transform: scale(1,1);
    background: none;
    top: initial;
    left: initial;
    /* end Edge support stuff */
    padding-top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: 0;
  }
  
  nav ul {
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  nav li {
    margin: 0;
    padding: 0 1.875rem 0 1.875rem;
    border-right: 1px solid silver;
}
  nav li:first-child {
    border-left: 1px solid silver;
}
  
  nav a {
    opacity: 1;
    position: relative;
    font-size: 14pt;
  }
  
  nav a::before {
    content: '';
    display: block;
    height: 8px;
    background: var(--blue);
    position: absolute;
    bottom: -.75em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform ease-in-out 250ms;
  }
  
  nav a:hover::before {
    transform: scale(1,1);
  }
  .main-container {
    max-width: 72.5%;
    margin: 10em auto;
}
  .footer-container {
      flex-direction: row;
      width: 80em;
  }
}
