html {
  box-sizing: border-box;
  font-family: 'Consolas';
  font-size: 16px;
  font-weight: 300;
}

body {
  margin: 0;
}
p {
  color: var(--text-color);
}
body {
  background:var(--body-color);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
*, *:before, *:after {
  box-sizing: inherit;
}



header {
  text-align: center;
  height: 45vh;
  background: rgb(107, 57, 105);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.avatar img{
  max-width: 20vw;
  min-width: 12vw;
  max-height: 20vh;
  min-height: 12vh;
  margin: 0;
}
header .avatar {
  height: auto;
}
header .quote {
  max-width: 20vw;
  min-width: 12vw;
  margin-left: 3em;
}
.logo h3 {
  margin: 0;
}
header h2 {
  color: var(--title-color);
  font-size: 2.5vw;
  text-shadow: 3px 4px 0 rgba(0,0,0,0.5);
}


nav {
  background: var(--container-color);
  top: 0;
  width: 100%;
  transition: transform 0.5s;
  position: relative;
  z-index: 1;
  height: 60px;
}
nav div:first-child {
  left: 10%;
  position: absolute;
}

body .nav-menu {
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-delay:0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-name: runback;
  animation-fill-mode: forwards;
  
}
body.fixed-nav .nav-menu{
animation-duration: 1s;
animation-timing-function: ease-in-out;
animation-delay:0s;
animation-iteration-count: 1;
animation-direction: normal;
animation-play-state:running;
animation-name: run;
animation-fill-mode: forwards;

}   

@keyframes run {
  0% { margin-right: 0%;}
  100%{ margin-left: 30%;}
}


@keyframes runback {
  0% { 
    margin-left: 30%;
  }
  100%{ 
    margin-right: 0%;
  }
}


body.fixed-nav nav {
  position: fixed;
  box-shadow: 0 5px 0 rgba(0,0,0,0.1);
  transition: 1s ease-out;
}


nav ul {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  max-width: 70vw;
  min-width: 260px;
  justify-content: center;
  text-align: center;
}
nav li:hover {
  background: #0088a9;
  transform: scale(1.1);
  transition: all 0.5s;
}

nav li {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin: 10px;
  height: 25px;
}
nav li a{
  font-weight: 600;
  font-family: Roboto;
}

.main .logo {
  overflow: hidden;
  transition: all 1s;
  place-items: center;
  display:flex;
  height: 0px;
  border-radius: 5px;

}

body.fixed-nav .logo  {
  color: #2EADF7;
  font-size: 22px;
  text-align: center;
  padding: 0px;
  font-family: 'Roboto';
  margin: 5px;
}
.logo img {
  width: 90px;
 height: 52px;
 margin: auto;
}

body.fixed-nav .logo {
  max-width: 90px;
  cursor: pointer;
  margin: 5px;
  display:flex;
  height: 45px;
  border-radius: 5px;
 
}

nav a {
  text-decoration: none;
  padding: 10px;
  display: inline-block;
  color: var(--text-color);
  transition: all 0.2s;
  text-align: center;
 
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.backdrop {
    
  padding: 20px;
  max-width: 1250px;
  width: 100%;
  height: auto;
  background-color: var(--container-color);
  margin:  70px auto;
  text-align: justify;
}
.site-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  width: 100%;
  background: var(--content-color);
  padding: 30px;
  text-align: justify;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05);
  transform: scale(0.98);
  transition: transform 0.5s;
}
.site-wrap .heading-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
width: 100%;
height: auto;
margin: 0px 20px 20px 20px;
}
.site-wrap .heading-card span {
  margin: 10px;
}

body.fixed-nav .site-wrap {
  transform: scale(1);
}
