/*
Theme Name: Selling Design
Version: 1.0
Description: Design template for the Dmitry Inyakin's website
Author: Dmitry Inyakin
Author URI: https://inyakindesign.com
*/

/* ---=== ENABLING FONTS ===--- */

/* Unbounded */

/* ExtraLight */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/Unbounded-ExtraLight.ttf') format('truetype');
}

/* Light */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/Unbounded-Light.ttf') format('truetype');
}

/* Regular */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/Unbounded-Regular.ttf') format('truetype');
}

/* Medium */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/Unbounded-Medium.ttf') format('truetype');
}

/* SemiBold */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/Unbounded-SemiBold.ttf') format('truetype');
}

/* Bold */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/Unbounded-Bold.ttf') format('truetype');
}

/* ExtraBold */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/Unbounded-ExtraBold.ttf') format('truetype');
}

/* Black */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/Unbounded-Black.ttf') format('truetype');
}

/* Onest */

/* Thin */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/Onest-Thin.ttf') format('truetype');
}

/* ExtraLight */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 250;
    src: url('assets/fonts/Onest-ExtraLight.ttf') format('truetype');
}

/* Light */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/Onest-Light.ttf') format('truetype');
}

/* Regular */
@font-face {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/Onest-Regular.ttf') format('truetype'),
}

/* Medium */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/Onest-Medium.ttf') format('truetype');
}

/* Semibold */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/Onest-Semibold.ttf') format('truetype');
}

/* Bold */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/Onest-Bold.ttf') format('truetype');
}

/* ExtraBold */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/Onest-ExtraBold.ttf') format('truetype');
}

/* Black */
@font-face{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/Onest-Black.ttf') format('truetype');
}

/*  ---=== RESETTING ===---  */

*{
    padding: 0;
    margin: 0;
    border: 0;
}

*,*:before,*:after{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;    
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body {
    height: 100%;
    width: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
	font-family: "Onest","Unbounded",sans-serif;
}

input,button,textarea{font-family:inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding: 0;border: 0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}

ul {
    padding-left: 0;
    margin-bottom: 0;
}

/* X-Small devices (portrait phones, 320px) */

.main_title {
    font-family: Unbounded;
    font-size: 26px;
    font-weight: 900;
    margin: 50px 32px 0 32px;
    text-align: center;
    line-height: 44px;
}
.word_title {
    font-family: "Unbounded",sans-serif;
    src: local("Unbonuded"), 
        url('assets/fonts/Unbounded-Regular.ttf') 
    format('truetype'),
        url('assets/fonts/Unbounded-Regular.ttf');
    font-size: 54px;
    font-weight: 400;
    line-height: 54px;
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.submain_title {
    font-family: Onest;
    font-size: 34px;
    font-weight: 400;
    line-height: 44px;
}
.author_pic {
    background-color: grey;
    background-size: cover;
    min-width: 320px;
    min-height: 320px;
    width: auto;
    max-width: 400px;
    margin: 0 auto 10px auto;
    aspect-ratio: 1/1;
    z-index: 1;
}
.intro {
    background-image: url(assets/images/me1.jpg);
    margin: 30px auto 0 auto;
}
.exp {
    background-image: url(assets/images/me2.jpg);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.think {
    background-image: url(assets/images/me3.jpg);
    margin: 30px auto 0 auto;
}
.first_el {
    background-image: url(assets/images/me4.jpg);
}
.first_el_two {
    background-image: url(assets/images/me4_2.jpg);
    margin: 30px auto 0 auto;
}
.second_el {
    background-image: url(assets/images/me5.jpg);
}
.second_el_two {
    background-image: url(assets/images/me5_2.jpg);
    margin: 30px auto 0 auto;
    aspect-ratio: 1/1.16;
    min-height: 371px;
}
.third_el {
    background-image: url(assets/images/me6.jpg);
}
.third_el_two {
    background-image: url(assets/images/me6_2.jpg);
    margin: 30px auto 0 auto;
}
.united {
    background-image: url(assets/images/me7.jpg);
}
.united_two {
    background-image: url(assets/images/me7_2.jpg);
    margin: 30px auto 0 auto;
}
.testing {
    background-image: url(assets/images/me8.jpg);
}
.intro_title::before {
    content: "";
    background-image: url(assets/images/triangles.jpg);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1 !important;
    will-change: transform;
    pointer-events: none;
}
.intro_title {
    font-family: Unbounded;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    line-height: 36px;
    color: white;
    padding: 70px 40px 60px 40px;
    text-transform: uppercase;
    -webkit-clip-path: inset(.5px 0 3px 0);
    clip-path: inset(.5px 0 3px 0);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
}
.top_arrow {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    background-image: url(assets/images/top_arrow.svg);
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}
.bottom_arrow {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    background-image: url(assets/images/bottom_arrow.svg);
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: bottom;
}
.intro_content {
    margin: 0 0 50px 0;
}
.what,.for_whom {
    margin: 30px 32px 30px 32px;
}
.what > .thin_arrow {
    margin: 20px 0 0 0;
}
.third {
    margin: 30px 32px 15px 32px;
}
.what_item {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 12px;
    align-items: center;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 1;
}
.what_title,.who_title,.method_if,.method_offer {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}
.who_title {
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    background-clip: border-box;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.what_number {
    font-family: 'Unbounded';
    font-size: 100px;
    font-weight: 400;
    line-height: 80px;
    color: #ccf5fc;
    text-align: right;
}
.hexagon_container {
  display: grid;
  align-content: center;
  max-width: 100%;
  position: relative;
}
.hexagon_content {
  font-size: 16px;
  line-height: 24px;
  color: white;
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 20px 30px;
}
.what_txt,.who_txt,.method_txt {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.what_txt {
    margin: 30px 0 0 0;
    padding: 30px;
    color: white;
    background-color: #333;
    border-radius: 40px 0;
}
.for_whom,.method_item {
    display: grid;
}
.who,.method_item {
    margin: 0 0 30px 0;
}
.who:last-child {
    margin: 0 0 10px 0;
}
.who_title,.who_txt {
    text-align: center;
}
.who_icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 30px auto 0 auto;
}
.site, .pres, .banner, .pack, .video, .other {
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.waves::before {
    content: "";
    background-image: url(assets/images/waves.jpg);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1 !important;
    will-change: transform;
    pointer-events: none;
}
.site {
    background-image: url(assets/images/site.svg);
}
.pres {
    background-image: url(assets/images/pres.svg);
}
.banner {
    background-image: url(assets/images/banner.svg);
}
.pack {
    background-image: url(assets/images/pack.svg);
}
.video {
    background-image: url(assets/images/video.svg);
    z-index: 1;
}
.other {
    background-image: url(assets/images/other.svg);
    z-index: 1;
}
.producer {
    background-image: url(assets/images/producer.svg);
}
.service {
    background-image: url(assets/images/service.svg);
}
.store {
    background-image: url(assets/images/store.svg);
}
.startup {
    background-image: url(assets/images/startup.svg);
}
.freelancer {
    background-image: url(assets/images/freelancer.svg);
}
.who_txt {
    margin: 30px 0 0 0;
}
.method {
    margin: 30px 32px 0 32px;
}
.if {
    margin: 30px 0 30px 0;
}
.if > .hexagon_content {
        font-size: 18px;
        font-weight: 700;
        line-height: 28px;
    }
.method_item {
    grid-auto-flow: column;
    grid-gap: 6px;
    align-items: center;
    justify-content: left;
    position: relative;
    z-index: 1;
}
.method_arrow {
    font-size: 48px;
    line-height: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.method_txt {
    text-align: left;
}
.button {
    display: block;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    color: white;
    background: linear-gradient(0deg, #ff6600 0%, #fbbf24 100%);
    margin: 0 auto;
    z-index: 1;
}
.button::before {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #e65c00 0%, #ff7700 50%, #fbbf24 100%);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.5);
    transition: opacity .3s ease-in-out;
    opacity: 0;
    z-index: -1;
}
.button:hover::before {
    opacity: 1;
}
.button a {
    color: white;
    padding: 18px 0px;
    display: block;
    width: 256px;
}
hr {
    height: .5px;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    margin: 50px 32px 0 32px;
}
.policy_link {
    padding: 0 16px;
    margin: 26px 0 22px 0;
    text-align: center;
    line-height: 18px;
}
.policy_link a {
    display: block;
    color: #555;
}
.privacy {
    padding: 16px 0 0 0;
}
.copyright {
    color: #555;
    font-weight: 400;
    padding: 0 16px 30px 16px;
    text-align: center;
}

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) {
    .main_title {
        margin: 50px 66px 0 66px;
    }
    .intro_title {
        padding: 90px 40px 60px 40px;
    }
    .intro {
        margin: 30px auto -30px auto;
    }
     .exp {
        margin: 0 auto -20px auto;
      }
    .what, .method {
        margin: 30px 64px 0 64px;
    }
    .third {
        margin: 30px 64px 20px 64px;
    }
    .for_whom {
        display: grid;
        grid-template-columns: repeat(auto-fill, 220px);
        grid-column-gap: 60px;
        margin: 30px auto 0 auto;
        width: 500px;
    }
    .who_title {
        text-align: center;
        width: 180px;
        margin: 0 auto;
    }
    .who_txt {
        margin: 30px auto 0 auto;
    }
    .method_item {
        grid-gap: 20px;
    }
}

/* Small devices (portrait phones, till 767px) */

@media (max-width: 767px) {
    
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
    .main_title {
        margin: 50px 118px 0 118px;
    }
    .intro_title {
        padding: 100px 40px 70px 40px;
        font-size: 28px;
        line-height: 40px;
    }
    .what, .method {
        width: 640px;
    }
    .what {
        margin: 40px auto 0 auto;
    }
    .what > .thin_arrow {
        margin: 10px 0 0 0;
    }
    .for_whom {
        margin: 40px auto 0 auto;
    }
    .what_title, .who_title, .method_if, .method_offer {
        font-size: 20px;
        line-height: 30px;
    }
    .what_number {
        font-size: 140px;
        line-height: 110px;
    }
    .hexagon_container {
        width: 640px;
    }
    .if {
        margin: 40px 0 40px 0;
    }
    .if > .hexagon_content {
        font-size: 20px;
        line-height: 30px;
    }
    .hexagon_content {
        font-size: 18px;
        line-height: 26px;
        padding: 20px 40px;
    }
    .what_txt, .who_txt, .method_txt {
        font-size: 18px;
        line-height: 26px;
    }
    .who_icon {
        width: 120px;
        height: 120px
    }
    .method {
         margin: 40px auto 0 auto;
    }
    p.method_offer {
        margin: 40px 0 0 0;
    }
    .button {
        font-size: 20px;
        line-height: 26px;
    }
    .button a {
        padding: 22px 0;
        width: 360px;
    }
    .policy_link {
        padding: 0;
        margin: 26px auto 22px auto;
        display: grid;
        grid-auto-flow: column;
        width: 600px;
        text-align: center;
    }
    .privacy {
        padding: 0;
    }
    hr {
        margin: 50px auto 0 auto;
        width: 640px;
    }
}

/* Large devices (tablets/desktops, 992px and up) */

@media (min-width: 992px) {
    .title_block {
        display: grid;
        grid-auto-flow: column;
        width: 900px;
        margin: 40px auto 0 auto;
    }
    .main_title {
        font-size: 46px;
        line-height: 50px;
        text-align: left;
        margin: 40px 0 0 0;
    }
    .word_title {
        font-size: 94px;
        line-height: 94px;
        display: block;
        margin: 20px 0 0 0;
    }
    .submain_title {
        width: auto;
        text-align: left;
        margin: 30px 0 0 0;
        font-size: 38px;
        line-height: 50px;
    }
    .author_pic {
        width: 400px;
        height: 400px;
    }
    .first_el_two, .second_el_two  {
        margin: 40px auto 0 auto;
        height: auto;
    }
    .intro {
        background-image: url(assets/images/me1_2.jpg);
        margin: 0px auto;
    }
    .intro_title {
        padding: 120px 40px 80px 40px;
        font-size: 34px;
        line-height: 46px;
        margin: -10px 0 0 0;
    }
    .what, .method {
        width: 680px;
        margin: 50px auto 0 auto;
    }
    .for_whom {
        margin: 50px auto 0 auto;
    }
    .what_title, .who_title, .method_if, .method_offer {
        font-size: 22px;
        line-height: 34px;
    }
    .who_title {
        width: 194px;
    }
    .what_txt, .who_txt, .method_txt {
        font-size: 20px;
        line-height: 32px;
        font-weight: 300;
    }
    .exp {
        margin: 0 auto -40px auto;
    }
    .what_number {
        font-size: 180px;
        line-height: 130px;
    }
    .hexagon_container {
        width: 680px;
    }
    .hexagon_content {
        font-size: 20px;
        line-height: 32px;
        padding: 30px 50px;
    }
    .if > .hexagon_content {
        font-size: 22px;
        line-height: 34px;
    }
    .intro_content {
        margin: 0 0 60px 0;
    }
    .button {
        font-size: 22px;
        line-height: 26px;
    }
    .button a {
        padding: 26px 0;
        width: 440px
    }
    hr {
        width: 680px;
        margin: 60px auto 0 auto;
    }
}

/* Desktop (TV & display, 1200px) */

@media (min-width: 1200px) {
    .title_block {
        margin: 50px auto 0 auto;
    }
    .intro {
        margin: 0;
    }
    .intro_title {
        font-size: 38px;
        line-height: 50px;
        padding: 220px 80px 120px 80px;
        margin: -40px 0 0 0;
    }
    .test_title {
        font-size: 38px;
        font-weight: 700;
        line-height: 50px;
        padding: 0;
        margin: -50px 0 0 0;
    }
    .intro_content {
        margin: 0 0 80px 0;
    }
    .what {
        margin: 60px auto 60px auto;
    }
    .what, .for_whom {
        width: 720px;
    }
    .what_title, .who_title, .method_if, .method_offer {
        font-size: 24px;
        line-height: 36px;
    }
    .what_number {
        font-size: 210px;
        line-height: 160px;
    }
    .hexagon_container {
        width: 720px;
    }
    .hexagon_content, .what_txt, .who_txt, .method_txt {
        font-size: 20px;
        font-weight: 300;
        line-height: 32px;
    }
    .hexagon_content {
        padding: 30px 60px;
    }
    .what_txt {
        margin: 60px 0 0 0;
        padding: 50px;
        border-radius: 60px 0;
    }
    .third {
        margin: 60px auto -60px auto;
        width: 720px;
    }
    .for_whom {
        grid-template-columns: repeat(auto-fill, 320px);
        grid-column-gap: 80px;
        margin: 60px auto 0 auto;
    }
    .who_title {
        text-align: center;
        width: 220px;
        margin: 0 auto;
    }
    .who_icon {
        width: 140px;
        height: 140px;
        margin: 40px auto 0 auto;
    }
    .who_txt {
        margin: 40px auto 0 auto;
        width: 260px;
    }
    .exp {
        margin: 0 auto -80px auto;
    }
    .method {
        width: 720px;
    }
    .if {
        margin: 50px 0;
    }
    .if > .hexagon_content {
        font-size: 24px;
        line-height: 36px;
    }
    .method_item {
        grid-gap: 30px;
    }
    .method_arrow {
        font-size: 68px;
        line-height: 50px;
    }
    p.method_offer {
        margin: 50px 0 0 0;
    }
    .button {
        font-size: 24px;
        line-height: 28px;
    }
    hr {
        margin: 80px auto 0 auto;
        width: 900px
    }
}