/* styles.css 
   Project: 
   Author: 
   Date: 
	
   Helpful links: 
   	Web colors: 
   		https://en.wikipedia.org/wiki/Web_colors#X11_color_names
	Color picker tool:
		https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Color_picker_tool
		http://colorpicker.com

*/

* {
   box-sizing: border-box;
}

img {
   display: block;
   width: 100%;
}

body {
  padding: 2%; 
  background-color: #990000;
}

h1 {
   text-transform: uppercase;
   letter-spacing: 0.1em;
   font-size: 1em;
   font-weight: 200;
}

h2 {
   font-weight: 400;
   letter-spacing: 0.05em;
   font-size: 2em;
}

button:hover {
   background-color: darkgrey;
}

.container,body {
    padding-top: 2%;
}
.container {
   background-color: white;
   padding: 2%;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 .375pc 20px 0 rgba(0, 0, 0, 0.19);
}

.assignment {
   font-family: didot;
   color: #FFC72C;
   text-align: center;
   font-size: 2em;
}

.maintitle {
   text-align: center;
   padding: 0 5%;
   margin: auto;
}

.one, .two, .three, .four, .five {
   background-color: #222222;
   margin: 0 0 4% 0;
   padding: 2%;
}

[class~=three],[class~=four],[class~=five],[class~=two],.one,[class~=caption] {
    padding-bottom: 2%;
}

[class~=five],[class~=three],[class~=four],[class~=two],.one {
    padding-right: 2%;
}

[class~=five],[class~=caption],[class~=two],[class~=four],[class~=three],.one {
    padding-top: 2%;
}

/*ONE*/

.bigphoto {
   max-width: 50pc;
   margin: auto;
   margin-right: auto;
   margin-bottom: 2%;
   cursor: pointer;
   position: relative;
}


[class~=caption]{
   display: none;
   text-align: right;
   font-size: .8em;
   color: linen;
   padding-right: 4%;
   padding-left: 4%;
   background-color: rgba(0, 0, 0, 0.8);
   width: 100%;
   left: 0%;
   bottom: 0%;
   position: absolute;
}

[class~=caption],[class~=laptop] {
    left: 0;
}



/*TWO AND FOUR */

.two, .four {
   overflow: hidden;
}

.smallphoto {
   float: left;
   width: 23%;
   margin: 1%;
   border: 4px solid dimgrey;
}


/*THREE*/

.laptop {
   position: relative;
   left: 0;
   top: 0;
   margin-bottom: 2%;
   width: 10%;
}


/*FOUR*/

.squarephoto {
   float: left;
   width: 23%;
   margin: 1%;
   border: 4px solid dimgrey;
   position: relative;
}

[class~=smallcap] {
   display: none;
   text-align: center;
   font-size: 1em;
   color: white;
   padding-right: 4%;
   padding-left: 4%;
   padding-top: 4%;
   padding-bottom: 4%;
   background-color: rgba(0, 0, 0, 0.8);
   width: 100%;
   left: 0%;
   bottom: 0%;
   position: absolute;
   line-height: 1.5;
   height: 100%;
   top: 0;

}

/*FIVE*/

.crowd {
   max-width: 800px;
   margin: auto;
   margin-bottom: 2%;
   cursor: pointer;
}




/*media query for responsive design */

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

   .smallphoto, .squarephoto {
      width: 48%;
   }

}











