﻿
.contents {
display: flex;
flex-direction: row-reverse;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;

}

.contents h2 {
color: #fff;
text-transform: uppercase;
font-size: 25px;
line-height: 1em;
max-width: 100%;
}

.contents h3 {
color: #fff;
text-transform: uppercase;
font-size: 25px;
line-height: 1em;
margin-bottom: 10px;
font-weight: 700;
}

.contents p {
color: #fff;
}

.contents a {
position: relative;
color: #fff;
padding: 10px 20px;
border-radius: 10px;
background: #fff;
color: #ff6900;
margin-top: 10px;
text-decoration: none;
display: inline-block;
font-weight: 700;
transition: 0.5s;
}

.root-grid{
display: grid;
max-width: 100%;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
background-position: center;
align-content: center;
justify-content: center;
align-items: center;
justify-items: center;
gap: 1rem;
margin: 1rem;
}

.card-banner-01 img{
    max-width: 100%;
    width: 30rem;
    display: block;
    margin: 0 auto;
}

.card-banner-02 img{
    max-width: 100%;
    width: 30rem;
    display: block;
    margin: 0 auto;
}

.card-banner-03 img{
    max-width: 100%;
    width: 30rem;
    display: block;
    margin: 0 auto;
}

.card-banner-04 img{
    max-width: 100%;
    width: 30rem;
    display: block;
    margin: 0 auto;
}

.card-banner-01{
max-width: 100%;
background: #ff6900;
height: 15rem;
width: 30rem;
border-radius: 1rem;
}

.card-banner-02{
max-width: 100%;
background: #1f79ff;
height: 15rem;
width: 30rem;
border-radius: 1rem;
}

.card-banner-03{
max-width: 100%;
background: #ff6900;
height: 15rem;
width: 30rem;
border-radius: 1rem;
}

.card-banner-04{
max-width: 100%;
background: #1f79ff;
height: 15rem;
width: 30rem;
border-radius: 1rem;
}


@media (max-width: 768px){

    .root-grid {
    display: flex;
    background-position: center;
    justify-content: flex-start;
    align-items: center;
    justify-items: stretch;
    gap: 1rem;
    margin: 1rem;
    overflow-x: auto;
	}
	
	.root-grid::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
	border-radius: 10px;
	margin: 6rem;
	}

    .root-grid::-webkit-scrollbar{
	width: 10px;
	background-color: #F5F5F5;	
    }

    .root-grid::-webkit-scrollbar-thumb{
	background-color: #FF6900;	
	background-image: -webkit-linear-gradient(225deg,
	                                          rgba(255, 255, 255, .2) 25%,
											  transparent 25%,
											  transparent 50%,
											  rgba(255, 255, 255, .2) 50%,
											  rgba(255, 255, 255, .2) 75%,
											  transparent 75%,
											  transparent)
    margin: -2rem;
}
	
}