/*fuentes*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/*Estilos de textos*/
h1 {
    font-family: 'lato', sans-serif;
}

h2 {
    font-family: 'lato', sans-serif;
}

h3 {
    font-family: 'lato', sans-serif;
}

h4 {
    font-family: 'lato', sans-serif;
}

p {
    font-family: 'lato', sans-serif;
}

span {
    font-family: 'lato', sans-serif;
}

/*Inicio header*/
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px; 
    width: 100%; 
    box-sizing: border-box; 
    /* Se elimina position: relative (que afectaba al resto) */
    /* position: relative; */ 
}

.gsuite {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px; 
    
    /* Mueve G Suite completamente a la derecha */
    margin-left: auto; 
    /* Se elimina margin-right (si lo tuviera), solo necesitamos el empuje a la izquierda */
    /* margin-right: auto; */ 
}

.gsuite a i {
    height: 20px;
    margin: 0 5px; 
    transition: 0.1s;
}

.gsuite a i:hover {
    transform: scale(1.5);
    transition: 0.1s;
}

.gsuite a img {
    height: 20px;
    margin: 0 5px; 
    transition: 0.1s;
}

.gsuite a img:hover {
    transform: scale(1.5);
    transition: 0.1s;
}

/*fin header*/
.logo {
    width: 80px;
    margin-left: 30px;
    margin-right: 30px;
}

body {
    background-image: url("/assets/Backend.png");
    background-size: 60%;
    background-color: aliceblue;
    padding: 0px 30px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    height: fit-content;

}

.contenedor0 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.contenedor1 {
    justify-content: space-between;
    padding: 5px;
    width: auto;
    margin: 0px 0 0 0;
}

.contenedor2 {
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.06);
    background-color: white;
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    background-color: #8d0000;
    color: white;
}

.contenedor3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos del buscador */
.buscador {
    width: 100%;
    margin: 30px 0 5px 0;
}
.Formulario{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 100px;
    padding: 5px;
}
.barra{
    width: 100%;
    padding: 7px;
    border-radius: 100px;
    border: none;
}
.boton{
    background-color: white;
    border: none;
    margin-left: 2px;
    padding-right: 10px;
}

/*Fin estilos del Buscador*/
/*estilos de los botones de las unidades*/
.unidades {
    /* Eliminamos position: absolute y transform (que causó problemas) */
    /* position: absolute; */
    /* top: 50%; */ 
    /* left: 50%; */ 
    /* transform: translate(-50%, -50%); */ 
    
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* CAMBIO CLAVE: Usa margin auto para centrarlo en el espacio que queda */
    margin-left: auto;
    margin-right: auto;

    /* Eliminamos márgenes auto conflictivos (si los hubiera) */
    /* margin: 0; */ 
}

.unidad {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    margin: 0 10px 0 10px;
}

.unidad0 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    margin: 0 10px 0 10px;
    transition: 0.1s;
}

.unidad0:hover {
    transition: 0.1s;
    transform: scale(1.2);
}

.unidad0 img {
    width: 40px;
}

#bgwhite {
    background-color: white;
}

#bgdeepl {
    background-color: #042b48;
}

.centrar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hse {
    background-color: #8d0000;
    transition: 0.1s;
}

#hse:hover {
    background-color: black;
    transition: 0.1s;
    transform: scale(1.5);
}

#cace {
    background-color: #164e6b;
    transition: 0.1s;
}

#cace:hover {
    background-color: black;
    transition: 0.1s;
    transform: scale(1.5);
}

#xp {
    background-color: #e95b2b;
    transition: 0.1s;
}

#xp:hover {
    background-color: black;
    transition: 0.1s;
    transform: scale(1.5);
}

#test {
    background-color: #029245;
    transition: 0.1s;
}

#test:hover {
    background-color: black;
    transition: 0.1s;
    transform: scale(1.5);
}

.unidad img {
    width: 40px;
}

/*fin estilos de los botones de las unidades*/
/*Inicio accesos rapidos*/
.accesos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 30px 0 30px 0;
    width: 100%;
}

.acceso {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px 0 10px;
    text-align: center;
    transition: 0.2s;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    width: 110px;
    height: 150px;
}

.acceso:hover {
    transform: scale(1.5);
    transition: 0.2s;
}

.acceso i {
    font-size: 2rem;
}

.accesos a {
    text-decoration: none;
    color: #000000;
}

.accesos a:hover {
    color: #8d0000;
}

/*fin accesos rapidos*/
/*Boton Chatgpt*/
.chatgpt {
    position: fixed;
    bottom: 100px;
    right: 60px;
    border-radius: 50%;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: 0.2s;
    background-color: #72a999;
}

.chatgpt img {
    width: 30px;
}

.chatgpt:hover {
    transform: scale(1.5);
    transition: 0.2s;
    cursor: pointer;
}

/*fin boton chatgpt*/
/*Boton Chat*/
.chat {
    position: fixed;
    bottom: 30px;
    right: 60px;
    border-radius: 50%;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: 0.2s;
}

.chat img {
    width: 30px;
}

.chat:hover {
    transform: scale(1.5);
    transition: 0.2s;
    cursor: pointer;
}

/*fin boton chat*/
/*Calculadora*/
.calc {
    position: fixed;
    bottom: 30px;
    left: 60px;
    border-radius: 50%;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: 0.2s;
    background-color: white;
}

.calc img {
    width: 30px;
}

.calc:hover {
    transform: scale(1.5);
    transition: 0.2s;
    cursor: pointer;
}

/*FinCalculadora*/
/*Tinywow*/
.Tinywow {
    position: fixed;
    bottom: 100px;
    left: 60px;
    border-radius: 50%;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: 0.2s;
    background-color: white;
}

.Tinywow img {
    width: 30px;
}

.Tinywow:hover {
    transform: scale(1.5);
    transition: 0.2s;
    cursor: pointer;
}

/*FinTinywow*/
.redes{
width: 300px;
display: flex;
bottom: 0;
flex-direction:row;
justify-content: space-around;
margin: 20px auto 0 auto;
}
.red{
    color: white;
width: 30px;
height: 30px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background-color: #8d0000;
}
.redes a{
    text-decoration: none;
    color: white;
}