body { background: #f3f4f6; } .header { background: #ffffff; padding: 5px 0; box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3); } .header .logo { display: inline-block; } .header .logo a { display: flex; max-width: 98px; align-items: center; } .header .logo a img { max-width: 100%; height: auto; } .btn-blue-bg { color: #ffffff; background: #475eab; border: 2px solid transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 16px; border-radius: 0; text-transform: uppercase; } .btn-blue-bg:hover { color: #ffffff; background: #038cb7; } .error-404 { margin-top: 70px; } .error-404 .img-error-mid { display: block; margin-right: auto; margin-left: auto; width: 45%; margin-top: 40px; margin-bottom: 15px; } .error-404 .img-error-mid .img-404 { width: 70%; display: block; margin-right: auto; margin-left: auto; margin-bottom: 30px; } .error-404 .img-error-mid img { width: 100%; } .error-404 .cont-section { display: block; margin-right: auto; margin-left: auto; width: 45%; } .error-404 .cont-section h3 { font-size: 40px; color: #363636; font-weight: bold; text-align: center; margin-bottom: 30px; } .error-404 .cont-section p { font-size: 16px; color: #878787; text-align: center; margin-bottom: 30px; } @media (max-width: 767px) { body { margin-bottom: 0px; } .errorhd { padding: 6px 0px; } .error-404 { margin-top: 70px; } .error-404 .img-error-mid { display: block; margin-right: auto; margin-left: auto; width: 45%; margin-top: 40px; margin-bottom: 15px; } .error-404 .img-error-mid img { width: 100%; } .error-404 .img-error-mid .img-404 { width: 60%; display: block; margin-right: auto; margin-left: auto; margin-bottom: 30px; } .error-404 .cont-section { display: block; margin-right: auto; margin-left: auto; width: 45%; } .error-404 .cont-section h3 { font-size: 40px; color: #363636; font-weight: bold; text-align: center; margin-bottom: 30px; } .error-404 .cont-section p { font-size: 16px; color: #878787; text-align: center; margin-bottom: 30px; } } @media (max-width: 1200px) { .error-404 .img-error-mid, .error-404 .cont-section { width: 60%; } } @media (max-width: 991px) { .error-404 .img-error-mid, .error-404 .cont-section { width: 80%; } } @media (max-width: 767px) { .error-404 .img-error-mid, .error-404 .cont-section { width: 100%; } .error-404 .img-error-mid { padding-right: 15px; padding-left: 15px; } .error-404 .cont-section h3 { font-size: 200%; } } @media (max-width: 480px) { .error-404 .img-error-mid { margin-top: 40px; margin-bottom: 15px; } .error-404 .img-error-mid .img-404 { margin-bottom: 15px; } .error-404 .cont-section h3 { font-size: 150%; margin-bottom: 15px; } .error-404 .cont-section p { margin-bottom: 15px; } }