/* Import Tailwind CSS */
@import "tailwindcss";

/* Root */
:root {
    --main-color: #f47c16;
    --font: Figtree;
    /* --font: Figtree; */
    --radius: 50px;
}

*::selection {
    background-color: var(--main-color);
    color: #fff;
}

/* Body of App */
body {
    background-color: #fff;
    font-family: var(--font);
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Loader */
#loader {
    background-color: var(--main-color);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px;
    font-size: 30px;
    z-index: 99999;
    overflow: hidden;
    display: none;
}
#loader .flex {
    margin-top: 320px;
    animation: zoomIn 1s;
}

/* NavBar */
nav li {
    list-style-type: none;
}

/* Header */
#header {
    background-image: linear-gradient(rgba(255, 255, 255, 0.959), rgba(255, 255, 255, 0.97));
}
#header form input {
    border: 1.5px solid #cbcbcb;
}
#header form input:focus {
    border: 1.5px solid var(--main-color);
}

/* Home popular items */
#card {
    /* background-image: linear-gradient(to top, rgba(0, 0, 0, 0.946) 55%, rgba(0, 0, 0, 0.033)),
    url('../img/piste.jpg'); */
    background-size: cover;
    border-radius: 20px;
    height: 400px;
    width: 400px;
    transition: all 0.2s ease-in 0s;
}
#card:hover {
    opacity: 0.9;
    transform: translateY(-10px);
}
#content_card .mt-2 {
    width: 300px;
}       

#ads #card {width: 400px;}
#items #card {width: 400px;}
#populary #card {width: 400px;}


#card:nth-child(1) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.946) 40%, rgba(0, 0, 0, 0)),
    url('../public/img/main.jpg');
}
#card:nth-child(2) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.946) 40%, rgba(0, 0, 0, 0)),
    url('../public/img/ecran.jpg');
}
#card:nth-child(3) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.946) 40%, rgba(0, 0, 0, 0)),
    url('../public/img/tesla.jpg');
}

/* Popular items */