/*
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;
    padding: 0;
    margin: 0;
}

/*Header styles*/
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 and paragraph styles*/
h2, p { text-align: center; font-size: 1.5em; }

h3 {
    text-align: center;
}



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

/*Link in footer to e-mail*/
footer a { color: white; }

/*Billing Information form*/
.container {
  position: relative;
  text-align: center;
  color: black;
  height: 600;
}
   
/*Names in labels for Billing Info form*/
label {
    display: block;
    width: 8em;
    padding-right: 3em;
    margin-left: 25px;
}




/*Send us a Comment Form adjusted to smaller display and centered*/
.form { width: 100px; margin-right: auto; margin-left: auto; 
padding-right: 70px; }

/*Adjust comment form in different displays*/
fieldset {
    padding: 10px;
    margin-bottom: 32px;
    margin-left: -118px;
    border: 1px solid;
    padding-bottom: 8px; 
}

/*Input info area box for comment form*/
input { border-width: 1px;
        padding-right: 74px;
        padding-bottom: 7px;
        margin-left: 4px;
        margin-right: 75px;
}

/*Order Information box inside comment form*/
textarea {
    padding-left: 1px;
    margin-left: 6px;
    margin-bottom: 8px;
}

/*To center text of business name, address, and phone in Desktop display*/
.contact { font-weight: bold; text-align: center; font-size: 1.3em; }

/*To center text of business name, address, and phone in Desktop display for CONTACT PAGE*/
#contact2 {
    font-weight: none;
    text-align: center; 
    font-size: 1.6em;
}

/*Homepage text 'At Outside The Box' paragraph in Desktop display*/
#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; font-size: 1.4em; }

/*To center the hero image*/
#heroImage { 
    background-position: center;
}

/*To hide 2nd row of Buy Now button in desktop display*/
#orderNow { display: none; }


    



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

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


/* 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: 768px) {
  .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: -16px;
}

/* 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 Set-up*/

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

.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 {
  color: grey;
}

a { color: black;}

/* 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) {
  
  .col-25 {
    margin-bottom: 20px;
  }
}





/* Tablet display*/

@media only screen and (max-width: 1024px) {
    
    body { padding: 0; margin: 0; background-image: none; }
    
    main { margin: 0; padding: 0; font-size: 90%; }
    
    /*h2 and paragraph styles*/
    h2, p { font-size: 1.4em; }
    
    footer { margin: 0; font-size: 0.8em }
    
    /*To adjust business name, address, and phone text*/
    .contact { text-align: center; font-size: 1.6em; }
    
    #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; font-size: 1.4em; }
    
    /*To hide 2nd row of Buy Now button in tablet display*/
    #orderNow { display: none; }
    
}


/* Smartphone display */
    
@media only all and (max-width: 768px) {
    
    h1 { height: 100%; font-size: 1.5em; padding-left: 0.3em; }
    
    /*h2 and paragraph styles*/
    h2, p { font-size: 1.4em; }
    
    footer { font-size: 0.7em; }
   
    /*To adjust text in 'At Outside The Box Candle Shop' paragraph text*/
    #thankyou { text-align: center; border: 1px solid white;  margin: 9px; padding: 10px;  }
    
    /*Adjust comment form in different displays*/
    fieldset {
        padding: 5px;
        margin-bottom: 32px;
        margin-left: -98px;
        border: 1px solid;
        padding-bottom: 8px; }
    
    /*Input info area box for comment form*/
    input { 
        border-width: 3px;
        padding-right: 39px;
        padding-bottom: 7px;
        margin-left: 24px;
        margin-right: 46px; }
    
    /*Order Information box inside comment form*/
    textarea {
        padding-left: 1px;
        margin-left: 18px;
        margin-bottom: 10px;
    }
    
    /*To adjust business name, address, and phone text*/
    .contact {
        font-size: 1.8em;
        
        font-weight: bold;
    }
    
   /*To hide Buy Now Button on homepage*/
    .buyNow { display: none; }
    
    /*To display only 1 Buy Now Button in Mobile display on Products Page*/
    #orderNow { display: block; }
    
    /*Adjust the hero Image*/
    #heroImage { 500px; width: auto; }
    
    
    

   
    

   
    
   
    
   
    
    
    
    
    
    
 
}
 




