html,body {
        position: relative;
        height: 100%;
        cursor: url('https://fonts.gstatic.com/s/i/materialicons/restaurant/v11/24px.svg'), auto;

        }

body {
        background: #eee;
        font-family: 'Raleway', sans-serif;
        font-size: 14px;
        color: #000;
        margin: 0;
        padding: 0;
        min-height: 100%;
        
}


p {
        margin-bottom: 10px;
}

/* heading css */   
h1 {
         font-family: 'Courgette', cursive;
        color: black;
        text-align: center;
}

h3 {
        color: black;
}

    
#welcome {
        font-family: 'Courgette', cursive;
        color: black;
        margin-left: auto;
        margin-right: auto;
        font-size: 35px;
}


.intro {
        font-family: 'Raleway', sans-serif;
        font-size: 35px;
        font-weight: bold;
}

.search-result {
    box-sizing: border-box;
    width: 200px;
    height: 800px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, 200px);
    row-gap: 15px;
    column-gap: 100px;
    justify-content: center;
    align-items: center;
}

.item {
   border-radius: 10px;
    background-color: #E7D2CC;
    padding: 15px;
}

.col-sm-8 {
    overflow: scroll;
}

#backgroundPic{
        height: 60%;
        width: auto;
        opacity: .3;
       
}


form {
    margin-top: 15px;
    text-align: center; 
    padding-bottom: 25px;
}



/* navbar */

.navbar {
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    background-color: #E7D2CC;
    border: 2px solid gray;    
}


.dropbtn {
  margin-top: 20px;      
  background-color: black;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
  
}

.right {
  position: absolute;
  right: 0px;
  width: 150px;
  /* padding: 10px; */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: gray;}



.row.content {
         height: 100vh;
}

.swiper-container {
      width: 200px;
      height: 300px;
      /* padding: 50px; */
}

.swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff; 
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
}

 /* Set  background color and 100% height */
.sidenav {
        padding-top: 20px;
        background-color: #E7D2CC;
        height: 100%;
}

/* css for links */
a:visited {
        color: black;
}

       
a:hover {
        color:#B9B7BD;
}

        
a:active {
        color:black;
}


#random-drink {
        border-radius: 15px;
        margin-bottom: 15px;
}

   

/* CSS for center grid below*/

section {
        width: 100%;
        height: auto;
}

h4 {
        text-align: center;
}

.title {
        text-align: left;
        font-size: 18px;
}

li {
        font-size: 25px;
        margin-top: 25px;
        margin-bottom: 25px;
}

ul {
    display: table;
    margin: 0 auto;
    list-style:none
}
    

/* responsive image for drink api*/

img {
        width: 100%;
        height: auto;
}

#meme {
        width: 100%;
        height: auto;
}

/* css for footer */
footer {   
    text-align: center;    
}

/* On small screens, set height to 'auto' for sidenav and grid */
     @media screen and (max-width: 767px) {
        .sidenav {
            height: auto;
            padding: 15px;
        }


  /* On small screens, set height to 'auto' for sidenav and grid */
        @media screen and (max-width: 767px) {
            .sidenav {
                height: auto;
                padding: 15px;
            }

            .row.content {
                height: auto;
            }
        }
     }





     @media only screen and (max-width: 768px) {
  .search-result {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1em;
    grid-row-gap: 100px;
  }
}

 

 