* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.btn-whats {
    background-image: url(../img/whatsapp.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 65px;
    right: 15px;
    z-index: 999;
}

.banner {
    background-image: url(../img/bannerRooms-max551.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 280px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .banner_titule {
    width: 100%;
    height: auto;
    position: center;
    text-align: center;
    margin-top: 60px;
}

.banner h1 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    color: #FFF;
    font-size: calc(30px + 0.5vw);
    letter-spacing: 6px;
}

.marcaHabit {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.marcaHabit img {
    width: 80%;
}

#marcaHab {
    width: 90%;
    position: absolute;
    transform: translateY(-23px);
    z-index: -999;    
}

.containerHabit {
    width: 100%;
    height: calc(550px + 10vw);
}

.bannerCard {
    background-color: #FFF;
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.textContBanner {
    width: 70%;
    height: 60%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tituleHabit {
    width: 90%;
    height: 60%;
}

.tituleHabit h3 {
    color: #3C6C76;
    font-family: Montserrat;
    font-size: calc(16px + 5vw);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
}

.characteristicsHabit {
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
}

.containerChar {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.containerChar img {
    width: auto;
    height: 70%;
}

.containerChar p {
    width: auto;
    height: 30%;
    color: #3C6C76;
    text-align: center;
    font-family: Montserrat;
    font-size: 6px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
}

.rectangleChar {
    background-color: #3C6C76;
    width: 1.5px;
    height: 70%;
    opacity: 0.3;
}

.textCard {
    width: 100%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.imgCard {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 80%;
    height: 55%;
    margin-top: -20px;
}

#KanStudio {
    background-image: url(../img/KanStudio-max551.png);
}

#ChojStudio {
    background-image: url(../img/ChojStudio-max551.png)
}

#BooxStudio {
    background-image: url(../img/BookStudio-max551.png);
}

#YaaxStudio{
    background-image: url(../img/YaaxStudio-max551.png)
}

.bodyTextCard {
    width: 80%;
    height: 45%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
}

.bodyTextCard p{
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: calc(11px + 1vw);
    font-style: normal;
    font-weight: 500;
}

.bodyTextCard span {
    font-weight: bolder;
}

.bodyTextCard a {
    background-color: #FCD142;
    border: none;
    width: 70%;
    height: 35px;
    color: #3C6C76;
    font-family: Montserrat;
    font-size: calc(11px + 1vw);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#marcaHabFi {
    justify-content: flex-start;
    padding-top: 20px;
}

#marcaHabFinal {
    width: 80%;
    position: absolute;
    transform: translateY(150px);
    z-index: -999;    
}

.marcaHabit h3 {
    margin-top: 15px;
    width: 65%;
    color: #FCD142;
    text-align: center;
    font-family: Montserrat;
    font-size: calc(15px + 2vw);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.marcaHabit span{
    color: #3C6C76;
}

@media screen and (min-width:420px) {
    .imgCard {
        margin-top: -40px;
    }

    .containerHabit {
        width: 100%;
        height: calc(650px + 10vw);
    }

    .bodyTextCard button {
        width: 60%;
    }
    
    .marcaHabit h3 {
        width: 58%;
    }
}

@media screen and (min-width:510px) {
    .marcaHabit h3 {
        width: 55%;
    }

    #marcaHabFi {
        height: 250px;
    }

    #marcaHabFinal {
        transform: translateY(190px); 
    }

    .bodyTextCard p {
        margin-top: 5px;
        font-size: calc(10px + 1vw);
    }
}

@media screen and (min-width: 551px) {
    .banner h1 {
        font-size: calc(39px + 0.5vw);
        letter-spacing: 15px;
    }

    .banner {
        background-image: url(../img/bannerRooms-max800.png);
    }

    .bodyTextCard button {
        height: 50px;
        font-size: calc(10px + 1vw);
    }

    #KanStudio {
        background-image: url(../img/KanStudio-max800.png);
    }
    
    #ChojStudio {
        background-image: url(../img/ChojStudio-max800.png)
    }
    
    #BooxStudio {
        background-image: url(../img/BookStudio-max800.png);
    }
    
    #YaaxStudio{
        background-image: url(../img/YaaxStudio-max800.png)
    }
}

@media screen and (min-width:650px) {
    .containerHabit {
        width: 100%;
        height: calc(850px + 10vw);
    }

    .bodyTextCard p {
        margin-top: 35px;
        font-size: calc(10px + 1.5vw);
    }
}

@media screen and (min-width:800px) {
    .btn-whats {
        bottom: 20px;
    }

    .banner {
        background-image: url(../img/bannerRooms-max1300.png);
    }

    .marcaHabit {
        height: 25px;
        margin-top: 60px;
    }

    #marcaHab {
        visibility: visible;
        transform: translateY(-70px);
    }

    .marcaHabit h3 {
        text-align: center;
        margin-top: 30px;
    }

    .marcaHabit img {
        width: 90%;
    }

    .containerHabit {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        height: calc(300px + 10vw);
    }

    .bannerCard {
        height: 30%;
        justify-content: end;
    }

    .textContBanner {
        width: 45%;
        margin-right: 30px;
    }

    .tituleHabit {
        margin-bottom: 10px;
    }

    .tituleHabit h3 {
        font-size: calc(2px + 4vw);
    }

    .textCard {
        margin-top: -95px;
        flex-direction: row;
        width: 85%;
        height: 65%;
        margin-bottom: -50px;
    }

    .imgCard {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 75%;
        height: 95%;
    }

    .bodyTextCard {
        width: 85%;
        padding-top: 20px;
        margin-left: 30px;
    }

    .bodyTextCard p {
        margin-left: 20px;
        font-size: calc(9px + 0.5vw);
    }

    .bodyTextCard a {
        padding: 15px 0;
        width: 50%;
        font-size: calc(3px + 1vw);
    }

    #marcaHabFinal {
        visibility: hidden;
    }

    .characteristicsHabit {
        height: 50%;
    }

    .containerChar p {
        font-size: 7px;
        margin-top: 5px;
    }
}

@media screen and (min-width:1100px) {
    .textContBanner {
        width: 35%;
        margin-right: calc(95px + 5vw);
    }

    .tituleHabit h3 {
        font-size: calc(2px + 3vw);
    }

    .characteristicsHabit {
        height: 65%;
    }

    .containerChar p {
        font-size: 9px;
    }

    .imgCard {
        width: 65%;
        height: 100%;
    }

    #marcaHabFi {
        height: 350px;
    }

    .marcaHabit h3 {
        margin-top: 80px;
    }
    
    .bodyTextCard p {
        font-size: calc(10px + 0.5vw);
    }
}

@media screen and (min-width:1900px) {
    .marcaHabit {
        margin-bottom: 70px;
    }

    .containerHabit {
        height: 550px;
    }

    .bodyTextCard {
        padding: 0 80px;
    }

    .textContBanner {
        margin-right: 260px;
    }

    .textCard {
        height: 70%;
    }
}