body {
    margin: 0;
}

body, html {
	font-family: 'Open Sans', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #777;
	width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#main {
    min-height: 100%;
}

#menu {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%; 
}

#open {
    font-size:30px; 
    color: white; 
    padding: 1em; 
    cursor:pointer; 
    text-shadow: 3px 3px black;
    transition: 0.2s;
}

#open:hover {
    text-shadow: 3px 3px #77B5D7;
}

header {
	background-image: url("../images/bg.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-bottom: 3%;
}

#logo {
    max-width: 95%;
    min-width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 12%;
    padding-bottom: 2em;
    max-height: 90%;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align:center;
}

.dropdown-btn {
    width: 100%;
    text-align: center;
}
.sidenav a, .dropdown-btn {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
    background: transparent;
    border: none;
}
  
.sidenav a:hover, .dropdown-btn:hover {
    color: #77B5D7;
}

.active {
    background-color: #77B5D7;
    color: white;
}
  
/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: white;
    padding-left: 8px;
}
  
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
  
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

h1 {
    font-size: 2em;
}

a {
    cursor: pointer;
}

section {
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    margin-top: 8em;
    padding: 2em;
    width: 65%;
}

section img, .profileimg {
    float: left;
    width: 600px;
    margin-right: 2em;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    max-width: 100%;
    margin-bottom: 1em;
}

.profileimg {
    width: 350px;
}

.right-section img {
    float: right;
    margin-right: 0em;
    margin-left: 2em;
}

.bg-img-section {
    color: #FFFFFF;
    width: 80%;
    padding: 3em;
    text-align: right;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.bg-img-section p {
    width: 40%;
    float: right;
}

.accordion {
	background-color: #77B5D7;
	color: #FFFFFF;
	font-family: Futura, Calibri, sans-serif;
	font-weight: bold; 
	letter-spacing: 0.0625em; 
	font-size: 1.15em;
	cursor: pointer;
	padding: 18px;
	max-width: 100%;
	border: solid #000000; 
	border-radius: 6px;
	text-align: left;
	outline: none;
	transition: 0.4s;
}

.active, .accordion:hover {
	border: solid #FFFFFF; 
}

.panel {
	padding: 0 0px;
	background-color: #ffffff00;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

.profile {
    overflow: auto;
    margin-top: 2em;
}

.bluebutton {
	display: inline-block; 
	padding: 10px 20px; 
	border: solid #000000; 
	border-radius: 6px; 
	font-weight: bold; 
	letter-spacing: 0.0625em; 
	background: #77b6d7; 
	color: #FFFFFF; 
	text-decoration: none;
	font-family: Futura, Calibri, sans-serif;
	transition: 0.4s;
}

.bluebutton:hover {
	border: solid #FFFFFF; 
}

footer {
    background-image: url("../images/bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 3em;
    color: white;
}

.media {
    width: 40px;
    /*opacity: 0.7;*/
    margin-right: 1em;
    transition: 0.2s;
    box-shadow: none;
}

footer a, .email {
    color: #77b6d7;
}

.media:hover {
    opacity: 1;
}

.mobile {
	display: none;
}

.tablet {
	display: none;
}

.desktop {
	display: inline;
}


@media screen and (max-width: 600px) {
    header {
        background-attachment: scroll;
    }

    #logo {
        padding-top: 50%;
    }

    #main {
        max-width: 100%;
    }

    section {
        width: 100%;
        padding: 10px;
    }

    section img {
        width: 100%;
        margin: 0;
        margin-bottom: 1em;
    }

    .bg-img-section {
        text-align: center;
        width: 100%;
    }

    .bg-img-section p {
        width: 100%;
    }

    footer {
        background-attachment: scroll;
        background-size: fill;
    }

    footer div {
        display: block;
        text-align: center;
        width: 100%;
    }

    .media {
        width: 13%;
    }

    .mobile {
        display: inline;
    }
    
    .tablet {
        display: none;
    }
    
    .desktop {
        display: none;
    }
    
    .clearfix:after {
        content: "";
        display: table;
        clear: both;
    }
}