/* COLOR PALETTE CSS HEX 
--cadet-gray: #999a9eff;
--taupe: #46382dff;
--licorice: #1d1411ff;
--raisin-black: #272525ff;
--umber: #594435ff; 
*/

/* VARIABLE DEFINITIONS
------------------------------------------- */
:root {
  --bg-color: #ffffffe6; /* white with 90% opacity */
  --font-color: #1d1411ff; /* licorice with 90% opacity */
  --footer-bg-color: #11191de6; 
  --footer-font-color: rgb(250, 249, 248); 
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #11191de6; /* licorice with 90% opacity */
    --font-color: rgb(250, 249, 248); 
  }
}

/* GLOBAL STYLES
------------------------------------------- */

/* box model fix */
html {
  box-sizing: border-box;
  font-size: 62.5%; /* set default to 10px */
  color: var(--font-color);
}
*, *:before, *:after {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
/*  background: white; */
/*  background: #f6f6f6; */
    margin: 0;
    font-family: 'Afacad', 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 1.8rem; /* 18px */
    line-height: 1.2; /* relative to font size */
    display: flex; /* sticky footer */
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3 {
  font-family: 'Afacad', cursive;
  font-weight: 400;
  margin: 0;
}
h1 {
  font-size: 5rem;
  line-height: 1.7;
}
h2 {
  font-size: 2.6rem;
}
h3 {
  font-size: 1.5rem;
}

/* link styles */
a {
  color: #594435ff;
}
a:hover {
  color: var(--font-color);
  text-decoration: underline;
}
footer a {
  color: var(--font-color);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
nav a {
  font-family: 'Afacad', cursive;
  color: var(--font-color);
  text-decoration: none;
  font-size: 1.8rem; /* 18px */
}
nav a:hover {
  text-decoration: underline;
  /* opacity: 0.5; */
}
.btn {
  background: #999a9eff;
  color: #272525ff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  display: inline-block;
  padding: 7px;
  letter-spacing: 0.1em;
  line-height: 1;
  border-radius: 4px;
}
.content-wrapper {
  margin: 0 auto;
  padding: 30px;
  max-width: 900px;
  flex: 1 0 auto;  /* flex item property. flex-grow: items expand equally to fill available space | flex-shrink: no shrinking | flex-basis: flex items are sized according to content */
}
.content-section {
  margin-bottom: 50px;
}
.content-section h2 {
  border-bottom: 1px solid var(--font-color);
}
.download-link {
  position: fixed;
  top: 5px;
  left: 5px;
  font-size: 1.5rem;
}
.contain {
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .download-link {
    position: absolute;
  }
}

/* NAVIGATION
------------------------------------------- */
nav {
  position: fixed;
  top: 5px;
  right: 0px;
  font-size: 1.6rem;
  background:  var(--bg-color); 
  color: var(--font-color);

}
@media screen and (max-width: 1200px) {
  .nav {
    position: absolute;
  }
}
nav ul {
  padding-inline-start: 0;
  padding: 0 20px;
}
nav li {
  display: inline-block;
  list-style-type: none;
  margin-left: 10px;
  margin-right: 10px;
}
/*
@media screen and (min-width: 860px) {
  nav {
    display: flex;
    justify-content: space-between;
    padding: 0 20px; /* top/bottom left/right 
  }
}
@media screen and (max-width: 859px) {
  nav {
    text-align: center;
    padding: 10px;
  }
}  */


/* HEADER
------------------------------------------- */

/* index-page
------------------------------------------- */
.index-page {
  background: url(../images/Loggerhead_Turtle_1800x1350.jpg);
  background-position: 50% 50%; /* x and y from top left */
  background-size: cover;
  background-repeat: no-repeat;
}
/*.index-page .content-wrapper {
  flex: 1 0 auto; /* flex-grow: items expand equally to fill available space | flex-shrink: no shrinking | flex-basis: flex items are sized according to content 
}*/
.content-bg {
  background: var(--bg-color); 
  padding: 30px;  
  margin-top: 10vh;
}
@media screen and (max-width:650px) {
  .index-page .content-wrapper {
    padding: 10px;
  }
  .content-bg {
    padding: 20px;
  }
}

/* CONTENT PAGES
------------------------------------------- */
/* about-page
------------------------------------------- */
.about-page {
  background-color: var(--bg-color);
}
/*.contentpage .content-wrapper {
  flex: 1 0 auto; /* flex-grow: items expand equally to fill available space | flex-shrink: no shrinking | flex-basis: flex items are sized according to content 
}*/
.about-page header::before {
  background: url(../images/Humpback_whale_jumping.jpg) 50% 0%;
  background-size: cover;
  content: "";
  display: block;
  height: 600px;
} 

.about-item {
  display: flex;
  grid-template-columns: 2fr 1fr;
  column-gap: 20px;
  margin: 30px 0; /* 30px top and bottom */
}

.about-img {
  float: right;
  margin: 0 0 30px 30px; /* 30px bottom left */
  width: 225px
}

@media screen and (max-width:650px) {
  .about-page header::before {
    height: 300px;
  }
  .about-img {
    float: right;
    margin: 0 0 30px 30px; /* 30px bottom left */
    width: 125px
  }
}
/* work-page
------------------------------------------- */
.work-page {
  background-color: var(--bg-color);
}
/*.contentpage .content-wrapper {
  flex: 1 0 auto; /* flex-grow: items expand equally to fill available space | flex-shrink: no shrinking | flex-basis: flex items are sized according to content 
}*/
.work-page header::before {
  background: url(../images/Kemps_Ridley_Sea_Turtle_Texas.jpg) 50% 0%;
  background-size: cover;
  content: "";
  display: block;
  height: 600px;
} 

@media screen and (max-width: 500px) {
  .resume header::before {
    height: 200px;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.7rem;
  }
}

.work-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 20px;
  margin: 30px 0; /* 30px top and bottom */
}
.work-item img {
  max-width: 300px;
  width: auto;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width:650px) {
  .work-page header::before {
    height: 300px;
  }
}
/* @media screen and (min-width:860px) {
  .work-item {
    display: flow-root;
  }
  /*
  .work-item img {
    float:left;
    margin-right: 20px;
    } 
}
@media screen and (min-width:650px) and (max-width:859px) {
  .project-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }
  .work-item img {
    width: 100%;
  }
}
@media screen and (max-width:500px) {
  .work-item img {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media screen and (min-width:860px) {
  .work-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 20px;
  }
  .work-summary p:first-child {
    margin-top: 0;
  }
} */

/* contact-page
------------------------------------------- */
.contact-page {
  background-color: var(--bg-color);
}
/*.contentpage .content-wrapper {
  flex: 1 0 auto; /* flex-grow: items expand equally to fill available space | flex-shrink: no shrinking | flex-basis: flex items are sized according to content 
}*/
.contact-page header::before {
  background: url() 50% 0%;
  background-size: cover;
  content: "";
  display: block;
  height: 30px;
} 
/* FOOTER
------------------------------------------- */
footer {
  background: var(--footer-bg-color);
  color: var(--footer-font-color);
  display: flex; /* flex container property */
  justify-content: space-between; /* flex container property */
  align-items: center; /* flex container property */
  padding: 0 20px; /* top/bottom left/right */
}
.email p {
  vertical-align: middle;
}
.email img {
  vertical-align: middle;
}
.socials {
  list-style-type: none;
  padding: 0;
}
.socials li {
  display: inline-block;
  margin-left: 10px;
}
.socials img {
  width: 32px;
}
.socials img:hover {
  opacity: 0.5; 
}
@media screen and (min-width: 860px) {
  footer {
    display: flex;
    justify-content: space-between;
    padding: 0 20px; /* top/bottom left/right */
  }
}
@media screen and (max-width: 859px) {
  footer {
    text-align: center;
    padding: 0 10px;
  }
}