@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

.main-wrapper {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    color: #222222;
    background-color: #fff;
}

.main-wrapper h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -2px;
    color: #000;
    margin-bottom: 6px;
}

.main-wrapper h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1px;
    color: #2C4677;
    margin-bottom: 16px;
}

.main-wrapper h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #222222;
    margin-bottom: 12px;
}

.main-wrapper p {
    margin-bottom: 0;
}

.spacing {
    padding: 80px 0;
}

.m-top {
    margin-top: 32px;
}

.hero {
    background-image: url(./assets/bg-hero.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 100%;
    height: 1129px;
    position: relative;
}

.hero-text {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: 0;
}

.hero-text h2 {
    font-weight: 400;
    color: #575757;
    margin-bottom: 0;
}

.eyes-ergo h2 {
    margin-top: 16px;
}

.eyes-ergo p {
    font-weight: 500;
}

.refresh-rate p {
    padding: 0 22%;
}

.carousel-title h2 {
    margin-top: 16px;
}

.carousel-title p {
    padding: 0 22%;
    margin-bottom: 48px;
}

.carousel-item img {
    margin: 0 auto;
    margin-bottom: 172px;
}

.carousel-caption {
    background: linear-gradient(to bottom, rgba(193, 196, 202, 100), rgba(242, 208, 184, 0));
    color: #222222;
    border-radius: 8px;
    padding: 24px;
}

.tool-free h2 {
    padding: 0 22%;
}

.phone p {
    padding: 0 26%;
}

.eco-friendly p {
    padding: 0 22%;
}

.display-kit-text {
    padding: 0 22%;
}

.mobile {
    display: none;
}

@media (max-width: 768px) {
    .mobile {
        display: block;
    }

    .spacing {
        padding: 40px 0;
    }

    .main-wrapper h1 {
        font-size: 40px;
    }

    .main-wrapper h2 {
        font-size: 32px;
    }

    .hero {
        background-image: none;
        height: auto;
    }

    .hero-text {
        background: linear-gradient(to bottom, rgba(193, 196, 202, 100), rgba(242, 208, 184, 0));
        position: relative;
        transform: none;
        left: 0;
        padding-top: 24px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .refresh-rate p {
        padding: 0;
    }

    .carousel-title p {
        padding: 0;
    }

    .carousel-item img {
        margin-bottom: 0;
    }

    .carousel-caption {
        display: block !important;
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .tool-free h2 {
        padding: 0;
    }

    .phone p {
        padding: 0;
    }

    .eco-friendly p {
        padding: 0;
    }

    .display-kit-text {
        padding: 0;
    }
}