* {
    box-sizing: border-box; 
  }
 
body {
    margin: 0;
    background-color: #FFF;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
}

p {
  color: #000;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
}

h3 {
  font-size: 9px;
  opacity: 0.6;
  text-transform: uppercase;
}

.col-1 {
    background: #fff;
    flex: 1;
    position: fixed;
    width: 290px;
    height: 100vh;
    padding-top: 30px;
}

.col-2 {
    background: #FFF;
    display: flex;
    flex-direction: column;
    flex: 4;
    height:auto;
    padding-left: 327px;
    padding-right: 15px;
}

h1.headerstyle {
 width: auto;
 padding-left: 23px;
}

.logo img{
  width: 168px;
  height: auto;
  padding-left: 10px;
}

.logoW img{
  display:none;
}

.logow2 img {
  display:none;
}

hr.dashed {
  border-top: 2px dotted #787878;
  width: 130px;
  text-align: left;
  margin-left: 23px;
}

.hiddenMobileMenu li .nav-link {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
}

/* Fixed sidenav, full height */
.sidenav {
  width: auto;
  position: fixed;
  z-index: 1;
  overflow-x: hidden;
  padding-top: 10px;
  padding-left: 23px;
}

.navlist {
  list-style-type: none;
  margin-top: 0.2rem;
  padding: 0;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  line-height: 2.1;
  width: 300px;
}

/* dropdown menu */

#dropdown-menu, #dropdown-menu-two, #dropdown-menu-three {
    display: none;
    position: absolute;
}

.move {
    margin-top: 50px;
}

.move2 {
  margin-top: 100px;
  margin-left: -5px;
  width: 200px;
}

/* nav link styles */
ul {
    list-style: none;
}

li {
  width: 150px;
}

li a {
    text-decoration: none;
    color:#000;
}

li a:hover {
    color: black;
    background-color: yellow;
    text-decoration: none;
}

#active {
    color: black;
    background-color: yellow;
    text-decoration: none;
}

li a:visited {
    text-decoration: none;
}

.boldtxt {
    font-weight: 900;
}

/* Main content */
.main {
  margin-left: 300px; /* Same as the width of the sidenav */
  font-size: 20px; /* Increased text to enable scrolling */
  padding: 0px 15px;
}

article img{
  max-width: 400px;
  min-width: 300px;
  border: 1px solid rgb(157, 157, 157);
}

/* ************* HOME **************** */

#myImg {
  border: 1px solid black;
  cursor: pointer;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  height: 150px;
  font-size: 12px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  transition: 0.3s;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

.content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    margin-top: 100px;
}

.container {
  max-width: 950px;
  min-width: 200px;
}

.container img {
  max-width: 950px;
  min-width: 100px;
}

/* ************* CONTACT **************** */
#contactbio {
  display: block;
  display: grid;
  align-items: left; 
  grid-template-columns: 1fr 1fr 1fr;
}

img#bio{
  max-width: 500px;
  max-height: 643px;
}

#contactbio p{
  padding-left: 20px;
}

#contactbio a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

#contactbio a:hover {
  color:black;
  text-decoration: none;
  background-color: yellow;
  font-weight: 100;
}

/* ************* OLD PAINTINGS **************** */
.paintingGallery {
  padding: 0px 10px 0px 0px;
  max-width: 1300px;
}

.paintingGallery a {
  text-decoration: none;
}

.paintingGallery img {
  padding: 0px 15px 15px 0px;
}

/* ************* NEW PAINTINGS **************** */
.oldGallery {
  padding: 10px;
  max-width: 1300px;
}

.oldGallery img {
  padding: 15px;
  height:auto;
}

/* ************* 4700 MILES MORE **************** */
.milesGallery {
  padding: 0px 10px 0px 0px;
  max-width: 1300px;
}

.milesGallery a {
  text-decoration: none;
}

.hiddenMobileGallery {
  display: none;
}

#lindtop {
  display: none;
}

#lindbot {
  display: block;
}

/* ************* DESIGN **************** */

.column {
  float: left;
}

.container {
  display: flex;
  flex-wrap: no-wrap;
  padding-bottom: 15px;
  align-items: center;
}

#milesborder img {
  border: 1px solid black;
}

.containertext {
  padding-right: 40px;
}

.container > #miles1 {
  width: 40%;
  text-align: center;
  padding-right: 26px;
}

#miles2 {
  width: 60%;
  text-align: center;
}

#miles3 {
  width: 50%;
  padding-right: 26px;
}

#miles4 {
  width: 50%;
}

#hidden {
  display:none;
}

/* ************* FOOTER **************** */
footer {
    position: fixed; /* Fixed footer (stay in place on scroll) */
    z-index: 1; 
    bottom: 0; 
    width: 300px;
    height: auto;
    padding: 30px;
    flex: 4;
}

.footertext {
    font-size: 9px;
    color: #000;
    opacity: 0.6;
    z-index: 1;
    margin-bottom: 0.6rem;
    padding-left: 5px;
}

.footerlogos {
    margin: -4px; /* Align with text above - icons have white border */
    padding: 0;
    display: inline-block;
    padding-left: 5px;
}

.fa {
  padding: 5px 10px 10px 0px;
  font-size: 25px;
  width: 20px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 20%;
}

.fa-facebook {
  background: #fff;
  color: #000;
}

.fa-linkedin {
  background: #fff;
  color: #000;
}

.fa-youtube {
  background: #fff;
  color: #000;
}

.fa-instagram {
  background: #fff;
  color: #000;
}



/*    DARK MODE OPTIONS */
@media screen and (prefers-color-scheme: dark) {
  body {
    background-color: #141414;
    color: #fff;
  }
  a#mail {
    color: #fff;
  }
  .col-1 {
    background: #141414;
    color: #fff;
  }
  .col-2 {
    background: #141414;
    color: #fff;
  }
  h1 {
    color: #fff;
  }
  p {
    color: #fff;
  }
  hr.dashed {
    border-top: 2px dotted #fff;
  }
  .navlist {
    color: #fff;
  }
  li a {
    text-decoration: none;
    color:#fff;
  }

  li a:hover {
      color: #141414;
      background-color: yellow;
      text-decoration: none;
  }
  .footertext {
    color: #fff;
  }
  .fa-facebook {
    background: #141414;
    color: #fff;
  }
  
  .fa-linkedin {
    background: #141414;
    color: #fff;
  }
  
  .fa-youtube {
    background: #141414;
    color: #fff;
  }
  
  .fa-instagram {
    background: #141414;
    color: #fff;
  }

  .hiddenMobileMenu header {
    background-color:#141414;
  }

  .logo img {
    display:none;
  }

  .logoW img {
    display:inline;
    width: 168px;
    height: auto;
    padding-left: 10px;
  }

}

/* ----------------- MOBILE NAVIGATION MENU - HIDDEN -------------- */
.hiddenMobileMenu {
  display: none;
}

header {
  background-color: #fff;
  text-align: center;
}

.nav-bar {
  min-height: 4.375em;
  display:flow-root;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.nav-branding {
  font-size: 2rem;
  font-weight: 600;
  transition: color 500ms ease;
}

.nav-menu {
  position: fixed;
  left: -100%;
  margin-top: 50px;
  padding-top: 15px;
  flex-direction: column;
  background-color: rgba(38, 38, 38, 0.85);
  width: 100%;
  height: 100%;
  text-align: left;
  transition: 750ms;
  z-index: 99999;
}

#spaced {
  padding-left: 20px;
}

.nav-menu.active {
  left: 0;
}

.nav-item {
  margin: 1em 0;
}

.nav-link {
  transition: 400ms ease;
}

.nav-link:hover, .nav-link:focus {
  background-color: yellow;
  color:#000;
}

.hamburger {
  cursor: pointer;
}

.bar {
  display: block;
  background-color: #000;
  width: 24px;
  /* The following 2 properties are essential in creating the "X" when the hamburger is clicked. If you change just 1 of the 2, then you need to find the proper combination for the other one */
  height: 2px;
  margin: 6px auto;
  /*    -webkit-transition: all 300ms ease;  */
  transition: all 300ms ease-in-out;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.container {
  width: 80%;
  margin: 0 auto;
}




/* ---------------- RESPONSIVENESS ----------- */

/* Small devices /phones */
@media only screen and (max-width: 600px) {

  img#bio {
    display:none;
  }

  .content #contactbio {
    text-align: center;
    width: 100%;
    display:block;
  }
  .paintingGallery {
    justify-content: center;
  }

  .paintingGallery img {
    padding: 0 0 5 0;
  }

  .milesGallery {
    display: none;
  }
  .milesGallery img{
    display:none;
  }

  .hiddenMobileGallery {
    display: block;
  }

}

/* Medium devices /tablets */
@media only screen and (max-width: 768px) {
  .col-1 {
    display:none;
  }
  .col-2 {
    padding-left: 15px;
    justify-content: center;
    text-align:center;
    padding-bottom: 15px;
    height: auto;
    flex-basis: 100%
  }

  .content{
    justify-content: center;
  }

  .content #contactbio {
    text-align: left;
  }

  img#bio{
    max-width: 300px;
    height: auto;
  }

  img#myImg{
    height: auto;
  }
  footer {
    text-align:center;
    width: 100%;
    bottom: 0;
    position: relative;
    z-index: 0;
  }
  .responsive{
    max-width: 100%;
    height: auto;
  }
  
  #hidden {
    display:inline;
    text-align: left;
    padding: 10px;
  }

  #neldesc {
    display:none;
  }

  .hiddenMobileMenu {
    display: inline;
  }

  .footerlogos a{
    font-size: 30px;
    width: 35px;
    padding-left: 10px;
    z-index: -99999999;
  }

  .content {
    margin-top: 50px;
  }
  .paintingGallery img {
    margin-left:15px;
    padding-bottom: 15px;
  }
  .miles{
    text-align: left;
  }

  #lindtop{
    text-align: left;
    display: block;
    left: 155px;
    padding-bottom: 15px;
  }

  #lindbot {
    display: none;
  }

  .lindGal {
    display: none;
  }

  .hiddenMobileGallery {
    display: block;
  }

  .hamGal {
    display: none;
  }

  #hockey img{
    display:none;
  }

  .logo2 img{
    width: 55%;
    height: auto;
    padding-left: 10px;
  }

  .logoW2 img { 
    display: none;
  }
  
}

@media only screen and (max-width: 955px) {
  img#bio{
    max-width: 300px;
    height: auto;
  }

  img#myImg{
    height: auto;
  }

  #tirfftext {
    text-align: left;
  }
 }


/* Large devices */
@media only screen and (min-width: 992px) {
  .footertext {
    padding-left: 0px;
  }
  .footerlogos .fa-instagram {
    padding-left: 0px;
  }
}

@media only screen and (max-width:720px) and (prefers-color-scheme:dark){
    .logo2 img {
      display:none;
    }
    .logoW2 img{
      display: inline;
      width: 55%;
      height: auto;
      padding-left: 10px;
    }

    .bar {
      background-color: #fff;
    }
}