/* Hide Dropdowns by Default
 * and giving it a position of absolute */

header img {display:block;
        margin: 10px auto;}
body {margin: 0;
    padding: 0;
    background-color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header {width: 100%;}

main {
    max-width: 1200px;
    margin: 16px auto;
    overflow: hidden;
    width: 80%;
}

nav ul ul {
    display: none;
    position: absolute;
    top: 32px;
    list-style-type: none;
    text-align: center;
    color: white;
    padding-bottom: 10px;
    width: 200px;
    background-color:#F288D6;
    padding-left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    color:white;
    display: block;
    width: 175px;
}

nav li {color:white;
}
/* Fisrt Tier Dropdown */
nav ul ul li {
	display:list-item;
    text-align: center;
    }

    
nav ul {text-align: center;
        list-style-type: none;
        font-family: sans-serif;
        color: white;
        padding: 15px;
        position: relative;}


nav ul li {color:white;
        display: inline-block;
        width: 190px;
}


.pink-bar {background-color:#F288D6;
        border-radius: 10px;
        width: 100%;
        }

a.topnav:link {text-decoration: none;
        color:white;}

a.topnav:visited {color: white;
        text-decoration: none;}

a.topnav:hover {text-decoration: underline;
        color:white;}

a.topnav:active {color:white;}

.indexbanner {display: block;
            margin-left:auto;
            margin-right: auto;
            padding-top: 50px;}

.indexbanner-text{color: #f7b7e6;
                text-align: center;
                border-bottom: 1px dotted #f7b7e6}

.banner {text-align:center;
        font-size: 50px;
        background-position: center top;
        background-size: cover;
        padding-top: 40px;
        padding-bottom: 40px;
        text-shadow: 5px 5px 10px darkslategray;
        background-repeat: no-repeat;
        background-image: url(Images/ai-cupcake-banner2.png)}


h2 {color: #f7b7e6;
    text-align: center;
    border-bottom: 1px dotted #f7b7e6}

.price {color: #f7b7e6;}

.visit {text-align: center;
        padding: 10px;}

.intro {display: block;
        margin-left:auto;
        margin-right: auto; max-width:1000px;
        width:80%;
        padding-bottom:40px;
      }

h1 {font-family: "DynaPuff", serif;
    font-weight:400;
    font-style: normal;
    text-align:center;
    font-size: 50px;
    padding-top: 40px;
    padding-bottom: 40px;
    color: white;
    text-shadow: 5px 5px 10px darkslategray;
    background-attachment: fixed;
}

h3 {color: #F288D6;
    font-size: 20px;
    text-align: center;}

.whiteh3 {color:white;
        font-size: 20px;}

.grid {background-color: #F288D6;
        color: white;
        font-family: "Roboto", sans-serif;
        padding: 20px;
        width: 260px;
        height: 260px;
        float: left;
        padding: 20px; 
        margin: 0;
        font-size: 15px;}

.grid-div {width: 300px;
            height: 300px;
            float: left;
            margin: 0;}

.grid-div img {width: 300px;
            height: 300px;}

footer {color: #F288D6;
        background-color: #595959;
        clear:both;
        text-align: center;
        padding:10px;
        font-size: 16px;
        width: 100%;
        }

.spacer {height: 100px;
        overflow: hidden;}

.threecolumn {text-align: center; 
            float: left;
            width: 360px;
            margin: 20px 20px;}


.imgdozen {margin-left: auto;
        margin-right: auto;
        width:500px;
        display: block;}

.button {width: 100px;
        background-color: #F288D6;
        border-radius: 5px;
        text-align: center;
        display: block;
        margin-left:auto;
        margin-right: auto;
        margin-top: auto;
        margin-bottom: auto;
        font-size: 18px;
        }
.orderbutton {background-color:#f7b7e6;
            border-radius: 5px;}

a.orderbutton:link {text-decoration: none;
        color:white;}

a.orderbutton:visited {color: white;
        text-decoration: none;}

a.orderbutton:hover {background-color: #f38bd7;
                    font-weight: 800;}

a.buttonlink:active {}

.buttonlink {}

a.buttonlink:link {text-decoration: none;
        color:white;}

a.buttonlink:visited {color: white;
        text-decoration: none;}

a.buttonlink:hover {color:white;
                    font-weight: 800;}

a.buttonlink:active {color:white;}

a.page:link {color:#f7b7e6;
text-decoration: none;}

a.page:visited {color:#f7b7e6; text-decoration: none;}

a.page:hover {color:#F288D6;
                text-decoration:underline;}

a.page:active {}

.about-two-column {float: left;
                    width: 500px;
                    padding: 25px 50px;}

.webform {padding: 115px;}

@media screen and (min-width: 751px) 
{
    main {width:95%;}
   .grid-div {
  
        } 
    .grid {font-size: 15px;
       
       }
    
    .grid-div img {flex: 50%;}
    .flex-container{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
    
}
}

    
@media screen and (max-width: 750px) 
{   main {width:90%;}
    footer {max-width: 750px;}
    
    header {max-width:750px;}

    .pinkbar{width:100%;}
    
    .grid-div {
                display: block;
                margin-left:auto;
                margin-right: auto;
                flex: 100%;
              
               }
    .grid-div img {display: block;
                margin-left:auto;
                margin-right: auto;
               }
    .grid {display: block;
            margin-left:auto;
            margin-right: auto;
            width:100%;
            height: 10%;
            padding: 15px; 
            margin: 0;
            font-size: 15px;
            text-align: center;
           

    
}

    .flex-container {display: flex;
	flex-direction: row;
	flex-wrap: wrap;
    flex: 100%;}
	
    
}

