body {
  font-family: "Montserrat", sans-serif;
  color: #201b2d;
  font-size: 14px;
  font-weight: 300;
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
  background: url("../img/BG.jpg") no-repeat center top;
  background-size: cover;
  background-position: 100% 100%;
}

div,
p,
input,
button,
form,
span,
a,
ul,
li {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h2 {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 1em;
}

p {
  line-height: 1.65em;
}

.header {
  color: #fff;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

.viz-box {
  padding-left: 40px;
  padding-right: 40px;
  width: 1200px;
  height: 660px;
  border-width: 5px;
  background-color: #1f1f1f;
  background-position: center center;
  border-color: #363636;
  border-style: solid;
  box-shadow: 0px 0px 50px 0px r;
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
}

.div_romb {
  text-align: center;
  margin-top: -25px;
}

.div_romb_bottom {
  text-align: center;
  /*margin-bottom: -23px;*/
}

.romb {
  width: 45px;
}

.wrapper {
  display: flex;
  justify-content: space-between;
}

.offer {
  margin-top: 64px;
  width: 600px;
}

.title {
  font-size: 46px;
  font-weight: 500;
  color: #efba9f;
  margin-top: 0px;
}

.intro {
  font-size: 19px;
  margin-bottom: 50px;
  margin-top: 30px;
  width: 400px;
}

.btn {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1em;
  background: #efba9f;
  border-color: #efba9f;
  border-style: solid;
  border-width: 2px;
  color: #000;
  border-radius: 10px;
  display: block;
  width: 230px;
  height: 56px;
  padding: 19px 0;
  text-align: center;
  text-decoration: none;
  transition: all 0.5s ease;
}

.line {
  margin-top: 26px;
  width: 20px;
  height: 2px;
  background: #efba9f;
}

.dscr {
  width: 320px;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 60px;
}
.dev_tools {
  width: 575px;
  text-align: center;
}

.dev_ico {
  width: 40px;
  margin: 20px;
  opacity: 0.6;
}

.social {
  width: 40px;
}

.soc_btn {
  width: 40px;
  height: 165px;
  margin-top: auto;
  margin-bottom: auto;
}

.sp_ico {
  height: 20px;
}
.title span {
  font-size: 59px;
}

.photo {
  margin-top: 47px;
  margin-bottom: 30px;
}

.alias {
  text-align: center;
  margin-bottom: 51px;
}
.btn:hover {
  background: #1f1f1f;
  color: #efba9f;
}

.section-title {
  font-size: 30px;
}

.skills {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
  text-align: center;
}
.action {
  display: flex;
  justify-content: space-between;
  align-self: center;
}

.skill {
  width: 300px;
  background: url("../img/ico1.jpg") no-repeat center top;
  padding-top: 93px;
}

.skill-title {
  font-size: 18px;
}

.skill-text {
  margin-top: 7px;
}

.skill-free {
  /*width: 380px;*/
  background: url("../img/ico2.jpg") no-repeat center top;
}

.skill-change {
  background: url("../img/ico3.jpg") no-repeat center top;
}

.mail {
  background: #ecf2f8;
  padding-top: 96px;
  padding-bottom: 106px;
}

.form {
  margin-top: 57px;
  text-align: center;
}

.input {
  display: block;
  width: 343px;
  border: 1px solid #bfb8d1;
  font-size: 15px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  border-radius: 3px;
  height: 48px;
  padding-left: 23px;
  margin: 0 auto 15px auto;
}

.btn-form {
  border: 0;
  cursor: pointer;
  margin: 0 auto;
  width: 343px;
}

.footer {
  padding: 55px 0 60px 0;
  background: #164d7a;
}

.credits {
  color: #fff;
  font-size: 14px;
  margin: 0;
  text-align: center;
}

/*Responsive*/

/* 992px - 1200px */
@media screen and (max-width: 1200px) {
  .container {
    width: 960px;
  }
  .viz-box {
    padding-left: 25px;
    padding-right: 25px;
    width: 960px;
    height: 623px;
  }
  .offer {
    margin-top: 38px;
    width: 500px;
  }
  .title {
    margin-top: 0px;
  }
  .photo {
    margin-top: 75px;
    max-width: 300px;
  }
  /*   .intro {
    width: auto;
  }
 */
  .btn {
    margin-top: 7px;
    margin-right: 10px;
  }
  .line {
    margin-top: 33px;
  }
  .dscr {
    max-width: 300px;
    margin-top: 0px;
    margin-left: 10px;
  }
  .alias {
    margin-bottom: 74px;
  }
  .dev_tools {
    width: 450px;
  }
  .dev_ico {
    margin: 20px 15px 20px 15px;
  }
  p {
    /* width: auto; */
  }
}

/* 768px - 992px */
@media screen and (max-width: 992px) {
  body {
    height: 980px;
    /* background-position: right 3em bottom 10px;
    background: url("../img/BG.jpg") repeat center top; */
    background-size: 100% 1000px;
  }
  .container {
    width: 720px;
  }
  .wrapper {
    flex-direction: column;
  }
  .viz-box {
    padding-left: 25px;
    padding-right: 25px;
    width: 720px;
    height: 918px;
    position: absolute;
    top: 30px;
    transform: none;
  }
  .offer {
    width: 100%;
  }
  .intro {
    width: auto;
    font-size: 17px;
  }
  .dev_tools {
    width: auto;
  }
  .face {
    margin-top: 37px;
    display: flex;
    justify-content: space-between;
  }
  .photo {
    max-width: 280px;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .podpis {
    width: 50%;
    margin: auto 0;
  }
  .soc_btn {
    width: 165px;
    height: 40px;
    display: flex;
    margin-left: 63%;
    margin-top: -130px;
    margin-bottom: 130px;
  }
  .sp_ico {
    width: 20px;
  }
  h2 {
    font-size: 26px;
  }
}

/* 576px - 768px */
@media screen and (max-width: 768px) {
  body {
    height: 1000px;
  }
  .container {
    width: 540px;
  }
  .viz-box {
    width: 540px;
    height: 937px;
    padding: 0 10px;
  }
  .dscr {
    font-size: 12px;
    width: 190px;
  }
  .alias {
    width: 200px;
    margin: 10px auto 60px;
  }
  .soc_btn {
    margin-top: -110px;
    margin-bottom: 118px;
  }
}

/* 320px - 576px */
@media screen and (max-width: 576px) {
  body {
    background-size: 100% 1420px;
    height: 1420px;
  }
  .container {
    width: 320px;
  }
  .viz-box {
    width: 320px;
    height: 1360px; /*1337px;*/
    padding: 0 5px;
    margin: 0 auto;
  }
  .action {
    flex-direction: column;
  }
  .title {
    font-size: 26px;
    text-align: center;
    width: 250px;
    margin: 0 auto;
  }
  .intro {
    text-align: center;
  }
  .btn {
    width: 100%;
    margin: 0;
  }
  .line {
    margin: 20px auto;
  }
  .dscr {
    width: 180px;
    text-align: center; /**/
    margin: 0 auto 38px;
  }
  .face {
    flex-direction: column;
  }
  .photo {
    max-width: 250px;
    margin: 0 auto 24px;
  }
  .podpis {
    width: 100%;
    margin: 42px 0;
  }
  .alias {
    margin-bottom: 0;
  }
  .soc_btn {
    margin: 0 auto 57px;
  }
}
