/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
    font-family: 'Manrope';
    src: url('font/Manrope-VariableFont_wght.woff2') format('woff2 supports variations'),
         url('font/Manrope-VariableFont_wght.woff2') format('woff2-variations');
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('font/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('font/inter-v20-cyrillic_latin-600.woff2') format('woff2');
}

html{scroll-behavior: smooth;}
.site-header .inside-header {
    padding: 10px;
}

body {
	color:#424656;
}

h1, .first-header {
	color:#191c1e;
	font-size: 48px;
	line-height: 1.25;
	letter-spacing: -0.02em;
    font-weight: 700;
}

h2, .second-header {
	font-size: 36px;
	  line-height: 1.25;
    letter-spacing: -0.01em;
    font-weight: 600;
}

h3, .third-header {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

h4 .fourth-header {
	    font-size: 1.25rem;
    line-height: 1.75rem;
}

h5 {
	font-weight: 700;
	font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 0.5rem;
}

.main-navigation .main-nav .link:hover a {

	color:var(--accent);

}

.site-header {
	position: fixed;
	    right: 0;
	    left: 0;
	    z-index: 10;
	    background: #fffffff0;
}

.header-phone a {
	font-weight: 700;
}

.main-navigation .main-nav .header-button a {
	background-color: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
}
.main-navigation .main-nav .header-button:hover a {
background-color: #1a4a9b;
}

.main-navigation .main-nav ul li a {
	line-height: 50px;
}


.section-wrap {
	padding: 6rem 5vw;
}

.section-content {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--gb-container-width);
}

.section-block {
	padding: 5vw;
}

.flex-grid, .flex-grid-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
}
.flex-grid-row {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 600px;

}
.flex-cell {
flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 290px;
    position: relative;
}
.flex-cell:hover {
	cursor: default;
}

.box-shadow {
	box-shadow: 0px 4px 20px #0f172a0d;
}

.car-card:hover img{
	transform: scale(1.05);
	transition:transform 0.2s;
}