/* FUENTES (al ser import van arriba del todo, no las encontré en google fonts) */
@import url('fonts.css');

/* VARIABLES */
:root{
    /* COLORES */
    --primary-color: #00ffff;
    --secondary-color: #14DCDC;
    --tertiary-color: #00BEBA;
    --black: #100F0F;
    --white: #ffffff;
    --error: #B00020;
    --ok: #47F337;
    --grey1: #AFADAD;
    --grey2: #929292;
    --grey3: #696767;
    --grey4: #AFADAD;

    /* FUENTES */
    --main-font:'Poppins Regular', sans-serif;
    --main-font-light:'Poppins Light', sans-serif;
    --main-font-semibold:'Poppins SemiBold', sans-serif;
    --main-font-bold:'Poppins Bold', sans-serif;
    --titular-xs: normal 32px/120% 'Poppins Bold';
    --titular-lg: normal 48px/120% 'Poppins Bold';
    --titular-xl: normal 52px/120% 'Poppins Bold';
    --titular-2-xs: normal 22px/120% 'Poppins SemiBold';
    --titular-2-lg: normal 26px/120% 'Poppins SemiBold';
    --titular-2-xl: normal 30px/120% 'Poppins SemiBold';
    --parrafo-xs: normal 16px/150% 'Poppins Regular';
    --parrafo-lg: normal 18px/150% 'Poppins Regular';
    --parrafo-xl: normal 20px/150% 'Poppins Regular';
    --boton-xs: normal 16px/1.2 'Poppins SemiBold';
}

/* RESET */
body, ul, h1, h2, h3, h4, h5, h6, p{
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

/* ESTRUCTURA  */
body, .navbar.bg-dark {
    background-color: var(--black)!important;
    font-family: var(--main-font);
    line-height: 1.2;
}

h1 {
    font:var(--titular-2-xs);
    color: var(--primary-color);
}

/* HEADER */
.navbar-nav {
    flex-direction: row;
    margin: 5px 0;
}
.navbar {
    padding-top: 0rem;
    padding-bottom: .3rem;
}
.navbar-dark .navbar-nav .nav-link {
    color: white;
    font-size: 20px;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--tertiary-color);
}
.navbar-brand img {
    max-width: 85px;;
}

/* padding top del header para compensar el nav fixed */
header {
    padding-top: 55px;
}

header .nav-item {
    display: none;
}
header .nav-fixed {
    display: inline-block;
    margin-left: 10px;
}

/* FOOTER */
footer ul li {
    display: flex;
    align-items: end;
}
footer ul a {
    color: white;
    font:var(--parrafo-xs);
}
footer ul a.nav-link {
    font-size: 14px;
    color: white;
}
footer ul a.nav-link:hover {
    color: var(--tertiary-color);
}
footer .networks__container {
    margin-top: 100px;
    background-color: var(--tertiary-color);
}
footer .networks__container li {
    margin: 0 10px;
}
footer .networks__container li a {
    font-family: var(--main-font-semibold);
    font-size: 16px;
    color: black;
    text-decoration: none;
}
footer .networks__container li a:hover {
    text-decoration: underline;
}
footer a:hover {
    color: var(--tertiary-color);
}
footer h5 {
    font: var(--titular-2-xs);
    color: var(--primary-color);
}
footer p, footer p a {
    margin-top: 10px;
    font:var(--parrafo-xs);
    color: white;
    text-decoration: none;
}
footer .footer__legal li {
    margin: 0 5px;
}
footer .footer__legal {
    /* para dejar espacio antes del footer fixed*/
    margin-bottom: 100px; 
    color:white;
}
footer .footer__legal a {
    text-decoration: none;
}
footer .footer-copy {
    font:var(--parrafo-xs);
    margin-top: 10px;
}
footer .nav-link {
    padding: .5rem .6rem;
}

/* BUTONS  */
.mainbutton {
    border: 2px solid var(--primary-color);
    background-color: var(--black);
    border-radius: 35px;
    padding: 12px 25px;
    font:var(--boton-xs);
    text-decoration: none;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-block;
}
.mainbutton:hover {
    background-color: var(--grey2);
}
.lightbutton {
    background-color: var(--primary-color);
    color: black;
}
.lightbutton:hover {
    border-color: var(--tertiary-color);
    background-color: var(--secondary-color);
}
.soldoutbutton, .soldoutbutton:hover {
    padding: 12px 18px;
    border: 2px solid var(--grey1);
    background-color: var(--grey1);
    color: black;
}
.whitebutton {
    border-color: white;
    padding: 6px 15px;
    font-size: 18px;
    text-transform: inherit;
    color: white;
}
.whitebutton img {
    margin-left: 20px;
}

/* ARTICLE  */
.main__figure {
    color: white;
    /* fondo con degradado va junto con la imagen */
    background-image: linear-gradient(to bottom, rgba(16, 15, 15, 0) 50%, rgba(16, 15, 15, 1)),
    url('../img/crimes-of-the-future.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.main__figure .text__container {
    height: 427px;
}
.main__figure h1 {
    font:var(--titular-xs);
    margin-bottom: 15px;
    color: white;
}
.main__figure h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.main__figure .time {
    font:var(--parrafo-xs);
    margin-bottom: 15px;
}
.date {
    margin-bottom: 20px;
    background-color: var(--grey3);
    color: white;
    border-radius: 2px;
    padding: 2px 12px;
}
.date .mainbutton {
    font-size: 14px;
    padding: 10px 20px;
}
.date .lightbutton {
    padding: 10px 25px;
}
h3 {
    font: var(--titular-2-xs);
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}
h4 {
    font-family: var(--main-font-semibold);
    margin-bottom: 15px;
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--white);
}

.list__container li {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--grey3);
}

.list__container h5 {
    font-family: var(--main-font-semibold);
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--white);
}

p {
    font:var(--parrafo-xs);
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--white);
}

img.img-rounded {
    border-radius: 10px;
}

.btn__container {
    display: flex;
    justify-content: space-around;
}

/* INDEX */
.main__figure--index {
    background-image: linear-gradient(to bottom, rgba(16, 15, 15, 0) 50%, rgba(16, 15, 15, 1)),
    url('../img/frame-home-foto.jpg');
    background-position: top center;
}
.tarjeta {
    display: block;
    margin-top: 10px;
    margin-bottom: 15px;
    color: white;
    text-decoration: none;
}
.tarjeta:hover, .tarjeta:hover p {
    color: var(--tertiary-color);
}
.tarjeta img {
    border-radius: 16px;
    border: 2px solid var(--grey3);
}
.tarjeta:hover img {
    border-color: var(--tertiary-color);
}
.img-border-rounded {
    border-radius: 18px;
    border: 2px solid var(--grey3);
}
.tarjeta h2 {
    font-family: var(--main-font-semibold);
    font-size: 20px;
    margin-top: 12px;
}
.tarjeta p {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 15px;
}
.view-all {
    margin-top: 10px;
}
.view-all .borde {
    margin-top: 13px;
    border-bottom: 2px solid var(--grey3);
}
.view-all a {
    font-family: var(--main-font-semibold);
    font-size: 20px;
    color: white;
    text-decoration: none;
}
.view-all a:hover {
    color: var(--tertiary-color);
}

/* CATEGORIES */

.category {
    padding: 14px;
    margin-bottom: 20px;
    border: 2px solid var(--grey3);
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    color: white;
    text-decoration: none;
}
.category:hover {

    border-color: var(--tertiary-color);
}
.category:hover, .category:hover p {
    color: var(--tertiary-color);
}
.category__figure {
    width: 40%;
}
.category__info {
    width: 60%;
    margin-left: 15px;
}
.category__figure img {
    border-radius: 8px;
}
.category h2 {
    font-family: var(--main-font-semibold);
    font-size: 20px;
    margin-bottom: 7px;
}
.category p {
    font:var(--parrafo-xs);
    margin-top: 1px;
    margin-bottom: 6px;
}

/* Modal filtros */
.modal-content {
    background-color: var(--black);
}
.modal-header, .modal-footer {
    border: none;
}
.filter__container .form-select {
    background-color: var(--black);
    border: 2px solid white;
    color: white;
    border-radius: 25px;
    padding: 8px 15px;
    /* cambio de color y tamaño la flechita del desplegable porque BT los trae en negro*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-size: 20px 20px;
}
.btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

/* CHECKOUT */
.checkout__container {
    margin-top: 35px;
    margin-bottom: 160px;
}
.checkout__container h1 {
    font:var(--titular-xs);
    color: white;
    margin-bottom: 15px;
}
.checkout__container p {
    font:var(--parrafo-xs);
    color: white;
    margin-top: 18px;
    margin-bottom: 25px;
}

/* PURCHASE */
.purchase__container {
    margin-top: 35px;
    margin-bottom: 160px;
}
.date-block {
    width: 100%;
    max-width: 366px;
    background-color: var(--tertiary-color);
    padding: 6px 15px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.date-block p {
    margin-top: 8px;
    margin-bottom: 5px;
    font-family: var(--main-font-semibold);
    font-size: 20px;
    color: white;
}
.date-block p.black {
    color: var(--black);
}
.purchase__container .form-check {
    padding: 1em 1em 1em 2.5em;
    background-color: white;
    border-radius: 12px;
}
.purchase__container .form-check label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ------------------
-------------------------
-------------------------------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------MEDIA QUERIES
-------------------------------------------
------------------------------------------------
---------------------------------------------------
-------------------------------------------------------------------- 
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
----------------------------------------------------------------------
------------------------------------- */




/* MD TABLET */
@media (min-width: 768px) {
    .top-navbar{
        position: initial;
        top: initial;
        right: initial;
        left: initial;
    }
    header .nav-item {
        display: inline-block;
    }
    header .nav-fixed {
        margin-left: inherit;
    }
    footer .footer__legal {
        margin-bottom: 20px; 
    }
    .btn__container {
        display: inherit;
    }
    h1{
        font:var(--titular-2-lg);
    }
    footer .footer__legal {
        margin-bottom: 20px; 
    }
    footer .footer__legal ul li {
        border-right: 2px solid white;
        padding-right: 10px;
    }
    footer .footer__legal ul li:last-child{
        border-right: none;
        padding-right: 0;
    }
    footer h5 {
        font:var(--titular-2-lg);
    }
    footer p, footer p a {
        font:var(--parrafo-lg);
    }
    footer .networks__container li a {
        font-size: 18px;
    }
    footer ul a, footer .footer-copy {
        font:var(--parrafo-lg);
    }
    .main__figure h1 {
        font:var(--titular-lg);
    }
    .main__figure h2 {
        font-size: 28px;
    }
    .main__figure .time {
        font:var(--parrafo-lg);
    }
    .mainbutton {
        font-size: 20px;
    }
    .date {
        padding: 0 12px;
    }
    .date .borde, .date .mainbutton{
        font-size: 16px;
        padding: 10px 15px;
    }
    .date .lightbutton {
       padding: 10px 21px;
    }
    h3 {
        font:var(--titular-2-lg);
    }

    .list__container h5 {
        font-size: 18px;
    }

    p {
        font:var(--parrafo-lg);
    }
    .tarjeta {
        margin-bottom: 0;
    }
    .tarjeta h2 {
        margin-top: 12px;
        font-size: 22px;
    }
    .tarjeta p {
        font:var(--parrafo-lg);
        margin-top: 5px;
    }
    .view-all {
        margin-top: 40px;
    }
    
    .category {
        flex-direction: column;
        padding: 16px;
    }
    .category__figure, .category__info{
        width: inherit;
    }
    .category__info {
        margin-left: 0;
    }
    .category h2 {
        font-size: 24px;
        margin-top: 10px;
    }
    .category p {
        font-size: 20px;
        margin-top: 4px;
    }
    /* controla que no se muestre la ventana modal de filtros a partir de MD */
    .modal {
        display: none;
    }
    .modal-backdrop {
        display: none;
    }
    body.modal-open {
        overflow: inherit;
    }
    .checkout__container {
        margin-top: 30px;
        margin-bottom: 0px;
    }
    .checkout__container h1 {
        margin-bottom: 15px;
        font: var(--titular-xs);
        /* 32 */
    }
    .checkout__container p {
        font: var(--parrafo-lg);
        margin-bottom: 50px;
    }
}

/* LG */
@media (min-width: 992px) {
    h1{
        font:var(--titular-2-xl);
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 20px;
    }
    footer .networks__container {
        background-color: var(--grey3);
    }
    footer .networks__container li a {
        color: white;
    }
    footer .networks__container li a:hover {
        text-decoration: none;
        color: var(--tertiary-color);
    }
    .main__figure h1 {
        font:var(--titular-xl);
    }
    .main__figure .time {
        font-size: 22px;
    }
    .mainbutton {
        padding: 12px 35px;
    }
     .date {
        padding: 10px 20px;
    }
    .date .mainbutton {
        font-size: 20px;
        padding: 16px 30px;
    }
    .date .lightbutton {
        font-size: 20px;
        padding: 16px 40px;
    }
    h3 {
        font:var(--titular-2-xl);
    }
    .list__container h5 {
        font-size: 20px;
    }

    p {
        font:var(--parrafo-xl);
    }
    .tarjeta h2 {
        margin-top: 12px;
        font-size: 24px;
    }
    .tarjeta p {
        font:var(--parrafo-lg);
        margin-top: 5px;
    }
    .view-all {
        margin-top: 65px;
    }
    .view-all a {
        font-size: 24px;
    }
    .category h2 {
        font-size: 26px;
        margin-top: 14px;
        margin-bottom: 2px;
    }
    .category p {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .checkout__container {
        margin-top: 78px;
        margin-bottom: 200px;
    }
    .checkout__container h1 {
        font: var(--titular-xs);
    }
    .checkout__container p {
        margin-bottom: 40px;
    }
}