/*body {*/
/*background: url('../images/cafe.jpeg') no-repeat center center fixed ;*/
/*-webkit-background-size: cover;*/
/*-moz-background-size: cover;*/
/*-o-background-size: cover;*/
/*background-size: cover;*/
/*}*/


#container {
    display: grid;
    /* grid-template-rows: auto auto auto auto auto; */
    grid-column-gap: 30px;
    grid-template-areas:
        "header"
        "main"
        "cuisine-overlay"
        "full-overlay"
        "footer";
    width: 100%;
    overflow-x: hidden;
}

main {
    grid-template-rows: minmax(92.5vh, min-content);
}

.main-image#img1 {
    grid-column: 1 / span 1;
    background: url('../images/cafe.jpeg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

            /* .text-overlay.right {
                padding: 45px 30px 15px;
            } */

.cuisine-overlay {
    grid-area: cuisine-overlay;
    width: 100%;
    background-color: hsl(68, 6%, 96%);
    height: auto;
    margin: auto auto;
    text-align: center;
    /*padding: 3rem 0;*/
}

.region {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-column-gap: 30px;
    height: auto;
    margin: 150px auto;
    width: 90%;
    max-width: 1400px;
}

.region:last-of-type {
    margin-bottom: 0;
}

.image.left {
    grid-column: 1 / span 3;
    margin-left: 30px;
}

.image.right {
    grid-column: 6 / span 3;
    margin-right: 30px;
}

.text.right {
    grid-column: 4 / span 5;
    text-align: left;
    margin: 0 5% 0;
}

.text.left {
    grid-column: 1 / span 5;
    text-align: left;
    margin: 0 5% 0;
}

.image iframe {
    width: 100%;
    margin-top: 70px;
    border-radius: 3px !important;
    /* border: 3px solid hsla(68, 5%, 12%, .1) !important; */
        border: 3px solid var(--light-gray) !important;
}

.text h1 {
    margin-bottom: 2%;
    /*margin-left: 30px;*/
}

.text ul {
    font-family: proxima-nova, sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 0 1.5rem 1.5rem;
    margin-left: 9%;
}

.text ul li {
    margin: 1.5rem 3rem 1.5rem 0;
}

/* /////////// TOOLTIPS /////////// */
/* position the underline */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--black);
    /* dots under the hoverable text */
    width: max-content;
    line-height: 1.5rem;
}

.tooltip:hover {
    color: var(--light-green);
    border-bottom: 1px dotted var(--light-green);
    cursor: pointer;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 280px;
    background-color: var(--black);
    color: var(--white);
    text-align: left;
    padding: 20px;
    border-radius: 6px;
    font-size: 1.6rem;
    line-height: 1.8rem;
    font-style: italic;
    opacity: 0;
    transition: opacity .4s;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 135%;
    left: 50%;
    margin-left: -140px;
    /* Center it; width/2 */
}

/* Bottom arrow on tooltip container */
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;
    /* At the bottom of the tooltip container */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--black) transparent transparent transparent;
}

/* Show the tooltip text */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 800px) {
.text-overlay.right {
    padding-bottom: 0;
}
    /*.text-overlay {*/
    /*width: 100%;*/
    /*margin-left: -1%;*/
    /*}*/
    main {
        grid-template-rows: auto auto;
    }

    .region {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        grid-template-rows: auto auto;
        grid-template-areas:
            "map"
            "text";
        margin: 0 auto;
        width: 96%;
        padding: 0;
    }

    .region:first-of-type {
        margin-top: 0;
    }

    .text.right,
    .text.left {
        margin: 0 auto;
        grid-area: text;
        width: 85%;
        /*padding: 10px;*/
    }

    .text ul {
        margin: 0 30px 0 60px;
    }

    .text ul li {
        margin-right: 0;
    }

    .text h1 {
        margin-top: 30px;
        /*margin-left: 30px;*/
        font-size: 2.160rem;
        line-height: 1.8rem;
        text-align: center;
    }

    .text h1 .huge {
        margin-left: 0 !important;
        font-size: 6.450rem;
        line-height: 5.375rem;
    }

    .text p {
        padding: 0 10px 15px;
    }

    .image.left,
    .image.right {
        grid-area: map;
        width: 100%;
        margin: 0;
    }

    .image iframe {
        max-width: 90%;
        max-height: 350px;
        margin-top: 60px;
    }
    .image.sicily iframe {
        margin-top: 30px;
    }
    .cuisine-overlay {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 600px) {
    .text ul {
        margin: 0 0 0 9%;
        line-height: 2.4rem;
        font-size: 1.8rem;
    }

    .text.right,
    .text.left {
        width: 90%;
    }

    .tooltip .tooltiptext {
        width: 170px;
        line-height: 2.0rem;
        margin-left: -90px;
    }

    /*.cuisine-overlay .region .text ul li {*/
    /*margin: 15px 0 15px 30px;*/
    /*}*/
}