/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

#home_categories{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: #F1EFEE;
}
#top_category{
    overflow: hidden;
}
#top_category,
#categries_list{
    width: 100%;
}
#categries_list{
    overflow-y: scroll;
}
#categries_list::-webkit-scrollbar{
    display: none;
}
#top_category img,
#top_category video{
    height: auto;
    width: 100%;
}
#top_category video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#top_category,
#categries_list .card_category{
    position: relative;
}
#categries_list .card_category img{
    width: 100%;
    height: auto;
    position: relative;
}
#categries_list{
    padding: 20px 60px;
    text-align: center;
}
#categries_list .card_category{
    padding: 20px 0;
}
#home_categories .info_category,
#home_categories .info_category_list{
    position: absolute;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}
#home_categories .info_category{
    top: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
}
#home_categories .info_category svg{
    margin-bottom: 0.5rem;
}
#home_categories .info_category_list{
    bottom: 50px;
    left: 30px;
}

#home_categories h3{
    font-size: 35px;
}
#home_categories h4{
    font-size: 25px;
}
#home_categories .card_category:first-child::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(../img/mask1.svg);
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: -5px 106%;
    left: 0;
    top: 0;
}
#home_categories .card_category:last-child::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(../img/mask2.png);
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: 0 -2px;
    left: 0;
    top: 0;
}

@media (min-width: 767px) {
    #top_category,
    #categries_list{
        width: 50%;
    }

    #home_categories{
        flex-direction: row;
    }
}
#home_categories .box_link{
    cursor: pointer;
}