/*Jose Esquivel
GIT 414
Assignment 7: Responsively Designed Site*/

@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)

 CSS Reset
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/**/

label {
  margin: 0;
  font-size: 26px;
  line-height: 70px;
  padding-right: 20px;
  padding-left: 10px;
  padding-top: 10px; 
  /*display: none;*/
}

/*Global styling*/
header {
   position: relative;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  color: rgb(75,0,130);
  text-decoration: underline;
}

a:active {
  color: blue;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

h1, h2, h3, h4, p {
  font-family: 'Lato', sans-serif;
}

h1 { 
  font-size: 2em;
  border-bottom: solid 2px;
  color: gray;

}
h2 {
  font-size: 2em;
}
h3 {
  border-bottom: solid 2px;
  color: gray;
}


.p1{
 font-size: 1.5em;
 padding-top: 3em;
}

p {
 font-size: 20px;
 line-height: 2rem;
}
body {
  margin: 0;
}
article {
  margin-bottom: 40px;
}
form {
	width: 80%;
  max-width: 400px;
  margin-top: 100px;
  clear: left;
}


img {
  width: 100%;
  margin-top: 10%;
}
/*navigation*/
/*if user taps on hamburger icon the menu is visible*/
#toggle:checked + .menu {
 display: block;
}

#toggle {
  text-align: right;
  line-height: 70px;
  margin: 0;
  padding: 0;
  display: none;
}

.nav {
  text-align: right;
  height: 70px;
  line-height: 70px;
}

.menu {
  margin: 0 30px 0 0;
}

.menu a {
  text-decoration: none;
  color: white;
  margin: 0 10px;
  line-height: 70px;
}

/*sets the nav color to black on all pages exept for the index.html*/
#othermenu a {
  color: black;
}
/*end navigation */
/*Header section*/
#design {
  position: absolute;
  bottom: -15px;
  color: white;
  font-size: 3em;
  margin-bottom: 0px;
  left: 20px;
}
/*background image for index header section*/
#landing {
  background-image: url(photos/coding.png);
  height: 450px;
  background-size: cover;
}
/*logo on upper left hand side of pages*/
.joselogo {
  width: 30%;
  max-width: 200px;
  position: absolute;
  margin-top: 0;
  top: 10px;
}

/*Div tag between header and footer*/
.wrapper {
  /*top right bottom left*/
  padding: 3rem 2rem 1.5rem 1rem;
}

.heijo {
  width: inherit;
}
/* first image styling on all pages except the home page*/
.topmax {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 3em 0em;
  display: block;
}

#pinandchain {
  width: 65%;
  text-align: center;
  padding-left: 16%;
}
.images {
	width: 100%;
}
.services ul li {
    line-height: 2;
}



/*Contact area*/
input{
  /*display: inline;*/
  background-color: #C0C0C0;
  border: none;
  border-radius: 3px;
  padding: 12px 20px;
  margin-top: 1em; 
  width: 100%;
}

input:focus {
  background-color: #FFFFFF;
}

textarea:focus {
  background-color: #FFFFFF;
}

textarea {
  width: 100%;
  margin-top: 2em;
  background-color: #C0C0C0;
  border: none;
  border-radius: 4px;
  resize: none;
  font-family: 'Lato', sans-serif;
  padding: 12px 20px;
}

/*footer*/


footer {
	height: 200px;
	background-color: #000000;
	color: #FFFFFF;
	width: 100%;
	margin-top: 100px;
  position: relative;
}
footer ul li {
  font-size: 11px;
  text-align: left;
  line-height: 15px;
  padding-left: 0px;
  margin-left: 0px;
}

footer ul {
  float: left;
  list-style: none;
}

.finfo {
  padding: 30px 20px;
}
.finfo li {
	line-height: 2em;
}

#iconsl {
	float: left;
	display: block;
}


#socialmedia {
	float: right;

}
#indexp {
  padding-top: 3em;
  padding-bottom: 3em;
}
#finfo {
width: 50%;
}
.socialmedia {
  text-align: right;
  position: absolute;
  top: 20px;
  right: 15px;

}
.socialmedia img{
  width: 30px;
}
/*graphic design page grid*/
.grid {
  margin: auto;
  width: min(90%);
  display: grid;
  grid-auto-flow: column;
  gap: 1em;
}

#bgrid {
  margin-top: 1em;
}

button {
  padding: 10px 20px;
  border: none;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-right: auto;
  margin-left: auto;
  background-color: rgb(238,39,36);
  color: white;
  margin-top: 1em;
  margin-bottom: 3em;
}
button:hover {
  background-color: white;
  color: rgb(238,39,36); 
  border: 2px solid rgb(238,39,36);
}


/*For screen smaller than 780px hide the navigation and add the hamburger menu styling*/
@media only screen /*(min-width: 320px)*/ and (max-width: 780px){
  
  label {
    cursor: pointer;
    text-align: right;
    /*color: white;*/
  }
  
  .grid {
    grid-auto-flow: row;
  }

  .mobileicon {
    color: white;
  } 
  .mobileiconother {
    color: gray;
  }

  .menu {
    text-align: center;
    width: 100%;
    display: none;
  }

  .menu ul li a {
    display: block;
    border-bottom: 1px solid #EAEAEB;
    margin: 0;
  }
  .menu li {
    background-color: white;
  }
/*menu other than the main */
 
  .menu a {
  text-decoration: none;
  color: black;
  margin: 0 10px;
  line-height: 70px;
  display: block;
}
}
/*Hide the hamburger menu for screens larger than 781px*/

@media only screen and (min-width: 781px) {
  label {
    display: none;
  }
  .main {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
  }
  .main article {
    width: 50%;
    float: left;
    margin-left: 2%;
    margin-right: 5%;
  }
  
 .gallery {
 	display: flex;
 	margin: 10px;
 }
 #gdesign2 {
 	width: 42%;
 	display: inline-block;
 }

 #gdesign2 img {
  margin-top: 2em;
 }

 .gallery img {
 	width: 50%;
 }
}


@media only screen and (min-width: 1023px){
	.wrapper {
		max-width: 1500px;
		padding-left: 10%;
	}
}