@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-weight: 300;
  src: local("Roboto Light"), url("../fonts/Roboto-Light.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-weight: 400;
  src: local("Roboto Regular"), url("../fonts/Roboto-Regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-weight: 500;
  src: local("Roboto Medium"), url("../fonts/Roboto-Medium.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-weight: 700;
  src: local("Roboto Bold"), url("../fonts/Roboto-Bold.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-weight: 900;
  src: local("Roboto Black"), url("../fonts/Roboto-Black.woff2") format("woff2");
}

.bg-color {
	background: #fcfcf7;		
}

.container {
	max-width: 1360px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-right: 30px;
}
.menu__item {
  font-size: 16px;
  line-height: normal;
}
.menu__link {
  position: relative;
  padding-bottom: 5px;
	display: inline-block;
	text-align: center;
}
.menu__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 1px;
  background-color: var(--blue);
  transform: scale(0);
  transition: all 0.3s ease-in-out;
}
.menu__link:hover, .menu__link--active {
  color: var(--blue);
}
.menu__link:hover::after, .menu__link--active::after {
  transform: scale(1);
}

@media (max-width: 1030px) {
  .menu {
    gap: 20px;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .menu {
    display: none;
  }
}

.navigation {
	color: #032150;
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 16px;	
}

.navigation a {
	color: #032150;
	transition: color 0.6s ease-in-out;
}

.navigation a:hover {
	color: #2D3D89;
}

.navigation a::after {
	content: ">";
	margin-left: 5px;
}

.navigation a:hover::after {
	text-decoration: none;
}

.modules {
}
.modules__title {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 48px;
	color: #032150;
	margin-bottom: 96px;
	text-align: left;
}
.modules__subtitle {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 36px;
	color: #032150;
	text-align: center;
	margin-bottom: 48px;
}
.modules__row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.modules__item {
	display: flex;
	align-items: end;
	border-radius: 40px;
	width: 49%; /*630px;*/
	height: 400px;
	font-family: "Roboto", sans-serif;
	font-weight: 900;
	font-size: 40px;
	color: #fff;
	/* background-color: #d9d9d9; */
	padding: 30px;
	line-height: 1.24;
	position: relative;
	background-repeat: no-repeat;
	background-position: center;	
	background-size: cover;
}
.modules__item::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(180deg, rgba(3, 33, 80, 0.2) 0%, rgba(3, 33, 80, 0.8) 100%);
	border-radius: 40px;		
}
.modules__item:hover::before {
	background-image: linear-gradient(180deg, rgba(3, 33, 80, 0.5) 0%, rgba(3, 33, 80, 0.9) 100%);
}
.modules__item span {
	position: relative;
}
.modules__item--1 {
	background-image: url("../images/modules/1.jpg");
}
.modules__item--2 {
	background-image: url("../images/modules/2.jpg");
}
.modules__item--3 {
	background-image: url("../images/modules/3.jpg");
}
.modules__item--4 {
	background-image: url("../images/modules/4.jpg");
}
.modules__item--5 {
	background-image: url("../images/modules/5.jpg");
}
.modules__item--6 {
	background-image: url("../images/modules/6.jpg");
}
.modules__item--7 {
	background-image: url("../images/modules/7.jpg");
}
.modules__item--8 {
	background-image: url("../images/modules/8.jpg");
}
.modules__item--9 {
	background-image: url("../images/modules/9.jpg");
}
.modules__item--10 {
	background-image: url("../images/modules/10.jpg");
}
.modules__item--11 {
	background-image: url("../images/modules/11.jpg");
}
.modules__item--12 {
	background-image: url("../images/modules/12.jpg");
}
.modules__item--13 {
	background-image: url("../images/modules/13.jpg");
}
.modules__item--14 {
	background-image: url("../images/modules/14.jpg");
}
.modules__item--15 {
	background-image: url("../images/modules/15.jpg");
}
.modules__item--16 {
	background-image: url("../images/modules/16.jpg");
}
.modules__item--17 {
	background-image: url("../images/modules/17.jpg");
}
.modules__item--18 {
	background-image: url("../images/modules/18.jpg");
}
.modules__item--19 {
	background-image: url("../images/modules/19.jpg");
}
.modules__item--20 {
	background-image: url("../images/modules/20.jpg");
}
.modules__item--21 {
	background-image: url("../images/modules/21.jpg");
}
.modules__item--22 {
	background-image: url("../images/modules/22.jpg");
}

.modules__video {
	border-radius: 40px;
	margin-bottom: 48px;
}

.modules__list {
	display: flex;
	align-items: center;
	gap: 48px;
	margin-bottom: 64px;
}

.modules__link {
	display: inline-block;
	background-color: #4a92ff;
	background-image: url("data:image/svg+xml,%3Csvg width='64' height='65' viewBox='0 0 64 65' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M52 5.91205H12C8.31671 5.91205 5.33337 8.89538 5.33337 12.5787V52.5787C5.33337 56.262 8.31671 59.2454 12 59.2454H52C55.6834 59.2454 58.6667 56.262 58.6667 52.5787V12.5787C58.6667 8.89538 55.6834 5.91205 52 5.91205ZM23.6667 30.912C23.6667 33.6787 21.4334 35.912 18.6667 35.912H15.3334V42.5787H10.3334V22.5787H18.6667C21.4334 22.5787 23.6667 24.812 23.6667 27.5787V30.912ZM40.3334 37.5787C40.3334 40.3454 38.1 42.5787 35.3334 42.5787H27V22.5787H35.3334C38.1 22.5787 40.3334 24.812 40.3334 27.5787V37.5787ZM53.6667 27.5787H48.6667V30.912H53.6667V35.912H48.6667V42.5787H43.6667V22.5787H53.6667V27.5787ZM15.3334 30.912H18.6667V27.5787H15.3334V30.912ZM32 37.5787H35.3334V27.5787H32V37.5787Z' fill='white' /%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 32px center;
	border-radius: 36px;
	padding: 29px 32px 29px 112px;
	font-weight: 400;
	font-size: 32px;
	color: #fff;
	white-space: nowrap;
}

.video {		
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.video__btn {
	width: 164px;
	height: 164px;
	background-image: url("data:image/svg+xml,%3Csvg width='164' height='164' viewBox='0 0 164 164' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='82' cy='82' r='82' fill='%23C8CFDD' /%3E%3Cpath d='M120 75.0718C125.333 78.151 125.333 85.849 120 88.9282L69 118.373C63.6667 121.452 57 117.603 57 111.445V52.5551C57 46.3967 63.6667 42.5477 69 45.6269L120 75.0718Z' fill='%23032150' /%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.video__btn:hover {
	background-image: url("data:image/svg+xml,%3Csvg width='164' height='164' viewBox='0 0 164 164' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='82' cy='82' r='82' fill='%238DB9FF' /%3E%3Cpath d='M120 75.0718C125.333 78.151 125.333 85.849 120 88.9282L69 118.373C63.6667 121.452 57 117.603 57 111.445V52.5551C57 46.3967 63.6667 42.5477 69 45.6269L120 75.0718Z' fill='white' /%3E%3C/svg%3E");
}
.video__btn:active {
	background-image: url("data:image/svg+xml,%3Csvg width='164' height='164' viewBox='0 0 164 164' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='82' cy='82' r='82' fill='%234A92FF' /%3E%3Cpath d='M120 75.0718C125.333 78.151 125.333 85.849 120 88.9282L69 118.373C63.6667 121.452 57 117.603 57 111.445V52.5551C57 46.3967 63.6667 42.5477 69 45.6269L120 75.0718Z' fill='white' /%3E%3C/svg%3E");
}
.video video {
	width: 100%;
	border-radius: 40px;
}

.video iframe {
	width: 100%;
	border-radius: 40px;
	aspect-ratio: 1.77778; 	
}

@media(max-width: 1366px) {
	.modules__title {
		font-size: 40px;
	}
	.modules__item {
		font-size: 30px;
	}
}
@media(max-width: 1280px) {
	.modules__link {
		font-size: 24px;
		background-position: 20px center;
		padding: 25px 26px 25px 100px;
	}
}
@media(max-width: 1038px) {
	.modules__item {
		width: 48%;
		height: 250px;
		font-size: 22px;
	}
	.modules__list {
		gap: 24px;
	}
	.modules__link {
		font-size: 20px;	
	}
}

@media(max-width: 900px) {
	.modules__list {
		flex-wrap: wrap;
		justify-content: center;
	}
	.modules__link {
		min-width: 291px;;
	}	
}

@media(max-width: 600px) {
	.modules__title {
    font-size: 34px;
  }
	.modules__subtitle {
		font-size: 30px;
	}
	.modules__item {
		width: 100%;
		height: 300px;
		font-size: 22px;
	}
	
}
