/*дефолт настройки, который убирают различия для разных браузеров, грубо говоря
дефолт сайт выглядит одинаково везде*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,*:before,*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,:active {
  outline: none;
}
a:focus,a:active {
  outline: none;
}
nav,footer,header,aside {
  display: block;
}
html,body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color:#0b0c10;
}
input,button,textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,h2,h3,h4,h5,h6 {
  font-size: inherit;
  font-weight: 400;
}
/*конец дефолт настроек__________________________________________________________________*/

header{
  height: 15%;
  background-color: #292929;
  /*box-shadow: 0px 0.5px 10px #c5c6c7;*/
  position: relative;
  min-height:10%;
  display: flex;
  justify-content: space-around;
}
main{
  flex-grow: 1;
  background-color: #0b0c10;
  line-height: 1.2;
}
footer{
  background-color: #292929;
  height: 7%;
  flex-shrink: 0;
}
.gitLink a{
  color:#c5c6c7;
  text-decoration:overline #6B737B;
  text-shadow: 0 0 10px #6B737B,
               0 0 20px #6B737B,
               0 0 40px #6B737B,
               0 0 80px #6B737B,
               0 0 120px #6B737B,
               0 0 160px #6B737B;
}
.myProjects a{
  text-decoration: none;
  color: #84ceeb;
}
.myProjectsActive a{
  text-decoration: none;
  color: #84ceeb;
}
.aboutMe a{
  text-decoration: none;
  color: #84ceeb;
}
.aboutMeActive a{
  text-decoration: none;
  color: #84ceeb;
}
.aboutMe{
  font-size: 3em;
  font-family: monospace;
  margin: auto;
}
.aboutMeActive{
  font-size: 3em;
  font-family: monospace;
  margin: auto;
  text-decoration:overline #327cc8;
  text-shadow: 0 0 10px #327cc8,
               0 0 20px #327cc8,
               0 0 40px #327cc8,
               0 0 80px #327cc8,
               0 0 120px #327cc8,
               0 0 160px #327cc8;
  animation-name: lampStart;
  animation-timing-function: linear;
  animation-duration: 5s;
  animation-iteration-count: 1;
  animation-name: lampLoop;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.myProjects{
  font-size: 3em;
  font-family: monospace;
  margin: auto;
}
.myProjectsActive{
  font-size: 3em;
  font-family: monospace;
  margin: auto;
  text-decoration:overline #327cc8;
  text-shadow: 0 0 10px #327cc8,
               0 0 20px #327cc8,
               0 0 40px #327cc8,
               0 0 80px #327cc8,
               0 0 120px #327cc8,
               0 0 160px #327cc8;
  animation-name: lampStart;
  animation-timing-function: linear;
  animation-duration: 5s;
  animation-iteration-count: 1;

}
.englishFlag{
  object-fit: cover;
  flex: 1;
  float: right;
  overflow: hidden;
  height: 100%;
  margin-right:1em;
}
.russiaFlag{
  object-fit: cover;
  flex: 1;
  float:right;
  overflow: hidden;
  height: 100%;
}
.mainText{
  color:#c5c6c7;
  font-size: 2.2em;
  font-family:monospace;
  padding-top:2em;
  padding-left:3em;
  letter-spacing: 2px;
}
.mainText a{
  text-decoration: none;
  color: #c5c6c7;
}

.mainHeader{
  color:#c5c6c7;
  font-size: 2.5em;
  font-family:monospace;
  text-align: left;
  padding-top:2em;
  padding-left:2.7em;
}
.skills{
  color:#c5c6c7;
  font-size: 2.2em;
  font-family:monospace;
  padding-top:2em;
  padding-left:3em;
  letter-spacing: 2px;
}
.skills a{
  color: #c5c6c7;
}
.skills a:hover{
  text-decoration: underline;
  text-decoration-color: #84ceeb;
  text-shadow: 0 0 10px #84ceeb,
               0 0 20px #84ceeb,
               0 0 40px #84ceeb,
               0 0 80px #84ceeb,
               0 0 120px #84ceeb,
               0 0 160px #84ceeb;
}
.mainHeader:before{
  color: #fffaaf;
  content: "~";
  text-shadow: 0 0 10px #FFF273,
               0 0 20px #FFF273,
               0 0 40px #FFF273,
               0 0 80px #FFF273,
               0 0 120px #FFF273,
               0 0 160px #FFF273;
  animation-name: lampStart;
  animation-timing-function: linear;
  animation-duration: 7s;
  animation-iteration-count: 1;
}
.yellowText{
  color: #fffaaf;
  text-shadow: 0 0 10px   #D4C135,
               0 0 20px   #D4C135,
               0 0 40px   #D4C135,
               0 0 80px   #D4C135,
               0 0 120px  #D4C135,
               0 0 160px  #D4C135;
  animation-name: lampStart;
  animation-timing-function: linear;
  animation-duration: 7s;
  animation-iteration-count: 1;
}
li{
  list-style-type: none;
}
.projects{
  padding-left:4em;
}
.projects:before{
  content: ">>";
}
li:before{
  color: #fffaaf;
  content: ">";
  padding-right: 10px;
  text-shadow: 0 0 10px #FFF273,
               0 0 20px #FFF273,
               0 0 40px #FFF273,
               0 0 80px #FFF273,
               0 0 120px #FFF273,
               0 0 160px #FFF273;
  animation-name: lampStart;
  animation-timing-function: linear;
  animation-duration: 7s;
  animation-iteration-count: 1;
}
.newLine {
  text-shadow: 0 0 10px #fff,
               0 0 20px #fff,
               0 0 40px #fff,
               0 0 80px #fff,
               0 0 120px #fff,
               0 0 160px #fff;
  animation-name: blink;
  animation-timing-function: linear;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
}
@keyframes blink {

  50% {
    opacity: 0;
    
  }
}
@keyframes lampStart{
  5%{
    opacity:0;
  }
  20%{
    opacity: 0.25;
  }
  30%{
    opacity: 0.5;
  }
  60%{
    opacity: 1;
  }

}
@keyframes lampLoop{
    0% {
        opacity: 0.85;
    }
    50%{
      opacity: 0.9;
    }
    80% {
        opacity: 1;
    }
    100%{
      opacity: 0.85;
    }
}