/* 
1. Posicionamiento
2. Modelo de caja (box model)
3. Tipografia
4. Visual
5. Otros
*/

:root {
    /* Colores */
    --bitcoin-orange: #F7931A;
    --soft-orange: #ffe9d5;
    --secondary-blue: #1a9af7;
    --soft-blue: #e7f5ff;
    --warm-black: #201e1c;
    --black: #282623;
    --grey: #bababa;
    --off-white: #faf8f7;
    --just-white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    font-family: 'DM Sans', sans-serif;
}

header {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 320px;
    height: 334px;

    background: linear-gradient(207.8deg, #201E1C 16.69%, #F7931A 100%);

    text-align: center;
}

header img {
    width: 150px;
    height: 24px;
    margin-top: 60px;
    align-self: center;
}

.header__title-container {
    width: 90%;
    min-width: 288px;
    max-width: 900px;
    height: 218px;
    margin-top: 40px;
    text-align: center;
    align-self: center;
}

.header__title-container h1 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;

    color: var(--just-white);
}

.header__title-container p {
    margin-top: 25px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: var(--soft-orange);
}

.header__title-container .header__button {
    position: absolute;
    top: calc(100% - 24px);
    left: calc(50% - 114.5px);

    display: block;
    padding: 15px;
    width: 229px;
    height: 48px;
    background-color: var(--off-white);
    /* Sombra */
    box-shadow: 0 4px 8px rgba(89,73,30,0.16);
    border: none;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--black);
}

.header__button span {
    display: inline-block;
    width: 13px;
    height: 8px;
    margin-left: 10px;
    background-image: url('./assets/icons/down-arrow.svg');
}

.main {
    width: 100%;
    height: auto;
    background-color: var(--off-white);
}

.main-exchange-container {
    width: 100%;
    min-width: 320px;
    padding-top: 80px;
    padding-bottom: 30px;
    text-align: center;
    background-color: var(--off-white);
}

.main-exchange-container__title {
    width: 90%;
    min-width: 288px;
    max-width: 900px;
    margin: 0 auto;
}

.main-exchange-container .backgroundImg {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 50px;
    background-image: url('./assets/img/Bitcoin.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-exchange-container__title h2 {
    margin-bottom: 30px;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--black);
}

.main-exchange-container__title p {
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6rem;
    color: #757575;
}

.main-tables-container {
    width: 100%;
    display: flex;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.main-tables-container__table {
    width: 63%;
    min-width: 235px;
    max-width: 300px;
    height: 250px;
    margin: 0 50px;
    table-layout: fixed;
    scroll-snap-align: center;

    border-collapse: collapse;
}

.main-tables-container__title {
    padding: 1rem 0;
    padding-left: 1rem;

    text-align: start;
    font-size: 1.8rem;
    font-weight: bold;

    color: var(--bitcoin-orange);
}
.main-tables-container__table thead {
    display: none;
}

.main-tables-container__table tbody {
    font-family: 'Inter', sans-serif;
}

.main-tables-container__table th,td {
    width: 50%;

    /* font-weight: 500; */
    font-size: 1.6rem;
    line-height: 1.9rem;
    
    background-color: var(--just-white);
    color: var(--grey);
}

.main-tables-container__table td {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.7rem;
    color: #757575;
}

.table__top-left {
    border-radius: 15px 0 0 0;
}

.table__top-right {
    border-radius: 0 15px 0 0;
}

.table__bottom-right {
    border-radius: 0 0 15px 0;
}

.table__bottom-left {
    border-radius: 0 0 0 15px;
}
.indicator {
    display: inline-block;
    margin-left: 20px;
    width: 12px;
    height: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.indicator--down {
    background-image: url('./assets/icons/trending-down.svg');
}

.indicator--up {
    background-image: url('./assets/icons/trending-up.svg');
}

.main-tables-container__title2 {
    width: 90%;
    margin: 1.5rem auto 3rem;
    padding: 8px;

    font-size: 1.2rem;
    text-align: center;

    background-color: var(--soft-orange);
    border-radius: 8px;

    caption-side: bottom;
}

.main-tables-container__title2 span {
    font-weight: bold;
    color: var(--warm-black);
}

.main-tables-container__title--azul {
    color: var(--secondary-blue);
}

.main-tables-container__title2--azul {
    background-color: var(--soft-blue);
}

.main-product-detail {
    position: relative;
    width: 100%;
    min-width: 320px;
    height: auto;
    padding: 64px 16px;
    background-color: var(--warm-black);
}

.main-producto-detail--batata-logo {
    position: absolute;
    top: -13px;
    left: calc(50% - 20px);
    width: 40px;
    height: 25px;
    background-image: url('./assets/icons/batata.svg');
}

.product-detail--title {
    width: 90%;
    min-width: 288px;
    margin-left: auto;
    margin-top: auto;
    margin-top: 6.5rem;
    text-align: center;
}

.product-detail--title h2 {
    margin-bottom: 20px;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--just-white);
}

.product-detail--title p {
    margin-bottom: 32px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #808080;
}

.product-detail--card {
    width: 100%;
    min-width: 288px;
    max-width: 400px;
    min-height: 150px;
    margin: 16px auto 0;
    padding: 15px;
    background-color: var(--black);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.16);
}

.clock {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
    background-image: url('./assets/icons/clock.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product--card-title {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.8rem;
    color: var(--just-white);
}

.product--card-body {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #808080;
}

.clock-eye {
    background-image: url('./assets/icons/eye.svg');
}

.clock-cash {
    background-image: url('./assets/icons/dollar-sign.svg');
}

.clock-check {
    background-image: url('./assets/icons/check-circle.svg');
}

.bitcoin-img-container {
    width: 100%;
    min-height: 320px;
    height: 50vh;
    background-image: url('./assets/img/bitcoinbaby2x.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.bitcoin-img-container h2 {
    padding-top: 64px;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--just-white);
}

.main-plans-container {
    width: 100%;
    min-width: 320px;
    padding: 64px 16px;
    text-align: center;
    background-color: #e5e5e5;
}

.plans-container--slider {
    display: flex;
    height: 316px;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.plans-container--card {
    position: relative;

    scroll-snap-align: center;
    width: 60%;
    min-width: 190px;
    max-width: 300px;
    height: 250px;
    margin: 50px 5px 0;
    padding: 0 16px;

    font-family: 'Inter',sans-serif;

    background-color: var(--just-white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(89,73,30,0.16);
}

.recommended {
    position: absolute;
    top: -16px;
    left: calc(50% - 50px);

    width: 100px;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: 700;
    
    background-color: var(--bitcoin-orange);
    border-radius: 8px;
    color: var(--just-white);
}

.plan-card--title {
    padding-top: 30px;
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: black;
}

.plan-card--price {
    padding: 5px 0;

    font-size: 5.2rem;
    font-weight: bold;
    line-height: 6.3rem;

    color: black;
}

.plan-card--price span {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5rem;
    vertical-align: text-top;
}

.plan-card--saving {
    padding-top: 11px;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: #757575;
}

.plan-card--ca {
    width: 150px;
    height: 48px;
    margin-top: 16px;

    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.8rem;
    font-family: 'DM Sans', sans-serif;

    background-color: #e5e5e5;
    border: 2px solid var(--bitcoin-orange);
    border-radius: 4px;
    color: var(--black);
}

.plan-card--ca span {
    display: inline-block;
    margin-left: 8px;
    width: 24px;
    height: 24px;
    background: url('./assets/icons/orange-right-arrow.svg');
    vertical-align: middle;
}

footer {
    display: flex;
    width: 100%;
    height: 150px;
    background-color: var(--bitcoin-orange);
}

footer section {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer--left ul {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    list-style-type: none;
}

.footer--left li {
    margin: 10px 0;
}

.footer--left a {
    text-decoration: none;
    color: var(--just-white);
}