:root {
    --red: #bf0101;
}

body {
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

section {
    padding: 60px 0;
}

h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 4rem;
    font-style: italic;
}

h2 {
    font-weight: 800;
    font-style: italic;
    position: relative;
    font-size: 2.5rem;
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 2px;
    width: 60px;
    background-color: VAR(--red);
}

h1 span.light {
    font-weight: 300;
    display: block;
    font-size: 2.5rem
}

.loader p {
    font-weight: 600;
    font-size: 2rem;
}

.loader {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.95);
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader svg {
    height: 150px;
    width: 150px;
    display: inline-block;
}

#wheel {
    animation: wheel 1s ease infinite;
}

@keyframes wheel{
    to{
      transform: rotate(360deg);
      transform-origin: 50% 50%;
    }
}

.animate__animated .char {
	display: inline-block;
	-webkit-animation-delay: calc(0.25s + var(--char-index) * 0.1s);
			animation-delay: calc(0.25s + var(--char-index) * 0.1s);
	transition: all 0.25s calc(0.25s + var(--char-index) * 0.1s);
}

.text--enter .char {
	opacity: 0;
	transform: translateY(-150%)
}

.animate__animated .text--enter .char {
	opacity: 1;
	transform: translateY(0);
}

span.light {
	transform: translateX(-20%);
	opacity: 0;
	transition: all 1s ease;
    transition-delay: 0.5s;
}

.animate__animated span.light {
	opacity: 1;
	transform: translateX(0);
}

.wow.btn {
	transform: scale(0);
	opacity: 0;
	transition: background-color 0.5s ease, transform 1s ease 0.5s;
}

.animate__animated.btn {
	transform: scale(1);
	opacity: 1;
}

.bg-extra-dark-gray {
    background-color: black;
    color: white;
}

.text-red {
    color: var(--red);
}

.hero {
    padding-left: 15px;
    padding-right: 15px;
}

.hero-left {
    text-align: center;
}

.hero-right {
    position: relative;
}

.hero .btn {
    font-size: 1.2rem;
}

img {
    max-width: 100%;
}

.swiper-pagination-dot.swiper-light-pagination .swiper-pagination-bullet {
    background-color: var(--red);
    border: 2px solid var(--red);
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-fraction {
    bottom: 10px;
}

.llantas {
    background-image: url(../images/bg-llantas.jpg);
    background-size: cover;
}

.slider-navigation-style-07.swiper-button-next.light, .slider-navigation-style-07.swiper-button-prev.light {
    background-color: #666666;
    color: white;
}

.promociones {
    background-image: url(../images/bg-promo.jpg);
    background-size: cover;
}

.promociones h3 {
    color: white;
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.circle-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-color: var(--red);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    border-radius: 50%;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
}

.servicios {
    background-image: url(../images/bg-servicios.jpg);
    background-size: cover;
}

.large-input {
    background-color: transparent;
    border: 2px solid #999999;
}

.large-input::placeholder {
    color: black;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 15px;
    right: 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    transition: all .3s ease;
}

.float:hover, .float:active, .float:focus {
    color: white;
    opacity: .8;
}

.my-float {
    margin-top: 16px;
}

@media (min-width:768px) {
    section {
        padding: 100px 0;
    }
    .hero {
        display: flex;
        justify-content: space-between;
        padding: 0;
        align-items: center;
        background-color: #f5f5f5;
        background-image: url(../images/bg-hero.jpg);
        background-position: -50% 0;
        background-size: 50%;
        background-repeat: no-repeat;
    }

    .hero-left {
        width: 30%;
        padding-left: 15px;
        text-align: right;
    }

    .hero-right {
        width: 65%;
    }

    h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    h1 span {
        font-size: 2rem;
    }

    .swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-fraction {
        bottom: 30px;
    }
    
    .promociones h3::before {
        content: '';
        position: absolute;
        left: -100px;
        top: 50%;
        transform: translateY(-50%);
        height: 2px;
        width: 60px;
        background-color: var(--red);
    }

    .promociones h3::after {
        content: '';
        position: absolute;
        right: -100px;
        top: 50%;
        transform: translateY(-50%);
        height: 2px;
        width: 60px;
        background-color: var(--red);
    }

    .hero-right {
        position: relative;
    }

    .bg-slide {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: auto;
        z-index: 2;
    }
}


@media (min-width: 1199px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }

    h1 {
        font-size: 4.5rem;
        line-height: 4.5rem;
    }

    h1 span {
        font-size: 3rem;
    }

    .hero-left {
        padding-left: 4rem;
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1600px) {
    .hero {
        background-position: -40% 0;
    }
}
