@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@10..48,400;10..48,700&display=swap');

body {
	font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: Normal;
}

.grey {
	background-color: #F7F8FB;
}

.header-main {
	margin-top: 40px;
	margin-bottom: 200px;
}

.header {
	width: 100%;
	padding-top: 20px;
	margin-bottom: 60px;
}


img {
	max-width: 100%;
	margin-bottom: 32px;
	margin-top: 10px;
}


.snippet {
	margin-bottom: 40px;
}

.round {
	border-radius: 400px;
}

h1 {
	margin-top: 100px;
	margin-bottom: 40px;
	font-size: 80px;
	line-height: 80px;
  font-weight: bold;
  font-family: 'Bricolage Grotesque';
}

h2 {
	font-weight: bold;
	font-size: 34px;
	line-height: 40px;
  margin: 0;
  margin-bottom: 20px;
  margin-top: 20px;
  	font-family: 'Bricolage Grotesque';
}

h3 {
	font-weight: bold;
	font-size: 26px;
	line-height: 30px;
  margin: 0;
  margin-bottom: 10px;
  margin-top: 20px;
  	font-family: 'Bricolage Grotesque';
}

.main-page {
	font-weight: normal;
	font-size: 22px;
	line-height: 30px;
  font-weight: Normal;
}

p {
	font-size: 20px;
	line-height: 30px;


}

.about-me {
	font-size: 34px;
	line-height: 40px;
	margin-bottom: 8px;
  font-weight: Normal;	
	margin-top:0;

}

.description {
	margin-bottom: 32px;
}

.caption {
	font-size: 14px;
	margin-bottom: 30px;
		/*font-family: 'FONTSPRING DEMO - The Seasons', serif;*/
}

.snippet {
  width: 100%;
  height: auto;
  margin-bottom: 20px;

}


div {
	/*background-color: rgba(0, 0, 255, 0.1);*/
	padding: 0;
	margin: 0;
}

.projects {
	margin-bottom: 40px;
}

a {
	color: #333333;
	text-decoration: none;
	border-bottom: 1px solid rgba(51, 51, 51, 0.4);
	font-weight: normal;
}

a:hover {
	color: #707070;
	text-decoration: none;
	border-bottom: 1px solid rgba(51, 51, 51, 0.4);
}

a:active {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:focused {
	text-decoration: none;
}

.button {
  color: #fff; /* цвет текста */
  text-decoration: none; /* убирать подчёркивание у ссылок */
  user-select: none; /* убирать выделение текста */
  background: #000000; /* фон кнопки */
  padding: 10px 20px; /* отступ от текста */
  outline: none; /* убирать контур в Mozilla */
  margin-bottom: 40px;
  margin-top: 40px;
} 

a.button:hover { 
	color: #ffffFF;
	background: #9A9A9A; 
} 

a.button:active {
	background: rgb(152,15,0);
}

.header-link {
	text-decoration: none;
	color: black;
	border: 0;
	font-weight: bold;
}

.social {
	display: inline-block;
	margin-right: 10px;
	margin-top: 0px;
	margin-bottom: 4px;
}

.container-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .photo {
    margin-right: 20px; /* Можно изменить значение по желанию */
    margin-bottom: 0;
    margin-top: 0;
  }

  .text-container {
    text-align: left;
  }

  p {
    margin: 0;
    margin-bottom:16px;
  }

.about {
	margin-bottom: 10px;
}

footer {
	margin-top: 80px;
	margin-bottom: 20px;
}

@media screen and (max-width: 540px) {

	 .container {
	 	box-sizing: border-box;
	 }

	p {
		font-size: 16px;
		line-height: 24px;
		margin-bottom: 8px;
	}

	h1 {
		font-size: 30px;
		line-height: 36px;
		margin-bottom: 16px;
		margin-top: 24px;
	}

	h2 {
		font-size: 22px;
		line-height: 30px;
		margin-bottom: 8px;
	}

		h3 {
		font-size: 18px;
		line-height: 24px;
		margin-bottom: 8px;
	}

img {
	max-width: 100%;
	margin-bottom: 16px;
	margin-top: 10px;
}

	.header-link {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 8px;
	}

}
