﻿/*TRAVEL A TO Z*/
.travel-content {
    display: flex;
    flex-flow: row wrap;
    justify-content:start;
}
.travel-content a {
    text-decoration:none;
}
.box-container {
    display: inline-block;
    position: relative;
    margin: 6.6px;
    transition: all .25s ease-in-out;
}

.box-container img {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.box-title {
    position: absolute;
    bottom: 25px;
    left: 15px;
    text-align: left;
}

.box-title {
    color: #fff;
    transition: all .25s ease-in-out;
}

.box-container h4 {
    position: absolute;
    bottom: 18px;
    left: 15px;
    color: #fff;
    margin: 10px 0;
    opacity: 0;
    transition: all .25s ease-in-out;
}

.box-container:hover h4 {
    opacity: 1;
}

.box-container:hover .box-title {
    margin-bottom: 40px;
}

.box-title p {
    margin: 0;
}

.title-shadow {
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 4px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(0,0,0,0.9458158263305322) 100%);
    transition: all .25s ease-in-out;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.travel-overlay {
    width: 100%;
    height: 99%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgb(28,82,158);
    background: linear-gradient(180deg, rgba(28,82,158,0.8) 100%, rgba(28,82,158,0.8) 100%);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    opacity: 0;
    transition: all .25s ease-in-out;
}

.box-container:hover .travel-overlay {
    opacity: 1;
}
@media screen and (max-width:1080px) {
    .travel-content {
        justify-content:center;
    }
}
@media screen and (max-width:500px) {
    .box-container img {
        width: 100%;
    }

    .box-title h2 {
        font-size: 5.5vw;
    }

    .box-title p {
        font-size: 3.5vw;
    }

    .box-container h4 {
        font-size: 3.5vw;
    }
}
/********/


/*FOOD*/
.food-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
}

.food {
    text-align: center;
    margin: 0 16.6px;
    cursor: pointer;
    margin-bottom:50px;
}

    .food h2 {
        margin-top: 20px;
    }

    .food p {
        margin-top: 0 !important;
    }

        .food p strong {
            color: #b4813e !important;
        }
    /* Circle */
    .food::after {
        content: '';
        clear: both;
        display: block;
    }

figure {
    width: 300px;
    height: 300px;
    background: #fff;
    overflow: hidden;
}

.food figure {
    position: relative;
}

    .food figure::before {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        display: block;
        content: '';
        width: 0;
        height: 0;
        background: rgba(255,255,255,.2);
        border-radius: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    .food figure:hover::before {
        -webkit-animation: circle .75s;
        animation: circle .75s;
    }

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.modal {
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
    position: fixed;
}

.food-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.food-modal {
    max-width: 600px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 0.6em 2em 2em;
    z-index: 1;
    position: relative;
}

    .food-modal img {
        width: 100%;
    }

.modal-close img {
    width: 20px;
}

.modal-close {
    display: flex;
    justify-content: end;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}

.modal-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: black;
    opacity: 0.5;
}

@media screen and (max-width:1080px) {
    figure {
        width:250px;
        height:250px;
    }
    .food-container {
        justify-content:space-between;
    }
}
@media screen and (max-width:995px) {
    .food-container {
        justify-content: space-evenly;
    }
}
@media screen and (max-width:500px) {
    figure {
        width:180px;
        height:180px;
    }
    .food {
        margin-bottom:20px;
    }
}
/********/

/*EVENTS PAGE*/
.tab-nav {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

.tab-btn {
    font-family: 'NanumSquareR', sans-serif;
    width: 50%;
    padding: 10px 15px;
    border: 2px solid #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all .25s ease-in-out;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

    .tab-btn:hover {
        background: #2555a3;
        color: #fff;
    }

/*.tab-active {
    background: #2555a3;
    color: #fff;
}*/

.event-box {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.event-box img {
    width: 100%;
}

.event-box h3 {
    font-family: 'NanumSquareR', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: #0f0f0f;
    margin-top: 20px;
}

.event-box p {
    margin-top: 5px;
    color: #878787;
    font-size: 18px;
}

.event-tab {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
}

    .event-tab a {
        width: 450px;
        text-decoration: none;
    }

.single {
    justify-content: flex-start;
}

@media screen and (max-width:1050px) {
    .event-tab a {
        width: 50%;
    }

    .event-box {
        width: 95%;
        margin: 0 auto;
    }

    .single .event-box {
        width: 450px;
    }
}

@media screen and (max-width:700px) {
    .event-box h3 {
        font-size: 3.5vw;
    }
}

@media screen and (max-width:600px) {
    .event-tab {
        flex-flow: column wrap;
    }

    .single .event-box {
        width: 95%;
        margin: 0 auto;
    }

    .event-tab a {
        width: 95%;
    }

    .event-box h3 {
        font-size: 25px;
    }
}

@media screen and (max-width: 498px) {
    .tab-nav {
        flex-flow: column;
    }

    .tab-btn {
        width: 70%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 450px) {
    .event-box h3 {
        font-size: 22px;
    }

    .event-box p {
        font-size: 16px;
    }
}