/* header + top nav bar */

header {
    display: grid;
    grid-template-rows: 1fr 1fr;
    position: fixed;
    z-index: 999;
    top: 0%;
    left: 0%;
    height: 8.5rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,1) 36%, rgba(36,36,36,1) 100%);
}


.logoicon {
    width: 3.4rem;
    position: fixed;
    left: 1.5rem;
    top: 1.3rem;
    height: auto;
}

.logo {
display: block;
margin-left: auto;
margin-right: auto;
width: 13rem;
margin-top: 2.2rem;
}


.menu {
    height: 4rem;
}

.menu ul {
    display: grid;
    padding: 0;
    margin: 1.5rem 0 0 0;
    grid-template-columns: 1fr 1fr 1fr;
    list-style-type: none;
    color: white;
}


.menu ul li {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    height: 2.5rem;
    display: flex;
    align-items:center;
    justify-content: center;
}

.navlinks {
    text-decoration: none;
    color: white;
    height: 2.5rem;
}

.menu ul a:hover {
background-color:#2d7cc7;
}

html {
scroll-padding-top: 9rem;
}

/*
sidenav bar start
*/

.sidenav {
    margin-top: 1rem;
    padding: 0 1.5rem;
    border: 1px solid rgb(145, 145, 145);
    margin-bottom: 1.5rem;
}

.sidenav label h2 {
    width: 100%;
    background-image: url(images/burger-menu-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 1.3rem;
}

#menu {
    display:none;
}

.sidenavlist {
    max-height: 0;
    overflow: hidden;
}

input:checked ~ .sidenavlist {
    max-height: 100%;
}

.sidenav label {
    cursor: pointer;

}

.sidenav h2 {
    display: inline-block;
    color: black;
    margin-bottom: 0.1em;
}

.sidenav h3 {
    color: rgb(94, 94, 94);
    margin-bottom: 0.2em;
    margin-top: 0.5em;
    font-weight: bold;
}

.sidenavbox + h3 {
    margin-top: 0.5em;
}

.sidenavlist {
    padding-left: 0;
    list-style-type: none;
}


.sidenavlist li {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: rgb(110, 110, 110);
    padding: 0.5em 0em 0.5em 0; 
}

.sidenavlist li a {
display:inline-block;
width: 22em;
}

.sidenavlist li:hover {
    color: white;
}

.sidenavbox:hover {
    background-color: black;
}

/*
sidenav bar end
*/

/*
footer start
*/

footer {
position: fixed;
z-index: 999;
display: flex;
flex-flow: row wrap;
height: 2em;
width: 100%;
left: 0%;
bottom: 0%;
justify-content: space-between;
background: linear-gradient(180deg, rgba(0,0,0,1) 36%, rgba(36,36,36,1) 100%);
}

footer p {
font-family: "Roboto Condensed", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
line-height: 0.4em;
color: white;
}

.copyright {
margin-left: 1em;
}

.medialinks {
    display: flex;
    flex-flow: row nowrap;
}

.medialinks p {
    padding-right: 15px;
}

.footerinstagram {
    filter: invert(1);
    width: 2em;
}

.footerfacebook {
    position: relative;
    bottom: 3px;
    filter: invert(1);
    width: 3.5em;
}

/*
footer end
*/

/* content */

body {
    background-color:#f7f7f7;
}

h1 {
    color:   #2d7cc7;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;    
}

h2 {
    color:   #2d7cc7;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

h3 {
    color:   #2d7cc7;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
}

a:link, a:visited {
    text-decoration: none;
    color: inherit;
  }

  .hyperlink:link, .hyperlink:visited {
    color: #2d7cc7; 
  }

  .hyperlink:hover {
    text-decoration: underline;
  }

  body {
    margin-top: 3em;
}