:root {
    --black: #000000;
    --white: #ffffff;
    --main: #163858;
    --media: #0e9adc;
    --gray: #3a5468;
    --light: #36e2f4;


    --splash: rgba(0, 0, 0, .6);
}

@font-face {
    font-family: Poppins;
    src: url('./Poppins-Light.ttf');
}

* {
    background-color: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    z-index: 0;
    text-decoration: none;
    list-style: none;
    font-style: normal;
    outline: 0;
    transition: all 1s;
}

::-webkit-scrollbar {
    background: transparent;
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

::placeholder {
    color: grey;
}

body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--white)
}

/*MASK*/
.mask {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--splash);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    place-items: center;
}

.mask.ok {
    display: flex;
}

/*LOAD*/
.load {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--main);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0%);
    transition: all 3s ease-in-out;
}

.load.hidden {
    transform: translateX(200%);
}

.loader {
    --color: #a5a5b0;
    --size: 70px;
    width: var(--size);
    height: var(--size);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.loader span {
    width: 100%;
    height: 100%;
    background-color: var(--color);
    animation: keyframes-blink 0.6s alternate infinite linear;
}

.loader span:nth-child(1) {
    animation-delay: 0ms;
}

.loader span:nth-child(2) {
    animation-delay: 200ms;
}

.loader span:nth-child(3) {
    animation-delay: 300ms;
}

.loader span:nth-child(4) {
    animation-delay: 400ms;
}

.loader span:nth-child(5) {
    animation-delay: 500ms;
}

.loader span:nth-child(6) {
    animation-delay: 600ms;
}

@keyframes keyframes-blink {
    0% {
        opacity: 0.3;
        transform: scale(0.5) rotate(5deg);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}


.container-body {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

/*HEADER*/
.container-body .header-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 90%;
    height: 50px;
    padding: 10px 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main);
    color: var(--white);
    gap: 2%;
}

.container-body .header-container.active {
    background-color: var(--media);
    z-index: 10000;
}

.header-container .logo {
    width: auto;
    height: 50px;
    cursor: pointer;
}

.header-container .menu-nav {
    width: 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6%;
}

.menu-nav .item-nav {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
    cursor: pointer;

    i {
        font-size: 15px;
        text-align: end;
        display: flex;
        align-items: end;
        height: 100%;
    }
}

.header-container .menu-nav .item-nav:hover {
    color: var(--bcg-media);
}

.header-container .menu-nav .item-nav:hover::after {
    content: '';
    position: absolute;
    top: 110%;
    left: 0%;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    animation: hover_li 1s ease alternate;
}

@keyframes hover_li {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}


.header-container .search-space {
    width: 300px;
    background-color: var(--white);
    height: 40px;
    padding: 0 5px;
}

.search-space form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-space form input {
    width: 100%;
    height: 100%;
    padding: 0 10px;
}

.search-space form button {
    cursor: pointer;
}

.header-container .your-car-shop {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: solid silver 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.header-container .your-car-shop i {
    font-size: 20px;
}

.header-container .your-car-shop::after {
    content: attr(data-content);
    position: absolute;
    top: -15%;
    right: -10%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--media);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-container.active .your-car-shop::after {
    background-color: var(--white);
    color: var(--media);
}

.header-container .buttons-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3%;
}

.header-container .buttons-header button {
    width: 100px;
    height: 40px;
    padding: 0 10px;
    background-color: transparent;
    color: var(--white);
    border: solid 1px var(--white);
    cursor: pointer;
    font-weight: 700;
}

.header-container .buttons-header button:hover {
    background-color: var(--white);
    color: var(--media);
}


.buttons-menu-stack i {
    font-size: 20px;
}

.buttons-menu-stack .sign-menu {
    display: none;
}

.buttons-menu-stack .all-menu {
    display: none;
}

@media(max-width: 1120px) {
    .header-container .search-space {
        display: none;
    }
    .header-container .menu-nav {
        width: 60%;
    }
    .buttons-menu-stack .sign-menu {
        display: flex;
    }
    .all-menu {
        display: none;
    }
    .drop-menu {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 860px) {
    .header-container .menu-nav {
        display: none;
    }

    .header-container .buttons-header button {
        display: none;
    }

    .buttons-menu-stack .all-menu {
        display: flex;
        font-size: 30px;
    }
}

@media(max-width: 700px) {}

.main-container{
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.alert-message {
    position: fixed;
    top: 10%;
    right: 1%;
    width: auto;
    padding: 5px 10px;
    height: 50px;
    /*border-top: solid 5px var(--white);*/
    background-color: transparent;
    color: #ffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10%;
    z-index: 300000;
    opacity: .8;
    display: none;

    p {
        font-size: 15px;
    }

    i {
        font-size: 20px;
    }
}

.alert-message.active {
    display: flex;
    animation: active-alert .5s alternate;
}

.alert-message::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background-color: var(--white);
    animation: progress-alert 5s alternate;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

@keyframes active-alert {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes progress-alert {
    0% {
        width: 100%;
    }

    100% {
        width: 5%;
    }
}

@media(max-width: 500px) {
    .alert-message {
        width: 70%;
        top: 12%;
    }
}

/*MENU-ALL*/
.menu-start.menu-all-stack {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    padding: 80px 0;
    background-color: var(--main);
    color: var(--white);
    z-index: 20000;
    transform: translateX(-200%);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.menu-start.menu-all-stack.ok {
    transform: translateX(0%);
}

.menu-start.menu-all-stack .search-space {
    width: 90%;
    background-color: var(--white);
    height: 40px;
    padding: 0 5px;
}

.menu-start.menu-all-stack .buttons-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3%;
    margin-top: 3%;
}

.menu-start.menu-all-stack .buttons-header button {
    width: 45%;
    height: 40px;
    padding: 0 10px;
    background-color: var(--white);
    color: var(--media);
    cursor: pointer;
    font-weight: 700
}

.menu-start.menu-all-stack .buttons-header>:first-child {
    background-color: var(--main);
    color: var(--white);
}

.menu-start.menu-all-stack .menu-nav {
    width: 100%;
    margin-top: 15%;
}

.menu-start.menu-all-stack .menu-nav .item-nav {
    width: 90%;
    padding: 10px 5%;
    height: auto;

    i {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5%;
    }
}

.menu-start.menu-all-stack .menu-nav .item-nav .drop-menu-stack {
    display: none;
    flex-direction: column;
    height: 300px;
    overflow-y: auto;
}
.menu-start.menu-all-stack .menu-nav .item-nav .drop-menu-stack.ok{display: flex;}
.drop-menu-stack .section-drop{
    padding: 10px 10px;
}
.drop-menu-stack .section-drop p{
    font-weight: 700;
    padding: 5px 0;
}
.drop-menu-stack .section-drop ul li{
    padding: 5px;
}

/*FOOTER*/
footer{
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 40px 10%;
    background-color: var(--main);
    color: #fff;
    position: relative;
    margin-top: 5%;
    z-index: 0;
}
footer section{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
footer section article{
    display: flex;
    flex-direction: column;
}
footer section article p{
    font-size: 18px;
    font-weight: 1000;
    padding: 10px 0;
}
footer section article ul{
    padding: 5px 10px;
}
footer section article ul li{
    padding: 5px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    ion-icon{
        font-size: 15px;
    }
}
footer section article ul li:hover{
    text-decoration: underline;
}
.footer-column form{
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: auto;
}
.footer-column form input{
    width: 100%;
    height: 100%;
    padding: 0 20px;
    background-color: #fff;
    /*border-bottom: solid 1px silver;*/
    font-size: 14px;
}
.footer-column form button{
    width: 150px;
    height: 40px;
    background-color: #fff;
    color: var(--main);
    font-weight: 700;
    cursor: pointer;
}
.footer-column form button:hover{
    color: #000;
}

@media (max-width: 1194px){
    footer{width: 90%; padding: 10px 5%;  margin-top: 25%;}
    footer>:last-child{display: none;}
    footer section{flex-direction: column;}
    footer section>:last-child{display: none;}
}
footer>:last-child{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3% 0 0 0;
}
footer>:last-child p{
    font-weight: 700;
}
