@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

/*Estilos predefinidos*/
.grandTitles{
    font-size: 150%;
    font-weight: 500;
}
.titles{
    font-size: 1.2em;
    font-weight: 700;
}
.subtitles{
    font-size: 1em;
    font-weight: 500;
}
.smallTX{
    font-size: .8em;
    font-weight: 500;
}

/*-----------------UTILIDADES--------------------*/
/*WIREFRAME: para mostrar un borde en los elementos,
sólo hay que agregar la clase wf a los elementos en el HTML.
Se puede borrar sin afectar el sitio*/
.wf{
    border: 1px solid red;
}

/*Agrega la barra de links en la parte de abajo del sitio, para
facilitar el cambiar las vistas.
ELIMINAR ANTES DE PONER SITIO EN LINEA*/
.control{
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    z-index: 3;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    box-shadow: 1px 1px 8px #acacac;

    a{
        flex-grow: 1;
        flex-shrink: 1;
        text-align: center;
    }
}



/*TARJETAS DE LA VISTA PRINCIPAL*/
.card{
    display: flex;
    flex-wrap: wrap;
    height: 350px;
    width: 30%;
    min-width: 350px;
    max-width: 550px;
    margin: 30px;
    border-radius: 15px;
    background-color: #fff;

    .cardSec1{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 35%;
        padding: 15px 25px;
        justify-content: center;
        align-items: center;
        border-radius: 15px 15px 0 0;
        text-align: center;
    }
    .cardSec2{
        position: relative;
        height: 65%;
        width: 100%;
        padding: 15px;
        display: flex;
        align-items: center;
        flex-direction: column;

        form{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;
            height: 35%;

            input{
                border-radius: 7px;
                border: none;
                box-shadow: 1px 1px 8px #acacac;
                width: 90%;
                padding: 10px;
                margin: 10px;
                font-size: 95%;
                
            }

            .button{
                padding: 8px 30px;
                border: none;
                margin: 10px;
                border-radius: 10px;
                color: #fff;
                font-size: 1.3em;
                cursor: pointer;
                box-shadow: 1px 1px 15px #d6d6d6;
            }
            button:hover{
                filter: brightness(1.1);
            }
        }
        
        p{
            text-align: center;
            position: absolute;
            left: 0;
            bottom: 0;
            color: #838383;
            padding: 5px;
        }
    }
}
.card:hover{
    box-shadow: 1px 1px 15px #d6d6d6;
    transition: .1s ease-in;
}

/*Estilos específicos de la tarjeta de solicitar servicio (AZUL)*/
#solicitarServicio_card{
    .cardSec1{
        background-color: #005db9;
        color: #fff;
    }
    .cardSec2{
        form{
            button{
                background-color: #005db9;
            }
        }
    }
}

/*Estilos específicos de la tarjeta de Buscar Ticket (VERDE)*/
#buscarTicket_card{
    .cardSec1{
        background-color: #76bd22;
        color: #fff;
    }
    .cardSec2{
        form{
            button{
                background-color: #76bd22;
            }
        }
    }
}

/*Estilos específicos de la tarjeta de COLIBECAS (MAGENTA)*/
#colibecasBox{
    .cardSec1{
        background-color: #cd0077;
        color: #fff;
    }
    .cardSec2{
        .button{
            background-color: #cd0077;
            width: 250px;
            height: 80px;
            text-align: center;
            align-content: center;
            border: none;
            border-radius: 10px;
            color: #fff;
            font-size: 1.3em;
            margin: auto;
            text-decoration: none;
            box-shadow: 1px 1px 15px #d6d6d6;
        }
    }
}

/*Estilos de las tarjetas de error y registro exitoso*/
.response-card{
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    width: fit-content;
    max-width: 450px;
    min-width: 300px;
    margin: 30px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 1px 1px 15px #d6d6d6;

    .response-cardSec1{
        display: flex;
        width: 100%;
        height: fit-content;
        padding: 15px 25px;
        justify-content: center;
        align-items: center;
        border-radius: 15px 15px 0 0;
        text-align: center;
        color: #fff;

        h2{
            font-size: 1.2em;
            text-align: center;
        }
    }

    .response-cardSec2{
        height: fit-content;
        width: 100%;
        padding: 15px;
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        color: #676767;

        .warning{
            width: 80%;
            height: fit-content;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            margin: 20px;

            img{
                width: 20%;
                min-width: 80px;
                
                margin: 10px;
            }

            .warning-txt{
                width: 70%;
                text-align: center;
                font-size: 1em;
                line-height: 1;
            }
        }
    }

    /*Define el color del header de las tarjetas de error*/
    .error{
        background-color: #ff6e6f;
    }
    /*Define el color del header de la tarjeta de registro exitoso*/
    .success{
        background-color: #76bd22;
    }
}

/*Aquí están los estilos del layout de la página*/
body{
    background-color: #f0f3f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;  
}
header{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    padding: 10px;
    top: 20px;
    width: 90%;
    height: fit-content;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 1px 1px 15px #d6d6d6;
    z-index: 1;

    #back_btn{
        display: flex;
        position: absolute;
        left: 15px;
        height: 70px;
        width: 70px;
        border-radius: 10px;
        padding: 15px;
        background-color: #76bd22;
    }

    .title{
        display: flex;
        justify-content: right;
        align-items: center;
        height: 70px;
        width: 60%;

        h1{
            color: #005db9;
            margin-right: 20px;
        }

    }
}
.main{
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;  
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding-top: 140px;

    .msj{
        display: flex;
        justify-content: center;
        text-align: center;
        color: #505050;
        box-shadow: 1px 1px 15px #d6d6d6;

        .infoCardText{
            display: flex;
            padding: 15px;
            height: 100%;
            color: #505050;
            font-size: 18px;
            justify-content: center;
            align-items: center;

        }

    }
}
.footer{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #505050;
    color: #fff;

    .footer_elements{
        display: flex;
        justify-content: space-around;
        align-items: center;
        text-align: center;
        font-weight: 300;
        height: 100%;
        width: 100%;
        /*padding: 15px;*/

        .ati_links{
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 20%;
            min-width: 220px;
            justify-content: center;
            align-items:center;

            a{
                width: 60%;
                
                img{
                    width: 100%;
                }
            }

            .redes{
                display: flex;
                flex-wrap: nowrap;
                justify-content: center;
                align-items: center;
                width: 100%;
                max-width: 300px;

                a{
                    margin: 5px;
                    width: 30%;

                    img{
                        width: 100%;
                        max-width: 60px;
                    }
                }
            }
        }

        .main-info{
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 75%;

            .info{
                display: flex;
                flex-wrap: wrap;
                justify-content: space-evenly;
                align-items: center;
                /* padding-top: 20px; */
                height: 90%;

                .info-item{
                    font-size: .8vw;

                    a{
                        img{
                            width: 40%;
                            margin-top: 5px ;
                        }
                    }
                }
            }
        }
    }
}

/*Responsivo*/

@media only screen and (min-width: 2560px){
}
@media only screen and (max-width: 1440px){
    .footer{
        height: min-content;

        .footer_elements{
            
            .ati_links{
                
                a{
                    width: 100%;
    
                    img{
                        width: 150px;
                    }
                }
                .redes{
                    width: 100%;
    
                    a{
                        img{
                            width: 65%;
                        }
                    }
    
                }
            }

            .main-info{
                .info{
                    .info-item{
                        font-size: 1vw;
                        margin-bottom: 15px;
                    }
                }
            }
        }
    }
}

@media only screen and (max-width: 1024px){
    .card{
        min-width: 450px;
    }
}

@media only screen and (max-width: 853px){

}
@media only screen and (max-width: 768px){
    .footer{
        flex-direction: column;
        height: min-content;

        .footer_elements{
            flex-direction: column;
    
            .ati_links{
                width: 100%;
                
                a{
                    height: auto;
    
                    img{
                        width: 200px;
                    }
                }
                .redes{
                    width: 100%;
    
                    a{
                        img{
                            width: 50px;
                        }
                    }
    
                }
            }

            .main-info{
                
                .info{
                    flex-direction: column;
                    
                    .info-item{
                        font-size: 3vw;
                        margin-bottom: 15px;
                    }
                }
            }
        }
    }
}
@media only screen and (max-width: 600px){
    .footer{
        flex-direction: column;
        height: min-content;

        .footer_elements{
            flex-direction: column;
    
            .ati_links{
                width: 100%;
                
                a{
                    height: auto;
    
                    img{
                        width: 200px;
                    }
                }
                .redes{
                    width: 100%;
    
                    a{
                        img{
                            width: 50px;
                        }
                    }
    
                }
            }
        }
        p{
            text-align: center;
        }
    }
}
@media only screen and (max-width: 440px){
    
}
