@import url('https://fonts.googleapis.com/css?family=Open+Sans');


h1{
    font-family: 'Playfair Display', serif;
    font-size: 2.7em;
    font-weight: 400;
    color: black;
    background-color: #fff;
    padding: 8px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
}

h2{
    font-family: "Montserrat";
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 1px;
    color: #91819b;
}

h4{
    font-family: "Montserrat";
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
    color: #91819b;
}

p{
    font-family: 'Open Sans';
    color: #91819b;
}

a{
    color: #91819b;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
    color: #2752f1;
}

.btn:hover{
    border:#0856a7 2px solid;
    color: #0856a7;
    background: white;
}

.wrapper{
    margin-bottom: 150px;
}

#showcase{
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#showcase img{
    width: 50px;
    height: 50px;
}

.underliner{
    height: 6px;
    width: 250px;
    background: #f3f3f3;
    margin: 15px 0;
}

.content-container{
    display: grid;
    margin: 0 15px;
    justify-content: center;
    grid-gap: 24px;
}

.card {
    width: 850px;
      /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */

    display: grid;
    grid-template-columns: 33% 66%;
    grid-gap: 4px;
  }

  /* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }
  
  /* Add rounded corners to the top left and the top right corner of the image 
.card img {
    border-radius: 5px 0 0 5px;
  }

.thumb img{
    width: 100%;
    height: auto;
}*/

.thumb{
    border-radius: 5px 0 0 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content{
    padding: 16px;
}

.quick-info-container{
    display: flex;
}

.quick-info-container h4{
    margin: 0;
}

.quick-info-container img{
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

.quick-info{
    display: flex;
    align-items: center;
    padding-right: 16px;
}

.description{
    padding: 8px;
    margin-top: 4px;
}

.item-bottom-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.items-nav-container img{
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

.actions-container{
    display: flex;
    justify-content: end;
}

.items-nav-container{
    width: 850px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
}

.items-nav-left h4{
    color: #2752f1;
    margin: 0;
    margin-right: 16px; 
    align-self: center;
}

.items-nav-left{
    display: flex;
    /* grid-gap: 16px; */
}

.items-nav-right{
    justify-self: end;
}

.nav-item{
    display: flex;
}

#map {
    width: 850px;
    height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* TABLET */
@media (max-width: 980px) {
    #showcase{
        padding: 32px;
    }

    .items-nav-container{
        width: 100%;
    }

    .card {
        width: 100%;
    }
    
    /* cancel content center */
    .content-container{
        justify-content: unset;
    }

    #map {
        width: 100%;
        height: 80vh; 
    }
    
}


/* PHONE */
@media (max-width: 630px) {
    h1{
        font-size: 2.2em;
        letter-spacing: 4px;
    }

    h3{
        font-size: 1.8em;
        letter-spacing: 9px;
    }

    #showcase{
        min-height: 60vh;
    }

    .underliner{
        height: 6px;
        width: 80%;
        background: #f3f3f3;
        margin: 15px 0;
    }

    .card {
        grid-template-columns: 1fr;
      }

      .thumb{
          height: 30vh;
          border-radius: 5px 5px 0 0;
      }

}