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

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

section{
  margin-top: 70px;
}


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;
}
body.fixed-nav#logo {
  margin-left: 30px;
}
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 {
  left: 0%;
  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: 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: 40%;}
}


@keyframes runback {
  0% { 
    margin-left: 40%;
  }
  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: 960px;
  height: auto;
  background-color: var(--container-color);
  margin:  70px auto;
  text-align: justify;
}
.site-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 10px;
  background: var(--content-color);
  padding: 40px;
  text-align: justify;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05);
  transform: scale(0.98);
  transition: transform 0.5s;
  font-size: 1.14286em
}
.site-wrap .heading-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: auto;
margin: 0px 20px 20px 20px;
}
.site-wrap .heading-card span {
  margin: 10px;
}

body.fixed-nav .site-wrap {
  transform: scale(1);
}
.list-name {
  width: 100%;
  height: 50px;
  background-color: var(--body-color);
}
.cpu {
  background-image: url(/img/cpu.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.motherboard {
  background-image: url(/img/motherboard.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.ram {
  background-image: url(/img/ram.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.ssd {
  background-image: url(/img/ssd.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;

}
.gpu {
  background-image: url(/img/GPU.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.hdd {
  background-image: url(/img/HDD.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.case{
  background-image: url(/img/case.jpg);
  background-size: 120px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.power{
  background-image: url(/img/power-supply.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.monitor {
  background-image: url(/img/monitor.jpg);
  background-size: 120px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.keyboard{
  background-image: url(/img/keyboard.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.mouse {
  background-image: url(/img/G502_mouse.jpg);
  background-size: 140px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.headset{
  background-image: url(/img/HS50_Pro.jpg);
  background-size: 120px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}
.mic {
  background-image: url(/img/mic.jpg);
  background-size: 100px 100px !important;
  background-repeat: no-repeat;
  background-position: center;
}

.container {
    border: 15px solid #DA3D45;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='75' height='75'%3E%3Cg fill='none' stroke='%23B88846' stroke-width='2'%3E%3Cpath d='M1 1h73v73H1z'/%3E%3Cpath d='M8 8h59v59H8z'/%3E%3Cpath d='M8 8h16v16H8zM51 8h16v16H51zM51 51h16v16H51zM8 51h16v16H8z'/%3E%3C/g%3E%3Cg fill='%23B88846'%3E%3Ccircle cx='16' cy='16' r='2'/%3E%3Ccircle cx='59' cy='16' r='2'/%3E%3Ccircle cx='59' cy='59' r='2'/%3E%3Ccircle cx='16' cy='59' r='2'/%3E%3C/g%3E%3C/svg%3E") 25;
}
.player {
  border: 5px solid rgba(0,0,0,0.2);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  position: relative;
  font-size: 0;
}

/* This css is only applied when fullscreen is active. */
.player {
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video{
 width: 100%;
}