:root { --main-radius: 5px; --main-padding: 5px; } body { margin: 0; padding: 0; box-sizing: border-box; font-family: "Inter", sans-serif; background-color: #000; } .contenedor { display: grid; height: 100vh; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; grid-template-rows: 0.2fr 2.5fr 1.5fr 0.2fr; grid-template-areas: "nav nav nav nav nav" "sidebar main1 main1 main1 main1" "sidebar main2 main2 main2 main2" "footer footer footer footer footer"; grid-gap: 0.3rem; font-weight: 800; text-transform: uppercase; font-size: 12px; color: #004d40; text-align: center; } nav { background: #000; grid-area: nav; color: #aaa; } .logo{ float: left; color: #3B88A2; font-size: 18px; padding-top: 2px; padding-left: 8px; } .cliente{ float: center; color: #DDAB26; font-size: 18px; padding-top: 8px; padding-right: 8px; } #main1 { background: #101312; grid-area: main1; border-radius: var(--main-radius); padding-top: var(--main-padding); /*padding-right: 12px; padding-left: 12px;*/ } .bomba { display: flex; } .tag_bomba { float: top; color: #aaa; font-size: 16px; /*padding-top: 8px; padding-left: 8px;*/ } .operacion { color: #5B5B5B; font-size: 14px; padding-top: 8px; padding-left: 8px; background: #1A1E1C; margin: 25px auto; border: 1px solid #000; width: 900px; height: 400px; box-shadow: 3px 3px 10px #000; } .vertical_op{ display: flex; align-items: center; } .selec_bomba { justify-content: center; padding-top: 0px; } .pulsador_bom{ padding-left: 10px; padding-right: 10px; border-radius:10px; border: 1px solid #277A7A; /*box-shadow: 0px 0px 5px 1px #aaa;*/ } .window_bomba { justify-content: center; width: 80%; height: 300px; margin: 25px auto; padding-top: 1%; /*border: 1px solid #ff0;*/ box-shadow: 1px 1px 4px #464747; } .sub_iz { float: left; margin: 5px; font-size: 12px; width: 40%; min-width: 200px; margin-top: 3%; /*border: 1px solid #f00;*/ } .sub_der { float: right; width: 50%; /*min-width: 200px;*/ height: 250px; margin: 3% 5px; /*border: 1px solid #0f0;*/ display: flex; justify-content: center; align-items: center; } .sub_der img { width: 100%; height: auto; max-height: 250px; } .sub_iz p { text-align: left; margin: 15px; padding-left: 10px; color: #277A7A; border-radius:10px; border: 1px solid #277A7A; } .toogle_op{ box-shadow: 0px 0px 10px 2px #277A7A; background: rgba(39,122,122,0.25); } .arranque { color: #5B5B5B; font-size: 14px; padding-top: 8px; text-align: center; background: #1A1E1C; margin: 25px auto; border: 1px solid #000; width: 550px; height: 400px; box-shadow: 3px 3px 10px #000; } .botoneras{ float: left; margin: 20px; box-shadow: 1px 1px 4px #464747; width: 30%; } .imagen_bom{ float: right; margin: 20px; /*box-shadow: 1px 1px 4px #aaa;*/ width: 40%; } .imagen_bom img{ width: auto; height: auto; } .pulsador_r{ display: flex; justify-content: center; align-items: center; margin: 25px ; background-color: red; color: white; width: 50px; height: 50px; border-radius: 50%; /*box-shadow: 0px 0px 15px 4px #0f0;*/ } .pulsador_g{ display: flex; justify-content: center; align-items: center; margin: 25px ; background-color: green; color: white; width: 50px; height: 50px; border-radius: 50%; /*box-shadow: 0px 0px 15px 4px #f00;*/ } .toogle_r{ box-shadow: 0px 0px 15px 4px #f00; /*background: rgba(39,122,122,0.25);*/ } .toogle_g{ box-shadow: 0px 0px 15px 4px #0f0; /*background: rgba(39,122,122,0.25);*/ } #main2 { background: #101312; grid-area: main2; border-radius: var(--main-radius); padding-top: var(--main-padding); } .tag_temperatura { float: top; color: #aaa; font-size: 16px; } .temperatura { display: flex; } .temp { /*display: flex; justify-content: center; width: 100%;*/ background: #1A1E1C; margin: 25px auto; border: 1px solid #000; width: 350px; height: 200px; box-shadow: 3px 3px 10px #000; background-image: linear-gradient( rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 1.0) ),url(img/temp.png); width: 100%; background-repeat:no-repeat; background-position:left; } .var_temp{ float: right; margin: 5px; font-size: 35px; padding-right: 10px; color: #B4B4B4; /*color: #383E3E;*/ } .var_temp span{ /*color: #565959;*/ color: #CACACA; } #sidebar { background: #277A7A; grid-area: sidebar; border-radius: var(--main-radius); padding-top: var(--main-padding); text-align: center; } #sidebar h1{ font-size: 18px; color: #DDAB26; } .logo1{ margin: 10px; } .logo2 img{ width: auto; height: 35px; } footer { background: #3E3E3E ; grid-area: footer; border-radius: var(--main-radius); padding-top: var(--main-padding); color: #CECECE; } a { text-align: center; display: block; font-family: inherit; text-decoration: none; font-weight: bold; margin: 1rem; } @media only screen and (max-width: 1000px) { .contenedor { grid-template-columns: 1fr; grid-template-rows: 0.4fr 1fr 1fr 1fr 0.4fr; grid-template-areas: "nav" "main1" "main2" "sidebar" "footer"; } #main1_derecha{ display: none; } #main2_derecha{ display: none; } } /////////////////////////////////////