/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Faculty+Glyphic&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allison&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

*{
margin:0;
padding:0;
border:0;
box-sizing:border-box;
	}

html{scroll-behavior: smooth;}

	
body{
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	color:#505050;
	}

#wrapper{
		max-width: 1070px; 
	    height: 100%;
		margin:auto;
		position: relative;
								}
#wrapper .me {
	width:50%;
    position: absolute;
    left: 0px;
    top: 80px;
  
}

#wrapper img[src="Baryshev.gif"]
	{
	position:absolute; 
		top:80px; 
		left:50%; 
		width: 50%;
	}
/* .textbox is on index page*/
.textBox{
	width:440px;
	height: 500px;
	position:relative;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	color:gray;
	font-size: 16px;
	margin-top:23%;
	margin-left:55%;
	
}
/* .tex is on Web page*/
.text{	
	display: inline-block;
	width:450px;
	vertical-align: top;
	margin-left:10px;
	text-align: left;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px; 
	color:gray; 
			}


.myCursive {
font-family: 'Allison', cursive;
font-size: 48px;
color:#4daffb;
}

.title{
	font-family: 'Montserrat', sans-serif;
	font-size:20px;
	font-weight: bold;
	text-transform: uppercase;
	color:#4daffb;
}
.title2{
	font-family: 'Montserrat', sans-serif;
	font-size:20px;
	font-weight: bold;
	text-transform: uppercase;
	color:#E18107;
}
/**************************Navigatin in header*************************/

header {
    width:100%;
	display: flex;
	padding:8px 45px 0;
	background-color:#4daffb;
	
		}
	
nav{
margin-left: 40px;
		}
		
.menuSpot {display:none;}
	

ul { width:940px;
		}


li {
	
	display: inline-block;
	list-style-type: none;
	margin-right: 22px;
	margin-top: 10px;
	}

li a
{
	font-family: 'Montserrat', sans-serif;
	font-size: 14px; 
	font-weight: 500;
	color:#ffffff;
	text-decoration:none;
}
li a:hover{
	color:#0b6ec3;
	}
.creative{
	color:#c2e9f9;
	font-size:14px;
	margin-left:-17px;}

/**************************End of Navigatin in header*************************/
main {display: flex;}	

main img{
		max-width:98%;
				}

.shadow img{
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
	}	

aside{	
	width:260px;
	padding-top:20px;
	flex-shrink: 0;
			}
aside p
{position:fixed;
	top:60px;}
		
aside a /*Links in Aside box*/
{
	font-family: 'Montserrat', sans-serif;
	font-size: 16px; 
	color:#4daffb;
	text-decoration:none;
	line-height:20px;
}

aside a:hover{
	color:#4daffb;
	}
			
#display{
	margin-top:20px;
	text-align:center;

		 		}
	
#display img{
margin: 5px;
	}	

.description{
	text-align: left;
}

.UIdesign{
		width:100%; 
		margin:auto; 
		text-align:center; 
	    font-family: 'Montserrat', sans-serif;
    	font-size:60px; 
	    font-weight: 700;
		color: white; 
		background-color:#D4C17A;
		}

.email{
width:210px;
height:25px;
text-align:center;
padding-top:3px;
position:fixed;
left:40px;
bottom:20px;	
background:rgba(255, 255, 255, 0.6)
	}
	
a {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px; 
	color:#4daffb;
	text-decoration:none;
}

 a:hover{
	color:#4daffb;
	}

/*.iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; 
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}*/


/*****************************************MEDIA SCREENS***************************************************************/

@media screen and (max-width: 800px) {
	header {
    padding: 8px; /* !!!!!!!!!!! */
		position:fixed;
		top:0;
		z-index:2;
}
	
	aside{
	position:static;
	width:260px;
    margin-left:20px;
			}
	aside p{
		position:static;
		padding-top:50px;
	}
		
	#display{
		margin-left: 20px;
		margin-top: 20px;
		 		}
	
	.textSpan{
		float:none;
		margin: auto;
		height:500px;
		padding:0;
		margin-top:-30px;
	}

	.UIdesign{
		width:98%; 
		margin:auto; 
		text-align:center; 
		font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
		font-size:30px; 
		font-family:sans-serif; 
		color: white; 
		background:lightgrey;
		}
	
	.description{
	width:98%;
		margin-left:10px;
		margin-right:10px;
	}
}
/****************************************************************************************/
@media screen and (max-width: 480px) {	
	#wrapper .me {
		top:0;
		margin-top:-160px;
		width:35%;
	}
	
	main{
		flex-direction: column;
	}
	
	#display{
		width:100%;
		margin-left: auto;
		margin-right: auto;
	}
	
	#display img{
    margin-left:0;
		margin-bottom:10px;
	}	
	
	.textBox{
width:350px;
height:550px;
margin-top:240px;
margin-left:auto;
margin-right:auto;
}
	.brochure iframe{
	width:96%;
	}	
	
	
/**************** Mobile Navigation*****************/
	.menuSpot {display:block;}
	
	#wrapper img[src="Baryshev.gif"]
	{
	
		margin-top:-250px;
		margin-left:-50px;
	}

	.container {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 5px);
  transform: rotate(-45deg) translate(-6px, 5px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-7px, -6px);
  transform: rotate(45deg) translate(-7px, -6px);
}
	
	
nav {
	vertical-align:middle;
	display:inline-block;
	width:200px;
	margin-left:120px;
	-webkit-transition: all 0.5s ease 0s;
       -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
         -o-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;

	}
	
img[src="Logo.png"]{margin-left: 10px;}
	
.menuSpot {
	position:fixed;
	top:0;
	left:66px;
	width:100%;
	height:60px;
	padding-top:20px;
	padding-left:10px;
	background-color:#4daffb;
	font-family: 'Cinzel', serif;
	font-size:14px;
	color:white;
	margin-top:-1px;
	cursor:pointer;
}	
	
ul {
	z-index:-200;
	width:180px;
    background-color:#4daffb;
	position:absolute;
	top: -300px;
	left:90px;
	opacity:.9;
	-webkit-transition: all 0.5s ease 0s;
       -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
         -o-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;
		
}
.change ul{ /*   means being an immediate child of another element, that is here ul is an immediate child of nav   */
	z-index:200; /* !!!!!!!!!!! */ 
    top: 65px; /* !!!!!!!!!!! */
	}

li {
	display: block;
	border-top:1px solid rgba(255,255,255,0.5);
	margin-left:0px;
	 margin-right:  0;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-family: 'Cinzel', serif;
		}

li a
{
	font-size: 12px; 
	color:white;
	text-decoration:none;
}
li a:hover{
	color:black;
	}
/**************************	End of mobile navigation***************************/	
}

.arrow{
	position:fixed; 
	right:20px; 
	bottom:20px; 
	border:0;
		}	

