/*
File Name: project.css
Date: 11/15/2019
Programmer: Aiden Mace
*/


* { box-sizing: border-box; }

header, nav, main, footer { display: block; }

body {
    font-family: Verdana, Arial, Tahoma;
    font-size: 1em;
    background-color: #fff;
     }

header {
   
    background-position: 5px;
    background-color: white;
    display: block;
}

h1 {
    padding-top: 35px; padding-bottom: 35px;
    background-color: white;
    text-align: center; font-size: 2em;
}
 
h2, p { font-style: oblique; text-align: center; }

h3 {
    text-align: center;
}

main { padding-top: 5px;
       margin: 10px;
}

footer {
    text-align: center;
    background-color:  darkgray;
    padding-top: 15px;
    font-size: 0.9em;
}

.required {
    text-align: center;
}

.button { border: 1px solid black;
            
}
  
.form { width: 100px; margin-right: auto; margin-left: auto; 
padding-right: 70px; }

fieldset {
    padding: 10px;
    margin-bottom: 32px;
    margin-left: -124px;
    border: 1px solid;
    padding-bottom: 8px; 
}

label {
    
    display: block;
    width: 8em;
    padding-right: 3em;
    margin-left: 25px;
    
}

input { border-width: 1px;
        padding-right: 74px;
        padding-bottom: 7px;
        margin-left: 4px;
        margin-right: 75px;
}

select { padding-left: 1px;
         margin-left: 22px;

}

textarea {
    padding-left: 1px;
    margin-left: 6px;
    margin-bottom: 8px;
}

button { margin-left: 17px;
         border: 1px solid black;
         width: 78px;
         height: 33px;
}

.text { text-align: center; }

.contact { font-weight: bold; text-align: center; }

#orderNow { display: none; }

#thankyou { text-align: center; border: 3px solid white;  margin-left: 200px; margin-right: 200px; padding-left: 6px; padding-right: 2px; height: 140px; padding-top: 31px; border-radius: 25px; }


#heroImage { 
    background-position: center;
}

#socialMedia {
    text-align: center !important;
}
    






/* Three image containers (use 25% for four, and 50% for two, etc) */
.column, .buyNow {
  float: left;
  width: 33.33%;
  padding: 5px;
  padding-left: 30px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}
    
.container {
  position: relative;
  text-align: center;
  color: white;
  height: 600;
}
    
    
/* Float four columns side by side */
.column {
  float: left;
  width: 33%;
  padding: 10px 10px;
}

/* Remove extra left and right margins, due to padding */
.row {margin: 0 -5px;}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
}






/* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: gainsboro;
  position: block;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
 display: none;
}

/* Style navigation menu links */
.topnav a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  margin-bottom: 21px;
  margin-right: 20px;
  margin-top: 35px;
}

/* Navigation, Style the hamburger menu */
.topnav a.icon {
  background: white;
  display: block;
  position: absolute;
  right: 4px;
  top: 1px;
}

/* Navigation, Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: darkorange;
}

/* Navigation, Style the active link (or home/logo) */
.active {
  background-color: gainsboro;
  color: black;
}







/*Ordering form*/

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  margin: 0 -16px;
}

.col-25 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
}

.col-50 {
  -ms-flex: 50%;
   color: black;
    
    /* IE10 */
  flex: 50%;
}

.col-75 {
  -ms-flex: 75%; /* IE10 */
  flex: 75%;
}

.col-25,
.col-50,
.col-75 {
  padding: 0 16px;
}

.container {
  background-color: white;
  padding: 16px 53px 12px 22px;
  border: 1px solid black;
  border-radius: 15px;
}

input[type=text] {
  width: 100%;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-left: 2px;
}

label {
  margin-bottom: 10px;
  display: block;
  padding-right: 3px;
  
}

.icon-container {
  margin-bottom: 20px;
  padding: 7px 0;
  font-size: 24px;
}

.btn {
  background-color: lightgray;
  color: black;
  padding: 12px;
  margin: 10px 0;
  border: none;
  width: 100%;
  border-radius: 3px;
  cursor: pointer;
  font-size: 17px;
}

.btn:hover {
  background-color: cadetblue;
}

span.price {
  float: right;
  color: grey;
}

a { color: blue;}

/* Responsive layout Order form - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (and change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {
  .row {
    flex-direction: column-reverse;
  }
  .col-25 {
    margin-bottom: 20px;
  }
}







/* Tablet display*/

@media only screen and (max-width: 1024px) {
    
    body { padding: 12px; background-image: none; }
    
    main { padding: 1em; margin-left: 0; font-size: 90%; }
    
    footer { margin: 0; font-size: 0.8em }
    
    .contact { font-weight: bold; text-align: center; }
    
    #heroImage { background-attachment: scroll; }
    
    #thankyou { text-align: center; border: 3px solid white;  margin-left: 100px; margin-right: 100px; padding-left: 6px; padding-right: 2px; margin-bottom: 1px; height: 140px; padding-top: 31px; }
    
    #orderNow { display: none; }
    
    #socialMedia !important {
        background-position: 5px;
        text-align: center;
        height: 100px;
        width: 200px;
    }
    

   

    
    
    
    

    
}


/* Smartphone display */
    
@media only all and (max-width: 768px) {
    
    h1 { height: 100%; font-size: 1.5em; padding-left: 0.3em; }
    
    main { padding-top: 0.01em; padding-right: 0.6em; padding-bottom: 0.1em; padding-left: 0.4em; }
    
    footer { font-size: 0.7em; }
   
    #thankyou { text-align: center; border: 1px solid white;  margin: 9px; padding: 10px; }
    
    .contact { font-weight: bold; text-align: center; }
    
    fieldset {
    padding: 5px;
    margin-bottom: 32px;
    margin-left: -103px;
    border: 1px solid;
    padding-bottom: 8px; }
    
    input { 
        border-width: 3px;
        padding-right: 39px;
        padding-bottom: 7px;
        margin-left: 24px;
        margin-right: 46px; }
    textarea {
        padding-left: 1px;
        margin-left: 18px;
        margin-bottom: 10px;
    }
    
    .buyNow { display: none; }
    
    #orderNow { display: block; }
    
    #heroImage { 500px; width: auto; }
    
    #socialMedia !important {
        background-position: 5px;
        text-align: center;
        height: 100px;
        width: 200px;
    }
    

   
    

   
    
   
    
   
    
    
    
    
    
    
 
}
 




