﻿/*========================================================================================================================================================*/
/*ALL SCREEN RESOLUTIONS (DEFAULT LAYOUT)*/
/*========================================================================================================================================================*/

.foodsection1 {
    height: 600px;
    overflow: hidden;
}

.foodsection1container {
    display: flex;
    padding-top: 5px;
    height: 585px;
    overflow: hidden;
}

#foodsection1carousel .carousel-inner {
    height: 100%;
}


.foodcarouselitem {
    height: 100%;
}

.foodcarouselcaption {
    position: absolute;
    top: 80%;
    transform: translate(0, -50%);
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    margin-left: 180px;
    margin-right: 180px;
    text-shadow: 3px 3px 5px #000000;
}

    .foodcarouselcaption h5 {
        font-size: 32px;
        font-weight: bold;
        color: #fc4444;
        text-shadow: 5px 5px 10px #000000;
    }


    .foodcarouselcaption p {
        font-size: 16px;
    }

.carousel-control-prev, .carousel-control-next {
    z-index: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    z-index: 1;
}

#foodsection1carousel2 {
    display: none;
    flex-direction: column;
    width: 100%;
}

.foodcarouselcaption2 {
    position: absolute;
    transform: translate(0, -50%);
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
}

/*========================================================================================================================================================*/
/*TABLET AND PORTRAIT*/
/*========================================================================================================================================================*/

@media only screen and (max-width: 800px) {
    .foodsection1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 59vh;
    }

    .foodsection1container {
        flex-direction: column;
        height: unset;
    }

    #foodsection1carousel .carousel-inner {
        width: 750px;
        display: flex;
        align-items: center;
    }

    .foodcarouselcaption {
        display: none;
        position: absolute;
        top: unset;
        bottom: 15px;
        margin-left: unset;
        margin-right: unset;
        transform: unset;
        padding: 0 5px 0 5px;
    }

    #foodsection1carousel2 {
        display: flex;
    }

        #foodsection1carousel2 .carousel-inner {
            width: 750px;
        }

    .foodcarouselcaption2 {
        top: unset;
        margin-left: unset;
        margin-right: unset;
        transform: unset;
        padding: 0 5px 0 5px;
    }

        .foodcarouselcaption2 h5 {
            padding-top: 20px;
            font-size: 32px;
            font-weight: bold;
            color: #fc4444;
        }


        .foodcarouselcaption2 p {
            font-size: 18px;
            color: black;
            padding: 10px 40px;
        }
}

/*========================================================================================================================================================*/
/*PHONE AND PORTRAIT*/
/*========================================================================================================================================================*/
@media only screen and (max-width: 480px) {
    .foodsection1 {
        height: unset;
    }

    #foodsection1carousel .carousel-inner {
        width: 360px;
        height: 220px;
    }

        #foodsection1carousel2 .carousel-inner {
            width: 360px;
            height: 220px;
        }

    .foodcarouselcaption2 {
        padding: 0;
    }

        .foodcarouselcaption2 h5 {
            font-size: 30px;
            padding: 0;
        }


        .foodcarouselcaption2 p {
            font-size: 12px;
            padding: 0;
        }
}
