/*styles.css*/
* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-image: url('images/sailboat.jpg');
    background-size: 100%;
    background-color: rgb(21, 29, 52);/*darkblue;*/
    text-decoration: none;
    background-repeat: no-repeat;
}

.overlay {
    height: 70%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 3px;
    right: 0;
    background-color: rgb(153,214,255);
    background-color: rgba(153,214,255, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
    
}

.overlay-content {
    position: relative;
    top: 20%;
    width: 100%;
    text-align: center;
    margin-top: 0px;
}

.overlay a {
    padding: 5px;
    text-decoration: none;
    font-size: 20px;
    color: black;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: blue;
    border-radius: 7px;
    border: 1px solid lightblue;
}

.overlay .closebtn {
    position: absolute;
    right: 30px;
    margin-top: 5px;
    font-size: 60px;
}

.overlay-content a.selected{
    color:blue;
}

header{
    display: flex;
    background-color: white;
    border-radius: 7px;
    padding-left: 7px;
    border: 1px solid #4da6ff;
    margin-bottom: 15px;
}

.management{
    width:100%;
    max-width: 380px;
    margin: auto;
}

.header_logo1{
    width:20%;
    width: 60px;
    height: 45px;
    margin-left: 0px;
    margin-top: 10px;
    border: 2px solid #4da6ff;
    border-radius: 7px;
}

.header_logo2{
    width:60%;
    width: 150px;
    margin: auto;
}

.container {
    background: white;
    padding-top: 20%;
    width:20%;
    height: 50px;
    margin: auto;
}

navigation{
    float: right;
    font-size:40px;
    cursor:pointer;
    color:black;
    margin-top: 13px;
    padding-right: 15px;
}

logo{
    display: flex;
    float: left;
    width: 75px;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: auto;
    background-color: white;
}

td, th {
    border: 1px solid #dde0dd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

/* set middlename to bottom of firmname*/
middlename{
    float: right;
    font-size:25px;
    font-weight: bold;
    color: black;
    margin-top: 55px;
    width: 5px;
}
/* set firmname underneat middlename*/
firmname{
    float: right;
    font-size: 55px;
    color: #baed91;
    text-shadow: 1px 2px 1px black;
    font-weight: bold;
    margin-top: 0px;
    margin-left: -10px;
}

a.special{
    display: flex;
    width: 100%;
    max-width: 145px;
    background-color: white;
    border-radius: 7px;
    padding-left: 7px;
    border: 1px solid #4da6ff;
    margin-bottom: 15px;
    padding:4px 8px;
    text-decoration:none;
    cursor:pointer;
    display:inline-block;
}

a.special:focus, a.special:hover{
    display: flex;
    width: 100%;
    max-width: 145px;
    background-color: white;
    border-radius: 7px;
    padding-left: 7px;
    border: 2px solid #4da6ff;
    margin-bottom: 15px;
    padding:4px 8px;
    text-decoration:none;
    cursor:pointer;
    display:inline-block;
}

/* Create two columns/boxes that floats next to each other */
section{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    max-width: 1000px;
    margin-top: 15px;
    margin: auto;
}

article{
    padding: 10px;
    width: 1000px;
    /*background-color: #f1f1f1;*/
    background-color: rgb(241,241,241);
    background-color: rgba(241,241,241, 0.95);
    height: 100%; /* only for demonstration, should be removed */
    border-radius: 7px;
}

activity {
    width: 180px;
    margin-left: 10px;
    text-align: center;
    height: 400px; /* only for demonstration, should be removed */
    background: #ccc;
    padding: 10px;
    border-radius: 7px;
}

sectionform{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    max-width: 900px;
    margin-top: 15px;
    margin: auto;
}

contact{
    float: left;
    /*border: 2px solid #4da6ff;*/
    width: 47%;
    padding: 10px;
    /*border-radius: 7px;*/
    color: #4da6ff;
    background-color: rgb(241,241,241);
}

info{
    float: left;
    width: 53%;
    padding: 10px;
    background: #0089FF; /* fancy blue */
    font-size: 15px;
    color: white;
}

/* class */
.sendbutton{
    color: white;
    height: 30px;
    background: #0089FF; /* fancy blue */
    border-radius: 4px;
    border: 1px solid #4da6ff;
}

#hamburger {
  width: 30px;
  height: 30px;
  display: block;
  position: relative;
  float: right;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

#hamburger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: black;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#hamburger span:nth-child(1) {
  top: 0px;
}
#hamburger span:nth-child(2) {
  top: 12px;
}
#hamburger span:nth-child(3) {
  top: 24px;
}

p1 {
    font-size: 20px;
    color: black;
}

p2 {
    font-size: 25px;
    color: black;
}

p3 {
    font-size:12px;
    color:blue;
}

h1 {
    font-size: 40px;
    color: #99d6ff; /*light blue*/
    text-shadow: 1px 3px 1px black;
    margin-left: 10px;
}

h2 {
    font-size: 20px;
    color: blue;
}

h3 {
    font-size: 15px;
    color: black;
    line-height: 1.2;
}

h4 {
    font-size: 12px;
    color: blue;
    line-height: 1.2;
}

pre {

   font-family: "Lucida Console", Monaco, monospace;
   font-size: 17px;
}

@media only screen and (max-height: 450px) {
    .overlay {
        height: 95%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 3px;
        right: 0;
        background-color: rgb(153,214,255);
        background-color: rgba(153,214,255, 0.95);
        overflow-x: hidden;
        transition: 0.5s;
        border-radius: 7px;
    }

    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: -5px;
        right: 35px;
    }
}

@media screen and (max-width:600px) {
/* Disable activity box */
    article {
        float: left;
        padding: 10px;
        width: 100%;
        /*background-color: #f1f1f1; rgb(241,241,241)*/
        background-color: rgb(241,241,241);
        background-color: rgba(241,241,241, 0.95);
        height: 100%; /* only for demonstration, should be removed */
        border-radius: 7px;
    }

    activity{
        display:none;
        height:0;
    }

    sectionform{
        display: inline-block;
        float: left;
        width: 100%;
        justify-content: space-around;
        align-items: stretch;
    }

    contact{
        width: 100%;
        padding: 10px;
        color: #4da6ff;
        background-color: rgb(241,241,241);
    }

    info{
        width: 100%;
        padding: 10px;
        background: #0089FF; /* fancy blue */
        font-size: 15px;
        color: white;
    }

    .container {
        background: white;
        padding-top: 13%;
        padding-left: 20px;
        height: 50px;
        margin-right: 1px;
    }
}

@media only screen and (max-width:320px){
/* Disable activity box */
    article {
        float: left;
        padding: 10px;
        width: 100%;
        /*background-color: #f1f1f1; rgb(241,241,241)*/
        background-color: rgb(241,241,241);
        background-color: rgba(241,241,241, 0.95);
        height: 100%; /* only for demonstration, should be removed */
        border-radius: 7px;
    }

    activity{
        display:none;
        height:0;
    }

/* set middlename to top of firmname*/
    middlename{
        float: right;
        font-size:16px;
        color: black;
        margin-top: 3px;
        width: 1px;
    }

/* set firmname underneat middlename*/
    firmname{
        float: right;
        font-size: 30px;
        color: #4da6ff;
        text-shadow: 1px 2px 1px silver;
        font-weight: bold;
        margin-top: 25px;
    }

    sectionform{
        display: inline-block;
        float: left;
        width: 100%;
        justify-content: space-around;
        align-items: stretch;
        margin-top: 15px;
    }

    contact{
        width: 100%;
        padding: 10px;
        color: #4da6ff;
        background-color: rgb(241,241,241);
    }

    info{
        width: 100%;
        padding: 10px;
        background: #0089FF; /* fancy blue */
        font-size: 15px;
        color: white;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: -5px;
        right: 35px;
    }
}
