*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}

body
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #4A98F7;
}

a{
    text-decoration: none;
}

.navbar {
    background-color: #333;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%; 
    justify-content: center; 
}

.navbar .nav-item {
    margin: 0 20px;
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.navbar .nav-item:hover {
    background-color: #555;
}

.navbar .nav-item.active {
    background-color: #4CAF50; 
}

.navbar .logout {
    background-color: #f44336; 
    font-weight: bold;
    position: absolute;
    right: 10px; 
}

.navbar .logout:hover {
    background-color: #e53935; 
}

.contenedor {
    margin-top: 60px; 
    padding: 20px;
}

.canvas-drawing canvas {
    width: 100%;
    height: 400px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
}

.contenedor
{
    display: flex;
    width: 100%;
    gap: 10px;
    padding: 10px;
    max-width: 1050px;
}

section
{
    background: #fff;
    border-radius: 7px;
}

.barra-herramientas
{
    width: 210px;
    padding: 15px 22px 0;
}

.barra-herramientas .fila
{
    margin-bottom: 20px;
}

.fila .opciones
{
    list-style: none;
    margin: 10px 0 0 5px;
}

.fila .opciones .opcion
{
    display: flex;
    cursor: pointer;
    align-items: center;
    margin-bottom: 10px;
}

.opcion:is(:hover, .active) img
{
    filter: invert(17%) sepia(90%) saturate(3000%) hue-rotate(900deg) brightness(100%) contrast(100%);
}

.opcion :where(span, label)
{
    color: #5A6168;
    cursor: pointer;
    padding-left: 10px;
}

.opcion:is(:hover, .active) :where(span, label)
{
    color: #4A98F7;
}

.opcion .rellenar-color
{
    cursor: pointer;
    height: 14px;
    width: 14px;
}

.rellenar-color:checked ~ label
{
    color: #4A98F7;
}

.opcion .slider-tamano
{
    width: 100%;
    height: 5px;
    margin-top: 10px;
}

.color-picker {
    border: none;
    border-radius: 20%; 
    width: 20px;      
    height: 20px;
    cursor: pointer;
    appearance: none; 
    -webkit-appearance: none; 
    outline: none; 
    background-color: transparent; 
}

.color-picker::-webkit-color-swatch {
    border: none; 
}

.color-picker::-moz-color-swatch {
    border: none; 
}

.botones button
{
   width: 100%;
   color: #fff; 
   border: none;
   outline: none;
   padding: 11px 0;
   font-size: 0.9rem;
   margin-bottom: 13px;
   background: none;
   border-radius: 5px;
   cursor: pointer;
}

.botones .limpiar-canvas
{
    color: #6C757D;
    border: 1px solid #6C757D;
    transition: all 0.3s ease;
}

.limpiar-canvas:hover
{
   color: #fff;
   background: #6C757D; 
}

.botones .guardar-imagen
{
    background: #4A98F7;
    border: 1px solid #4A98F7;
}

.guardar-imagen:hover
{
    background: #0a2b54;
    border: 1px solid #0a2b54;
}

.botones .guardar-imagen-galeria
{
    background: #4A98F7;
    border: 1px solid #4A98F7;
}

.guardar-imagen-galeria:hover
{
    background: #0a2b54;
    border: 1px solid #0a2b54;
}

.canvas-drawing
{
   flex: 1; 
}

.canvas-drawing canvas
{
    width: 100%;
    height: 100%;
}