@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;700&display=swap');

:root {
    --background-color: #D9D9D9;
    --background-color-secondary:  #eaeaea;
    --background-color-tertiary: #f8f9fa;
    --text-color: #595959;
    --text-color-secondary: #ffffff;
    --text-color-tertiary: #a8a8a8;
    --shadow-color: rgba(4, 4, 4, 0.35);
    --color1: #2196F390;
    --color1-hover: #2196F350;
    --color2: #4CAF5090;
    --color2-hover: #4CAF5050;
    --color3: #FF980090;
    --color3-hover: #ff990050;
    --color4: #F4433690;
    --color4-hover: #F4433650;
    --width-font: 300;
    --width-font-bold: 500;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: var(--width-font);
    background-color: var(--background-color);
    color: var(--text-color); 
}
h1 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: var(--width-font-bold);
    margin: 0;
    padding: 0;
}
h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: var(--width-font);
    font-size: 16px;
    text-align: center;
    color: var(--text-color-tertiary);
}
button, input {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 16px;

    padding: 8px 15px 8x 15px;
    margin: 10px 0px 0px 0px;
    background-color: var(--color1);
    color: var(--text-color-secondary);
    border-radius: 20px;
    border-color: var(--color1);
}
.white {
    color: var(--text-color-secondary);
}
.blue {
    color: var(--color1);
}
.green {
    color: var(--color2);
}
.orange {
    color: var(--color3);
}
.red {
    color: var(--color4);
}
/* ---------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    align-content: center;
    flex-direction: row;
}
.nav {
    display: flex;
    flex-direction: column;
    width: 23.5%;
}
.dashboard {
    display: flex;
    flex-direction: column;
    width: 75%;
}

@keyframes respiracion {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.1; }
}
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3px;
    animation: respiracion 6s ease-in-out infinite;
}
.section1, .section2 {
    display: flex;
    
    flex-direction: column;
    padding: 20px;
    margin: 0px 0px 10px 0px;
    background-color: var(--background-color-secondary);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--shadow-color);
    align-items: center;
    width: 20vw;
    height: 190px;
}
.section3 {
    display: flex;
    
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    background-color: var(--background-color-secondary);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--shadow-color);
    align-items: center;
    width: calc(100% - 2vw);
    height: 85vh;
}
.logo_style {
    display:flex;
    width: 400px;
    position: relative;
    align-content: center;
    justify-content: center;
}
.logo {
    font-size: 45px!important;
}
.logo_fondo {
    font-size: 80px!important;
}
.header_right {
    display: flex;
    margin-right: 20px;

    justify-content: flex-end;
}
.button_header {
    margin-top: 9px;
    margin-bottom: 9px;
    width: 6vw;
}
.text_title {
    font-weight: var(--width-font);
    position: absolute;
    text-align: center;
    font-size: 24px;
    top: 20px;
}
.text_background {    
    content: "AI";
    text-align: center;
    top:20px;
    margin-bottom: 10px;
    font-size: 40px;
}
.bold {
    font-weight: 500;
}
.section_upload {
    display: flex;
    justify-content: center;
}
.section_upload_button {
    display: flex;
    justify-content: center;
}
.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 20px;
    /* width: 265px; */
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.drop-zone.drag-over {
    background-color: #f0f0f0;
    border-color: #999;
}

.alertas {
    display: flex;
    position: absolute;
    bottom: 10px;
    left: 30px;
    justify-content: center;
    padding: 10px;
    background-color: var(--color1);
    border-radius: 8px;
    opacity: 1;
    transition: opacity 5s ease-in-out;
}

.hide {
    /* display: none; */
    opacity: 0;
    pointer-events: none;
}

/* Nuevo media query para pantallas de menos de 500px */
@media (max-width: 800px) {
    .container {
        display:flex;
        flex-direction: column;
    }
    /*
    .nav, .dashboard {
        width: 95%;
    }

    .section1, .section2 {
        width: 90%;
        margin-bottom: 15px;
    }

    .section3 {
        height: auto;
        min-height: 50vh;
    }

    .header {
        flex-direction: column;
        align-items: center;
    }

    .header_right {
        margin-right: 0;
        justify-content: center;
    }

    .button_header {
        width: auto;
        margin: 5px;
    }

    .logo_style {
        width: 100%;
    }
    */
}

