body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", "sans-serif";
  /*background-color: #88CCE4;*/
}
.main-container {
  margin: 0 auto;
  max-width: 1120px;
  min-width: 320px;
}

/* header styles */
.menu-bar {
  display: none;
}
.header-container {
  background-color: #88cce4;
  width: 100%;
  padding: 32px 32px;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  box-sizing: border-box; /* включает в шир. элементов все отступы, рамки и т.д.*/
}
.main-logo {
  width: 163px;
}
.header-nav {
  display: flex; /* проще выравнять элем. по вертикали (перек оси)*/
  align-items: center;
}
.header-link {
  margin: 0 7px;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 3px;
}
.header-link:hover {
  color: #4c665b;
}
.header-social-media {
  display: flex;
  justify-content: flex-end;
}
.header-social-icon {
  margin: 0 8px;
}
.header-social-media:hover {
  color: #4c665b;
}
.header-social-icon:hover {
  color: #000;
}

/* styles for banner section */
.banner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: end;
  padding: 32px;
}
.banner-img {
  width: 100%;
}
.banner-content {
  padding-left: 30px;
  display: grid;
  grid-template-areas:
    "header ." /* создает шаблон */
    "latest  insta";
}
.banner-img-container {
  display: flex;
  align-items: flex-end;
  /*width:500px;*/
}
.banner-content-header {
  font-size: 36px;
  width: 280px;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  padding: 10px 0; /* up&down left&riht */
  text-transform: uppercase;
  grid-area: header; /* we specify where it must display; *see:.banner-content: grid-template-areas:"header" */
}
.banner-latest {
  width: 230px;
}
.banner-latest-container {
  grid-area: latest;
}
.banner-insta-container {
  grid-area: insta;
}
.banner-content-img-container {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.banner-bottom-text {
  position: absolute;
  left: 30px; /* добавляет прослойку от границы до элемента  */
  bottom: 25px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

/* styles for subscribe section */
.subscribe {
  margin: 32px;
  background-color: #88cce4;
  display: flex;
  flex-direction: column; /* change direction of the main axis */
  align-items: center;
  padding: 10px 0 50px; /*???*/
}
.subscribe-header {
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 30px;
}
.subscribe-input {
  height: 50px;
  box-sizing: border-box;
  padding: 15px;
}
.subscribe-mail {
  width: 240px;
}
.subscribe-btn {
  width: 170px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background-color: #333333;
  border: none;
  cursor: pointer;
}

/* styles for intro section */
.intro {
  padding: 32px 72px;
  display: grid;
  grid-template-columns: 4fr 6fr;
}
.intro-header {
  text-transform: uppercase;
  font-size: 32px;
  margin-top: 16px;
}
.intro-text {
  font-weight: lighter;
  text-align: justufy; /* ??? */
}

/* styles for blog section */

.blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.blog-item {
  padding: 24px;
}
.blog-img {
  width: 100%;
}
.blog-img-container {
  position: relative;
}
.blog-img-desc-container {
  position: absolute;
  bottom: -70px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.blog-img-desc {
  width: 150px;
  height: 140px;
  color: #fff;
  background-color: #333333e3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-style: 26px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
.underline {
  background-color: #fff;
  width: 45px;
  height: 2px;
  margin: 3px auto;
  border: none;
}
.blog-desc-container {
  margin-top: 90px;
  font-weight: lighter;
  letter-spacing: 1px;
  text-align: justify;
}

/* styles for insta section */

.insta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.insta-item {
  padding: 24px;
}
.insta-item-img {
  width: 100%;
}
.insta-item-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 24px;
}
.insta-underline {
  background-color: #333333;
  width: 45px;
  height: 2px;
  margin: 3px auto;
  border: none;
}

/* styles for footer */

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid #000;
  padding: 40px;
}
.footer-logo {
  width: 140px;
  bottom: 40px;
  letter-spacing: 2px;
}
