/*!
Theme Name: memories
Theme URI: https://memories.kernel.ua/
Author: Melnychuk Hanna
Description: Template developed by Kernel Digital
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: memories
*/
@font-face {
  font-family: 'TT Norms';
  src: url("fonts/TTNorms-Regular.eot");
  src: url("fonts/TTNorms-Regular.eot?#iefix") format("embedded-opentype"), url("fonts/TTNorms-Regular.woff2") format("woff2"), url("fonts/TTNorms-Regular.woff") format("woff"), url("fonts/TTNorms-Regular.ttf") format("truetype"), url("fonts/TTNorms-Regular.svg#TTNorms-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Norms';
  src: url("fonts/TTNorms-ExtraBold.eot");
  src: url("fonts/TTNorms-ExtraBold.eot?#iefix") format("embedded-opentype"), url("fonts/TTNorms-ExtraBold.woff2") format("woff2"), url("fonts/TTNorms-ExtraBold.woff") format("woff"), url("fonts/TTNorms-ExtraBold.ttf") format("truetype"), url("fonts/TTNorms-ExtraBold.svg#TTNorms-ExtraBold") format("svg");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Norms';
  src: url("fonts/TTNorms-Bold.eot");
  src: url("fonts/TTNorms-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/TTNorms-Bold.woff2") format("woff2"), url("fonts/TTNorms-Bold.woff") format("woff"), url("fonts/TTNorms-Bold.ttf") format("truetype"), url("fonts/TTNorms-Bold.svg#TTNorms-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Norms';
  src: url("fonts/TTNorms-Black.eot");
  src: url("fonts/TTNorms-Black.eot?#iefix") format("embedded-opentype"), url("fonts/TTNorms-Black.woff2") format("woff2"), url("fonts/TTNorms-Black.woff") format("woff"), url("fonts/TTNorms-Black.ttf") format("truetype"), url("fonts/TTNorms-Black.svg#TTNorms-Black") format("svg");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
      ========================================================================== */
/**
  * Remove the margin in all browsers.
  */
body {
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/**
  * Render the `main` element consistently in IE.
  */
main {
  display: block;
}

/**
  * Correct the font size and margin on `h1` elements within `section` and
  * `article` contexts in Chrome, Firefox, and Safari.
  */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
      ========================================================================== */
/**
  * 1. Add the correct box sizing in Firefox.
  * 2. Show the overflow in Edge and IE.
  */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
      ========================================================================== */
/**
  * Remove the gray background on active links in IE 10.
  */
a {
  background-color: transparent;
}

/**
  * 1. Remove the bottom border in Chrome 57-
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
  * Add the correct font weight in Chrome, Edge, and Safari.
  */
b,
strong {
  font-weight: bolder;
}

/**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
  * Add the correct font size in all browsers.
  */
small {
  font-size: 80%;
}

/**
  * Prevent `sub` and `sup` elements from affecting the line height in
  * all browsers.
  */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
      ========================================================================== */
/**
  * Remove the border on images inside links in IE 10.
  */
img {
  border-style: none;
}

/* Forms
      ========================================================================== */
/**
  * 1. Change the font styles in all browsers.
  * 2. Remove the margin in Firefox and Safari.
  */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
  * Show the overflow in IE.
  * 1. Show the overflow in Edge.
  */
button,
input {
  overflow: visible;
}

/**
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
  * 1. Remove the inheritance of text transform in Firefox.
  */
button,
select {
  text-transform: none;
}

/**
  * Correct the inability to style clickable types in iOS and Safari.
  */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
  * Remove the inner border and padding in Firefox.
  */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
  * Restore the focus styles unset by the previous rule.
  */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
  * Correct the padding in Firefox.
  */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
  * 1. Correct the text wrapping in Edge and IE.
  * 2. Correct the color inheritance from `fieldset` elements in IE.
  * 3. Remove the padding so developers are not caught out when they zero out
  *		`fieldset` elements in all browsers.
  */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  */
progress {
  vertical-align: baseline;
}

/**
  * Remove the default vertical scrollbar in IE 10+.
  */
textarea {
  overflow: auto;
}

/**
  * 1. Add the correct box sizing in IE 10.
  * 2. Remove the padding in IE 10.
  */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

/**
  * Correct the cursor style of increment and decrement buttons in Chrome.
  */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
  * 1. Correct the odd appearance in Chrome and Safari.
  * 2. Correct the outline style in Safari.
  */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
  * Remove the inner padding in Chrome and Safari on macOS.
  */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
  * 1. Correct the inability to style clickable types in iOS and Safari.
  * 2. Change font properties to `inherit` in Safari.
  */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
      ========================================================================== */
/*
  * Add the correct display in Edge, IE 10+, and Firefox.
  */
details {
  display: block;
}

/*
  * Add the correct display in all browsers.
  */
summary {
  display: list-item;
}

/* Misc
      ========================================================================== */
/**
  * Add the correct display in IE 10+.
  */
template {
  display: none;
}

/**
  * Add the correct display in IE 10.
  */
[hidden] {
  display: none;
}

/* Box sizing
 --------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
 @link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/*--------------------------------------------------------------
 # Base
 --------------------------------------------------------------*/
/* Typography
 --------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #000000;
  font-family: "TT Norms";
  font-weight: normal;
  font-size: 18px;
  line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
 --------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*** Custom styles ***/
body {
  background-color: #1a1b17;
  color: #FFFFFF;
}

* {
  -webkit-box-sizing: border-box !important;
          box-sizing: border-box !important;
  outline: none !important;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
}

.row {
  display: inline-block;
  width: 100%;
}

.col-6 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 50%;
}

.col-4 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 25%;
}

.site-header {
  width: 100%;
  z-index: 1000;
  position: relative;
  top: 0;
}

.site-header .header {
  position: relative;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.site-header .header__logo {
  padding-top: 20px;
  padding-bottom: 0;
}

.site-header .header__logo-img {
  width: 256px;
  height: 91px;
}

.sec-main-bnr {
  padding-top: 80px;
  padding-bottom: 40px;
}

.sec-main-bnr__wrap {
  max-width: 1500px;
  margin: 0 auto;
}

.sec-main-bnr__title {
  font-family: "TT Norms";
  font-size: 110px;
  font-weight: bold;
  line-height: 1;
  color: #77d296;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.sec-main-about {
  padding-top: 0;
  padding-bottom: 95px;
}

.sec-main-about__wrap {
  padding: 0 35px;
}

.sec-main-about__text1 {
  font-family: "TT Norms";
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
}

.sec-main-about__text2 {
  font-family: "TT Norms";
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  color: #77d296;
  margin-top: 0;
  margin-bottom: 80px;
  text-align: center;
}

.sec-main-about__text2 span {
  color: #ffea01;
}

.btn-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-family: "TT Norms";
  font-weight: bold;
  font-size: 30px;
  line-height: 1;
  border: 1px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  height: 100px;
  width: 370px;
  -webkit-transition: 0.15s ease-in-out;
  -o-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}

.btn:hover, .active .btn {
  background-color: #77d296;
  border: 1px solid #77d296;
  color: #1a1b17;
}

.btn_tab {
  margin: 0 25px;
  height: 80px;
  width: 300px;
  font-size: 25px;
}

.grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -moz-box-pack: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;        
}

.grid .col-4 {
  padding: 24px 12px;
  border-bottom: 2px solid #757674;
  position: relative;
}

.grid .col-4:nth-child(1), .grid .col-4:nth-child(2), .grid .col-4:nth-child(3), .grid .col-4:nth-child(4) {
  border-top: 2px solid #757674;
}

.grid__item {
  position: relative;
  height: auto;
  width: 100%;
}

.grid__item-wrap {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  padding: 0;
  width: 100%;
  -webkit-box-shadow: none;
          box-shadow: none;
  position: relative;
  outline: none;
}

.grid__item.open .grid__item-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: #333333;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-box-shadow: 0px 0px 0px 22px #333333;
          box-shadow: 0px 0px 0px 22px #333333;
}

.grid__image-wrap {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 24px;
}

.grid__image {
  width: 100%;
  height: auto;
}

.grid__info {
  padding-right: 8%;
  font-size: 15px;
  font-weight: normal;
  min-height: 162px;
  max-height: 162px;
}

.grid__item.open .grid__info {
  max-height: 234px;
}

.grid__info-exerpt {
  margin-bottom: 15px;
}

.grid__info-text {
  display: none;
  padding-bottom: 15px;
}

.grid__item.open .grid__info-text {
  display: block;
}

.sec-main-help {
  padding-top: 40px;
  padding-bottom: 35px;
}

.sec-main-help__wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.sec-main-help__title {
  font-family: "TT Norms";
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  color: #77d296;
  margin-top: 0;
  margin-bottom: 50px;
  text-align: center;
}

.btn_gr {
  background-color: #77d296;
  border: 1px solid #77d296;
  color: #1a1b17;
}

.btn_gr:hover {
  border: 1px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
}

.sec-main-help__contacts {
  font-family: "TT Norms";
  font-size: 23px;
  font-weight: normal;
  line-height: 1.2;
  color: #FFFFFF;
  margin-top: 50px;
  margin-bottom: 0;
  text-align: center;
}

.sec-main-help__contacts .link {
  font-weight: bold;
  color: #77d296;
}

.site-footer {
  padding-top: 50px;
  padding-bottom: 100px;
}

.copyright {
  font-family: "TT Norms";
  font-size: 15px;
  font-weight: normal;
  line-height: 1.2;
  color: #b8b8b8;
  text-align: center;
}

.tabs__caption {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.tabs__caption li:not(.active) {
  cursor: pointer;
}

.tabs__content {
  display: none;
}

.tabs__content.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.title-404 {
  font-family: "TT Norms";
  font-size: 55px;
  font-weight: bold;
  line-height: 1.2;
  color: #77d296;
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
}
.text-404 {
  font-family: "TT Norms";
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
}
.bl-c-404 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 60px;        
}





/***Media***/
@media screen and (max-width: 1600px) {
  .sec-main-bnr__title {
    font-size: 100px;
  }
  .sec-main-bnr {
    padding-top: 20px;
  }
}
@media screen and (max-width: 1400px) {
  .sec-main-bnr__title {
    font-size: 90px;
  }
  .sec-main-about__text1, .sec-main-about__text2 {
    font-size: 25px;
  }
}
@media screen and (max-width: 1280px) {
  .sec-main-bnr__title {
    font-size: 80px;
  }
  .sec-main-about__text2 {
    margin-bottom: 60px;
  }
  .col-4 {
    width: 33.333%;
  }
  .grid .col-4:nth-child(1), .grid .col-4:nth-child(2), .grid .col-4:nth-child(3) {
    border-top: 2px solid #757674;
  }
  .grid .col-4:nth-child(4) {
    border-top: 0;
  }
  .btn {
    height: 80px;
    width: 300px;
  }
}

@media screen and (max-width: 991px) {
  .col-4 {
    width: 50%;
  }
  .grid .col-4:nth-child(1), .grid .col-4:nth-child(2) {
    border-top: 2px solid #757674;
  }
  .grid .col-4:nth-child(3), .grid .col-4:nth-child(4) {
    border-top: 0;
  }
  .sec-main-about__text1, .sec-main-about__text2 {
    font-size: 34px;
  }
  .btn_tab {
    margin: 0 10px;
  }  
}

@media screen and (max-width: 768px) {
  .site-header .header__logo-img {
    width: 180px;
    height: auto;
  }
  .site-header .header__logo {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .sec-main-bnr__title {
    font-size: 70px;
  }
  .sec-main-about__wrap {
    padding: 0;
  }
  .sec-main-about__text1, .sec-main-about__text2 {
    font-size: 30px;
  }  
  .sec-main-about {
    padding-bottom: 80px;
  }
  .sec-main-help {
    padding-top: 80px;
  }
  .sec-main-help__title {
    margin-bottom: 40px;
  }
  
}

@media screen and (max-width: 740px) {
  .sec-main-bnr__title {
    font-size: 80px;
  }
}

@media screen and (max-width: 667px) {
  .btn {
    height: 80px;
    width: 280px;
    font-size: 26px;
  }
  .col-4 {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
  .grid .col-4:nth-child(1) {
    border-top: 2px solid #757674;
  }
  .grid .col-4:nth-child(2), .grid .col-4:nth-child(3), .grid .col-4:nth-child(4) {
    border-top: 0;
  }
  .grid__info {
    min-height: min-content;
  }
  .tabs__caption {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .btn_tab {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 568px) {
  .btn {
    height: 70px;
    width: 260px;
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .sec-main-bnr__title {
    font-size: 60px;
  }
  .sec-main-about__text1, .sec-main-about__text2 {
    font-size: 26px;
  }
  .grid__item.open .grid__item-wrap {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    -webkit-box-shadow: 0px 0px 0px 20px #333333;
            box-shadow: 0px 0px 0px 20px #333333;
  }
}

@media screen and (max-width: 400px) {
  .sec-main-bnr__title {
    font-size: 50px;
  }
  .sec-main-about__text1, .sec-main-about__text2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 360px) {
  .sec-main-bnr__title {
    font-size: 44px;
  }
  .grid .col-4 {
    padding: 40px 10px;
  }
  .grid__info {
    max-height: 240px;
  }
}
