* {
  box-sizing: border-box;
}
html,
body {
  background-color: #000;
  margin: 0;
  padding: 0;
  font-size: 100%; 
}

.header { display: block; width: 100%!important; position: absolute; z-index: 2!important; }

.header-title-wrapper {
  position: absolute;
  top: 75%;
  right: 50px;
  text-align: right;
}

.header-title-teacher-card {
  display: inline-block;
	font-size: 35px;
	padding: 15px 30px;
	font-family: "Montserrat";
  background: #051433;
  color: #fff;
}
.header-title-name-card {
  display: block;
	font-size: 50px;
	padding: 15px 30px;
	text-shadow: 2px 2px 5px #000; 
	font-family: "Montserrat";
	font-weight : 400;
  background: #830b09;
  color: #fff;
}

.header p {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  margin: 10px 0;
}

.logo-wrapper {
  position: absolute;
  top: 140px;
  left: 64%;
  transform: translateX(-50%);
}

.logo-center {
  position: relative;
  width: 500px;
  margin: 0 auto;
}
.logo {
  display: block;
  position: absolute;
  width: 500px;
}
.logo-eyes {
  display: block;
  position: absolute;
  width: 500px;
}

.smile {
  position: absolute;
  bottom: 52px;
  left: 10px;
  width: 48px;
  height: 48px;
  background: url('../images/smile.png');
  background-size: 48px 48px;
  animation: smile-animate 10s ease-in-out infinite;
}

@keyframes smile-animate {
  0% { transform: rotate(0deg); transform-origin: 50% 50%; }
  95% { transform: rotate(0deg); transform-origin: 50% 50%;}
  100% { transform: rotate(360deg); transform-origin: 50% 50%; }
  }

.parallax-wrapper {
  display: block;
  width: 100%; 
  height: 1282px; 
  position: relative;
}

.maincontent {
  display: block;
  width: 100%; 
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.parallax { display: block; justify-content: center; height: 100vh; overflow: hidden;}
.parallax__layer {
  position: fixed;
  background-position: bottom center;
  background-size: auto 100vh;
  background-repeat: no-repeat;
  width: 100%;
  z-index: 1;
  height: 100vh;
}

#parallax-0 {
  background-image: url("../images/bigben_building.jpg");
}
#parallax-2 {
  background-image: url("../images/bigben_bridge.png");
}

@media screen and (min-device-width: 1200px), (orientation: landscape) {
	.parallax__layer {
	  position: fixed;
	  background-position: bottom center;
	  background-size: auto 100vh;
    background-repeat: no-repeat;
	  width: 100%;
	  z-index: 1;
	  height: 100vh;
	}
}

@media screen and (min-width: 1900px), (orientation: landscape) {
	.parallax__layer {
	  position: fixed;
	  background-position: top center;
	  background-size: cover;
    background-repeat: no-repeat;
	  width: 100%;
	  z-index: 1;
	  height: 100vh;
	}
}


.slide {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	letter-spacing: 2px;
	color: white;
}

.align-left {
	align-items: flex-start!important;
}
.slide-wrapper {  padding: 10% 10%; z-index: 5;}

.slide-photo {
  display: flex;
  flex-direction: row; 
}
.slide-img {
	height: 42vh; 
	display: block; 
	margin: 0 auto; 
	border-radius: 15px;
}
.slide-text {
  padding: 0 50px;
}	

/* @media only screen and (hover: none) and (pointer: coarse) { */
@media only screen and (min-device-width: 800px) and (max-device-width: 1366px), (min-width: 800px) and (max-width: 1366px), (hover: none) and (pointer: coarse) {
    .slide {
		position: relative;
		min-height: 20vh;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		letter-spacing: 2px;
		color: white;
	}
	.slide-photo {
	  display: flex;
	  flex-direction: column; 
	}
	.slide-text {
	  padding: 50px 0 0;
	}	
	.slide-img {
		width: 100%;
		height: auto;
		display: block; 
		margin: 0 auto; 
		border-radius: 15px;
	}
}

h1 {
	font-family : "Merriweather";
	font-size: 54px;
	/* margin-bottom: 0; */
}
h2 {
	font-family: "Cuprum";
	font-size: 30px;
	font-weight: bold;
	/* margin: 25px 0 0; */
	margin: 25px 0;
}

strong {
  display: inline;
	font-family: "Cuprum";
	font-size: 30px;
	font-weight: normal;
  /* margin: 15px 0 0; */
  color:rgb(42, 147, 223);
}

p {
	font-family: "Cuprum";
	font-size: 20px;
  line-height: 1.6;
  margin-block-start: 0.25em;
  margin-block-end: 0em;
	/* text-align: justify; */
}

.bg-white { background-color: #fff; color: #333; }
.bg-blue { background-color: rgb(42, 147, 223); }
.bg-darkblue {   background: #121425; }

.border-red { border-top: 5px solid red; }

.bg-content {
  display: block;
  position: relative;
  width: 100%;
  height: 800px;
  background-attachment: fixed;
}

/* @media only screen and (hover: none) and (pointer: coarse) { */
@media only screen and (min-device-width: 800px) and (max-device-width: 1366px), (min-width: 800px) and (max-width: 1366px), (hover: none) and (pointer: coarse) {
	.bg-content {
	  display: block;
	  width: 100%;
	  background-attachment: unset;
	}
	p {
		line-height: 1.6;
		/* text-align: justify; */
	}

}
.bg-scotland { background-image: url("../images/scotland.jpg"); background-size: cover; }
.bg-callbox {  background-image: url("../images/callbox.jpg"); background-size: cover; }
.bg-street {  background-image: url("../images/street.jpg"); background-size: cover; }
.bg-cup { background-image: url("../images/cup.jpg"); background-size: cover; position: absolute; width: 100%; height: 100%; background-position: center 100%; }

.group-lessons-timing { background-image: url("../images/groupLessonsTiming.svg"); width: 450px; height: 150px; background-size: 100%; margin: 0 auto; }
.individual-lessons-timing { background-image: url("../images/individualLessonsTiming.svg"); width: 450px; height: 150px; background-size: 100%; margin: 50px auto 0; }

@media only screen and (hover: none) and (pointer: coarse) {
  .group-lessons-timing { background-image: url("../images/groupLessonsTiming.svg"); width: 600px;  height: 200px; background-size: 100%; margin: 0 auto;  }
  .individual-lessons-timing { background-image: url("../images/individualLessonsTiming.svg"); width: 600px; height: 200px; background-size: 600px 200px; margin: 0 auto; }
}


.balloon-wrapper {
  /* position: absolute; */
  position: relative;
  /* top:0; */
  width: 100%;
  /* height: 100vh; */
  /* overflow: hidden; */
}
.balloon {
  position: absolute; 
  background: url("../images/balloon.png");
  background-size: 400px;
  display: inline-block;
  width: 400px;
  height: 490px;
  /* top: 3000px; */
  right: 20px;
  z-index:3;
}

.contacts-wrapper { margin: 30px 0; }
.contacts-wrapper div { display: flex; align-items: center; margin: 5px 0; }
.contacts-wrapper span { 
  height: 32px;
  display: inline-block;
  padding: 0px 10px;
  font-family: "Cuprum";
  font-size: 40px; 
  line-height: 32px;;
} 

.slide-farewell { position: absolute; top: 50%; transform: translateY(-80%); }
@media only screen and (hover: none) and (pointer: coarse) {
	.slide-farewell { position: absolute; top: 45%; }
}

.farewell-wrapper {
  display: flex;
  flex-direction: row;
}
.farewell-text,.farewell-sign { position: relative; }

.contacts-wrapper a { color: #fff; text-decoration: none; }
.contacts-wrapper a:hover { color: rgb(255, 89, 136); text-decoration: underline; }
.icon-whatsapp, .icon-skype, .icon-email, .icon-vk { display: inline-block; width: 48px; height: 48px; background-repeat: no-repeat; }
.icon-whatsapp { background: url('../images/icon-whatsapp.png'); background-size: 48px 48px; }
.icon-skype { background: url('../images/icon-skype.png'); background-size: 48px 48px; }
.icon-email { background: url('../images/icon-email.png'); background-size: 48px 48px; }
.icon-vk { background: url('../images/icon-vk.png'); background-size: 48px 48px; }
