/* Stylesheet for Web Production Project 3 */

/* GENERAL STRUCTURE */
body {
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.container
{
  width: 100%;
  margin-left: auto; 
  margin-right: auto; 
  margin-top: 0px;
  max-width: 1100px; 
  min-width: 700px;
  padding: 0px;
  background-color: white;  
}

.wrapper
{
  margin-top: 50px;
  width: 100%;
  background-color: red;
}

/* NAVIGATION */

nav ul 
{
  font-family: 'Fahkwang', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li 
{
  display: inline-block;
  list-style-type: none;
}

nav ul li a 
{
  color: red;
  background-color: white;
  display: block;
  line-height: 3em;
  padding: 1em .5em;
  text-decoration: none;
}

nav ul li:first-child 
{
  margin-right: auto;
}

nav ul li a:hover 
{
  background-color: #E7A943;
  color: white;
}

.logo
{
  padding-top: 15px;
  padding-left: 0px;
}

.logo-image{
    width: 60px;
    height: 60px;
    overflow: hidden;
    margin-top: -20px;
}

/* IMAGE AND OVERLAYED TEXT FOR HOME PAGE */

header 
{
  z-index: 100;
  position: absolute;
  color: green;
  font-size: 24px;
  font-weight: bold;
}

.name-title
{
  height: 350px;
  position: relative;
}

#image 
{
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 30px;
}

#name 
{
  font-family: 'Fahkwang', sans-serif;
  margin-left: 200px;
  z-index: 100;
  position: absolute;
  color: #ff009e;
  font-size: 70px;
  font-weight: bold;
  right: 30px;
  top: 15px;
}

#title 
{
  font-family: 'Fahkwang', sans-serif;
  margin-left: 200px;
  z-index: 100;
  position: absolute;
  color: rgba(247, 54, 22, .5);
  font-size: 24px;
  font-weight: bold;
  font-size: 95px;
  right: 30px;
  top: 25px;
}

/* COLUMNS */

.columns 
{
  display: grid;
  grid-template-columns: 50% 50%;
}

.column1
{
  padding-right: 30px;
}

#column-margin
{
  margin-top: 50px;
}

.column2 
{
  margin-top: 115px;
  padding-left: 30px;
}

/* LINKS */

a
{
  color: red;
  background-color: white;
  display: block;
  line-height: 3em;
  text-decoration: none;
}

a:hover {
  background-color: #F3F4F4;
  color: white;
}


h3
{
  margin-top: 100px;
  font-family: 'Fahkwang', sans-serif;
  color: #ff009e;
}

p
{
  font-family: 'EB Garamond', serif;
  margin-top: 30px;
  text-align: justify;
  text-justify: inter-word;
}

/* CONTACT PAGE & FORM */

#required
{
  background-color: lightblue;
  width: 30%;
  padding-left: 10px;
}

.contact-image
{
  align-content: center;
  margin-top: 100px;
}

fieldset
{
  color: red;
  border: none;
  margin-bottom: 10px;
}

input[type=submit] {
  width: 100%;
  background-color: red;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  margin-bottom: 50px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover 
{
  background-color: red;
}

input[type=submit]:hover 
{
  background-color: lightblue;;
  color: white;
}

input[type=text], select 
{
  color: grey;
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: solid;
  border-color: red;
  outline: none;
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  box-sizing: border-box;
}

input[type=reset] 
{
  width: 100%;
  background-color: white;
  color: red;
  padding: 14px 20px;
  margin: 0px 0;
  border: 1px solid red;
  border-radius: 4px;
  cursor: pointer;
}

input[type=reset]:hover 
{
  background-color: lightblue;
  color: white;
  border: none;
}

label
{
  margin-top: 30px;

}

.how
{
  color: red;
  margin-left: 20px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 18px;
}

#how
{
  color: red;
  border-style: solid;
  border-color: red;
  border-width: 2px;
}

textarea
{
  border-color: red;
  border-width: 2px;
  margin: 0;
  padding: 0;
  width: 100%;
}

legend
{
  margin-left: 20px;
}

#vehicle1
{
  margin-left: 25px;
}

#vehicle2
{
  margin-left: 25px;
}

#vehicle3
{
  margin-left: 25px;
}

.contact-p
{
  font-family: 'Fahkwang', sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: red;
}

/* WORK - GALLERY IMAGES */

.Gallery 
{
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 100px;
}

.Gallery img 
{
  width: 100%;
}
.Gallery .item 
{
  position: relative;
  overflow: hidden;
}

.Gallery .item img 
{
  vertical-align: middle;
}

.Gallery .caption 
{
  font-family: 'Fahkwang', sans-serif;
  margin: 0;
  padding: 1em;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  box-sizing: border-box;
  transition: transform .5s;
  transform: translateY(100%);
  background-color: #ff009e;
  color: white;
}

.Gallery .item:hover .caption 
{
  transform: translateY(0%);
  text-align: center;
  font-family: 'Fahkwang', sans-serif;
}

/* EXTERNAL LINK TO SOCIAL MEDIA */

#socials
{
  font-family: 'Fahkwang', sans-serif;
  font-size: 15px;
  color: gray;
}

.instagram-button {
  width: 50px;
  height: 50px;
  text-decoration: none;
  margin: 2px 2px;
}

.instagram-button:hover {
    box-shadow: 10px 10px;
}


/* FOOTER */


footer 
{
    width: 100%;
    height: 3.5rem;
    background-color: white;
    margin-top: auto;
}

footer p 
{
    color: red;
    font-family: "century gothic";
    text-align: right;
}