:root {
    --backgroundblue: rgba(46, 61, 194, 0.69);
    --backgroundpurple: rgba(116, 62, 204, 0.63);
    --backgroundpink: rgba(214, 62, 189, 0.63);
    --siteblack: #494648;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}
h1 {
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h2 {
    color: var(--siteblack);
    font-size: 50px;
}

h3 {
    color: var(--siteblack);
    font-size: 40px;
}

p {
    font-size: 20px;
}
#herocontainer {
    background: linear-gradient(180deg, rgba(46, 61, 194, 0.69) 0%, rgba(116, 62, 204, 0.63) 50%, rgba(214, 62, 189, 0.63) 100%);
}

.imagetop {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    grid-template-rows: 240px 0 0 0 0 0 0 0;
    overflow-y: hidden;
    column-gap: 10px;
    justify-content: center;
    margin-top: 20px;
    margin-left: -200px;
    margin-right: -200px;
}

.image {
    padding: 10px;
}
.image img {
    width: 290px;
    height: 200px;
    object-fit: cover;
    border-radius: 48px;
}

.herotop h1 {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 30px;
}
.heropage {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #f6f6f6;
}

.herotextbottom {
    padding-bottom: 30px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 30px;
}
.herobottom h2 {
    font-size: 49px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 600px;
    color: #f6f6f6;
}

.heroscroll {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 200px;
    flex-direction: column;
    align-items: center;
    padding-bottom: 32px;
}

.heroscroll img {
    width: 20px;
    height: 18px;
    flex-shrink: 0;
    margin: 10px;
}

.container {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: clamp(300px, 85%, 1440px);
    padding: 20px;
    margin-bottom: 100px;
    margin-top: 100px;
}

.header {
    margin-bottom: 64px;
}
.stats1 {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.stat {
    display: inline-flex;
    text-align: start;
    max-width: 400px;
    padding: 40px 33px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.statbox2{
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.stat2 {
    display: flex;
    max-width: 360px;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 20px;  
    text-align: center;
}

.stat2 h3 {
    background: linear-gradient(136deg, rgba(167, 18, 143, 0.63) 6.82%, rgba(46, 61, 194, 0.69) 91.9%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 96px;
}

.howsunscreenbox {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.how {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 320px;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-align: center;
}

#howbox img {
    max-width: 320px;
    max-height: 280px;
    border-radius: 48px;
    object-fit: fill;
}
.textgradient {
    background: linear-gradient(45deg, rgba(167, 18, 143, 0.63) 20.65%, rgba(46, 61, 194, 0.69) 90.3%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 800;
    line-height: normal;
}

.textgradient2 {
    background: linear-gradient(268deg, rgba(167, 18, 143, 0.63) 77.13%, rgba(46, 61, 194, 0.69) 95.61%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.learnbox {
    display: flex;
    width: 100%;
    margin-top: 80px;
    justify-content: center;
}
.learnmore {
    display: flex;
    border-radius: 11px;
    border: 3px solid rgba(167, 18, 143, 0.63);
    display: flex;
    width: 200px;
    height: 60px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.learnmore h4 {
    background: linear-gradient(88deg, rgba(46, 61, 194, 0.69) 1.17%, rgba(167, 18, 143, 0.63) 93.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media screen and (max-width: 500px){
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }

    .herobottom h2 {
        font-size: 36px;
    }

    .container {
        margin-top: 48px;
        margin-bottom: 48px;
    }
}