@charset "UTF-8";
/* CSS for reedoco.io/index.html
   Designed in 2019 by Reed O'Beirne, for better and for worse... */


{ box-sizing: border-box; }

/* Body */
body {
	background-color: #1d2731;  /* Black-Blue  */
	font-family: 'PT Sans Narrow', sans-serif;
	text-shadow: 1px 1px 1px #cccBC6;
	font-size: calc(10px + 1.2vw);;
	margin: auto;
	max-width: 95%;
    max-height: 95%;
	padding-top: 1.0vh;  
	padding-bottom: 0.5vh; 
}


/* . ::::::::::::::  Navigation  :::::::::::::::::  */
/*.container-navbar{
	position: static; :: not needed b/c 'static' is default
}  */

.navbar {
/*	align: right;  */
	position: absolute;
	display: block;
	width: 16.0vw;
	left: 78.2vw;
	top:  2vh;
    line-height: calc(8px + 2.5vw);
	z-index: 1;

/*	border-width: 0.25vw; 
	border-style: solid;
	border-color: #328cc1; light blue border for debugging */	
}

.menu-item a{
	text-decoration: none;
	margin: 0;
	padding: 0;
}

.menu-item img {
	height: 0.8vh; 
	padding-bottom: -0.2vh;
}


/* . :::::::::::::: LINKS ::::::::::::: */
a:link { color: #1d2731; } /* Black-Blue . */
a:visited { color: #0b3c5d; } /* Navy Blue */
a:hover {color: #328cc1; }  /* Light Blue */
a:active {color: #d9b310; }  /* Gold Color */


/* . :::::::::::::: */

.mainbox {                  /* . imgbox    */
	border-width: 1.5vw; 
	border-bottom-width: 3vh;  /* ::::::::  Blue Bottom Border ::::::::  */
	border-style: solid;
	border-color: #0b3c5d;  /*Navy Blue*/
	border-radius: 3.7vw;  /* curves the box edges */
	background-color: #ffffff; /*white*/	
/*	background-color: #D3D3D3; /*grey */
	margin: auto; 
	max-width: 95vw;  /* was 85 */
	box-sizing: border-box;
	padding-bottom: 1vh;  /* :::::::: moves whitspace down / was 8vh :::::::::: */
}

#sketch-holder{ /*   :::  holds the js canvas . */
	display: block;
	text-align: center;
	opacity: 1;  
}

canvas {  border-radius: 3.6vw;  }  // added for sine-synth. 

/*  This was for the Watching page and don't know that it's needed here. */
.main-img { 
	padding-top: 2vh;  /* :::::::: moves the sketch down :::::::::: */
	display: block;  /* helps center the image */
	margin-left: auto;  /* in combination    */
	margin-right: auto; /* margin-left/right set to AUTO will center the image within .imgbox */
	max-width: 2vw;  /* doesn't work with the JS sketch.  supposedly needs to be smaller than then .imgbox max-width . */ 
	top: 10vh; /* doesn't do anything */
}

/* :::::::::   */

.textbox{  /* needed to place the text atop the image.  Needs to be mostly empty */
	text-align: center;
	padding: 0%;
}

.caption{}

.container{ 	
	position: relative;  /* step-1 to place the text on the image .   needs to be mostly empty (again)*/
	}


.textbox2{  /* step-2 to place the text on the image, as per https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_image_text_blocks  */
  position: absolute;
  padding-top: 3.25vh;
  top: 30%;    /* :::::::: moves the title text down  :::::::::: */
  left: 50%; /* centers text l to r */
  transform: translate(-50%, -50%); 

}


/* ::::::: Title Styling */

.title {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1.2vw;
	font-size: calc(16px + 6vw);  /* reedoco Font Size (using PX + VW moderates the size of the font)  */
	color: #ffffff;
	text-shadow: 1px 1px 2px #1d2731, 0 0 1px #1d2731; /* Drop Shadow for main text */
}

.subtitle {
	color: #328cc1; /*  light blue font */
	letter-spacing: 1vw;
	font-size: calc(12px + 2.5vw); /* subtitle Font Size */
	white-space: nowrap;  /* to keep the text from line-breaking on small screens */
   
}

/*
.copyright {
	letter-spacing: 1vw;  
    position: relative;
    font-size: calc(6px + 1vw);  /* Font Size 
     top: 3.3vh;
	white-space: nowrap;  /* to keep the text from line-breaking on small screens
}   */




/* ::::::::::Responsive for Mobile ::::::::: */   

/* Tablets & Small Desktops */
@media (min-width: 512px) and (max-width: 860px) {
    
   /*       body { background-color: lightpink; }   /* for debugging */ 
    
    .navbar {
	left: 75vw;
    line-height: calc(6px + 4.5vw);
	}
}

/* Mobile (iPhone SE & smaller) */
@media only screen and (max-width: 511px) {
    
/* body { background-color: goldenrod; }   /*   for debugging */
    
    .line_img img{
    display:none;  /* hides the lines before the words on the navigation */
	}

	.navbar {
	left: 75vw;
	top: 2vh;
	line-height: calc(7px + 4.5vh);
	}
	
	#sketch-holder{ /*   :::  holds the js canvas  */
	opacity: 0.5;  
    background-color: white;}
	
	.subtitle {
	text-shadow: 1px 1px 0px #1d2731; /* Black-Blue  */
	}  
    
    .textbox2{  
    top: 40%;    /* :::::::: moves the title text down  :::::::::: */
          }
}
