/* 
1. Posicionamiento
2. Modelo de caja (box-model)
3. Tipografía
4. Temas visuales
5. Otros
*/

:root {

    /* Colores */
    --bitcoinOrange: #f7931a;
    --softOrange: #ffe9d5;
    --secondaryBlue: #1a9af7;
    --softBlue: #e7f5ff;
    --warmBlack: #282623;
    --black: #201e1c;
    --grey: #bababa;
    --offWhite: #faf8f7;
    --justWhite: #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;
    text-align: center;
    background: linear-gradient(207.8deg, #201E1C 16.69%, #F7931A 100%);
}

header img {
    width: 150px;
    height: 24px;
    margin-top: 60px;
    align-self: center;
}

.headerContainer {
    width: 90%;
    min-width: 288px;
    max-width: 900px;
    height: 218px;
    margin-top: 40px;
    text-align: center;
    align-self: center;
}

.headerContainer h1 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--justWhite);
}

.headerContainer p {
    margin-top: 40px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: var(--softOrange);
}

.headerContainer .headerButton {
    position: absolute;
    left: calc(50% - 118px);
    top: 270px;
    display: block;
    margin-top: 35px;
    padding: 15px;
    width: 229px;
    height: 48px;
    background-color: var(--offWhite);
    /* Sombra */
    box-shadow: 0px 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);
}

.headerButton 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(--offWhite);
}

.mainExchangeContainer {
    width: 100%;
    height: auto;
    padding-top: 80px;
    padding-bottom: 30px;
    text-align: center;
}

.mainExchangeContainerTitle {
    width: 90%;
    min-width: 288px;
    max-width: 900px;
    margin: 0 auto;
}

.mainExchangeContainer .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;
}

.mainExchangeContainer h2 {
    margin-bottom: 30px;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--black);
}

.mainExchangeContainer p {
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6rem;
    color: #757575;
}

.mainCurrencyTable, .mainComissionTable {
    width: 70%;
    min-width: 235px;
    max-width: 500px;
    height: 250px;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
}

.mainCurrencyTable
.currencyTableTitle, .mainComissionTable .comissionTableTitle {
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3rem;
    color: var(--bitcoinOrange);
}

.mainComissionTable .comissionTableTitle {
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3rem;
    color: var(--secondaryBlue);
}

.currencyTableContainer, .comissionTableContainer {
    width: 90%;
    min-width: 230px;
    max-width: 300px;
    height: 230px;
    margin: 0 5px auto;
    scroll-snap-align: center;
}

.currencyTableContainer table, .comissionTableContainer table {
    width: 100%;
    height: 100%;
}

.currencyTableContainer td, .comissionTableContainer td {
    width: 50%;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.9rem;
    color: var(--grey);
    background-color: var(--justWhite);
}

.currencyTableContainer .tableTopLef, .comissionTableContainer .tableTopLef {
    border-radius: 15px 0 0 0;
}

.currencyTableContainer .tableTopRight, .comissionTableContainer .tableTopRight {
    border-radius: 0 15px 0 0;
}

.currencyTableContainer .tableBottomRight, .comissionTableContainer .tableBottomRight {
    border-radius: 0 0 15px 0;
}

.currencyTableContainer .tableBottomLeft, .comissionTableContainer .tableBottomLeft {
    border-radius: 0 0 0 15px;
}

.currencyTableContainer .tableRight, .comissionTableContainer .tableRight {
    font-size: 1.4rem;
    font-size: normal;
    line-height: 1.7rem;
    color: #757575;
}

.currencyTableContainer .down {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 10px;
    background-image: url("./assets/icons/trending-down.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.currencyTableContainer .up {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 10px;
    background-image: url("./assets/icons/trending-up.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.currencyTableDate {
    width: 190px;
    height: 30px;
    margin: 0 auto;
    margin-top: 15px;
    padding: 8px;
    background-color: var(--softOrange);
    border-radius: 8px;
}

.comissionTableDate {
    width: 190px;
    height: 30px;
    margin: 0 auto;
    margin-top: 15px;
    padding: 8px;
    background-color: var(--softBlue);
    border-radius: 8px;
}

.currencyTableDate p, .comissionTableDate p {
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: var(--warmBlack);
}

.mainProductDetail {
    position: relative;
    width: 100%;
    min-width: 320px;
    height: auto;
    padding: 20px 10px;
    background-color: var(--warmBlack);
}

.productDetailLogo {
    position: absolute;
    top: -12px;
    left: calc(50% - 20px);
    width: 40px;
    height: 25px;
    background-image: url("./assets/icons/batata.svg");

}

.productDetailTitle {
    width: 90%;
    min-width: 288px;
    height: auto;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
}

.productDetailTitle h2 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--justWhite);
}

.productDetailTitle p {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 8rem;
    color: #808080;
}

.productDetailCard {
    width: 90%;
    min-width: 288px;
    max-width: 400px;
    min-height: 150px;
    margin: 15px auto;
    padding: 15px;
    background-color: var(--black);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}

.productDetailCard .clock {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    background-image: url("./assets/icons/clock.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.productDetailCard .eye {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    background-image: url("./assets/icons/eye.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.productDetailCard .money {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    background-image: url("./assets/icons/dollar-sign.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.productDetailCard .check {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    background-image: url("./assets/icons/check-circle.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.productCardTitle {
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.8rem;
    color: var(--justWhite);
}

.productCardBody {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #808080;
}

.bitcoinImgContainer {
    width: 100%;
    min-width: 320px;
    height: 50vh;
    background-image: url("/assets/img/bitcoinbaby2x.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bitcoinImgContainer h2 {
    padding-top: 60px;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--justWhite);
    text-align: center;
}

.mainPlansContainer {
    width: 100%;
    min-width: 320px;
    padding-bottom: 70px;
    text-align: center;
}

.plansTittle {
    width: 90%;
    min-width: 288px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 40px;
}

.plansTittle h2 {
    padding-top: 50px;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--black);
}

.plansTittle p {
    padding-top: 30px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #757575;
}

.planContainerSlider, .mainTablesContainer {
    display: flex;
    height: 320px;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.plansContainerCard {
    position: relative;
    scroll-snap-align: center;
    width: 75%;
    min-width: 190px;
    max-width: 300px;
    height: 250px;
    margin: 50px 5px 0;
    padding: 0 15px;
    background-color: var(--justWhite);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(89, 73, 30, 0.16);
}

.recommended {
    position: absolute;
    width: 120px;
    height: 30px;
    padding: 6px;
    top: -15px;
    left: calc(50% - 60px);
    font-size: 1.2rem;
    background-color: var(--bitcoinOrange);
    border-radius: 8px;
    color: var(--justWhite);
}

.planCardTitle {
    padding-top: 30px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: var(--black);
}

.planCardPrice {
    padding: 5px;
    font-size: 5.2rem;
    font-weight: bold;
    line-height: 5.3rem;
    color: var(--black);
}

.planCardPrice span {
    font-size: 1.2rem;
    font-weight: 300;
    vertical-align: 25px;
}

.planCardSaving {
    font-size: 1.2rem;
    color: #757575;
}

.planCardCa {
    width: 150px;
    height: 48px;
    margin-top: 20px;
    background-color: #faf8f7;
    border: 2px solid var(--bitcoinOrange);
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.8rem;
    color: var(--black);
    font-family: "DM Sans", sans-serif;
}

.planCardCa span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("./assets/icons/orange-right-arrow.svg");
    vertical-align: text-bottom;
}
footer {
    display: flex;
    width: 100%;
    height: 150px;
    background-color: var(--bitcoinOrange);
}

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: none;
}

.left li {
    margin: 10px 0;
}

.left a {
    text-decoration: none;
    color: var(--justWhite);
}