/*   DEFAULT SETTING  */
:root{
    --primary-color : rgb(227,2,6);
    --secondary-color : #000;
    --trird-color : #fff;

    --primary-font-color : #fff;
    --secondary-font-color : #000;
    --third-font-color : rgb(227, 2, 6);

    font-size: 14px;
}

.i-delete {
    color: #f00;
}

.i-edit {
    color: rgb(21, 180, 10);
}

.i-see {
    color: rgb(195, 201, 68);
}

.i-home {
    color: rgb(1, 79, 223);
}

.i-no-home {
    color: #ccc;
}

/* GENERAL COMPONENTS */
.btn-link {
    text-decoration: none;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
}

.btn-edit {
    color: #187718;
}

.btn-delete {
    color: #ff0000;
}

.btn-active {
    color: #014674;
}

.btn-inactive {
    color: #f7b90f;
}

@media screen and (min-width : 319px) {

    body{
        min-width: 100vw;
        min-height: 100%;
    }

    main{
        height: 100%;
        margin-top: 70px;
    }

    footer{
        display: flex;
        flex-direction: column;
        padding: 30px;
        background-color: #000;
        align-items: center;
        justify-content: center;
        gap: 20px;
    } 

    footer .icon-logo{
        width: 150px;
        max-width: 300px;
    }

    footer .icon-logo img{
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    footer .info-footer-container{
        display: flex; 
        justify-content: center;
        flex-direction: column;
        gap: 10%;
        width: 100%;
        max-width: 600px;
    }

    footer .data-info{
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #fff;
        width: 100%;
    }
     
    footer .social { 
        flex-direction: row;
        display: flex;
        justify-content: center;
        gap: 50px;
        width: 100%;
        height: 80px;
    }

    footer .social a {
        color: #fff;
        font-size: 2rem;
        font-weight: 600;
    }

    footer .data-info span:first-child{
        color: #f00;
        font-size: 1.5rem;
        font-weight: 600;
    }

    footer .social a{
        text-decoration: none; 
        padding: 10px;
    }
    footer .social a:hover{
        color: #f00;
    }

    footer .links-documentation{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 30px 10px;
    }

    footer .links-documentation a{
        text-decoration: none;
        color: #666;
    }

    footer .links-documentation a:hover {
        color: #f00;
    }

    footer > span {
        flex: 1;
        display: flex;
        justify-content: center; 
        color: #ccc;
        font-weight: 300;
    }
    /* MENU  */
    
    nav{
        position: fixed;
        background-color: #000;
        width: 100%;
        height: 70px;
        top: 0px;
        z-index: 100;
    }
    
    #menu-desktop{
        display: none;
    }

    #menu-mobile {
        position: relative;
        display: flex; 
        justify-content: flex-end; 
        align-items: center;
        gap: 10px;
        padding: 0 10px;
    }

    #menu-mobile button{
        background-color: transparent;
        color: white;
        border: none;
        font-size: 25px; 
    }

    #menu-mobile a {
        text-decoration: none;
        color: white;
        font-size: 20px;
    }

    #menu-mobile img{
        height: 70px; 
        margin-right: auto;
    }

    #submenu-container{
        background-color: var(--secondary-color);
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: -70%; 
        transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
        width: 70%;
        min-height: 90vh;
        z-index: 100;
    }

    #submenu-container .item-submenu{
        border-bottom: 1px solid #ccc;
        height: fit-content;
        width: 100%;
    }

    #submenu-container a{
        font-size: 1.2rem;
        text-align: center;
        padding: 8px;
        display: block;
        width: 100%;
    }

    #submenu-container .admin a{ 
        color: #2693dc;
    }

    #submenu-container .btn-close{
        border: none;
        display: flex;
        flex: 1;
        opacity: 1;
        justify-content: center;
        align-items: flex-end;
        margin-bottom: 5%;
    }

    #btn-close-menu{
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 25px;
        background-color: var(--primary-color);
    }

    /* SLIDER */
    .slider {
        position: relative;
        width: 100%;
        overflow: hidden; 
        background-color: #000;
    }

    .slides {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }

    .slides img {
        width: 100%;
        object-fit: contain;
    }

    .slider button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 50%;
        user-select: none;
    }

    button.prev {
        left: 10px;
    }

    button.next {
        right: 10px;
    }

    button:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .btn-add-container{
        position: relative;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        bottom: -30px;
        right: 20px;
    }


    #offer-message{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        color: #fff;
    }

    /* HOME LADING PAGE */
    #home-phones{
        width: 100%;
        height: 100%; 
        background-color: #0001;
    }

    .carrousel {
        display: flex;
        flex-wrap: nowrap; 
        /* justify-content: center; */
        gap: 20px;
        padding: 30px;
        height: 100%;
        overflow: scroll;
    }

    .carrousel .carrousel-item{
        flex: 0 0 250px;
        box-shadow: 0px 0px 20px 1px #ccc;
        border-radius: 5px;
        background-color: #fff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #home-phones > h2{
        color: #f00;
        text-align: center;
        padding: 30px 0 10px;
        font-weight: 600;
    }

    #home-phones img{
        height: 150px;
        padding: 20px;
        object-fit: contain;
    }

    #home-phones .phone-name{
        width: 100%;
        font-size: 1.5rem;
        font-weight: 600;
        font-family: "Comfortaa", serif;
        color: var(--primary-color);
        height: 60px;

    }

    #home-phones .details{
        display: flex; 
        gap: 5px;
        padding: 15px;
        width: 100%;
        flex-wrap: wrap;
    }

    #home-phones .details span{
        flex: 1 0 100%;
        height: 20px;
        font-size: 0.9rem;
    }

    #home-phones .options-container{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    #home-phones .options-container a{
        text-decoration: none;
        padding: 5px 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background-color: #02f;
        color: #fff;
        border-radius: 5px;
    }

    #home-phones .options-container a:last-child {
        background-color: #029b44;
    }

    /* MESSAGES WITH TOAST */

    .toast-container {
        position: fixed;
        bottom: 50px;
        right: 30px;
        z-index: 10000;
        width: auto;
    }

    .toast {
        width: auto;
    }

    .toast-style-message {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        font-size: 1.1rem;
        background-color: rgb(235, 236, 241);
        border-radius: 5px;
        box-sizing: border-box;
    }

    .toast-body {
        padding: 0px;
    }

    .icon-toast {
        width: auto;
        border-radius: 50%;
        box-sizing: border-box;
        margin-right: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
    }

    .btn-close-x {
        font-size: 15px;
        margin-left: 10px;
        margin-top: 3px;
    }

    .message-container {
        padding-top: 10px;
        padding-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        padding: 20px 25px;
        font-size: 20px;
    }

    .tag-color {
        height: 10px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        box-sizing: border-box;
    }

    .message-success {
        background-color: #07610a;
        color: white;
    }

    .message-error {
        background-color: #da2801;
        color: white;
    }

    .message-warning {
        background-color: #ffc300;
        color: black;
    }

    .message-info {
        background-color: #0578c5;
        color: white;
    }

    /*   LOGIN     */

    #login-container{
        width: 100%;
        height: 100%;
    }

    #login-container form{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }

    #login-container form > img {
        width: 100%;
    }

    #login-container .input-login{
        border: none;
        border-bottom: 2px solid var(--secondary-color);
        width: 70%;
        padding: 15px 05px;
        text-align: center;
    }

    #login-container .input-login::placeholder{
        color: #ccc;
    }

    #btn-login{
        background-color: #000;
        padding: 5px 20px;
        font-weight: 600;
        color: #fff;
        border-radius: 5px;
    }

    #login-container > form a{
        color: #02f; 
        text-decoration: none;
        padding: 5%;
        letter-spacing: 2px;
    }

    /* LIST USERS */
    #users-container{
        background-color: #eee7;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: 65vh;
    }

    #users-container table{
        max-width: 700px; 
    }
    /* CREATE USER  */

    #newUser-container{
        width: 100%;
        height: 100%;
        min-height: 60vh;
    }

    #newUser-container form{
        width: 100%;
        max-width: 500px;
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 30px;
        gap:20px;
        margin: 0 auto;
    }

    #newUser-container .input-form{
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #newUser-container .input-form input{
        border: none;
        border-bottom: 2px solid var(--secondary-color);
        text-align: center;
        padding: 10px 20px;
    }

    #newUser-container button {
        background-color: var(--primary-color);
        color: var(--primary-font-color);
        border: none;
        border-radius: 5px;
        padding: 5px 25px;
        font-size: 1.2rem;
    }

    /* OFFERS  */

    .offers-container{
        width: 100%;  
        color: wheat;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 35px;
    }

    .roboto{
        font-family: "Roboto Mono", monospace;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
    } 

    .roboto-h2 { 
        font-weight: 600;
    }

    span.roboto{
        color: rgb(255, 255, 255);
        display: block;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        border: 2px dashed #ff000088;
        background-color: #000;
        padding: 10px; 
    }

    #wlc-msg{ 
        background-color: rgba(255, 255, 255);
        color: #000;
        font-size: 1.6rem;
        padding: 3%;
        text-align: center;
    }

    #wlc-msg span b {
        color: #f00;
    }

    /* Requirements Container */
    #requirements,
    #requirements .req-container{ 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #requirements > h2 {
        text-align: center;
        padding: 20px 0;
    }

    #requirements .req-container{ 
        flex-direction: column; 
        max-width: 600px;
        gap: 50px;
    }

    #requirements .req-item{
        width: 60%;
        display: flex;
        border-radius: 20px;
        overflow: hidden;
        border-color: #ccc;
        box-shadow: 1px 1px 15px 1px;
    }

    #requirements .req-item > img{
        width: 100%;
        object-fit: contain;
    }

    #requirements .req-item:last-child{
        margin-bottom: 30px ;
    }

    #requirements .req-action,
    #most-wanted .most-wanted-action{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 30px;
    }

    #requirements .req-action-btn,
    #most-wanted .most-wanted-action-btn{
        background-color: var(--primary-color);
        color: var(--primary-font-color);
        padding: 12px;
        font-size: 1.2rem;
        width: 100%;
        max-width: 200px;
        text-decoration: none;
        border-radius: 10px;
    }

    #requirements .req-action-btn:hover{
        background-color: rgba(227, 2, 6, 0.336);;
    }

    /* MOST WANTED ARTICLE */

    #most-wanted,
    #most-wanted .most-wanted-container{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    #most-wanted{
        flex-direction: column;
    }

    #most-wanted > h2 {
        padding: 20px;
        color: var(--primary-color);
        font-size: 2.0rem;
    }

    #most-wanted .most-wanted-container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
    }


    #most-wanted .most-wanted-item{
        width: 50%; 
        max-width: 150px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    #most-wanted .most-wanted-item > span{
        display: block;
        text-align: center;
        font-weight: 500;
    }
    #most-wanted .most-wanted-item > img{
        width: 100%;
        object-fit: contain;
    }

    /* videos */
    .video-banner{
        display: flex;
    }

    /* PANEL CONTROL */

    #panel-container{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 0% 10% 5%;
    }

    section > h2{
        display: block;
        width: 100%;
        padding: 30px 25px;
        text-align: center;
        color: #f00;
        font-weight: 300;
        margin: 0;
        font-family: 'Roboto Mono' , monospace ;
    }

    #panel-container .panel-item{
        flex:1 1 100%;
        display: flex;
        font-size: 1.3rem;
        overflow: hidden;
        margin: 10px 0;
        padding-left: 10px;
        border-radius: 0 0 20px 0;
        box-shadow: 5px 0px 0px 1px #ff0000cc;
        transition: background-color 0.2s ease, color 0.2s ease-in;
    }

    #panel-container .panel-item i{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    #panel-container .panel-item a{
        text-decoration: none;
        color: #000;
        font-weight: 300;
        width: 100%;
        padding: 2%;
        display: flex;
        align-items: center;
    }

    /* OFFER MANAGMENT */
    #listOffer-container{
        width: 100%;
        height: 100%;
        padding: 0 5%; 
        background-color: #eee7;
    }

    .btn-container{
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center; 
        padding-bottom: 30px;
    }

    #listOffer-container table{
        background-color: #fff;
        max-width: 750px;
        margin: 0 auto 30px;
    }

    table{
        background-color: #fff;
    }

    table .td-options{
        display: flex;
        justify-content: flex-start;
        padding: 5%; 
        gap: 10%;
    }


    .card-container{
        width: 90%;
        box-shadow: 1px 1px 5px 1px #0005;
        padding: 10px;
        border-radius: 10px;
        margin: 10px auto;
    }

    .card-container .card-item{
        display: flex;
        padding: 10px 5px;
    }

     
 
    /* New Offer */
    #newOffer-container{
        width: 100%;
        height: 100%; 
    }

    #newOffer-container > form{
        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        max-width: 550px;
        margin: 0 auto;
        padding: 0 5%;
    }

    #newOffer-container .item-form{
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 3% 0;
    }

   #newOffer-container .label-form{
    font-weight: 600; 
    flex: 1;
    padding-bottom: 3%;
   }

   #newOffer-container .input-form{
    flex-basis: 100%;
    padding: 5px 10px ;
   }

   #newOffer-container .item-form.card-buttons{
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    }

    /*   MAIN BANNER */
    #main-banner{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        overflow: hidden;
    }

    #main-banner > img{
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* LIST ALLIES */

    #ally-container{
        width: 100vw;
        height: 100%; 
    }

    #ally-container .ally-item{
        width: 90%;
        margin: 20px auto;
        display: flex;
        border-bottom: 2px solid #000c;
    }

    #ally-container .img-container{ 
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40%;
        padding: 5%;
    }

    #ally-container .img-container > img {
        width: 100px;
        height: 120px;
    }
    
    #ally-container .ally-data{ 
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 10px;
    }

    #ally-container .ally-data span{
        font-size: 1.2rem;
    }

    #ally-container .ally-options{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 3%;
    }

    /* NEW ALLY */

    #newAlly-container{
        width: 100vw;
        height: 100%;
    }

    #newAlly-container > form {
        width: 80%;
        display: flex;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    #newAlly-container .form-row{
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        padding: 3%;
    } 

    #newAlly-container .form-row.card-buttons{
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    /* Home Section Allies */

    #home-allies{ 
        padding: 20px;
        display: flex; 
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        position: relative;
        z-index: 1;
        min-height: 400px;
        max-height: 700px;
        overflow: hidden;
    }
    #home-allies .background-container{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }

    #home-allies .background-container img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.55);
    }

    #home-allies h2{
        padding: 0px;
    }

    #home-allies .ally-item{
        display: flex;
        max-width: 200px; 
        width: 100%;
        max-height: 60px;
    }

    #home-allies .img-container { 
        width: 60px;
        height: 60px;
    }

    #home-allies .img-container > img { 
        width: 100%;
        height: 100%;
        border-radius: 60px;
    }

    #home-allies .ally-data{ 
        display: flex;
        flex: 1;
        justify-content: center; 
        align-items: center;
        padding: 5px;
    } 

    #home-allies .ally-data span{ 
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;     
    } 

    /*  CATEGORY  */

    #category-container{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    #category-container .category-item{
        display: flex;
        width: 90%;
        border-radius: 10px;
        box-shadow: 1px 1px 5px 5px #ccc;
        padding: 10px;
        margin: 10px auto;
    }

    #category-container .category-data{
        display: flex;
        flex-direction: column;
        flex: 1 1 70%;
        gap: 10px;
    }

    #category-container .category-data span:first-child{
        font-size: 1.2rem;
        font-weight: 600;
    }

    #category-container .category-options{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex: 1 1 30%;
        flex-direction: column;
    } 

    /*  NEW CATEGORY */
    #newCategory-container{
        width: 100%;
        height: 100%;
    }

    #newCategory-container form{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 5% 10%;
    }

    #newCategory-container .category-input,
    #editCategory-container .category-input{
        flex: 1;
        display: flex;
        flex-direction: column;
        margin: 3% 0;
    }
    
    form label {
        font-weight: 600;
        padding: 10px 0px;
    }

    form input,
    form textarea {
        border-width: 1px;
        border-radius: 5px;
        padding: 10px;
    }

    #newCategory-container .category-options,
    #editCategory-container .category-options{
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 2%;
        gap: 20px;
    }

    #newCategory-container .category-options a,
    #newCategory-container .category-options button,
    #editCategory-container .category-options a,
    #editCategory-container .category-options button{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
    }

    #editCategory-container{
        width: 100%;
        height: 100%;
    }

    #editCategory-container form{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0 5%;
    } 

    /* BRANDS */
 
    #brands-container {
        width: 100%;
        height: 100%;
        min-height: 65vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0 5% 30px;
    }

    #brands-container table{
        max-width: 700px;
    }

    /*  NEW BRAND */

    #newBrand-container{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0  5% 30px;
    }

    #newBrand-container form{
        width: 100%;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        gap: 20px;
    }

    #newBrand-container .brand-input{
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    #newBrand-container .brand-input.card-buttons{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap : 20px;
    }

    /* Phones */
    #phones-container{
        width: 100%;
        height: 100%;
    }

    #newPhone-container form{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    #newPhone-container .newPhone-field{
        display: flex;
        flex-direction: column;
    }

    #newPhone-container .newPhone-field select {
        padding: 10px;
    }

    #newPhone-container .newPhone-field.buttons-field{
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    /* Detail Phones */ 

    #phones-container .phone-item{
        display: flex;
        justify-content: center;
        padding: 0 10%;
        flex-wrap: wrap;
    }  

    #phones-container .phone-image img{
        width: 100%;
        object-fit: contain;
    }
    
    #phones-container .phone-data{
        flex: 1 1 25%;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        gap: 15px;
        padding: 15px;
    }

    #phones-container .phone-data-item{
        display: flex;
        flex-direction: column;
        flex: 1 1 50%; 
    }


    #phones-container .phone-options{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        gap: 10px;
    }

    #phones-container .phone-options a.btn-primary {
        background-color: #029b44;
        border-color: #029b44;
        color: #fff;
    }
    
    #phones-container .phone-options a.btn-edit {
        background-color: #0b80cf;
        color: #fff;
    }

    #phones-container .phone-options i.no-home-page{
        color: #fff;
    }

    #phones-container .phone-options i.home-page {
        color: #ff0;
    }

    .slider-container {
        overflow: hidden;
        width: 100%;
    }

    .slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
        will-change: transform;
    }

    .card {
        flex: 0 0 80%;
        margin: 10px auto;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
    }

    .card img {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .card p {
        font-size: 0.9em;
        color: #555;
        margin-bottom: 15px;
    }

    .card button {
        padding: 10px 15px;
        background-color: #007BFF;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
    }

    .card button:hover {
        background-color: #0056b3;
    }

    /* Store */

    #store-container{
        width: 100%;
        display: flex; 
        flex-wrap: wrap; 
        background-color: #0001; 
        min-height: 50vh;
    }

    #store-container .offers-viewer{
        flex: 1 0 100%;
    }

    #sidebar-options{
        display: none; 
        background-color: #000; 
    }
    
    #phones-store{
        display: flex;
        flex-direction: column;
        flex: 1;
        background-color: #ddd;
    } 

    #phones-store .phone-list-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 10px; 
    }

    #phones-store .phone-container{
        display: flex; 
        width: 300px;
        height: 160px;
        border-radius: 5px;
        background-color: #fff
    }

    #phones-store .phone-brand{
        color: #aaa;
        font-size: 1rem;
        padding: 0 5px;
    }

    #phones-store .phone-reference {
        padding: 5px;
        font-size: 1.1rem;
        height: 20%;
        display: flex;

    }

    #phones-store .phone-img {
        flex: 1 0 50%;
        padding: 2%;
        height: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #phones-store .phone-img img{
        width: 100%;
        height: 100%;
        padding: 10px;
        object-fit: fill;
        
    }

    #phones-store .phone-data{
        flex: 1 0 50%;
        display: flex;
        flex-direction: column;
        padding: 2%;
        gap: 10px;
    }

    #phones-store .phone-data .phone-name{
        display: flex;
        flex-direction: column;
        font-size: 16px;
    }

    #phones-store .phone-data .phone-name small{
        color: #aaa;
        font-weight: 600;
    }

    #phones-store .phone-data .phone-details {
        display: flex;
        flex-direction: column;
        font-size: 10px;
    }

    #phones-store .phone-data .phone-details i{
        color: #f00;
    }
 
    /* List Phones */

    #btnAddPhone{
        position: absolute;
        right: 5%;
        padding: 5px 10px;
        bottom: -40px;
    }

    #listPhone-container{
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 2% 5%;
        position: relative;
    }

    #listPhone-container table .options-field{
        display: flex;
        gap: 10px;
        padding-left: 10px;
        align-items: center;
    }

    #listPhone-container table td{
        height: 60px;
        vertical-align: middle;
    }

    /* CONTACT US */
    #contactus-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 25px;
    }

    #contactus-container > h2{
        padding: 10px 0 20px;
        font-weight: 500;
    }

    #contactus-container .data-contact{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 0 0 20px;
        gap: 10px;
    }

    #contactus-container .data-contact span{
        width: 100%;
        max-width: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        font-size: 1.3rem;
        background-color: #0001;
        border-radius: 10px;
        color: #000;
        padding: 10px 5px;
        cursor: pointer;
    }

    #contactus-container .data-contact span:hover{
        background-color: #000;
        color: #fff;
    }

    #contactus-container .data-contact span i{
        color: #f00;
    }

    #contactus-container .data-contact span a{
        text-decoration: none;
        color: #000;
    }

    #contactus-container .data-contact span:hover a,
    #contactus-container .data-contact span:hover i {
        color: #fff;
    }


    #contactus-container .email-contact{
        width: 100%;
        padding-top: 25px;
        border-top: 2px solid #f00;
        max-width: 600px;
    }

    #contactus-container .email-contact form{
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;
        max-width: 500px;
    }
} 
/* ------------------------- */

@media screen and (min-width:450px){

    footer{
        /* flex-direction: row; */
        flex-wrap: wrap;

    }

    footer .info-footer-container{
        flex-direction: row;
    }

    footer .data-info{
        width: auto;
        height: auto;
        align-items: flex-start;
    }

    footer .social{
        flex-direction: column;
        gap: 0;
    }

    footer .links-documentation{
        flex-direction: row;
    }
}

@media screen and (min-width:630px){
    #phones-store .phone-list-container{
        justify-content: flex-start;
        align-items: flex-start;
    }
}

@media screen and (min-width:827px) {

    footer{
        flex-direction: row;
    }

    footer .icon-logo{
        width: 30%;
    }

    footer .info-footer-container{
        width: 65%;

    }

    footer .links-documentation{
        flex-direction: row;
        flex: 100%;
        gap: 40px;
    }

    footer > span{
        flex: 1 0 50%;
    }

    #home-allies {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        height: 500px;
    } 

}

@media screen and (min-width:900px){
    #requirements .req-container{
        flex-direction: row;
        max-width: 900px;
    }

    #requirements .req-container > .req-item:last-child{
        margin: 0;
    }
}

@media screen and (min-width:1024px) {

    main{
        margin-top: 120px;
    }
    /* menu mobile  */
    nav{ 
        height: 120px;
    }

    #menu-mobile{
        display: none;
    }

    #submenu-container{
        display: none;
    }

    #menu-desktop{
        display: flex;
        padding: 0 10%;
    }

    #menu-desktop img {
        height: 120px;
        margin-right: auto;
    }

    #menu-desktop .menu-options{
        display: flex;
        flex: 1; 
        justify-content: flex-end;
        padding: 20px 0;
        color: #fff;
        flex-wrap: wrap;
        font-family: "Comfortaa", serif;
    }

    #menu-desktop .menu-data-user{
        display: flex;
        flex-basis: 100%;
        justify-content: flex-end;
        font-size: 1rem; 
    }

    #menu-desktop .menu-items{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 1;
        font-size: 1.1rem;
        gap: 10px;
    } 

    #menu-desktop .menu-options a{
        text-decoration: none;
        color: #fff;
        padding: 10px;
    }

    #menu-desktop .menu-data-user span{
        padding: 10px;
    }

    #menu-desktop .menu-item {
        box-sizing: border-box;
        border-bottom: 2px solid transparent;
    }

    #menu-desktop .menu-item:hover {
        border-bottom-color: #f00;
    }

    #menu-desktop .menu-item:hover a {
        color: #f00;
    }


    /* Panel */

    #panel-container{
        justify-content: space-evenly;
    }

    #panel-container .panel-item{
        flex: 0 0 250px;
        font-size: 1.1rem;
        margin:2%;
        padding: 10px;
    }
    
    #panel-container .panel-item:hover {
        background-color: #000;
        color: #f00;
    }
    #panel-container .panel-item:hover a{
        color: #f00;
    } 

    /* Offer module */
    #listOffer-container{
        width: 100%;
    }
    article.no-data-container{
        width: 50%;
        margin: 30px auto;
    }

    .btn-add-container {
        position: static; 
        justify-content: center;
    }

    #listOffer-container .card-container{
        width: 80%;
        display: flex; 
    }

    #listOffer-container .card-item{
        display: flex;
        gap: 20px;
        flex: 2 0 40%;
    }

    #listOffer-container .card-item.card-buttons{
        flex: 1 0 20%;
    }

    #listOffer-container .card-item span:first-child{
        flex-basis: 100px;
    }

    /* Allies module */
    #ally-container{
        padding: 0 10%;
        display: flex;
        flex-wrap: wrap;
    }

    #ally-container h2{
        flex-basis: 100%;
    }

    #ally-container .ally-item{
        flex: 0 1 calc(30% - 30px);
        padding: 30px;
        border-bottom-color: transparent;
        display: flex;
        justify-content: center;
        box-shadow: 2px 1px 1px 1px #eee;
        border-radius: 10px;
    }

    #ally-container .ally-item .img-container{
        width: 50%;
        height: 250px;
        overflow: hidden;
        padding: 0;
    }

    #ally-container .ally-item .img-container img{
        width: 200px;
        height: 100%;
        object-fit: cover;
    }

    #ally-container .ally-data{
        flex: 1;
        width: 50%;
    }

    #newAlly-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #newAlly-container > form{
        width: 40%;
        align-items: center;
    }

    #newAlly-container .form-row {
        padding: 0;
    }
}