
@font-face {
    font-family: Poppin;
    src: url("../fonts/Poppins.ttf");
}

:root{
    --dark1:#0c0c0c8c;
    --bg1: #202022;
    --bg2: #2d2e32;
    --bg3: #25262a;
    --gr1: #64f4ac;
    --gr2: #64f4acea;
    --gr3: rgb(100, 244, 172, .7);
    --grnbg1:#05ff82;
    --grnbg2:#15eb80;
    --grnbg3:rgb(3, 252, 128, .4);
    --white1:#fff;
    --white2:#ccc;
    --white3:rgb(129, 129, 129);
    --red1:#ff0000;
    --red2:rgb(255, 0, 0, .4);

    --poppin: Poppin;
    --box-width: 400px;
}

body{
    margin: 0px;
    padding: 0px;
}

.tymonial-loader{
    width: 50px;
    height: 50px;
    transform: scale(.50);
    border-radius: 50%;
    border-top: 5px solid #202022;
    border-bottom: 5px solid #202022;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    animation: spin .5s infinite;
    transition: .2s all ease;
}

@keyframes spin {
    0%{
        transform: rotate(360deg) scale(.70);
    }
    100%{
        transform: rotate(0deg) scale(.70);
    }
}

.tymonial-container-element{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TYMONIAL STYLING BEGIN */

#tymonial-cont{
    width: 100%;
    height: auto;
    position: relative;
    top: 0px;
    left: 0px;
    font-family: Poppin;
    padding: 12px;
}

/* Head */

#tymonial-cont #tymonial-head{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#tymonial-cont #tymonial-head #heading{
    font-size: 12px;
    color: #05ff82;
    font-weight: 900;
    margin:0px;
}


#tymonial-cont #tymonial-head #sub-heading{
    font-size: 20px;
    color: #ccc;
    font-weight: 900;
    margin:0px;
}


/* Slider */

#tymonial-cont #tymonial-slider{
    width: 100%;
    height: auto;
    display: grid;
    grid-auto-flow: column;
    overflow-x: scroll;
    overflow: scroll;
    white-space: nowrap;
    scroll-behavior: smooth;
}

#tymonial-cont #tymonial-slider::-webkit-scrollbar{
    display: none;
}

#tymonial-cont #tymonial-slider .tymonial-box{
    width: var(--box-width) !important;
    height: auto;
    max-height: 250px;
    border-radius: 12px;
    padding: 20px;
    background: var(--bg2);
    position: relative;
    transform: scale(.90);
    margin: 15px;
}


#tymonial-cont #tymonial-slider .tymonial-box .top{
    width: 100%;
    height: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0px;
    padding: 0px;
    display: flex;
    align-items: start;
    flex-direction: column;
    margin-top: 25px;
} 

#tymonial-cont #tymonial-slider .tymonial-box .tymonial-quote{
    position: absolute;
    top: 10px;
    right: 20px;
    width: 60px;
    opacity: .2;
    transform: scale(.60);
}

#tymonial-cont #tymonial-slider .tymonial-box .top .body{
    font-size: 15px;
    font-weight: 500;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--white1);
    font-weight: 600;
}

#tymonial-cont #tymonial-slider .tymonial-box .top .tymonial-userImage{
    width: 50px;
    position: absolute;
    top: -20px;
    left: 20px;
    padding: 0px;
    border-radius: 50%;
    background: var(--bg3);
}

/* Bottom */
#tymonial-cont #tymonial-slider .tymonial-box .bottom{
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    bottom: 20px;
    right: 0px;
    margin: 0px auto;
}

#tymonial-cont #tymonial-slider .tymonial-box .bottom .info{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0px 0px 0px 10px;
    margin: 0px 0px 0px 10px;
}


#tymonial-cont #tymonial-slider .tymonial-box .bottom .info .name{
    font-weight: 700;
    color: var(--white2);
    margin: 0px;
    text-transform: capitalize;
}

#tymonial-cont #tymonial-slider .tymonial-box .bottom .info .career{
    font-weight: 300;
    color: var(--white3);
    font-size: 14px;
    margin: 0px;
    text-transform: capitalize;
}

#tymonial-cont #tymonial-slider .tymonial-box .bottom #ratings{
    padding: 0px;
    margin-right: 20px;
}

#tymonial-cont #tymonial-slider .tymonial-box .bottom .rating-icon{
    color: #05ff82;
    width: 15px;
}

/* CONTROLS */

#tymonial-cont #tymonial-control{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;

}

#tymonial-cont #tymonial-control .tymonial-btn{
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 0px;
    outline: 0px;
    margin: 10px;
    cursor: pointer;
    background: #2d2e32;
    color: var(--white2);
}

#tymonial-cont #tymonial-control .tymonial-btn .icons{
    width: 20px;
}
