@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700&display=swap');
@import url(./typography.css);

*{
    margin:0;
    padding:0;
}

:root {
    --padding-container: 0 80px;
}

html{
    scroll-behavior: smooth;
    max-width: 1920px;
    margin: 0 auto;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container-body {
    width: 100% !important;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.header {
    width: 100%;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows:1fr;
    color: #fff;
    position: relative;
}

.slider{
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
}

.slider__body{
    display: flex;
    width: 300%;
    margin-left: -100%;
    height: 100%;
}

.slider__slide-container{
    width: 100%;
    height: 100%;
    padding-bottom: 170px;
    position: relative;
    border-bottom-left-radius: 40%12%;
    border-bottom-right-radius: 40%12%;
    max-height: 100%;
    overflow: hidden;
}

.slider__slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider__background{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(53, 53, 53, 0.8);
}

.slider__image-container{
    position: absolute;
    width: 100%;
    z-index:-2;
}

.slider__image{
    height: auto;
    width: 100%;
}

.slider__text{
    position: absolute;
    bottom: 0;
}

.slider__title {
    color: #ECB43B;
    font-size: var(--display-M);
    line-height: var(--lh-L);
}

.slider__subtitle {
    color: #fff;
    font-size: var(--display-M);
    line-height: var(--lh-L);
}

.float{
    position: fixed;
    height: 100px;
    width: 100px;
    bottom:40px;
	right:40px;
    background-color: #45C655;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floating 3s ease-in-out infinite
}

.float-widget{
    position: fixed;
    height: 64px;
    width: 64px;
    top:30%;
	right:0px;
    background-color: #ECB43B;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-top-left-radius: 16px;
    margin: 0 auto;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap:4px;
    color: #353535;
}

.float-widget--quoter{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 16px;
    top: calc(66px + 30%);
}

.float__img{
    max-width: 16px;
    max-height: 16px;
}

.float__text{
    font-size: 10px;
}

/* @media (min-width: 1921px){
    .float{
        display: none;
    }
} */

@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 10px); }
    100%   { transform: translate(0, -0px); }   
}

.float__icon{
    position: absolute;
}

.scroll-container{
    position: absolute;
    bottom: -32.5px;
    width: 100%;
}

.header__scroll {
    background-color: #ECB43B;
    border-radius: 50%;
    height: 65px;
    width: 65px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll--up{
    transform: rotate(-180deg);
    top:-32.5px;
    margin-top: -65px;
}

.pagination{
    position: absolute;
    bottom:10%;
    width: 100%;
}

.pagination__items{
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

.pagination__item{
    height: 12px;
    width: 12px;
    border-radius: 10px;
    background-color: #ECB43B;
    transition: width 3s;
}

.pagination__item--selected{
    width: 46px;
}

/* Mobile */

@media only screen and (max-width:768px) {
    .container-body{
        padding:0 24px;
    }

    .slider__title{
        font-size: var(--body);
        line-height:normal
    }

    .slider__subtitle{
        font-size: var(--body);
        line-height: normal;
    }

    .header{
        min-height: 200px;
    }

    .slider__slide-container{
        padding-bottom: 40px;
    }

    .slider__image{
        min-height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .pagination__item{
        width: 8px;
        height: 8px;
    }

    .pagination__item--selected{
        width: 24px;
    }

    .scroll-container{
        display: none;
    }

    .float{
        height: 64px;
        width: 64px;
        bottom: 24px;
        right: 24px;
    }

    .float__icon{
        width: 33px;
        height: 33px;
    }

    .float__phone{
        width: 13px;
        height: 13px;
    }

    .float-widget{
        display: flex;
    }
}

