@font-face {
	font-family: 'SF UI Text Regular';
	font-style: normal;
	font-weight: normal;
	src: url('./fonts/SFUIText-Regular.woff') format('woff');
}
@font-face {
	font-family: 'SF UI Text Medium';
	font-style: normal;
	font-weight: normal;
	src: url('./fonts/SFUIText-Medium.woff') format('woff');
}
@font-face {
    font-family: 'neueMachina-light';
    src: url('./fonts/NeueMachina-Light.otf');    
    font-weight: normal;
    font-style: normal; 
}

p, h1, h2, h3, h4, h5, h6, a, li, strong, span, label {
    font-family: 'SF UI Text Regular';
}
p {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;   
    color:#091030; 
    margin-top:0;
    letter-spacing: -0.6px;
}
h3 {
	font-size: 26px;
	color:#091030;
	margin-top: 0;
    margin-bottom: 20px;
    font-family: 'neueMachina-light';
}
a:hover, a:active, a:focus, input:focus, button:hover, button:active, button:focus {
    outline: none;
}
* {
	box-sizing: border-box;
}
body {
    margin:0;
    position: relative; 
  	display: flex;   
  	justify-content: center;
  	flex-wrap: wrap;  
}
.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.ad {
	position: relative;
	width: 1120px;
	height: 320px;
	margin: 40px 0px;
	border-radius: 10px;
}
.flex-50.flex-image {
	background:linear-gradient(rgb(0 35 55 / 40%), rgb(0 35 55 / 40%)),url('./images/bautomo-ai.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
	width:50%;
	height: 100%;
    border-radius: 10px 0 0 10px;
}
.flex-50.flex-content {
	position: relative;
	background:#fff;
	width:50%;
	height: 100%;
    border-left: none;
    border-radius: 0 10px 10px 0;
}
.image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
}
.flex-50 img {
	width:240px;
	height: auto;
	object-fit: contain;
	margin-bottom: 10px;
}
.flex-content {
	padding:60px;
}
.button {
	position: relative;
    display: inline-block;
    border: solid 2px #091030;
    color: #091030;
    padding: 14px 32px;
    padding-right: 60px;
    margin-top: 6px;
    font-family: 'SF UI Text Medium';
    font-size: 16px;
    letter-spacing: -0.8px;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.1s all ease-in-out;
}
.button:after {
    content: '';
    background: url(./images/arrow-top-right-dark.svg) no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    right: 30px;
}
.button:hover {
    background: #091030;
    color: #fff;
}
.button:hover:after {
    background: url(./images/arrow-top-right-white.svg) no-repeat;
}

@media(max-width:991px){
	.ad {
		height: unset;
	}
	.flex-50.flex-image {
	    width: 100%;
	    border-radius: 20px 20px 0 0;
		height: 300px;
	}
	.flex-50.flex-content {
		width:100%;
		border-radius: 0 0 20px 20px;
		border: solid 2px rgb(0 0 0 / 20%);
    	border-top: none;
    	height:auto;
	}
}
@media(max-width:520px){
	h3 {
		font-size: 24px;
	}
	p {
		font-size: 15px;
		line-height: 22px;
	}
	.flex-50 {
		height: 240px;
	}
	.flex-content {
		padding:30px;
	}
	.button {
		font-size: 15px;
	}
}