/*
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-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-Bold.ttf') format('truetype');
	font-weight:600;
	font-style:normal
}

:root {
	--bl: #0B0B0B;
	--d-gray: #4D4D4D;
	--m-gray: #DDDEE2;
	--gray: #EFF0F3;
	--wh: #fff;
	--prim: #0033EA;
	--sec: #21CAFD;
}

:focus {
	outline: none;
}

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

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

button, input, select, textarea {
	
}

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

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

h1, .h1 {
	font-weight: 500;
	font-size: 40px;
}

h2, .h2 {
	font-weight: 500;
	font-size: 24px;
}

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(--wh);
	color: var(--prim);
	display: flex;
	width: 340px;
	height: 48px;
	padding: 12px 20px;
	justify-content: center;
	align-items: center;
	border: 3px solid var(--wh);
	transition: 0.3s;
	font-size: 16px;
	position: relative;
}

.btn:hover{
	background: var(--m-gray);
	border: 3px solid var(--m-gray);
}

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

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

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

.header_active {
    position: relative;
    padding: 18px 0;
}

.lang_menu_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
}

.lang-menu {
    margin: 0 5px;
    padding: 4px;
    display: flex;
    list-style: none;
    background: var(--m-gray);
}

.lang-menu li a {
    color: var(--bl);
    width: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    text-decoration: none;
}

.lang-menu li.current-lang a {
    background: var(--wh);
}

.lang-menu li a:hover {
    color: var(--prim);
}

section.description {
    background: #000476;
    color: var(--wh);
    padding: 72px 0;
    position: relative;
}

.desc_intro_mob {
    display: none;
}

.desc_row {
    display: flex;
    flex-wrap: wrap;
}

.desc_img {
    flex: 1;
}

.desc_intro {
    width: 50%;
}

.desc_img img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 640px;
    max-width: 40%;
}

.desc_title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 150%;
}

.desc_title span {
    color: var(--sec);
}

section.cards {
    padding: 120px 0;
}

.cards_row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.any_card {
    width: calc(50% - 20px);
    margin: 0 10px 56px;
}

.card_name {
    position: absolute;
    z-index: 1;
    left: 20px;
    bottom: 20px;
    color: var(--wh);
    font-size: 24px;
}

.any_card:hover .card_name {
    text-decoration: underline;
}

header {
    /* position: sticky; */
    /* top: -170px; */
    z-index: 100;
    background: var(--gray);
    border-bottom: 1px solid var(--bl);
}

.card_img {
    width: 100%;
    height: 320px;
    position: relative;
}

.card_img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card_desc {
    color: var(--bl);
    font-size: 12px;
    display: none;
}

.card_title {
    margin: 16px 0;
    color: var(--bl);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.any_card:hover {
    text-decoration: none;
}

.any_card:hover .card_title {
    color: var(--prim);
}

.any_card:nth-child(9n+2), .any_card:nth-child(9n+3), .any_card:nth-child(9n+4), .any_card:nth-child(9n+6), .any_card:nth-child(9n+7), .any_card:nth-child(9n+8) {
    width: calc(25% - 20px);
}

.btn_more_wrap {
    display: flex;
    justify-content: center;
}

.loader {
    position: absolute;
    right: 20px;
    top: 10px;
    display: none;
}

.loader {
	animation: 1s linear 0s normal none infinite running rot;
	-webkit-animation: 1s linear 0s normal none infinite running rot;
}
@keyframes rot {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
@-webkit-keyframes rot {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

footer {
    background: #000476;
    color: var(--wh);
    padding: 64px 0 0;
}

a.footer_logo {
    display: block;
    width: 162px;
    margin-bottom: 32px;
}

.footer_left {
    width: calc(50% - 20px);
    margin: 0 10px;
}

.footer_desc {
    width: 50%;
}

.footer_cont {
    width: calc(40% - 20px);
    padding-top: 20px;
    margin: 0 10px;
}

.footer_title {
    font-weight: 500;
    margin-bottom: 24px;
}

.footer_cont_list {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.footer_cont_list a {
    display: flex;
}

.footer_cont_list span {
    margin-left: 10px;
    color: var(--wh);
    font-size: 14px;
    transition: 0.3s;
    margin-bottom: 10px;
    flex: 1;
}

.footer_cont_list a:hover {
    text-decoration: none;
}

.footer_cont_list a:hover span {
    color: var(--sec);
}

.footer_cont_list a path {
    fill: #51528B;
    transition: 0.3s;
}

.footer_cont_list a:hover path {
    fill: var(--m-gray);
}

.footer_social {
    flex: 1;
    display: flex;
    padding-top: 20px;
    margin: 0 10px;
}

.footer_social_list {
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

.footer_social_list a {
    display: block;
    background: var(--wh);
    position: relative;
    margin-bottom: 20px;
    width: 40px;
    height: 40px;
}

.footer_social_list a path {
    fill: var(--bl);
    transition: 0.3s;
}

.footer_social_list a img, .footer_social_list a svg {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer_social_list a:hover path {
    fill: var(--sec);
}

.footer_copywrite {
    margin-top: 32px;
    padding: 16px 0;
    border-top: 1px solid #51528B;
    font-size: 14px;
}


@media(max-width: 1100px){
	.lang_menu_wrap {
		position: relative;
		top: 0;
		left: 0;
		transform: none;
		width: 100%;
	}

	img.global_icon {
		display: none;
	}

	.menu-lang_menu-container {
		width: 100%;
	}

	ul#menu-lang_menu {
		margin: 16px 0 0;
		padding: 10px 16px;
	}

	.header_active {
		padding-bottom: 0;
	}

	ul#menu-lang_menu li {
		flex: 1;
	}

	.lang-menu li a {width: 100%;}

	.desc_intro {
		display: none;
	}

	.desc_intro_mob {
		display: block;
		width: 100%;
	}

	.desc_img img {
		position: relative;
		bottom: -6px;
		max-width: 100%;
	}

	.desc_img {
		flex: 100%;
		margin-top: 10px;
	}

	section.description {
		padding: 32px 0 0;
	}

	.any_card:nth-child(9n+2), .any_card:nth-child(9n+3), .any_card:nth-child(9n+4), .any_card:nth-child(9n+6), .any_card:nth-child(9n+7), .any_card:nth-child(9n+8) {
		width: calc(50% - 20px);
	}

	header {
		position: relative;
		top: 0;
	}

	.footer_cont {
		width: calc(50% - 20px);
	}

	.footer_social_list {flex-direction: row;margin: 20px 0 0;}

	.footer_social_list a {
		margin-bottom: 0;
		margin-right: 16px;
	}

	.footer_desc {
		width: 80%;
	}
}


@media(max-width: 600px){
	.head_logo img {
	    height: 40px;
	}
	
	.desc_title {
	    font-size: 24px;
	    line-height: 150%;
	}
	
	.desc_txt {
	    font-size: 14px;
	}
	
	.desc_img img {
	    left: -16px;
	}
	
	section.cards {
	    padding: 60px 0;
	}
	
	.cards_row {
	    margin: 0;
	}
	
	.any_card {
	    width: 100%;
	    margin: 0 0 40px;
	}
	
	.any_card:nth-child(9n+2), .any_card:nth-child(9n+3), .any_card:nth-child(9n+4), .any_card:nth-child(9n+6), .any_card:nth-child(9n+7), .any_card:nth-child(9n+8) {
	    width: 100%;
	}
	
	.btn {
	    width: 100%;
	}
	
	.footer_left {
	    width: 100%;
	    margin: 0 0 40px;
	}
	
	.footer_desc {
	    width: 100%;
	}
	
	.footer_cont {
	    width: 100%;
	    margin: 0 0 10px;
	}
}






