main {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    background-color: var(--shades-extra-light);
    min-height: 100vh;
    overflow: hidden;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    font-size: var(--title-size);
    color: var(--shades-almost-black);
}

img {
    object-fit: cover
}

a {
    color: inherit; 
    text-decoration: inherit;
  }

.section {
    padding: var( --gap-base) 0px var( --gap-base) var( --gap-base);
}

.section .title{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.section h3 {
    margin: 0px 0px var( --gap-base) 0px;
}

.section .content {
    display: flex;
    flex-direction: row;
    overflow-x: auto;

}

.view-all {
    font-weight: 600;
    text-decoration: none;  
    color: var(--primary-100);
    text-align: right;
    margin: 0px 0px var( --gap-base) 0px;
    padding-right: var( --gap-base);
}
.banner-item{
    position: relative;
    align-self: stretch;
    padding-right: var(--padding-base);
    gap: var(--gap-base);

}
.banner-text{
    z-index: 100;
    position: absolute;
    left: 20px;
    bottom: 19px;
    font-family: var(--body-3);
    word-wrap: break-word;
}
.banner-text h4{
    width: 100%; 
    color: white; 
    font-size: 24px; 
    font-weight: 600;
    margin: 0;
}
.banner-text p{
    width: 100%; 
    color: white; 
    font-size: 14px; 
    font-weight: 400;
    margin: 0;
}

.banner-item img{
    align-self: stretch;
    width: 300px;
    height: 160px;
    position: relative;
    max-height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var( --gap-base);
    min-height: 160px;
}

.section.grid .content{
    display: grid;
    grid-template-columns: 310px 310px;
    grid-auto-columns: 80px;
    grid-gap: 8px 16px;
	margin-right: 8px;
    overflow-x: auto;
    
}
.section.mini.grid .content{
    grid-template-columns: 220px 220px;
    
}

.section.grid .grid-item{
    width: 286px;
    height: 56px;
    padding: 12px;
    background: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    justify-content: flex-start;
    align-items: center;
    gap: 11px;
    display: inline-flex;
}
.section.mini.grid .grid-item{
    width: 188px;
}

.section.grid img{
    width: 54px;
    height: 54px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.10);
    border-radius: 12px;
}
.section.mini.grid img{
    width: 54px;
    height: 54px;
    box-shadow: none;
    border-radius: 0px;
    background-color: transparent;
}

.section.grid .text{
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    display: inline-flex;
    font-family: "SF Pro Display", sans-serif;
    
}.section.mini.grid .text{
    font-family: 'Barlow';
}
.section.grid h4{
    text-align: center;
    color: #131720;
    font-size: 16px;
    font-weight: 600;
    margin: 0px;
    word-wrap: break-word;
}

.section.grid p{
    align-self: stretch;
    color: #6B717E;
    font-size: 14px;
    font-weight: 500;
    margin: 0px;
    word-wrap: break-word;
}.section.mini.grid p{
    font-size: 12px;
    font-family: Barlow;
    font-weight: 400;
}

.section.scroll .scroll-content {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
	margin-right: 8px;

}

.scroll-item {
    min-width: 120px;
    margin-right: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.scroll-content .scroll-item {
    width: 130px;
    height: 90px;
    padding: 16px;
    background: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    display: inline-flex;
}

.scroll-content .coin {
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex;
}

.scroll-content .coin img {
    width: 20px;
    height: 20px;
    border-radius: 21px;
}

.scroll-content .ticker {
    color: black;
    font-size: 18px;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}

.scroll-content .rates {
    justify-content: flex-start;
    align-items: flex-end;
    gap: 8px;
    display: inline-flex;
}

.scroll-content .dollar {
    width: 105px;
    color: #657089;
    font-size: 12px;
    font-family: "SF Pro Text", sans-serif;
    font-weight: 600;
    word-wrap: break-word;

}

.scroll-content .change {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

.scroll-content .perc {
    color: #00C48B;
    font-size: 14px;
    font-family: "SF Pro Text", sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}

.section.double-card .content {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
	margin-right: 8px;
}

.card-item {
    width: 100%;
    margin-right: 2%;
    margin-bottom: 10px;
}

.card-item img {
    width: 214px;
    height: 100px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
} 

.card-item .card-text {
    display: flex;
    width: 182px;
    height: 79px;
    padding: 16px;
    background: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.10);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 8px;
    margin-top: -6px;
    word-wrap: break-word;
    position: relative;
    line-height: 19px;
}.section.tag .card-text{
    justify-content: space-between;
}

.card-item .card-text .title {
    align-self: stretch;
    color: #131720;
    font-size: 16px;
    font-weight: 600;

}

.card-item .card-text .sub {
    color: #657089;
    font-size: 14px;
    font-weight: 400;

}.section.tag .card-text .sub{
    position: absolute;
    font-size: 12px;
    bottom: 16px;
    
}
