@media (width <1399px) {
    .ruleta {
        width: 294px;
        height: 295px;
    }

    .triangle,
    .triangle::before,
    .triangle::after {

        margin-left: 106px;
    }
    .tr-p2 {
        margin-top: -195px;
        margin-left: 36px !important;
        transform: translateY(50%) rotate(0deg) skewY(30deg) scaleX(0.866);
    }
    .tr-p3 {
        margin-top: -204px;
    margin-left: 170px !important;
        transform: translateY(50%) rotate(61deg) skewY(30deg) scaleX(0.866);
    }
    .tr-p4 {
        margin-top: -157px !important;
        margin-left: -4px !important;
        transform: translateY(50%) rotate(144deg) skewY(30deg) scaleX(0.866);
    }
    .tr-p5 {
        margin-top: -148px !important;
        margin-left: 218px !important;
        transform: translateY(50%) rotate(85deg) skewY(30deg) scaleX(0.866);
    }

    .circle {
        width: 250%;
        height: 168%;

        margin-left: -76%;
        margin-top: 3%;
        padding: 35px;
    }
}

@media (width <1199px) {
    .botones-index img {
        width: 6.5rem;

    }

    .ruleta {
        width: 239px;
        height: 235px;
    }

    .triangle,
    .triangle::before,
    .triangle::after {

        margin-left: 82px;
    }
    .triangle, .triangle::before, .triangle::after {
    
        margin-top: -213px;
     
    }
    .tr-p2 {
        margin-top: -195px;
        margin-left: 36px !important;
        transform: translateY(50%) rotate(0deg) skewY(30deg) scaleX(0.866);
    }
    .tr-p3 {
        margin-top: -192px;
        margin-left: 130px !important;
        transform: translateY(50%) rotate(61deg) skewY(30deg) scaleX(0.866);
    }
    .tr-p4 {
        margin-top: -144px !important;
        margin-left: -15px !important;
        transform: translateY(50%) rotate(144deg) skewY(30deg) scaleX(0.866);
    }
    .tr-p5 {
        margin-top: -148px !important;
        margin-left: 175px !important;
        transform: translateY(50%) rotate(95deg) skewY(30deg) scaleX(0.866);
    }
    .circle {
        height: 141%;
        margin-left: -76%;
        margin-top: 14%;
    }

    /* SERVICIOS */
    .rating-servicios {
        margin-top: 13px;
    }

    .slider-principal-servicios .descr-servicios {
        min-height: 112px !important;
        font-size: 12px;
    }

    .buttons-servicios {
        margin-top: 0 !important;
    }

    .slider-nav {
        margin-top: 0 !important;
    }

    .carousel-control-next {
        right: -10px !important;
    }
}


@media (width <991px) {

    .container {
        max-width: 95%;
    }

    .asociado-header,
    .fendy-header,

    .afiliate-header {

        bottom: 0px;

    }

    .circle {
        width: 267%;
        height: 147%;
        margin-left: -82%;


    }
    .hamburger {
        cursor: pointer;
      }
      
      .hamburger input {
        display: none;
      }
      
      .hamburger svg {
        /* The size of the SVG defines the overall size */
        height: 3em;
        /* Define the transition for transforming the SVG */
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
      }
      
      .line {
        fill: none;
       
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
        /* Define the transition for transforming the Stroke */
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
      }
      
      .line-top-bottom {
        stroke-dasharray: 12 63;
      }
      
      .hamburger input:checked + svg {
        transform: rotate(-45deg);
      }
      
      .hamburger input:checked + svg .line-top-bottom {
        stroke-dasharray: 20 300;
        stroke-dashoffset: -32.42;
      }
      .navbar-toggler{
        border: 0;
      }
      .navbar-toggler:focus{
        box-shadow: 0 0 0;
      }
    /*------------------------------------
CONTACTENOS INICIO
--------------- ------------------------ */
    .contactanos-header .icon {
        width: 85px;
        height: 85px;
    }

    .contactanos-header h1 {
        font-size: 3rem;
        font-weight: 800;
    }

    .cuadrado {
        width: 200px;
        height: 200px;

    }

    .list_links_info img {
        width: 3.5rem;
    }

    .img-header {
        width: 81% !important;
        margin-top: 0 !important;
    }




    .cuadrado img {
        width: 126%;
        margin-left: -24px;
        margin-top: -23px;
        height: 300px;
        object-fit: contain;
    }


    /*------------------------------------
CONTACTENOS FIN
--------------- ------------------------ */

    /*------------------------------------
CONOCENOS INICIO
--------------- ------------------------ */
    .content-left {

        margin: 100px 0px 100px 10px;
    }

    .section-2 {
        margin-left: 29%;
        padding: 30px 30px;
    }

    .section-2 iframe {
        width: 100%;
    }

    .text {
        padding-right: 24px !important;
    }

    .text * {
        font-size: 13px !important;
    }

    .img-contenido-normal {
        height: auto !important;
    }

    .img-equipo {
        width: 100%;
    }

    /*------------------------------------
CONOCENOS FIN
--------------- ------------------------ */


    /*------------------------------------
SRVICIOS INICIOS
--------------- ------------------------ */


    .carousel-control-next {
        right: -30px;
    }

    /*------------------------------------
SRVICIOS FIN
--------------- ------------------------ */


}

@media (width <900px) {
     .section-2 h2 {
        font-size: 1.6rem;
        text-align: center;
    }
    /*------------------------------------
INICIO HOME Y RULETA 
--------------- ------------------------ */
    .sec1 {
        padding: 20px !important;
    }

    .circle {
        width: 271%;
        height: 125%;
        margin-left: -91%;
        margin-top: 26%;
    }

    .circle3 {
        width: 60px;
        height: 60px;
    }

    .circle3 a img {
        width: 40px;
    }

    .circle4 {
        width: 40px;
        height: 40px;
    }

    .circle4 img {
        padding: 5px;
    }

    .list_links_interes {

        padding: 4px;

        display: flex;
        justify-content: start;
        align-items: center;
        gap: 5px;
        font-size: 12px;
    }

    .list_links_fendy {
        font-size: 13px;
    }

    .ruleta {
        width: 185px;
        height: 185px;
    }

    .triangle,
    .triangle::before,
    .triangle::after {
        margin-left: 51px;
    }
}

@media (width <768px) {

    .sec1 {
        height: 385px
    }

    .sec1 .column1 {
        padding: 0;
    }

    .sec2 {
        height: 305px;
        padding: 0 32px;
    }

    .fendy_categorias {
        font-size: 13px;
        width: 100%;
    }

    .sec3 {
        padding: 45px 6px 25px 7px !important;
        height: auto;
    }

    .info {
        font-size: 12px;
    }

    .info img {
        width: 2rem;
    }

    .circle {
        width: 424px;
        height: 424px;
        margin-left: -29%;
        margin-top: 30%;
    }


    .ruleta {
        width: 165px;
        height: 165px;
        top: -245px;
    }

    .circle-4 {
        margin-top: 115px !important;
        margin-right: 50px !important;
    }

    .circle-1 {
        margin-top: 115px !important;
        margin-left: 50px !important;
    }

    .contenedor {
        width: auto;
        height: auto;
    }

    .triangle,
    .triangle::before,
    .triangle::after {

        margin-top: -280px;
        margin-left: 59px;
        width: 3rem;
        height: 3rem;

    }

    .cabezote img {
        width: 30%;
        height: auto;
        position: absolute;


        top: 0;
    }

    .img-equipo {
        width: 100%;
        height: 260px;
        object-fit: contain;
    }

}

@media (width <700px) {
    .circle {
        width: 160%;
        height: 86%;
        margin-left: -20%;
        padding: 10px;
    }

    .sec3 {
        width: 98%;
    }

    .ruleta {
        width: 185px;
        height: 185px;
        top: -225px;
    }

    .triangle,
    .triangle::before,
    .triangle::after {
        margin-top: -262px;
        margin-left: 75px;

    }


}

@media (width <576px) {

    .container {
        max-width: 100%;
    }

    /*------------------------------------
FIN HOME Y RULETA 
--------------- ------------------------ */
    .carousel-home-responsive {
        width: 100%;
    }

    .carousel-item-home {
    padding: 39px 10px 10px 10px;
    border-radius: 50px;
        height: 500px;
    }

    .carousel-item-home .text-home {
        line-height: 0.9;
    }

    .carousel-item-home .text-home * {
        line-height: 0.9 !important;
    }

    .carousel-item-home .fondo-circulo {
        width: 245px;
        height: 245px;
        border-radius: 50%;
        margin: auto;

    }

    .carousel-item-home .links-interes {
        font-weight: 500;
        text-align: center;
        z-index: 2;
        position: relative;
    }

    .carousel-item-home .list_links_interes {

        padding: 3px 10px;
        justify-content: center;
        gap: 0px;
        font-size: 12px;
        z-index: 2;

    }

    .main-principal-responsive .carousel-control-prev {
        left: 0px;
    }

    .main-principal-responsive .carousel-control-next {
        right: 0px !important;
    }

    .main-principal-responsive .carousel-control-next,
    .main-principal-responsive .carousel-control-prev {
        top: 70px !important;
    }

    .carousel-item-home .img-cabezon-responsive {

        position: absolute;
        bottom: 0;
        margin: 0 auto;
        height: 70%;
        z-index: 1;

    }

    .carousel-item-home .svg-container-home {
        position: absolute;
        top: -17px;
        left: 40px;
    }

    .contenedor-2-responsive {
        margin-top: -90px;
        border-radius: 50px;
        padding: 60px 0 20px 0;

    }

    .contenedor-2-responsive .botones-index img {
        width: 4.5rem;
    }

    .btn-header-responsive {
        background-color: #FFF;
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 5px;
        width: 150px;
        border-radius: 25px;
        padding: 10px 5px 10px 9px;
        text-decoration: none;
    }

    .btn-header-responsive img {
        width: 30px;
    }

    .img-responsive-home {
        border-radius: 50%;
        padding: 5px;
    }

    .gif-responsive-home {
        width: 76px;

        transform: rotate(90deg);
        margin: auto;
        display: block;
        margin-top: 30px;
    }

    
    /*------------------------------------
INICIO NUEVO HOME Y RULETA 
--------------- ------------------------ */























    .main-principal {
        display: none;
    }

    .main-principal-responsive {
        display: grid;


    }

    .contenedor-2-responsive {
        display: block;
    }

    .sec1 {
        border-radius: 30px;
        height: 315px;
    }

    .sec2 {
        border-radius: 30px;
        height: 645px;
    }

    .list_links_fendy {

        width: 90%;
    }

    /* RULETA */
    .wrapper {
        /*    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
        top: -57px;
        /* position: absolute; */
        width: 60px;
        height: 85px;
        margin-top: 85px;
    }

    .circle {
        display: block;
        position: relative;
        padding: 0;
        z-index: 98;
        margin: 0 auto;
        -webkit-box-shadow: 0 6px 10px 0 rgba(189, 189, 189, 0.3);
        box-shadow: 0 6px 10px 0 rgba(179, 179, 179, 0.3);
        border-radius: 50%;
        height: 60px;
        width: 60px;
        /* background-color: #3F51B5; */
        transition: 0.2s;
        text-align: center;
    }

    .circle:active {
        transform: scale(0.9);
        box-shadow: 0 2px 15px 0 rgba(255, 255, 255, 0.3);
    }

    .circle:hover {
        cursor: pointer;
        background-color: #606fc7;
        box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.3);
    }

    .circle .svg {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -15px;
        margin-top: -15px;
        width: 30px;
        height: 30px;
        transition: 0.5s;
        transform: rotate(180deg);
    }

    .sub-circle {
        z-index: 0;
        position: absolute;
        height: 40px;
        width: 40px;
        overflow: hidden;
        border-radius: 50%;
        transition: 0.3s;
        transform: scale(0.5);
        opacity: 0;
        padding: 0.5px;
        margin: 0;
        box-shadow: 0 6px 10px 0 rgba(222, 222, 222, 0.3);
        border: none;
        background-color: #FFF;

    }

    .sub-circle img {
        width: 90%;
        height: 90%;
        border-radius: 50%;
        object-fit: contain;
        padding: 4px;
        margin: 2px 0 0 0;
    }

    .sub-principal {
        height: 45px;
        width: 45px;
    }

    .sub-principal img {}



    .sub-circle label {
        /* background-color: #F50057; */
        display: block;
        color: white;
        width: 100%;
        height: 100%;
        line-height: 40px;
        transition: .5s;
    }

    .sub-circle label:hover {
        cursor: pointer;
        /* background-color: #606fc7; */
    }

    .subs {
        left: -20px;
        top: -50px;
        width: 40px;
        height: 40px;
        text-align: center;
        z-index: 0;
        margin: 0 auto;
        position: relative;
    }

    .hidden-sub-trigger {
        display: none;
    }

    .hidden-sub-trigger:checked~label {
        background-color: #606fc7;
    }

    .hidden-trigger {
        display: none;
    }

    .hidden-trigger:checked~.circle {
        transform: scale(0.9);
        cursor: pointer;
        background-color: #606fc7;
        box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);
    }

    .hidden-trigger:checked~.circle .svg {
        transform: rotate(45deg);
    }

    .hidden-trigger:checked~.subs a:nth-of-type(1) {
        transform: translate(-100px, 0px) scale(1);
        opacity: 1;
        transition: 0.1s;
    }

    .hidden-trigger:checked~.subs a:nth-of-type(2) {
        transform: translate(-75px, -75px) scale(1);
        opacity: 1;
        transition: 0.2s;
    }

    .hidden-trigger:checked~.subs a:nth-of-type(3) {
        transform: translate(0px, -100px) scale(1);
        opacity: 1;
        transition: 0.3s;
    }

    .hidden-trigger:checked~.subs a:nth-of-type(4) {
        transform: translate(75px, -75px) scale(1);
        opacity: 1;
        transition: 0.4s;
    }

    .hidden-trigger:checked~.subs a:nth-of-type(5) {
        transform: translate(100px, 0px) scale(1);
        opacity: 1;
        transition: 0.5s;
    }

    .descrip {
        margin: 0 !important;
        padding: 10px 0 0 0 !important;
    }

    .descrip p {
        text-align: center !important;
    }

    .info {
        text-align: center;
        display: block;
        font-size: 15px;
    }

    .div-links {
        padding: 10px !important;
    }


    .sec3 {
        margin-top: 0px;
        width: 95%;
        border-radius: 30px;
        position: absolute;

    }

    .gif {
        top: 29px;
        position: absolute;
        left: 25px;
        width: 33px !important;
    }







    /*------------------------------------
FIN  NUEVO HOME Y RULETA 
--------------- ------------------------ */
    /*------------------------------------
INICIO CONTACTANOS
--------------- ------------------------ */
    .row-interna {
        margin-top: 20px !important;
    }

    .container-interna {
        margin-bottom: 100px !important;
    }

    .contactanos-header {
        height: 131px;
        border-radius: 25px;
        padding: 10px !important;
    }

    .contactanos-header .icon {
        width: 45px;
        height: 45px;
    }

    .contactanos-header h1 {
        font-size: 2rem;

    }

    .cuadrado {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        margin-top: 115px;
        left: 55px;
        display: flex;
        justify-content: center;
    }

    .cuadrado .svg-container-home {
        position: absolute;
        top: -20px;
        left: 15px;
    }

    .cuadrado .svg-container-home svg {
        width: 35px !important;
        height: 50px !important;
    }

    .cuadrado img {
        width: 96%;
        height: 71%;
        object-fit: contain;
        position: inherit;
        margin: 20px 0 0 0;
    }

    .btn-title {

        width: 130px !important;
    }

    .section-2 {
        margin: 0;
        margin-top: 20px;
        border-radius: 25px;
        min-height: auto
    }

    .btn-flotante.active {
        width: 64px;
        height: 64px;
    }

    .svg-container-contacto {
        float: right;
        margin-top: -16px;
        margin-right: 4px;
    }

    .svg-container-contacto svg {
        width: 60px !important;
    }

    /*------------------------------------
FIN  CONTACTANOS
--------------- ------------------------ */

    /*------------------------------------
INICIO  SERVICOS
--------------- ------------------------ */
    .contendor-creditos-slider {

        margin: 0px 64px 0 30px;

    }

    .btn-flotante-servicios {
        height: 50px !important;
    }

    .btn-flotante-servicios.active {
        width: 65px !important;
        height: 65px !important;
    }

    .btn-volver-convenios {
        margin: 10px 0;
    }

    /*------------------------------------
FIN  SERVICOS
--------------- ------------------------ */

    /*------------------------------------
INICIO  CONOCENOS
--------------- ------------------------ */
    .btn-flotante-conocenos {
        height: 40px !important;
        width: 40px !important;

    }

    .btn-flotante-conocenos.active {
        width: 50px !important;
        height: 50px !important;
    }

    .text {
        padding-right: 0px !important;
    }

    .section-2 {
        min-height: auto !important;
        padding-bottom: 60px;
    }

    .section-2 h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .buttons-flotantes {
        padding: 0 !important;
        gap: 5px !important;
    }

    /*------------------------------------
    INICIO  CONOCENOS
--------------- ------------------------ */
    .main-principal {
        margin-bottom: 50px;
    }

    .row-index {
        margin-bottom: 100px !important;
        margin-top: 30px !important;

    }

    .carousel-control-next {
        right: -41px !important;
    }

    /*------------------------------------
    INICIO  CONOCENOS
--------------- ------------------------ */
    /*------------------------------------
INICIO  CONOCENOS
--------------- ------------------------ */



    /* FOOTER */
    /*------------------------------------
FOOTER INICIO
--------------- ------------------------ */

    .footer .robot-container {
        top: -60px;

    }

    .footer span {
        font-size: 14px;

    }

    .footer .robot-container img {
        width: 100px;

    }

    /*------------------------------------
FOOTER FIN
--------------- ------------------------ */

    /* SISTEMA */
    /*------------------------------------
SISTEMA INICIO
--------------- ------------------------ */
    .menu-cabecera {
        margin-top: 15px;
    }

    .cabecera_sistema {
        padding: 15px 20px 15px 20px;
    }

    .img-servicios {
        margin-top: -15px;
        height: 98px;
    }


    /* CONTENEDOR DE DOCUMENTOS */
    /*------------------------------------
 CONTENEDOR DE DOCUMENTOS  INICIO
--------------- ------------------------ */

    .contenedor-documentos {
        margin: 0 !important;
    }

    .docs-container {
        padding: 0;
    }

    .docs-container .items-docs-row {
        padding: 0;
        margin: 0;
        width: 100% !important;
    }

    .docs-container .cont-docs {
        padding: 0 !important;
    }

    .docs-container .items-docs-row .doc-item-file h4 {
        font-size: 15px;
        text-align: start;
    }

    /*------------------------------------
 CONTENEDOR DE DOCUMENTOS  FIN
--------------- ------------------------ */
    /*------------------------------------
SISTEMA FIN
--------------- ------------------------ */

}
@media (width <370px) {

.carousel-item-home .list_links_interes{
    padding: 1px;
}
}