/* MEDIAQUERIES --------------------------------- */

/* Tablet: */

@media (max-width: 992px){
    nav{
        height: 90px;
    }

    .mate-icon-nav,
    .title-nav{
        display: none;
    }
    .logo-nav{
        display: flex;
        width: 80px;
    }
    .nav-btn-product{
        display: none;
    }

    .icon-cart{
        height: 80px;
        width: 30px;
    }

    .cart-container{
        border-radius: 0px 0px 10px 10px;
    }
    #hero{
        flex-direction: column;
        gap: 40px;
    }
    .title-container>h2{
        padding-top: 10%;
        transform: none;
    }

    .main-hero{
        gap: 40px;
        width: 100%;
    }
    .btn-hero-container{
        justify-content: center;
    }

    .hero-img-container>img{
        content: url("../img/canarias.png");
        width: 550px;
        height: 300px;
    }

    #about{
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .info-container{
        width: 100%;
        align-items: center;
        justify-content: center;
        padding-left: 0;
    }
    .info-container>h2{
        text-align: center;
        font-size: 50px;
    }
    .info-container>p{
        font-size: 17px;
        text-align: center;
        width: 100%;
    }

    .abt-img-container{
        width: 90%;
        justify-content: center;
        align-items: center;
    }
    .abt-card-info{
        font-size: 18px;
    }

    .title-product-container>h2{
        font-size: 25px;
        padding: 12px;
    }
    .categories-container{
        justify-content: center;

    }
    #contact-footer{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .ft-info-container,
    .form-legal-container{
        width: 100%;
    }
    .ft-title-container{
        align-items: center;
    }
    .ft-title-container>h2{
        text-align: center;
        font-size: 31px;
    }
    .ft-title-container>p{
        text-align: center;
    }
    .ft-contact-container,
    .ft-description-container{
        align-items: center;
    }
    .rrss{
        align-items: center;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    nav.active {
        height: auto;
    }
    nav.active .nav-btn-product {
        display: block;
    }

    .cart-container {
        width: 90%;
        right: 5%;
        top: 90px;
        max-height: 70vh; 
    }

    .cart-item img {
        width: 60px;
        height: 60px; 
    }

    .buy-button, .clear-button {
        padding: 8px;
        font-size: 14px;
    }

    .card {
        width: 12rem;
        height: 22rem; 
    }
    .image_container {
        height: 12rem; 
    }
    .title {
        height: auto; 
        word-wrap: break-word; 
        white-space: normal;
    }
    .size {
        height: 2rem; 
        margin-bottom: 1rem; 
    }
    .action {
        height: auto; 
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem; 
    }

    .cart-button {
        padding: 0.4rem;
        font-size: 0.7rem;
        width: 100%; 
    }
}

/* MOBILE */

@media (max-width: 576px){
    nav {
        
        align-items: space-between;
    }

    #menu {
        position: absolute;
        top: 100%;
        width: 100%;
    }

    .main-hero{
        width: 100%;
    }
    .title-container{
        padding-top: 10%;
    }
    .title-container>h2{
        font-size: 50px;
    }
    .title-container>span{
        font-size: 30px;
    }
    .hero-img-container>img{
        width: 300px;
        height: 150px;
    }
    .btn-hero-container{
        width: 50%;
    }
    .btn-hero{
        width: 150px;
    }
    .info-container>p{
        font-size: 15px;
        width: 85%;
    }
    .abt-img-container{
        width: 80%;
    }
    .abt-card-info{
        font-size: 11px;
    }
    .categories-container{
        flex-wrap: wrap;
    }
    .categories-container>button{
        width: 90%;
        font-size: 16px;
    }
    .info-container>h2{
        font-size: 40px;
    }
    .btn-hero{
        justify-content: center;
        text-align: center;
    }
    .ft-title-container>.ft-title{
        display: none;
    }
    .ft-title-mq{
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
    }
    nav.active {
        height: auto;
    }
    nav.active .nav-btn-product {
        display: block;
    }

    .cart-container {
        width: 90%;
        right: 5%;
        top: 90px;
        max-height: 60vh; 
    }

    .cart-item img {
        width: 50px; 
        height: 50px; 
    }

    .buy-button, .clear-button {
        padding: 6px;
        font-size: 12px;
    }

    .card {
        width: 10rem;
        height: 20rem; 
    }
    .image_container {
        height: 10rem; 
    }
    .title {
        height: auto; 
        word-wrap: break-word; 
        white-space: normal; 
    }
    .size {
        height: 2rem; 
        margin-bottom: 1rem; 
    }
    .action {
        height: auto; 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
    }

    .cart-button {
        padding: 0.3rem;
        font-size: 0.65rem;
        width: 100%;
    }
}

