*
{
  box-sizing: border-box;
}


body
{
    /* background-color: lightblue; */
    background-color: #14123D;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

h1
{
    color: navy;
    margin-left: 20px;
}

#author_name
{
    padding-top: 5%;
    /* padding-left: 80px; */
    padding-right: 10%;
    padding-bottom: 5%;
    text-align: right;
    /* background-color: navy; */
    /* background-image: linear-gradient(#0000dd, #000055); */
    /* background-image: url("blue.title.jpg"); */
    /* background-image: url("port.banner.png"); */
    background-image: url("port.banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    font-size: 5vw;
}



/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 2vw;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  font-size: 2vw;
}



.dropdown {
  float: left;
  overflow: hidden;
  font-size: 16px;  
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-size: 2vw;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #ddd;
  color: black;
  font-size: 16px;  
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #eee6ff;
  font-size: 2vw;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  font-size: 2vw;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #bb99ff;
}

.dropdown:hover .dropdown-content {
  display: block;
}




/* Page Sub Title */
.subtitle {
   padding-top: 5px;
   padding-bottom: 5px;
   padding-left: 20px;
   /* background-color: #8dbfcf; */
   background-color: #43416e;
}

.flex-container {
  display: flex;
  flex-direction: row;
  /* background-color: DodgerBlue; */
}

.flex-item-left {
    padding: 10px;
    flex: 60%;
}

.flex-item-right {
    padding: 10px;
    flex: 40%;
}

@media (max-width: 800px)
{
    .flex-container
    {
        flex-direction: column;
    }
}


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

/* Main page picture gallery */

.img2
{
    float: right;
}

.clearfix::after
{
    content: "";
    clear: both;
    display: table;
}


/* Picture gallery stuff */

div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 200px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.title {
  padding: 5px;
  text-align: center;
  font-weight: bold;
}

div.desc {
  padding: 15px;
  text-align: left;
}

/* Style the footer */
.base {
  /* overflow: hidden; */
  display: block;
  clear: left;
  float: none;
  padding: 15px;
  /*background-color: #87c0d3; */
  background-color: #43416e;
  color: white;
}

/* Style the footer links */
.base a {
  /* float: left; */
  /* display: block; */
  color: #ffffff;
  /* text-align: center; */
  /* padding: 14px 16px; */
  /* text-decoration: none; */
  /* font-size: 2vw; */
}

/*** responsive image grid ***/

.row-e {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column-e {
    flex: 33%;
    max-width: 33%;
    padding: 0 4px;
    text-align: center;
}

.column-e img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    height: auto;
}

/* grid container - 2 wide */
.grid-container-e2 {
    display: grid;
    grid-template-columns: auto auto;
    text-align: center;
    grid-gap: 5px;
    padding: 0 4px;
}

.grid-container-e2 img {
    /* margin-top: 8px; */
    width: 100%;
    height: auto;
}

/* link color on grids */
/* a bit of lighter blue */
.grid-container-e2 a {
  color: #0af;
}


/* grid container - 3 wide */
.grid-e3 {
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: center;
    grid-gap: 5px;
}

.grid-e3 img {
    margin-top: 8px;
    width: 100%;
    height: auto;
}


/*
@media screen and (max-width: 800px) {
    .column-e {
        flex: 50%;
        max-width: 50%;
    }
}
*/

@media screen and (max-width: 600px) {
    .column-e {
        flex: 100%;
        max-width: 100%;
    }
}


