@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sintony&display=swap');

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/*definicion colores modo claro / modo oscuro en variables*/
body.modoClaro{
    --colorFondo: rgb(220, 237, 255);
    --color:  rgb(52, 63, 62);
    --fondoMain: rgb(220, 237, 255);
    --colorHeader: rgb(148, 176, 218);
    --colorPanel: rgb(146, 167, 199);
}

body.modoOscuro{
   --colorFondo: rgb(18, 22, 22);
    --color: rgb(220, 237, 255);
    --fondoMain: rgb(18, 22, 22);
    --colorHeader: rgb(80, 90, 91);
    --colorPanel:rgb(52, 63, 62);
}

/*Aplicacion de colores al body*/
body{
    background-color: var(--colorFondo); /*aplicacion de variable*/
    color: var(--color);
}

/*------HEADER--------*/
/*panel Inicio contenedor de la imagen del meme y textos*/


.divMeme{
    background-color: var(--fondoMain);/*aplicacion de variable*/
}

/*Titulo panel inicio*/

.panelInicio{
    background-color: var(--colorHeader);
    width: 100%;
}

.tituloApp{
    font-family: 'Londrina Solid', cursive;
    font-weight: 600;
    font-size: 40px;
    text-align: center;
    padding-top: 5px;
}

/*Botones panel inicio*/
.headerButtonContainer{
    text-align: center;
    width: 100%;
}

.buttonHeader{
    font-family: 'Sintony', sans-serif;
    border: 0;
    outline: none;
    padding: 0 10px 0 10px;
    height: 30px;
    background-color: var(--colorHeader);
    color: var(--color);
    font-size: 15px;
}

.buttonHeader:hover{
    background-color: var(--colorFondo);
    transition: 0.5s;
    border-radius: 5px;
}


/*recuadro Central con texto arriba y debajo de la imagen*/
.memeContainer{
    background-color: var(--fondoMain);  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0 0 0;
}

.recuadroMeme{
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

 /*recuadro donde se inserta la imagen*/
.imgMeme{
    background-color: black;
    width: 400px;
    height: 400px;
    display: flex;
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: center;
    background-position-y: center;
}

/*texto arriba y abajo de la imagen*/
.textMeme{
    font-family: Impact;
    font-size: 20px;
    background-color: white;
    width: 400px;
    height: 50px;
    text-align: center;
    padding: 17px 0 0 0;
    color: rgb(52, 63, 62);
}

/*botón descarga meme*/
.downloadMeme{
    font-family: 'Sintony', sans-serif;
    background-color: rgb(97, 201, 168);
    color: white;
    border: 0 ;
    border-radius: 5px;
    width: 160px;
    height: 40px;
    margin: 20px;
}
.downloadMeme:hover{
    background-color: rgb(65, 131, 110);
    box-shadow: -1px 10px 13px -1px rgba(41,76,80,0.75);
    -webkit-box-shadow: -1px 10px 13px -1px rgba(41,76,80,0.75);
    -moz-box-shadow: -1px 10px 13px -1px rgba(41,76,80,0.75);
}


/*Aside*/
.panelControl{
    background-color: var(--colorPanel);/*aplicacion de variable*/
    position: fixed;
    top:0;
    right: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    font-family: 'Sintony', sans-serif;
    padding: 40px 10px  010px ;
    overflow: scroll;/*scroll panel texto*/
}

/*icono cruz para cerrar paneles aside*/
.cerrar{
    position: fixed;
    top:15px;
    right: 40px;
    z-index: 1;
    background-color: var(--colorPanel);
    border: 0;
    font-size: 24px;
    color: var(--color);
}

/*SCROLL ASIDE*/
/* width */
.panelControl::-webkit-scrollbar {
    width: 18px;
}
  
/* Track ("fondo de la barra")*/
.panelControl::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px var(--colorHeader); 
    border-radius: 10px;
}
   
/* Handle (" la barra que viene gris por default") */
.panelControl::-webkit-scrollbar-thumb {
    background: transparent; 
    border-radius: 10px;
}
  
/* Handle on hover */
.panelControl::-webkit-scrollbar-thumb:hover {
    background: var(--colorHeader);
}


 /*titulo seccion Img y Texto*/
 .tituloSection{
    text-align: center;
    font-size: 18px;
}

/* h3 de cada seccion*/
.tituloPropiedades{
    font-size: 16px;
    padding: 15px 0 5px 0;
}

/*inputs de texto superior e inferior*/
.inputTextMeme{
    width: 100%;
    resize: vertical;
}

/*Input URL imgen meme*/
.urlImgMeme{
    width: 100%;
}


/*Input file imgen meme*/
.selectFile{
    width: 100%;
}

/*estilo  subir archivo*/
input[type='file']{
    width: 100%;
 }

.panelFondoImg{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.colorFondoImg{
    width: 49%;
}

.luminFondo{
    width: 49%;
}

label{
    display: block;
    padding: 5px 0 0 0;
    font-size: 12px;
}

/*Input range*/
input[type='range'] {
    width: 100%;
    background-color: var(--color);
    border-radius: 10px;
    appearance: none;
    height: 6px;
    margin-top: 10px;
}
  
.puntoBarra::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    background: var(--color);
}

/*boton reestablecer*/
.reestablecer{
    margin: 10px 0 10px 0;
}


/* estilos de los recuadros y botones de los paneles*/
.colorInputYButton{
    background-color: var(--fondoMain);
    border-radius: 5px;
    border: none;
    height: 30px;
    padding: 8px;
    color: var(--color);
    font-family: 'Sintony', sans-serif;
    font-size: 12px;
}

.colorInputYButton:hover{
    background-color: var(--colorHeader);
    transition: 0.2s;
}

/* ancho caja para cambiar tipografias*/
.familiaFuente{
    width: 100%;
}

/*botones de alineacion y tamaño de fuente */
.tamanioAlineacion{
    padding: 5px 0 0 0 ;
    width: 100%;  
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*select tamanio de fuente*/
#tamanioFuente{
  width: 49%; 
  margin: 0 2.5px 0 0;
}

/*div que contiene los botones de alieacion*/
.buttonAlign{
    width: 49%;
}

/*Ancho de los botones de alineacion*/
.buttonAncho{
    width: 30%;
}

/*color de tipografia y fondo*/
.colorTextoYFondo{
    display: flex;
    flex-direction: row;
    font-size: 12px;
    width: 100%;
    justify-content: space-between;
}

/*div que contiene los botones de color de texto y fondo*/
.inputColorYFondo{
  width: 49%;
  margin: 0 4px 0 0;  
}

.check{
    padding-top: 20px;
    font-size: 14px;
}

/*input color estilo circular*/
input[type='color']{
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    margin-right: 10px;
    background: none;
    
}


/*BOTONES CONTORNO clases contorno texto*/
.sinContorno{
    text-shadow: none;
}
.contornoClaro{
    text-shadow: rgb(255, 255, 255) 2px 2px, rgb(255, 255, 255) -2px 2px, rgb(255, 255, 255) 2px -2px, rgb(255, 255, 255) -2px -2px;
}

.contornoOscuro{
    text-shadow: rgb(0 0 0) 2px 2px, rgb(0 0 0) -2px 2px, rgb(0 0 0) 2px -2px, rgb(0 0 0) -2px -2px;
}

/*boton espaciado e interlineado*/
.anchoEspaciadoInterlineado{
    width: 100%;
}
.interlineado{
    margin-bottom: 10px;
}


/*clase para ocultar los paneles o elementos necesarios*/
.ocultar{
    display: none;
} 

/* -----VERSION ESCRITORIO-------*/

@media (min-width: 1000px) {
    .panelControl {
        width: 280px;
        height: 100%;
        z-index: 10;
        background-color: var(--colorPanel);
        box-shadow: -10px 10px 100px 5px rgb(0 0 0 / 30%);
        padding: 20px  20px 0 10px;
    }

    .panelControl.ocultar{
        display: block;
    }
    .cerrar{
        background-color: var(--colorPanel);
        display: none;
    }
}

@media (min-width: 1380px){
    .imgMeme{
        width: 800px;
        height: 600px;
    }
    
    /*texto arriba y abajo de la imagen*/
    .textMeme{
        font-size: 30px;
        width: 800px;
        height: 60px;
    }
}
@media (max-width: 395px){
    .imgMeme{
        width: 360px;
        height: 400px;
    }
    
    /*texto arriba y abajo de la imagen*/
    .textMeme{
        font-size: 20px;
        width: 360px;
        height: 60px;
    }
}

@media (max-width: 360px){
    .imgMeme{
        width: 360px;
        height: 400px;
    }
    
    .textMeme{
        font-size: 20px;
        width: 360px;
        height: 60px;
    }
}
