html{
	font-size: 20px;
    scroll-behavior: smooth;
}
body{
    background-color: #f3f2fa;
    font-size: 20px;
    font-family: arial, sans-serif;
    color: #51505e;
    margin: 0;
    padding: 0;
    background: url(/img/background_top.png);
    background-size: contain;
}
h2{
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    margin-top: 0;
}
img{
    display: block;
    max-width: 100%;
}
p{
    margin-top: 0;
    margin-bottom: 15px;
}
.container{
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}
.btn{
    display: inline-block;
    padding: 15px 20px;
    background: #4598d2;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 2px 10px;
    -webkit-box-shadow: 0px 4px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 4px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 4px 10px 2px rgba(34, 60, 80, 0.2);
}
.btn.white{
    background: #fff;
    color: #4598d2;
}
.btn + .btn{
    margin-left: 20px;
}
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
header .logo{
    width: 17%;
}
header .menu{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
header .menu li a{
    text-decoration: none;
    font-size: 25px;
    font-weight: 500;
    color: #51505e;
}
header .menu li a:hover{
	color: #4598d2;
	text-decoration: underline;
}
header .phones{
    padding-left: 30px;
    background: url(../img/icons/phone.svg) no-repeat left 0 top 3px;
    background-size: 25px;
    display: flex;
    flex-direction: column;
}
header .phones a{
	display: block;
	text-decoration: none;
	color: #4598d2;
    font-size: 1.2rem;
}
main .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 100px;
}
main .top .text{
    width: 45%;
}
main .top .text h1{
    margin-bottom: 60px;
}
main .top .text h3{
    margin-bottom: 40px;
}
main .top .image{
    width: 50%;
}
main .top .image img{
    border-radius: 65px 15px 64px 15px;
}
main .about{
    background: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}
main .about::before{
    content: "";
    background: url(/img/stars.png) no-repeat right top;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    width: 13vw;
    height: 13vw;
}
main .about::after{
    content: "";
    background: url(/img/unicorn1.png) no-repeat left bottom;
    background-size: contain;
    position: absolute;
    bottom: 0;
    width: calc((100vw - 1320px) / 2);
    height: calc((100vw - 1320px) / 2);
    transform: translateY(30%);
}
main .number{
    padding-top: 60px;
    padding-bottom: 60px;
    background: url(/img/background_top.png) center center;
    background-size: cover;
    }
main .number .items{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
main .number .items .item1{
    padding-left: 100px;
    background: url(/img/number1.png) no-repeat left center;
    background-size: contain;
}
main .number .items .item2{
    padding-left: 100px;
    background: url(/img/number2.png) no-repeat left center;
    background-size: contain;
}
main .number .items .item3{
    padding-left: 100px;
    background: url(/img/number3.png) no-repeat left center;
    background-size: contain;
}
main .number .items .item span{
    color: #4598d2;
    font-size: 50px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
main .projects{
    background: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}
main .projects::after{
    content: "";
    background: url(/img/unicorn2.png) no-repeat right bottom;
    background-size: contain;
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc((100vw - 1340px) / 2);
    height: calc((100vw - 1340px) / 2);
}
main .projects .items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 80px;
}
main .projects .items .item{
    -webkit-box-shadow: 0px 0px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 10px 2px rgba(34, 60, 80, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
main .projects .items .item.full{
    grid-column: span 2;
}
main .projects .items .item .text{
    padding: 25px;
}
main .projects .items .item .title{
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px; 
}
main .projects .items .item .subtitle{
    font-weight: 600;
}
main .projects .items .item .desc{
    font-size: 18px;
}
main .projects .items .item .btn{
    font-size: 16px;
}
main .projects .items .item img{
    margin-top: auto;
}
.project_popup{
    width: 800px;
    max-width: 50%;
}
.project_popup .title{
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px; 
}
.project_popup .subtitle{
    font-weight: 600;
}
.project_popup .desc ul li + li{
    margin-top: 10px;
}
.project_popup .gallery{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.project_popup .gallery > a{
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1
}
.project_popup .gallery > a img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
main .events{
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f3f2fa;
}
main .events .event{
    display: flex;
    align-items: flex-start;
    gap: 40px;
    
}
main .events .event+.event{
    margin-top: 80px;
}
main .events .event .image{
    display: block;
    width: 32%;
    border-radius: 10px;
    overflow: hidden;
    /*aspect-ratio: 4 / 3;*/
}
main .events .event .image img{
	display: block;
	width: 100%;
	/*height: 100%;
	object-fit: cover;
    object-position: center;*/
}
main .events .event .text{
    width: 67%;
}
main .events .event .text .title{
    font-weight: bold;
    font-size: 23px;
}
main .events .event .text .date{
	color: gray;
    font-size: 16px;
    margin: 0 0 10px 0;
}
main .events .event .gallery{
	/*display: flex;
    align-items: center;*/
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
main .events .event .gallery > a{
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1
}
main .events .event .gallery > a:nth-child(n+7) {
    display: none;
}
main .events .event .gallery > a img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
main .events .event .show-more{
    border: none;
    font-size: 16px;
    margin-top: 15px;
}
main .trust{
    background: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}
main .trust .items{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
main .trust .items .item{
    width: 20%;
    text-align: center;
}
main .trust .items .item img{
    max-width: 100%;
    max-height: 60px;
    margin: 0 auto 10px;
}
main .contacts{
    display: flex;
    background: url(/img/background_top.png) center center;
    background-size: cover;
}
main .contacts .image{
    width: 50%;
}
main .contacts .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main .contacts .text{
    width: 43%;
    margin-right: calc((100vw - 1320px) / 2);
    margin-left: 41px;
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 1.2rem;
}
main .contacts .text .map{
    padding-left: 30px;
    background: url(../img/icons/map.svg) no-repeat left 0 top 0;
    background-size: 25px;
    margin-bottom: 20px;
}
main .contacts .text .mail{
    padding-left: 30px;
    background: url(../img/icons/mail.svg) no-repeat left 0 top 0;
    background-size: 25px;
    margin-bottom: 20px;
}
main .contacts .text .mail a{
    text-decoration: none;
    color: #4598d2;
}
main .contacts .text .phones{
    padding-left: 30px;
    background: url(../img/icons/phone.svg) no-repeat left 0 top 0;
    background-size: 25px;
    margin-bottom: 20px;
}
main .contacts .text .phones a{
    text-decoration: none;
    color: #4598d2;
}
footer{
    background: #4598d2;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}