@font-face {
  font-family: 'ArialBlack';
  src: url('arial-black.eot?#iefix') format('embedded-opentype'),  
       url('arial-black.woff') format('woff'), 
       url('arial-black.ttf')  format('truetype'), 
       url('arial-black.svg#Arial-Black') format('svg');
}

body, html {
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  overflow: hidden;
}

#body,
#title {
  height: 83%;
  height: 86vh;
  height: calc(100% - 150px);
  width: 100%;
  padding: 0;
  margin: 0;
  
  background-position: bottom;
  background-size: cover;
  
  color: #14143d;
  overflow: hidden;
}

#title {
  background-image: url("bck1.jpg");
}
#body {
  background-image: url("bck2.jpg");
}

#header {
  /*height: 17%;*/
  height: 210px;
  width: 100%;
  
  background-color: #14143d;
  opacity: 0.95;
}
#header img {
  /*
  height: 3%;
  width: 20%;
  */
  position: absolute;
  top: 85px; /*8%*/
  left: 100px; /*5%*/
}
#cv {
  overflow-y: auto;
  
  width: 100%;
  height: calc(100% - 210px);
}

#title h1,
#header h1 {
  display: none;
}

#title img {
  position: absolute;
  top: 85px; /*8%*/
  left: 100px; /*5%*/
}
#body h1, 
#body h2 {
  font: bold 30px Arial;
  margin: 0;
  margin-top: 35px;
}
#body p {
  font: 16px/25px Arial;
  margin: 0;
  margin-top: 10px;
}

#body h1, 
#body h2,
#body p {
  margin-left: 100px;
}

#body p:first-line {
  /*line-height: 35px;*/
}

#footer {
  width: 100%;
  height: 150px;
  
  background-color: white;
  color: #14143d;
  
  font: 16px/25px Arial;
  overflow-x: auto;
}

#footer img {
  margin-left:  80px;
  margin-right: 20px; 
}

#footer > div > * {
  display: inline-block;
  margin-top: 34px;

  vertical-align: baseline;
}

#footer p:not(:last-child):first-line {
  font-weight: bold;
}
#footer p {
  width: 190px;
}
#footer p a {
  text-decoration: none;
  color: #14143d;
  font-size: 16px;
}
#footer > div:first-child {
  width: 1200px;
  float: left;
}
#footer > div:last-child {
  text-align: right;
  width: 100%;
  /*height: 100%;*/
  /*padding-top: 6px;*/
}
#footer div:last-child a {
  text-decoration: none;
  color: #14143d;
  font-family: Arial Black, ArialBlack, Arial;
  font-size: 50px;
  font-weight: bold;
  margin-top: 65px;
  margin-right: 80px;
  padding: 0;
}

#footer2 {
  vertical-align: middle;
  height: 150px;
}
#footer2 p {
  width: 100%;
  text-align: right;
  font-family: ArialBlack, Arial;
  font-weight: 800;
  
  margin: 0;
  margin-top: 42px;
}
#footer2 span:first-child {
  font-size: 16px;
  margin-right: 47px;
}
#footer2 span:last-child {
  font-size: 50px;
  margin-right: 100px;
}
#footer2 a {
  text-decoration: none;
  color: #14143d;
}

@media (max-width: 1350px) {
  #footer > div:last-child {
    width: 150px;
    display: inline-block;
  }
  #footer > div:last-child a {
    margin-right: 0;
  }
  #footer > div:first-child {
    width: 1050px;
  }
  #footer img {
    margin-left: 50px;
  }
}

@media (max-width: 1250px) {
  #footer > div:first-child {
    width: 925px;
  }
  #footer p:first-of-type {
    width: 165px;
  }
  #footer p {
    width: 175px;
  }
  #footer img {
    margin-left: 50px;
  }
}

@media (max-width: 1120px) {
  #footer img {
    margin-left: 30px;
  }
  #footer > div:first-child {
    width: 835px;
  }
  #footer p:first-of-type {
    width: 160px;
  }
  #footer p {
    width: 175px;
  }
  #footer p:last-of-type {
    width: 185px;
  }
}

@media (max-width: 1040px) {
  #footer img {
    margin-left: 25px;
  }
  #footer > div:first-child {
    width: 820px;
  }
  #footer p:first-of-type {
    width: 160px;
  }
  #footer p {
    width: 185px;
  }
  #footer p:last-of-type {
    width: 165px;
  }
  
  #footer > div:last-child a {
    margin-left: 0;
    padding: 0;
  }
  #footer > div:last-child {
    padding: 0;
    width: 140px;
  }
}

@media (max-width: 980px) {
  body {
    width: 980px;
    overflow-x: scroll;
  }
}
