* {
    margin:  0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background:rgb(82, 150, 214);
}

.carousel {
    min-height: 100vh;
    transition: ease-in-out .5s;
    position: relative;


}
.carousel.first {
    background: url(../img/carousel-1.jpg) center no-repeat;
    background-size: cover;

}
.carousel.second {
    background: url(../img/carousel-2.jpg) center no-repeat;
    background-size: cover;

}
.carousel.third {
    background: url(../img/carousel-3.jpg) center no-repeat;
    background-size: cover;
}
.carousel-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}
.image-replacement {
    text-indent: -9999px;
    width: 900px;
    height: 171px;
    background: url("../img/logo-light.png") no-repeat bottom;
    background-size: contain;
    margin: 0 auto;
}

.content__description {
    margin-top: 2rem;
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 2.5em;
    font-weight: 400;
}

.double-cta {
    margin-top: 2.7rem;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-block;
    background: rgb(82, 150, 214);
    position: absolute;
    white-space: nowrap;
    border-radius: 10px 10px 0 0;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.double-cta .cta {
    padding: 25px 35px;
    transition: .2s;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.192);
    cursor: pointer;
}
.double-cta .cta:nth-child(1) {

    border-right: 1px solid white;
}

.cta:hover {
    background: rgb(53, 98, 141);
}

.whatsapp__call {
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-top: 4em;
    font-size: 1.5em;
}
.whatsapp__call > strong {
    color:rgb(41, 243, 115);
}
.whatsapp {
    display: block;
    text-align: center;
    margin-top: 1em;
}
.whatsapp__img {
    height: 80px;
    width: 80px;
    animation: jump 1.4s linear alternate infinite;
}


@keyframes jump {
    0% {
        transform: rotate(25deg) scale(.9) skew(1deg)
    }
    10% {
        transform: rotate(-25deg) scale(.95) skew(1deg)
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    30% {
        transform: rotate(-25deg) scale(.95) skew(1deg)
    }
    40% {
        transform: rotate(25deg) scale(.9) skew(1deg)
    }
    50% {
        transform: rotate(0) scale(.95) skew(1deg)
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg)
    }
}

.about {
    color: white;
    display: grid;
    grid-template-columns: 4fr 6fr;
    align-items: center;
    gap: 50px;
    padding: 0 calc((100% - 1200px)/2);
}
.about__item {
    flex: 1 1 0;
}
.about img {
    max-width: 100%;
    display: block;

}
.about p, .about__cta a {
    font-size: 1.1em;
    margin-bottom: 1.2em;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}
.about__cta a {
    color: white;
}
h2 {
    font-size: 3em;
    font-weight: 500;
    color: white;
    text-align: center;
    margin: 1em 0;
    font-family: 'Montserrat', sans-serif;
}
.whatsapp-about {
    text-align: center;
}
.whatsapp-about .whatsapp__img {
    margin: 0 auto;
}
footer {
    background-color: rgb(255, 255, 255);
    padding: 1.5em 2em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    color: rgb(20, 20, 20);
    font-family: 'Montserrat', sans-serif;
    margin-top: 3em;

}
footer p {
    margin: .5em 0;
    text-align: center;
    flex: 1 1 300px;
}
footer a{
    color: rgb(53, 93, 158);
    text-decoration: none;
}
@media(min-height:720px) {
    .carousel-content{
        padding-top: 4em;
    }
}
@media(max-height:720px) {
    .whatsapp__call {
        margin-top: .8em;
    }
}
@media(max-width: 1400px) {
    .image-replacement {
        width: 700px;
        height: 171px;
    }
    .content__description {
        font-size: 1.8em;
        /* margin-bottom: 1em; */
    }
}
@media(max-width: 1000px) {
    .image-replacement {
        width: 600px;
        height: 146.67px;
    }
    .content__description {
        font-size: 1.8em;
    }

    h2 {
        font-size: 2em;
    }
}
@media(max-width: 850px) {
    .about {
        padding: 0 20px;
        display: block;
    }
    .about img {
        max-width: 80%;
        margin: 0 auto;
        margin-bottom: 1em;
    }
}

@media(max-width: 650px) {
    .image-replacement {
        width: 400px;
        height: 97.67px ;
    }
    .content__description {
        font-size: 1.3em;
    }
    .double-cta {
        margin-top: 2.7rem;   
    }
    .double-cta .cta {
        padding: 15px 25px;
        font-size: 1.2em;
    }
    h2 {
        font-size: 2em;
    }
}

@media(max-width: 450px) {
    .image-replacement {
        width: 300px;
        height: 73.25px ;
        padding-top: .4em;
        margin-bottom: 1em;
    }
    .content__description {
        margin-right: 10px;
        margin-left: 10px;
        margin-top: .5em;
    }
    .double-cta .cta {
        padding: 15px 25px;
        font-size: 1.1em;
        display: block;
    }
    .double-cta .cta:nth-child(1) {
        border-right: none;
        border-radius: 10px 10px 0 0;
        border-bottom: 1px solid white;
    }
    .double-cta .cta:nth-child(2) {
        border-right: none;
    }

}