<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Roboto+Slab:700" rel="stylesheet">
  <link rel="stylesheet" href="style.css">
</head>
  <body>
    <header class="header">
      <div class="header-text">
        <h1 class="header-title">Делаю сайты для вашего бизнеса</h1>
        <p class="header-description">Я Имя Фамилия<br> разрабатываю сайты для бизнеса. Продающие одностраничники, имиджевые сайты-визитки<br> или полноценные интернет-магазины</p>
        <a class="header-button" href="#">Примеры работ</a>
        <a class="header-button header-button-color" href="#">Обсудить проект</a>
      </div>
    </header>
    <div class="works">
      <div class="wrapper">
          <h2 class="block-title">Мои работы</h2>
        <div class="works-items">
          <div class="work-item">
            <div class="work-img">
              <img src="image01.png" alt="">
            </div>

            <div class="work-text">
              <p class="work-description">Одностраничный сайт для рекламы нового термобелья российского производства</p>
              <a class="work-link" href="#">Подробнее</a>
            </div>
          </div>

          <div class="work-item">
            <div class="work-img">
              <img src="image02.png" alt="">
            </div>
            <div class="work-text">
              <p class="work-description">Адаптивный сайт наборов для похудения и детокса</p>
              <a class="work-link" href="#">Подробнее</a>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="action">
      <div class="action-container">
          <h2 class="block-title">Нужен сайт</h2>
        <div class="action-wrap">
          <p class="action-description">Если у вас есть задумки по сайту, давайте обсудим их. Я сориентирую по срокам и стоимости</p>
           <form action="#" class="action-form">
            <input class="action-input" type="text" placeholder="e-mail">
                <button class="action-submit" type="submit">Отправить</button>
           </form>
        </div>
      </div>
    </div>

    <div class="about-us">
      <div class="about-us-wrap">
        <div class="experience">
          <h2 class="experience-title">Про опыт</h2>
          <div class="experience-description">Делать сайты я учился в Академии верстки на курсе «Веб-разработчик»</div>
          <div class="experience-img">
            <img src="image03.png" alt="">
          </div>
        </div>

        <div class="contacts">
          <h2 class="experience-title">Связаться со мной</h2>
          <table class="contacts-list">
            <tr>
              <td class="column-1">Телефон:</td>
              <td class="column-2">8-888-888-88-88</td>
            </tr>
            <tr>
              <td class="column-1">email:</td>
              <td class="column-2">111@gmail.com</td>
            </tr>
            <tr>
              <td class="column-1">Vk:</td>
              <td class="column-2">vk.com/username</td>
            </tr>
            <tr>
              <td class="column-1">Fb:</td>
              <td class="column-2">facebook.com/username</td>
            </tr>
            <tr>
              <td class="column-1 no-padding">Git:</td>
              <td class="column-2 no-padding">github.com/username</td>
            </tr>
          </table>
          <form action="#" class="contacts-form">
              <input class="contacts-input" type="text" placeholder="Имя, Фамилия">
              <input class="contacts-input" type="text" placeholder="Телефон">
              <input class="contacts-input" type="text" placeholder="e-mail">
                  <button class="contacts-submit" type="submit">Отправить</button>
           </form>
        </div>  
      </div>
    </div>

    <div class="footer">
      <div class="footer-wrap">
        <div class="footer-title">2018, Сайт портфолио Имя Фамилия</div>
        <div class="footer-description">Политика конфиденциальности.©</div>
        <div class="footer-description no-padding">Договор оферты </div>
      </div>
    </div>
  </body>
</html>
* {
  margin: 0;
  padding: 0;

}

body {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
.header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 765px;
  padding: 55px 0; 
  background: url(header-bg.png) center;
  background-size: cover;
  box-sizing: border-box;
}

.header-text {
  color: #ffffff;
  border: 3px solid #fff;
  padding: 140px 365px 70px 195px;
  margin-right: 237px;
}
.header-title {
  width: 530px;
  font-family: Roboto Slab;
  font-weight: 700;
  font-size: 48px;
  line-height: 55px;
  letter-spacing: 2.4px;
  padding-bottom: 50px;
}

.header-description {
  width: 465px;
  font-family: Roboto;
  font-size: 24px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: 1.2px;
  padding-bottom: 40px;}

.header-button {
  color: #ffffff;
  font-family: Roboto;
  font-size: 19px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0.95px;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 18px 33px;
  margin-right: 30px;
}

.header-button:hover {
  background-color: #fff;
  color: #005388;
}

.header-button-color {
  background-color: #fff;
  color: #005388;
}

.block-title {
  font-family: "Roboto Slab";
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 2.25px;
  padding-bottom: 70px;
}

.works-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.work-description {
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.9px;
  min-height: 56px;
}

.work-text {
  padding: 40px 18px 30px 18px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.work-link {
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0.9px;
  color: #005388;
}

.work-img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 323px;
}

.work-item {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  max-width: 576px;
  background-color: #fcfbfb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);

}

.works {
  display: flex;
  justify-content: center;
  padding: 115px 0;
}

.need-work {
  width: 100%;
  display: flex;
    justify-content: center;
    padding: 70px 0;
  background-color: #4c4c4c;
}

.need-work-text {
  width: 100%;
  max-width: 1250px;
}

.need-work-title {
  color: #ffffff;
  font-family: "Roboto Slab";
  font-size: 45px;
  font-weight: 700;
  line-height: 87px;
  letter-spacing: 2.25px;
  padding-bottom: 69px;
}

.need-work-description {
  color: #ffffff;
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0.9px;
}



.wrapper {
  width: 100%;
  max-width: 1250px;
}

.action {
    background-color: #4c4c4c;
    color: #ffffff;
    padding: 70px 0 90px 0;
}
.action-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1250px;
    width: 95%; /* ширина центровщика по макету */
}

.action-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-description {
    width: 512px;
    color: #ffffff;
    font-family: "Roboto";
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0.9px;
    margin-right: 20px;
}
.action-form {
  background-color: #ffffff;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  min-width: 300px; /* ширина по макету */
}

.action-input {
    min-width: 100px;
    padding-left: 40px;
    border: none;
    background: none;
    letter-spacing: 1.2px;
    color: #225485;
    font-family: "Roboto";
    font-size: 24px;
    font-weight: 300;
    line-height: 40px;
    flex-grow: 1;
    padding-right: 10px; /* чтобы введенный текст не прилипал к кнопке */
}

.action-input:focus {
    outline: none;
}
input::-webkit-input-placeholder { 
  color: #225485;
}

.action-submit {
    color: #ffffff;
    font-family: "Roboto";
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.95px;
    background-color: #7dcd3e;
    border: none;
    border-radius: 40px;
    text-align: center;
    padding: 15px 58px;
    min-width: 150px;
    flex-shrink: 0;
}
.header-button-color:hover {
  background-color: transparent;
  color: #fff;
}

.about-us {
  display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1250px;
}

.experience-title {
  padding: 175px 160px 71px 0;
  color: #000000;
  font-family: "Roboto Slab";
  font-size: 45px;
  font-weight: 700;
  line-height: 87px;
  letter-spacing: 2.25px;
}

.experience-description {
  width: 340px;
  color: #000000;
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.9px;
  padding-bottom: 50px;
}

.experience-img {
  padding-bottom: 130px;
}

.about-us-wrap {
  display: flex;
  justify-content: space-between;
}


.column-1 {
  color: #000000;
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: 0.9px;
  text-align: right;
  padding-left: 34px;
  padding-bottom: 28px;
  vertical-align: top;
}

.column-2 {
  color: #000000;
  font-family: Roboto;
  font-size: 24px;
  font-weight: 500;
  line-height: 31px;
  letter-spacing: 1.2px;
  padding-left: 30px;
  vertical-align: top;
}

.footer {
  padding: 58px 0 32px 0;
  background-color: #005388;
}

.footer-wrap {
  display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1250px;
}

.footer-title {
  color: #cccccc;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  padding-bottom: 14px;
}

.footer-description {
  color: #cccccc;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 400;
  text-decoration: underline;
  letter-spacing: 0.6px;
  padding-bottom: 11px;
}

.no-padding {
  padding-bottom: 0;
}

.contacts-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 82px;
}
.contacts-input {
  color: #808080;
    font-family: Roboto;
    font-size: 24px;
    font-weight: 400;
    line-height: 31px;
    text-align: center;
    letter-spacing: 1.2px;
    border: 2px solid #cdcdcd;
    border-radius: 40px;
    padding: 13.5px 105px;
    margin-bottom: 18px;
}

.contacts-submit {
  color: #ffffff;
    font-family: Roboto;
    font-size: 19px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.95px;
    padding: 10px 251px 10px 251px;
    background-color: #7dcd3e;
    border-radius: 40px;
    border: none;
    margin-top: 21px;
}

@media screen and (max-width: 1700px) {
  .header-text {
    margin-right: 145px;
  }
}

@media screen and (max-width: 1650px) {
  .header-text {
    margin-right: 115px;
  }
}

@media screen and (max-width: 1490px) {
  .header-text {
    margin-right: 50px;
  }
}

@media screen and (max-width: 1350px) {
  .header {
    justify-content: center;
    background-position: right;
  }
  .header-text {
    margin-right: 0px;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.