/*Spec*/

body {
	font-family: 'Arial', sans-serif;
	color: #000;
	font-size: 15px;
}

button {
	border: none;
	padding: 0;
}

button:focus {
	outline: none;
}

ul,li {
	display: block;
	padding: 0;
}

a {
	text-decoration: none;
	border-bottom: 1px solid #cdd2e4;
	color: #253675;
}

a:hover {
	border-bottom: none;
	text-decoration: none;
	color: #b92b2b;
}

p {
	margin:0 0 10px 0;

}

/*Main*/

.lang {
	display: flex;
}

.lang-img {
	width: 15px !important;
	margin-right: 5px; 
}

.lang-link {
	border-bottom: none;
}

.link, .link-soc, .link-mail {
	margin-right: 15px;
}

.link-passive {
	border-bottom: none;
	color: #253675;
}

.title-text {
	font-size: 40px;
	font-weight: bold;
}

.title-text-about {
	font-size: 40px;
	font-weight: bold;
}

.links {
	font-size: 20px;
}

.portrait-small {
	width: 300px;
	margin: 40px 0 0 10px;
}

.portrait {
	width: 650px;
}

.section-text {
	font-size: 30px;
	font-weight: bold;
	margin: 30px 0 15px;
}

.inline-heading {
	font-weight: bold;
}

.footer-text {
	margin: 30px 0 20px;
	color: #9a9a9a;
}

/*Portfolio*/


.project-cover {
	margin-bottom: 30px;
	width: 100%;
}

.portfolio-title {
	margin-top: 0px;
}

.portrait-small-portfolio {
	width: 150px;
	margin: 10px 0 20px 10px;
}

.project-title {
	margin-bottom: 0px;
}

.school-page-description {
	margin-top: 0;
}

.school-section-text {
	font-size: 25px;
	font-weight: bold;
	margin: 0 0 30px;
}

.school-project-title{
	margin: 40px 0 20px;
}

.school-project-title-course {
	margin-top: 60px;
}

.after-link {
	margin-top: 20px;
}

.school-comment {
	margin: 40px 0 30px;
}

.grade {
	margin: 14px 0 15px;
}

.comment {
	margin: 0px;
}

.project-link {
	color: #0077cc;
	border-bottom: 1px solid #deeaf3;
}

.project-link:hover {
	color: #379fef;
	text-decoration: none;
}

.project-heading {
	font-size: 20px;
	font-weight: bold;
	margin: 40px 0 15px;
}

.illustration {
	margin: 20px 0 20px;
	width: 100%;
}

.illustration-scenario {
	width: auto;
}

.illustration-school {
	margin: 0px;
}

.illustration-valenki {
	margin-top: 10px;
	margin-bottom: 20px;
}

.illustration-text {
	display: none;
}

.image-caption-white {
    font-size: 13px;
    margin: -20px 0 0;
    color: #717171;
}

.image-caption {
    font-size: 13px;
    margin: -5px 0 10px;
    color: #717171;
}

.image-caption-storage {
	margin: 10px 0 20px;
	font-size: 13px;
    color: #717171;
}

.inner-text {
	margin-left: 30px;
	padding: 10px;
}

.spoiler {
	padding: 0;
	border-bottom: 1px dotted #cdd2e4;
	color: #253675;
}

.storage-title, {
	margin-top: 35px; 
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  display: flex;
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: auto; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
	margin-bottom: 15px;
	margin-left: auto;
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  transition: all 1s ease-out;
}

.study-cover {
	filter: brightness(50%);
	width: 100%;
}

.study-cover:hover {
	filter: none;
	transition: all 1s ease-out;
	cursor: pointer;
}

.div-cover {
	margin-bottom: 30px; 
}

/*Media*/

@media screen and (min-width: 576px) {
	.lang-img {
		margin-top: 10px;
	}
}

@media screen and (min-width: 785px) {
	.illustration-text {
		display: block;
	}

}

@media screen and (min-width: 1200px) {
	.illustration {
		width: auto;
	}
	.modal-content {
		width: 1010px;
	}
}

/*About-company-link*/

.about-company-link {
	color: #000;
}

.about-company-link:hover {
	color: #000;
	cursor: auto;
}