/* 
    SofTruck

    INTEGRANTES:
    Gómez Trujillo Emmanuel
    González Hernández Cristian

*/

/* Botón de modo oscuro*/
button img {
    position: relative;
    top: 1px;
    right:  -1px;
    width: 20px;
    height: 20px;
}
#add{
    font-size: 55px;
    width: 40px;
    height: 39px;
    /* left: 76px; */
    position: fixed;
    padding: 0px;
    top: 17vh;
    line-height: 18%;
    border: 2px solid var(--primary);
    border-radius: 10px;
    background: var(--complement);
    color: var(--terciary);
}

#add:hover{
    cursor: pointer;
}

/* Boton animado para el Dark-Mode*/
.dark_mode--slide_area{
    width: 50px;
    height: 25px;
    background-color: var(--primary);
    border-radius: 16px;
    border: 2px solid black;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    float: right;
    transition: background-color .7s;
    cursor: pointer;
}
.light_mode--slide_area{
    width: 50px;
    height: 25px;
    background-color: var(--complement);
    border-radius: 16px;
    border: 2px solid black;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    float: right;
    transition: background-color .7s;
    cursor: pointer;
}
.dark_mode--btn{
    background-color: slategray;
    width: 30px;
    height: 25px;
    border-radius: 50%;
    border: none;
    margin:  0 100% 0 0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color .7s, margin .7s;
}
.light_mode--btn{
    background-color: blue;
    width: 30px;
    height: 25px;
    border-radius: 50%;
    border: none;
    margin:  0 0 0 calc(100% - 29px);
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color .7s, margin .7s;
}

/* Botón de 'subir al cielo' */
#subirCielo{
    position: fixed;
    bottom: 25px;
    right: 25px;
    font-size: 30px;
    color: var(--complement);
    background-color: var(--primary);
    border-radius: 5px;
    height: 50px;
    width: 40px;
    display: none;
    z-index: 1;
}
#subirCielo:hover{
    cursor: pointer;
    box-shadow: 0 0 7px var(--secondary);
}

/* Botones para activar modulos flotantes */
.float_mod{
    display: inline-block;
}
.Modulos_flot{
    position:relative;
    display: inline-flex;
    top:50px;
    margin: 20px;
    padding: 10px;
    padding-left: 5vw;
    padding-right: 5vw;
    color: var(--terciary);
    background-color: var(--primary);
    border-radius: 10px;
}
.Modulos_flot:hover{
    cursor: pointer;
}

/* Botón de zoom */
#txtA{
    font-size: 45px;
    font-family: Buttons;
    width: 40px;
    height: 39px;
    right: 16px;
    border-radius: 10px;
    border: 0;
    line-height: 20%;
    position: fixed;
    padding: 1px;
    top: 74px;
}

#txtD{
    font-size: 45px;
    font-family: Buttons;
    width: 40px;
    height: 39px;
    border-radius: 10px;
    right: 16px;
    border: 0;
    line-height: 91%;
    position: fixed;
    padding: 1px;
    top: 120px;
}

/* Botones Estandar */
#boton1{
    width: 12em;
    height: 3em;
    font-size: 16px;
    background-color: var(--primary);
    color: var(--base);
    border: 1px solid black;
    font-family: Buttons;
    text-align: center;
    margin: 1em;
}

#boton2{
    width: 10em;
    height: 2.5em;
    font-size: 14px;
    background-color: var(--secondary);
    color: var(--base);
    border: 1px solid black;
    font-family: Buttons;
    text-align: center;
    margin: 1em;
}

#boton3{
    width: 8em;
    height: 2em;
    font-size: 12px;
    background-color: var(--terciary);
    color: var(--primary);
    border: 1px solid black;
    font-family: Buttons;
    text-align: center;
    margin: 1em;
}

#boton1:hover{
    background-color: var(--base);
    color: var(--primary);
    border: 2px solid black;
}

#boton2:hover{
    background-color: var(--terciary);
    color: var(--complement);
    border: 2px solid black;
}

#boton3:hover{
    background-color: var(--primary);
    color: var(--terciary);
    border: 2px solid black;
}

#boton1::after,
#boton2::after,
#boton3::after{
    display: none;
}

/* Boton simple*/
.BT_Simple_Grande{
    background-color: var(--primary);
    color: var(--base);
    font-size: 16px;
    
    border: 0.1em solid var(--primary);
    border-radius: 20px;
    width: 12em;
    height: 3em;
    
    font-weight: bolder;
    font-family: Buttons;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 2em;
    
    margin: 1em;
}

.BT_Simple_Mediano {
    background-color: var(--primary);
    color: var(--base);
    font-size: 14px;
    
    border: 0.1em solid var(--primary);
    border-radius: 20px;
    width: 10em;
    height: 2.5em;
    
    font-weight: bolder;
    font-family: Buttons;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 2em;
    
    margin: 1em;
}

.BT_Simple_Chico{
    background-color: var(--primary);
    color: var(--base);
    font-size: 12px;
    
    border: 0.1em solid var(--primary);
    border-radius: 20px;
    width: 8em;
    height: 2em;
    
    font-weight: bolder;
    font-family: Buttons;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.5em;
    
    margin: 1em;
}


.BT_Simple_Chico:hover, .BT_Simple_Mediano:hover, .BT_Simple_Grande:hover{
    box-shadow: 3px 3px 3px var(--complement);
    cursor: pointer;
    border: 0.1em solid var(--secondary);
}

.BT_Simple_Chico:active, .BT_Simple_Mediano:active, .BT_Simple_Grande:active{
    box-shadow: 3px 3px 3px var(--secondary);
    color: azure;
    cursor: pointer;
    border: 0.1em solid var(--secondary);
    transform: translateY(4px);
}
  

  /* Animación */

button.slide_from_left {
    font-size: 14px;
    font-family: Buttons;
    background: var(--primary);
    color: #fff;
    border: 0.2em solid var(--primary);
    border-radius: 10px;
    margin: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 5px;
    padding-inline: 6vh;
    width: 25vh;
    }

button.slide_from_right {
    font-size: 14px;
    font-family: Buttons;
    background: var(--primary);
    color: #fff;
    border: 0.2em solid var(--primary);
    border-radius: 20px;
    padding: 0.85em 0.75em;
    margin: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

button.slide_from_left:hover, button.slide_from_right:hover {
    color: black;
    cursor: pointer;
}

button::after {
    content: "";
    background: #ecf0f1;
    position: absolute;
    z-index: -1;
    /* padding: 0.85em 0.75em; */
    display: block;
}

button[class^="slide"]::after {
    transition: all 0.35s;
}

button[class^="slide"]:hover::after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all 0.35s;
}

button.slide_from_left::after {
    top: 0;
    bottom: 0;
    left: -100%;
    right: 100%;
}

button.slide_from_right::after {
    top: 0;
    bottom: 0;
    left: 100%;
    right: -100%;
}

/* Botón 1 diseño 3*/
.Btn1 {
    background-color: var(--primary); /* Color de fondo */
    width: 100px;
    border: 2px solid aquamarine; /* Green */
    border-radius: 20px;
    color: white; /* Color del texto */
    padding: 12px 24px; /* Espacio interno */
    text-align: center; /* Centra el texto */
    display: inline-block; /* Muestra como bloque */
    font-size: 16px; /* Tamaño de letra */
    margin: 20px 20px; /* Margen exterior */
    cursor: pointer; /* Cambia el cursor */
    box-shadow: -5px 3px 4px var(--complemet); /* Sombra */
}

.Btn1:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.Btn1:hover {
    background-color: var(--base); /* Color de fondo al pasar el mouse */
    color: #002333;
}

/* Botón 2 diseño 3*/
.Btn2 {
    background-color: var(--primary); /* Color de fondo */
    width: 150px;
    border: 2px solid aquamarine;
    border-radius: 20px;
    color: white; /* Color del texto */
    padding: 12px 24px; /* Espacio interno */
    text-align: center; /* Centra el texto */
    display: inline-block; /* Muestra como bloque */
    font-size: 16px; /* Tamaño de letra */
    margin: 20px 20px; /* Margen exterior */
    cursor: pointer; /* Cambia el cursor */
    box-shadow: -5px 3px 4px var(--complemet); /* Sombra */
}

.Btn2:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.Btn2:hover {
    background-color: var(--base); /* Color de fondo al pasar el mouse */
    color: #002333;
}

/* Botón 3 diseño 3*/
.Btn3 {
    background-color: var(--primary); /* Color de fondo */
    width: 200px;
    border: 2px solid aquamarine;
    border-radius: 20px;
    color: white; /* Color del texto */
    padding: 12px 24px; /* Espacio interno */
    text-align: center; /* Centra el texto */
    display: inline-block; /* Muestra como bloque */
    font-size: 16px; /* Tamaño de letra */
    margin: 20px 20px; /* Margen exterior */
    cursor: pointer; /* Cambia el cursor */
    box-shadow: -5px 3px 4px var(--complemet); /* Sombra */
}

.Btn3:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.Btn3:hover {
    background-color: var(--base); /* Color de fondo al pasar el mouse */
    color: #002333;
}

/* Select */
select {
    background-color: white; /* Color de fondo */
    border: 2px solid black;
    border-radius: 8px; /* Borde redondeado */
    color: #333; /* Color del texto */
    font-size: 16px; /* Tamaño de letra */
    padding: 12px 20px; /* Espacio interno */
    margin: 10px; /* Margen exterior */
    width: 200px; /* Ancho */
    cursor: pointer; /* Cambia el cursor */
    outline: none; /* Quita el contorno al seleccionar */
    background-position: calc(100% - 10px) center;
}

select:focus {
    background-color: white; /* Color de fondo al seleccionar */
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1); /* Sombra al seleccionar */
}


.BT_Simple_Grande::after, .BT_Simple_Mediano::after, .BT_Simple_Chico::after, .Btn1::after, .Btn2::after, .Btn3::after{
    content: none;
}

