@media screen and (min-width:320px) {

    .main-servicios{
        margin-top: 45px;
    }
    .ute{
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
        background-color: #01afd2;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    

    .ute-text h3{
        text-align: center;
        padding-top: 20px;
        color: #000;
        font-weight: 700;
        font-size: 3rem;
        line-height: 1.2;
    }

    .ute-section{
        width: 100%;
        margin: 15px;
        padding: 15px;
        font-size: 25px;
        border: 1px solid rgba(0, 0, 0, 0.432);
        border-radius: 5px;
    }

    .ute-section a{
        text-decoration: none;
        color: #f1f1f1;
    }

    .ute-section a:hover{
        color: #01afd2;
        opacity: 0.8;
    }

    .ute-card, .ute-card2{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }


    .boton-servicios{
        width: 250px;
        margin-top: 30px;
        background-color: #01afd2;
        border: 1px solid #002c58;
        padding: 25px;
        border-radius: 15px;
        text-align: center;
        font-size: x-large;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

    .boton-servicios a{
        font-size: x-large;
        color: #f1f1f1;
        text-decoration: none;
    }

    .boton-servicios:hover{
        background-color: #002c58;
        cursor: pointer;
  
    }

/*---------------------------------------------------*/
    .servicios{
        background-image: url(../img/servicios/control_flota.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }
    .servicios:hover{
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;

    }

    .servicios p{
        text-align: center;
        margin-top: 90px;
    }
    /*----------------------------------------------*/

    .registro_trabajo{
        background-image: url(../img/Gestion_UTE/registro.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }
    .registro_trabajo:hover{
        cursor: pointer;
        opacity: 0.8;
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;
    }

    .registro_trabajo p{
        text-align: center;
        margin-top: 90px;
    }

    .registro_trabajo a{
        text-decoration: none;
        color: #f1f1f1;
    }

    .registro_trabajo a:hover{
        color: #01afd2;
    }


    /*----------------------------------------------*/

    .parte_hielo{
        background-image: url(../img/Gestion_UTE/hielo.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }

    .parte_hielo:hover{
        cursor: pointer;
        opacity: 0.8;
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;
    }

    .parte_hielo p{
        text-align: center;
        margin-top: 90px;
    }
    /*----------------------------------------------*/

    .parte_trabajo{
        background-image: url(../img/Gestion_UTE/trabajo.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }

    .parte_trabajo:hover{
        cursor: pointer;
        opacity: 0.8;
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;
    }

    .parte_trabajo p{
        text-align: center;
        margin-top: 90px;
    }
    /*----------------------------------------------*/

    .control_stock{
        background-image: url(../img/Gestion_UTE/stock.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }
    .control_stock:hover{
        cursor: pointer;
        opacity: 0.8;
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;
    }

    .control_stock p{
        text-align: center;
        margin-top: 90px;
    }


    /*******************************************************/

    .servicios-flota{
        background-image: url(../img/servicios/control_flota.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }

    .servicios-flota:hover{
        cursor: pointer;
        opacity: 0.8;
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;
    }

    .servicios-flota p{
        text-align: center;
        margin-top: 90px;
    }



    .meteo{
        background-image: url(../img/servicios/Isobaras.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        color: #f1f1f1;
        font-size: xx-large;
        font-weight: 700;
        transition: width 0.25s ease-out, transform 0.25s ease-out;
    }

    .meteo:hover{
        cursor: pointer;
        opacity: 0.8;
        width: 20%;
        height: 250px;
        transform: scale(0.8);
        cursor: pointer;
        opacity: 0.8;
        color: #01afd2;
    }

    .meteo p{
        text-align: center;
        margin-top: 90px;
    }

    .meteo a{
        color: #000;
    }









    /*----------------------------------------------*/
      /*------------Flip cards------------------*/
      .card1, .card2{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 35px;
    }

    
.flip-card {
    background-color: transparent;
    width: 80%;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background-color: transparent;
    color: black;
  }
  .flip-card-front img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
  }

  .flip-card-front h1{
    position: absolute;
    top: 75px;
    color: #f1f1f1;
  }
  
  .flip-card-back {
    background-color: #01afd2;
    color: white;
    transform: rotateY(180deg);


  }

  .flip-card-back h1, p{
    margin: 30px;
}


  .flip-card-back p{
      margin-top: 60px;
      font-size: large;
}
   .flip-card-back a{
    text-decoration: none;
    font-size: 24px;
    color:#f1f1f1;
    border: 1px solid #002c58a8;
    padding: 10px;
    border-radius: 15px;
   }

   .flip-card-back a:hover{
    background-color: #002c58;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
   }

.inicial-flip-card{
        width: 100%;
        height: 250px;
        margin: 25px;
        color: #000;
        font-size: xx-large;
        font-weight: 700;
        cursor: pointer;
}

}





/**********************************************************************/
@media screen and (min-width:760px) {

    .ute{
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
        background-color: #01afd2;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }


    .ute-section{
        width: 20%;
        margin: 25px;
        padding: 15px;
        font-size: 25px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.432);
        border-radius: 5px;
    }

    .ute-text h3{
        text-align: center;
        margin: auto;
        padding-bottom: 20px;
    }

      /*------------Flip cards------------------*/
      .card1, .card2{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 35px;
    }

    
.flip-card {
    background-color: transparent;
    width: 80%;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background-color: transparent;
    color: black;
  }
  .flip-card-front img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
  }

  .flip-card-front h1{
    position: absolute;
    top: 75px;
    left: 0;
    color: #000;
    padding: 10px;
  }
  
  .flip-card-back {
    background-color: #01afd2;
    color: white;
    transform: rotateY(180deg);


  }

  .flip-card-back h1, p{
    margin: 30px;
}


  .flip-card-back p{
      margin-top: 60px;
      font-size: large;
}
   .flip-card-back a{
    text-decoration: none;
    font-size: 24px;
    color:#f1f1f1;
    border: 1px solid #002c58a8;
    padding: 10px;
    border-radius: 15px;
   }

   .flip-card-back a:hover{
    background-color: #002c58;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
   }

.inicial-flip-card{
        width: 40%;
        height: 250px;
        margin: 25px;
        color: #000;
        font-size: xx-large;
        font-weight: 700;
        cursor: pointer;
}

      }



    
