/*
Theme Name: 100 startups
Version: 1.0
Author URI: https://docode.pro
*/

@font-face{
	font-family:'Rubik';
	src:url('/wp-content/themes/docode_theme/fonts/Rubik-Light.ttf') format('truetype');
	font-weight:300;
	font-style:normal
}

@font-face{
	font-family:'Rubik';
	src:url('/wp-content/themes/docode_theme/fonts/Rubik-Regular.ttf') format('truetype');
	font-weight:400;
	font-style:normal
}

@font-face{
	font-family:'Rubik';
	src:url('/wp-content/themes/docode_theme/fonts/Rubik-Medium.ttf') format('truetype');
	font-weight:500;
	font-style:normal
}

@font-face{
	font-family:'Rubik';
	src:url('/wp-content/themes/docode_theme/fonts/Rubik-SemiBold.ttf') format('truetype');
	font-weight:600;
	font-style:normal
}

:root {
	--bl: #060B13;
	--d-gray: #333841;
	--gray: #B6B6B6;
	--wh: #fff;
	--l-gray: #F3F3F3;
	--dark: #191D23;
	--blue: #16266A;
	--shadow: 0 0 1rem 0.1rem rgba(0,0,0,0.1);
}

:focus {
	outline: none;
}

::placeholder{
	color: var(--bl);
}

html {
  	scroll-behavior: smooth;
}

body {
	font-family: Rubik;
	font-weight: 400;
	font-size: 16px;
	line-height: 130%;
	background: var(--l-gray);
}

button, input, select, textarea {
	
}

a {
	transition: .3s;
	text-decoration: none;
	color: var(--sec);
}
a:hover {
	text-decoration: none;
}

p, ul {
    margin-bottom: 20px;
}

h1, .h1 {
	font-weight: 500;
	font-size: 40px;
	line-height: 110%;
	margin-bottom: 40px;
}

h2, .h2 {
	font-weight: 500;
	font-size: 40px;
	line-height: 130%;
	margin-bottom: 20px;
}

h3, .h3 {
	font-weight: 500;
	font-size: 20px;
}

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

iframe {
    max-width: 100%;
}

img.to_svg{
	display: none;
}

.btn{
	cursor: pointer;
	background: var(--blue);
	color: var(--wh);
	display: flex;
	padding: 5px 35px;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--blue);
	transition: 0.3s;
	position: relative;
	border-radius: 30px;
}

.btn:hover{
	background: var(--wh);
	color: var(--blue);
}

.btn:focus{
	background: var(--wh);
	border: 3px solid var(--bl);
}

.header_row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 10px;
    background: var(--wh);
    border-radius: 200px;
    border: 1px solid var(--gray);
    position: relative;
}

.header_row:after {
    content: '';
    display: block;
    position: absolute;
    background: var(--wh);
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    z-index: -1;
    border-radius: 600px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header_logos {
    display: flex;
}

.header_logo_wrap {
    display: flex;
    line-height: 0;
    padding: 0 20px;
    border-left: 1px solid var(--gray);
}

.header_logo_wrap:first-child {
    border: none;
}

.head_logo img {
    height: 40px;
    width: auto;
}

.main-menu {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
}

.header_logo_wrap img {
    width: auto;
    height: 40px;
}

.main_menu_wrap {
    margin-left: auto;
}

.main-menu a {
    color: var(--bl);
    text-decoration: none;
    margin-left: 20px;
    position: relative;
    padding: 5px 0;
}

.main-menu a:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--blue);
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.main-menu a:hover:before {
    width: 100%;
}

.head_btn {
    margin-left: auto;
    margin-right: 20px;
}

header {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow);
    z-index: 100;
    background: var(--l-gray);
    padding: 20px 0;
}

/*** BANNER ***/
section.banner {
    position: relative;
    background: linear-gradient(180deg, #030E3A, #16266A);
    color: var(--wh);
}

img.banner_grid {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
}

.banner_row {
    display: flex;
    position: relative;
    align-items: center;
    padding: 40px 0 0;
}

.banner_text {
    width: 40%;
    margin-right: 40px;
}

/*** END BANNER ***/

/*** CARDS ***/
section.big_card {
    padding: 40px 0;
    position: relative;
}

.scroll_to {
    position: absolute;
    top: -80px;
}

.foto_card {
    width: 50%;
    padding: 0 15px;
}

.foto_card_img {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.foto_card_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto_card_title {
    display: block;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 110%;
    font-weight: 500;
    text-decoration: underline;
}

.card_right_side {
    width: 50%;
    padding: 0 15px;
}

.pl_card {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--wh);
    border: 1px solid var(--gray);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.pl_big {
    width: 50%;
    font-size: 100px;
    font-weight: 600;
    color: var(--blue);
    line-height: 1;
    margin-right: 10px;
    text-align: center;
}

.pl_small {
    flex: 1;
    font-size: 20px;
}

.cit_cart {
    position: relative;
    display: flex;
    align-items: flex-start;
}

img.cat_card_img {
    width: 60px;
    height: auto;
    margin-right: 20px;
    position: relative;
}

.cit_card_text {
    font-size: 26px;
    line-height: 110%;
    font-style: italic;
    margin-bottom: 20px;
}

.cat_card_name {
    font-size: 20px;
    line-height: 110%;
    font-weight: 500;
}

.white_shadow:after {
    content: '';
    position: absolute;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    background: var(--wh);
    border-radius: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.row.card_row_1 {
    margin-bottom: 40px;
}

.card_row_2 {
    margin-bottom: 40px;
}

.row.card_row_2 .foto_card {
    order: 1;
}

.card_row_2 .card_right_side {
    order: 0;
}

.card_row_2 .pl_big {
    font-size: 32px;
    line-height: 110%;
}

.expert_card {
    position: relative;
    background: var(--wh);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--gray);
    flex: 40%;
    margin: 0 15px;
    display: flex;
    flex-wrap: wrap;
}

.expert_card_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    width: 100%;
}

.expert_card_head img {
    height: 35px;
    width: auto;
}

.expert_man {
    width: 190px;
    margin-right: 20px;
}

.expert_man_foto {
    width: 100%;
    position: relative;
    padding-top: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.expert_man_foto img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert_man_fio {
    font-weight: 500;
    text-align: right;
}

.expert_man_rank {
    text-align: right;
}

.expert_text {
    flex: 1;
}

/*** END CARDS ***/

/*** FOOTER ***/

.footer_container {
    position: relative;
    background: var(--wh);
    border-radius: 20px;
    padding: 20px 0;
    border: 1px solid var(--gray);
    margin-top: 40px;
}

.footer_cards_row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer_card {
    border-right: 1px solid var(--gray);
    flex: 1;
    padding: 10px 30px;
}

.footer_card:last-child {
    border: none;
}

.footer_logo_wrap img {
    height: 36px;
    width: auto;
}

.footer_contact_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}

.footer_contact_row a {
    display: flex;
    align-items: center;
    margin: 0 10px 10px 0;
}

.footer_contact_row a svg {
    width: 24px;
    height: auto;
    margin-right: 5px;
}

.footer_contact_row a svg path{
    filter: grayscale(4) brightness(0);
    opacity: 0.4;
}

.footer_contact_row a:hover {
    opacity: 0.7;
}

.footer_copywrite {
    margin-top: 20px;
    padding: 0 30px;
}

.footer_desc {
    padding: 0 30px;
    width: 80%;
}

footer {
    padding-bottom: 40px;
}
/*** END FOOTER ***/

@media(max-width: 900px){
	.header_row:after {
	    display: none;
	}
	
	.header_row {
	    background: transparent;
	    border: none;
	    padding: 0;
	}
	
	.header_logo_wrap img {
	    height: 36px;
	}
	
	.header_logo_wrap {
	    padding: 0;
	    flex: 1;
	    justify-content: center;
	}
	
	.main_menu_wrap {
	    margin: 20px 0 20px;
	    width: 100%;
	    overflow-x: auto;
	    height: 26px;
	}
	
	.head_btn {
	    margin: auto;
	    background: transparent;
	    color: var(--bl);
	    padding: 10px 30px;
	}
	
	.banner_text {
	    width: 100%;
	    margin: 0;
	}
	
	h1, .h1 {
	    font-size: 36px;
	}
	
	.banner_foto {
	    width: 100%;
	    margin-top: 40px;
	}
	
	.banner_row {
	    flex-wrap: wrap;
	}
	
	.foto_card {
	    width: 100%;
	}
	
	.card_right_side {
	    width: 100%;
	    margin-top: 40px;
	}
	
	.card_right_side {}
	
	.pl_card {flex-wrap: wrap;}
	
	.pl_big {
	    width: 100%;
	    margin-bottom: 20px;
	}
	
	img.cat_card_img {
	    width: 30px;
	}
	
	.cit_card_text {
	    font-size: 18px;
	}
	
	.cat_card_name {
	    font-size: 16px;
	}
	
	.cat_card_rank {
	    font-size: 14px;
	}
	
	.row.card_row_1 {
	    margin-bottom: 40px;
	}
	
	.row.card_row_2 .foto_card {
	    order: 0;
	}
	
	.expert_card_head {
	    flex-wrap: wrap;
	    justify-content: center;
	    font-size: 18px;
	}
	
	.expert_card_head img {
	    margin-top: 10px;
	}
	
	.expert_man {
	    margin: 0 auto 20px;
	}
	
	.expert_text {
	    flex: 100%;
	}
		
	.expert_card {
	    flex: 100%;
	    margin-bottom: 30px;
	}
	
	.footer_contact_row {flex-direction: column;align-items: start;}
	
	.footer_logo_wrap {
	    display: flex;
	    justify-content: center;
	}
	
	.footer_card {
	    border: none;
	}

	.header_logos {
	    background: var(--wh);
	    width: 100%;
	    padding: 10px;
	    border-radius: 400px;
	    border: 1px solid var(--gray);
	    position: relative;
	}
	
	.header_logos:after {
	    content: '';
	    width: calc(100% + 12px);
	    height: calc(100% + 12px);
	    position: absolute;
	    z-index: -1;
	    background: var(--wh);
	    border-radius: 500px;
	    top: 50%;
	    left: 50%;
	    transform: translate(-50%, -50%);
	}
}

