@import url('https://fonts.googleapis.com/css?family=Raleway');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
:root {
    --display-style: inline-block;
}

.logo {
    text-align: center;
}

.padding {
    padding: 1rem;
}

header {
    background: transparent !important;
    width: 100%;
}

body {
    font-family: 'Raleway';
    background-color: #eacdc8;
}

.banner {
    background-image: url(../images/coffeeshop.jpg);
    background-size: cover;
    height: 90vh;
    width: 100%;
}



.button {
    background-color: #fbf5f4;
    transition: .3s all ease;
    padding: 12px 30px;
    margin-top: 1em;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: black;
    border: none;
    cursor: pointer;
}

nav ul {
    list-style-type: none;
    display: flex;
    padding: 0;
}

nav ul li {
    flex: 1;
}

nav a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 1em;
    text-align: center;
    transition: all 0.3s;
    font-size: 22px;
    padding-top: 1.3em;
}

nav a:hover {
    text-decoration: none;
    color: #fbf5f4;
    display: block;
    padding: 1em;
    text-align: center;
    transition: all 0.2s;
    font-size: 20px;
    padding-top: 1.3em;
}

nav ul li ul {
    display: none;
}

nav ul li:hover ul {
    display: block;
    position: absolute;
    font-size: 15px;
    background-color: var(--color-brown-rgba);
}

nav ul li ul li:hover a {
    position: relative;
    font-size: 20px;
}

.item {
    width: 330px;
    display: inline-block;
    margin: 1rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px, rgba(0, 0, 0, 0.24);
    transition: all 0.3 cubic-bezier(.25, .8, .25, 1);
}

.item>a>img {
    width: 100%;
    height: 100%;
}

.me{
    width:300px;
   float: left;

}

.item>a>img:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 5px 5px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    filter: blur(2px) brightness(60%);
}

.container-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fill, minmax(200, 1fr));
    justify-items: left;
    grid-gap: 10px;
    margin: 0.2em 0.2em ;
}

.sideleft {
    width: 30%;
    float: left;
    text-align: center;
    padding-bottom: 100px;
}

.sideright {
    width: 60%;
    float: right;
    text-align: center
}

.cup {
    width: 50%;
}

.contactform input[type="text"], .contactform input[type="email"], .contactform textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: grey;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #ced4da;
}

.contactform {
    width: 70%;
    padding-bottom: 4em;
    color: black;
}

.main-padding {
    padding: 7em 0em;
}

.footer {
    float: left;
    width: 33%;
    text-align: center;
    margin-bottom: 4em;
}

.main-footer {
    padding: 4em 0em 0.9em 0em;
    
}

.sub-heading {
    text-transform: uppercase;
    font-size: 12px;
    color: grey;
    letter-spacing: .1em;
}
#toggle {
    display: none;
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    border-radius: 30%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    /* background: #3B5998; */
    color: white;
}

.fa-twitter {
   /*  background: #55ACEE; */
    color: white;
}

.fa-instagram {
    /* background: orange; */
    color: white;
}

@media (max-width: 700px){
    .nav{
        max-width: 700px;
        grid-template-columns: 1fr;
    }

    .banner{
        font-size: 2rem;
    }

    .button{
        display: block;
        margin: auto;
        text-align: center;
    }
    .gallery{
        grid-template-columns: 1fr 1fr;
    
    }
    .container{
        grid-template-columns: 1fr 1fr;
    }
    img{ 
        max-width: 100%;
        height: auto;
    
    }
    }
@media(max-width:992px) {
    .banner {
        display: block;
        cursor: pointer;
    }
    .nav ul {
        text-align: center;
        display: flex;
        flex-direction: column;
        top: 3.3em;
        width: 80%;
        position: absolute;
        background: rgba(0, 0, 0, 0.8);
        display: none;
    }
    .nav a {
        opacity: 1;
    }
    .nav {
        display: block;
    }
    header>div .logo {
        float: left;
        padding: 1em 0.5em 0.5em 0.5em;
    }
    .nav a {
        display: block;
        margin: 0;
    }
    .sideleft, .sideright, .newsletter h1, .newsletter form, .footer, .feature-image img, .newsletter input[type="email"], button, .contactform, .button, textarea, .gallery {
        float: none;
        width: 100%;
        text-align: center;
        margin: 0.8em 0 0.8em 0;
    }
    .container-gallery {
        max-width: 100%;
    }
    .sideleft {
        padding-bottom: 1em;
    }
    .main-padding {
        padding: 2em 0;
    }
    .footer {
        margin-bottom: 1em;
    }
    button {
        margin-top: 1em !important;
    }
    .pagination {
        width: 50%;
        margin: auto;
        display: flex;
        flex-direction: row;
        padding-left: 0;
        list-style: none;
        border-radius: .25rem;
    }
    .page-item {
        background-color: inherit;
        top: 0;
    }
}

@media(max-width:480px) {
    .heroitems h1 {
        font-size: 30px;
    }
    .heroitems p {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .page-link {
        font-size: small;
    }
}