@font-face {
    font-family: 'Kaushan Script';
    src: url('../../font/KaushanScript-Regular.woff') format('woff'),
    url('https://descubriendov2.herokuapp.com/font/KaushanScript-Regular.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
}

.main_slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    max-width: 100%;
    padding-top: 15vh;
    padding-bottom: 15vh;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
}

.main_logo {
    width: 8%;
}

.main_logo img {
    width: 100%;
}

.main_page_content {
    width: 60%;
    min-height: 200px;
    background: rgba(0, 0, 0, .45);
    border-radius: 15px;
    margin-top: 20px;
    padding: 20px;
}

.main_page_content h1 {
    text-align: center;
    color: #fff;
    font-family: 'Kaushan Script';
    font-size: 65px;
}

.main_page_content p {
    text-align: center;
    color: #fff;
    font-size: 25px;
    margin-top: 20px;
}

@media(max-width: 996px) { 
    .main_slide {
        padding-top: 5vh;
        padding-bottom: 5vh;
    }
    
    .main_logo {
        width: 20%;
    }
     
    .main_page_content {
        width: 90%;
        margin-top: 25px;
    }
    
    .main_page_content h1 {
        font-size: 45px;
    }
    
    .main_page_content p {
        font-size: 22px;
        margin-top: 20px;
    }
}

.categories_section {
    width: 100%;
    padding-top: 1%;
    padding-bottom: 3%;
}

.category_section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.category_section_content {
    width: 80%;
}

.restaurant_section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-direction: column;
}

.restaurant_section h2 {
    font-size: 3em;
}

.search_section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

.search_container {
    width: 80%;
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
}

.search_container input {
    width: 92%;
}

.search_container button {
    width: 8%;
}

@media(max-width: 996px) { 
    .search_container {
        width: 90%;
    }

    .search_container input {
        width: 80%;
    }
    .search_container button {
        width: 20%;
    }

    .categories_section {
        padding-bottom: 10%;
    }
    
    .category_section_content {
        width: 90%;
    }
}

.subcategory_slider {
    display: flex;
    position: relative;
}

.subcategory_slider_container {
    position: relative;
}

.subcategory_slide {
    width: 300px!important;
    height: 200px!important;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    margin-right: 10px;
    position: relative;
}

.subcategory_slide a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.subcategory_slide_name {
    position: absolute;
    width: 100%;
    min-height: 50px;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 19px;
    padding-left: 5px;
}


.prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: calc(100% - 50px);
    background: rgba(0, 0, 0, .45);
    z-index: 99;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2em;
    outline: none;
    cursor: pointer;
}

.prev:focus {
    outline: 0;
}

.next {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: calc(100% - 50px);
    background: rgba(0, 0, 0, .45);
    z-index: 99;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2em;
    outline: none;
    cursor: pointer;
}

.next:focus {
    outline: 0;
}


@media(max-width: 996px) { 
    .subcategory_slide {
        width: 340px!important;
        height: 200px!important;
        margin-right: 0;
    }

    .prev {
        width: 35px;
    }
    
    .next {
        width: 35px;
    }
}