@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,400i,700,900|Lobster+Two:400i,700i&display=swap');

/*font-family: 'Lobster Two', cursive;
font-family: 'Lato', sans-serif;
*/

html {  
    box-sizing: border-box; 
}

*, *:before, *:after {  
    box-sizing: inherit; 
}

body{
    max-width: 1020px;
    margin: 0 auto;
    height: 100%;
    font-size: 1em;
    font-family: 'Lato', sans-serif;
    color: #280742;
}

h1, h2, h3, h4, h5, h6{
    color: #754300;
    font-family: 'Lobster Two', cursive;
    letter-spacing: 1.3px;
    font-weight: bold;
}

header, main{
    background-color: #fff;  
}

/* header styles */

header img{
   padding: 15px 0 0 25px;    
}

header{
    border-bottom: 7px solid #dfcbe3;
}

header nav ul{
    position: relative;
    top: -20px;
    right: 25px; 
    display: flex;
    flex-direction: row;        
    justify-content: flex-end;
    font-weight: 900;    
}

header nav ul li{
    padding-left: 3em;
}

header nav ul a{
    text-decoration: none;    
}

header nav ul a:link{
    color: #ae7dba;
}

header nav ul a:visited{
    color: #ae7dba;
}

header nav ul a:hover{
    border-bottom: 2px solid #754300;
    padding-bottom: .2em;
}

header nav ul a:active{
    color: #dfcbe3;
}

label, input{
    display: none;
}

/* main styles */

main section h1{
    font-family: 'Lato', sans-serif;
    font-size: 3.25em;
    font-weight: 700; 
}

section#one #company-title h2{
    color: #ae7dba;
    font-size: 2em;
    font-weight: normal;
    padding-left: 8.3em;
    padding-top: 5px;   
}

section#one img{
    width: 100%;
}

section#one{
    text-align: center;  
}

section#one div{
    position: relative;
    bottom: 575px;
}

section#one p{
    position: relative;
    bottom: 9em;
    color: #ae7dba;
    font-size: 1.25em;
    font-style: italic;
    margin: 0 auto;
    width: 550px;
    line-height: 1.1em;
} 

/* section two styles */

section#two h2{
    font-size: 2em;
    text-align: center;
    margin-top: -3em;
}

section#two h3{
    text-align: center;
    padding: 15px 0px 15px 0px;
    font-size: 1.375em;
}

section#two div{
    text-align: center;
    margin: 4%;
}

section#two{
    text-align: center;
}

section#two div p{
    text-align: left;
    margin: 15px 5px 15px 10px;
    line-height: 1.2em;
}

section#two div{
    width: 200px; 
    display: inline-block;
    vertical-align: top;    
}

.border, main#about img, main#contact div img, main#pricing img{   /*border for all of the pictures*/
    border: 5px solid #dfcbe3;
    box-shadow: 3px -3px 5px grey;
}

/* footer styles */

footer{
    background-color: #754300;
    height: 80px;
    border-top: 20px solid #dfcbe3;
}

#second-nav{
    display: flex;
    justify-content: flex-start;
    position: relative;
    top: 30px;
    left: 25px; 
}

footer #social-links{
    display: flex;
    justify-content: flex-end;
    margin-right: 25px;
    padding-top: 5px;
}

ul#second-nav li{
    padding-right: 30px;
    color: #fff;
    font-size: .8em;
}

ul#social-links li{
    padding-left: 40px;
}

ul#second-nav li a{
    color: #fff;
}

ul#second-nav li a:link{
    color: #ffffff;
    text-decoration: none;       
}

ul#second-nav li a:visited{
    color: #dfcbe3;
}

ul#second-nav li a:hover{
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: .2em;
}

ul#second-nav li a:active{
     color: #ae7dba;    
}

/* about page styles */
    
main#about{
    text-align: center;
    vertical-align: middle;
    width: 100%;
    margin-top: 3em;
    margin-bottom: 5em;    
}    

main#about h1, main#contact h1, main#gallery section h1, main#pricing section h1{
    margin-bottom: 1em;
    font-size: 2em;
}
 
main#about p{
    position: relative;
    max-width: 501px;
    margin: 0 auto;
    text-align: justify;
    margin-bottom: 3em;
    line-height: 1.4em;
}

/* linkstyles for internal links */

.linkstyle:link{
    font-size: 1em;
    color: #754300;
    text-decoration: none;    
}

.linkstyle:visited{
     color: #dfcbe3;
}

.linkstyle:hover{
    color: #754300;
    border-bottom: 1.3px solid #754300;  
}

.linkstyle:active{
    color: #dfcbe3;
    border-bottom: 1.3px solid #dfcbe3;  
}

/* mobile view under 800px */

@media only screen and (max-width: 800px){
    section#one #company-title{
        visibility: hidden  
    }

    section#one p{
        position: relative;
        color: #ae7dba;
        font-size: 1em;
        font-style: italic;
        margin: 0 auto;
        width: 100%;
        max-width: 450px;    
    } 

    section#two h2{
        font-size: 1.5em;    
    }
    
    footer{
        height: 10em;
        text-align: center;
    }
    
    #social-links{
        margin-top: 55px;  
    }
    
    #menu{
        display: none;
    }
    
    #toggle:checked ~ #menu{
        display: block;
    }
    
    #toggle{ 
    visibility: hidden; 
    }
    
    #menu li{       
        text-align: center;
        margin-top: 15px;
        padding-bottom: 15px;
    } 

    label{ 
        display: inline-block;   
        color: white;   
        width: 100%;   
        text-align: center;   
        padding: 15px 0px;
        font-weight: bold; 
        font-size: 1.2em;
        background: #ae7dba;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    section#two .col {
        display: block;
        margin: 0 auto;
        margin-top: 50px;
        padding-bottom: 15px;    
    }
    
    .col:nth-child(2), .col:nth-child(3) {
        border-bottom: 1.5px solid #dfcbe3;
    }
    
/* About mobile stylings */
    
    main#about{
        padding-left: 25px;
        padding-right: 25px;
    }
    
    main#about p{
        margin-bottom: 4em;
    }
    
    .header-about {
        border: none;    
    }
    
    main#about img{
        width: 100%;
    }
    
/* Contact mobile stylings */
    
    main#contact{
        margin: 0 auto;
        padding: 0;
    }
    
    div.onehalf.contact-col{
        width: 100%;
        padding-right: 25px;
        padding-left: 25px;
    }
    
    label.form{
        text-align: left;
        color: #dfcbe3;
        font-size: 1em;      
        padding: 0;
    }
    
    input.field{
        padding-right: 8em;
    }
    
    textarea.form{
        padding-right: 9.3em;
        padding-bottom: 5em;
    }
    
    .column img{
        margin-bottom: 2em;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    form{
        margin-top: 2em;
    }
    
    main#contact div img{
        border: none;
        box-shadow: none;
    }
    
/* Gallery mobile stylings */
    
    section#gallery-grid{
        display: block;
    }
    
    figure{
        padding-bottom: 2em;
    }
    
/* Pricing Mobile Stylings */
    
    main#pricing section div#container{
        width: 100%;
        padding-right: 0px;
    }
    
    main#pricing section img{
        width: 100%;
        max-width: 380px;
    }
    
    section#base-price table{
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        font-size: .8em;
    }
    
    td, th {
        width: 25%;
    }
    
    article#flavorlist.table-column, article#frostinglist.table-column {
        width: 100%;
        margin-bottom: 2em;
    }
}

/* Contact page stylings */

main form fieldset label, label input, .form-button{
    display: block;
}

fieldset{
    background-color: #ae7dba;
    padding: 15px 0 15px 15px;
}

.column{
    font-size: 0px;
}

.column > *{
    font-size: 1rem;
}

main#contact{
    text-align: center;
}

.column{
    width: 100%;
}

.contact-col {
    margin: 1%;
    display: inline-block;
    vertical-align: top;   
}

.onehalf{
    width: 35%;
    text-align: left;
}

main#contact, main#gallery, main#pricing{
    margin-top: 3em;
    margin-bottom: 5em; 
}

.onehalf>p{
    line-height: 1.4em;
    margin-bottom: 1.4em;   
}

form{
    font-size: 1.3em;
    font-family: 'Lobster Two', cursive;
    letter-spacing: 1.3px;
    font-weight: bold;
    color: #dfcbe3;
}

.form{
    padding-bottom: 12px;     
}

.field{
    margin-top: 5px;
    padding-bottom: 5px;
    padding-right: 10em;
    padding-top: 5px;
    padding-left: 5px;
}

.message{
    padding-bottom: 5px;
    color: #dfcbe3;
}

.form-button{
    margin-top: 10px;
    padding: 10px 50px;
    background: #754300;
    color: #fff;
    border: none;
    font-size: 1em;
}

textarea{
    padding-top: .3em;
    padding-right: 11em;
    padding-bottom: 5em;
    padding-left: 5px;
    overflow: auto;
}

::placeholder{
    color: grey;
    font-style: italic;
}

/* Gallery page styles */

main#gallery p{
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    text-align: justify;
    margin-bottom: 1.4em;
    line-height: 1.4em;
}

section#decor-border{
    border-bottom: 1px solid #ae7dba;
    padding-bottom: 1.5em;
    max-width: 65%;
    margin: auto;
}

main#gallery h1, main#pricing h1{
    text-align: center;
    font-family: 'Lobster Two', cursive;
}

figcaption{
    color: #280742;
    letter-spacing: 1px;
    font-style: italic;
    font-size: .8em;
    padding-top: 4px;
}

main section#gallery-grid{
    margin: 0 auto;
    margin-top: 3em; 
}

#gallery-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 2em;
    max-width: 850px;
    text-align: center; 
}

input.form-button:hover{
    color: #dfcbe3;
} 

/* Pricing Page Styles */

main#pricing section:first-of-type{
    margin: 0 auto;
    width: 75%;
    padding-bottom: 2em
}

main#pricing div#container{
    float: left;
    width: 50%;
    padding-right: 20px;
    text-align: justify;
}

main#pricing div p{
    padding-bottom: 20px;
    line-height: 1.3em;
}

section#base-price{
    border-top: 1px solid #ae7dba;
    margin-top: 2em;
    border-bottom: 1px solid #ae7dba;
    padding-bottom: 4em;
}

section#base-price h2{
    text-align: center;
    font-size: 2em;
    margin-top: 2em;
    
}

table{
    margin: 0 auto;
    margin-top: 2em;
}

#key{
    text-align: left;
    font-family: 'Lobster Two', cursive;
    font-size: 1.3em;
    color: #dfcbe3; 
    letter-spacing: 1.3px;  
}

td, tr{
    padding-right: 3em;
    padding-top: .8em;
    padding-bottom: .8em;
    padding-left: .5em;
    vertical-align: center;
    border: 2px solid #ae7dba;
}

th{
    background-color: #ae7dba;
    padding-right: 3em;
    padding-top: .8em;
    padding-bottom: .8em;
    padding-left: .5em;    
}

section#flavors h2{
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
    margin-top: 2em;
}

section#flavors{
    margin: 0 auto;
    width: 60%;    
}

section#flavors>*{
    font-size: 1rem;
}

section#flavors article{
    padding-top: 1em;
    display: inline-block;
    vertical-align: top;
    width: 46%;
    border: 1.5px solid #ae7dba; 
    padding-left: 1em;
    padding-bottom: 2em;
    margin-right: .5em;
    margin-left: .5em;
    border-left: 20px solid #ae7dba;
}

section#flavors h3{
    padding-bottom: 1em;
    font-size: 1.125em;
    color: #ae7dba;
}

section#flavors article div ul li{
    padding-bottom: .5em;   
}

section#flavors p{
    max-width: 370px;
    text-align: justify;
    margin: auto;
    padding-bottom: 1em;
    line-height: 1.4em;
}