* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background-color: #e8e9ee; color: #393f44e6; font-family: sans-serif; font-size: 20px; font-weight: normal; letter-spacing: 0.05rem; line-height: 1.5em; }
a { color: inherit; text-decoration: none; }
p { padding: 5px 0; }
img { max-width: 100%; height: auto; }
section { margin: 0; padding: 0; }
textarea:focus, input:focus { outline: none; font-family: sans-serif; }
*:focus { outline: none; }
button { margin: 10px 0; padding: 8px 15px; border-radius: 5px; outline: 0; font-size: 16px; cursor: pointer; user-select: none; border: 1px solid #ffffff; background-color: #da5743; color: #ffffff; }
.ta-l { text-align: left; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.grid-center { justify-items: center; }
.outer { width: 100%; margin: 10px auto; text-align: center; padding-top: 50px; }
.wrapper { width: 90%; max-width: 1500px; margin: 0 auto; }
.center { text-align: center; }
.space { margin: 10px 0; }
.hero { position: relative; }
.logo { position: absolute; top: -70px; left: 50%; transform: translateX(-50%); z-index: 10; }
.logo img { width: 350px; height: auto; max-width: 90%; }
.banner { width: 100%; height: auto; background-image: url("../data/mattress-bg.png"); background-repeat: repeat; }
.banner-video { max-width: 1200px; height :auto; margin: 15px auto; border-radius: 20px; border: 5px solid #ffffff; background-color: #ffffff; }
.top { margin: -2px 0; padding: 0px; text-align: right; }
.header { position: relative; width: 100%; height: 60px; display: flex; justify-content: space-between; background-color: #1f415d; color: #ffffff; }
.header img { position: absolute; left: 15px; top: -50px; max-height: 150px; z-index: 9; }
.footer { width: 100%; height: auto; padding: 10px; line-height: normal; font-size: 16px; background-color: #1f415d; color: #9fa7ad; }
.footer-title { font-weight: bold; color: #ffffff; }
.footerbox { display: flex; justify-content: space-between; font-size: 16px; line-height: normal; padding: 10px; }
.footerbox div { flex: 1 1 100%; text-align: left; }
.bottom { width: 100%; padding: 5px 5px 5px 15px; letter-spacing: normal; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 17px; background-color: inherit; color: inherit; }
.bottom a { color: #1f415d; }
.bottom span { padding: 0 10px; }
.social { font-size: 25px; }
.social i { margin: 0 5px; }
.page { width: 1500px; max-width: 90%; margin: 20px auto 20px auto; }
.page > img { max-width: 100%; object-fit: cover; }
.page-title { color: #da5743; }
.aboutus { padding: 50px; margin: 10px; text-align: left; }
.box { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-gap: clamp(1rem, 1vw, 5rem); margin: 2rem auto; padding: 0 0rem; }
.box > img { max-width: 100%; }
.callus { width: auto; height: auto; max-width: 500px; max-height: 65px; }
.content { margin: 10px 5px; padding: 50px; background-color: #ffffff; }
.contactinfo { position: relative; padding: 30px 50px; text-align: left; font-size: 18px; background-color: #0b2337; color: #9fa7ad; background: url(../data/bedbg.jpg) top center no-repeat; background-size: cover; }
.contactinfo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(11, 35, 55, 0.80); }
.contactform { padding: 20px; background-color: #ffffff; }
.contactform input, .contactform textarea  { width: 100%; margin: 5px 0; padding: 10px 12px; border-radius: 4px; resize: vertical; font-size: 18px; border: 1px solid #cccccc; color: #333333;  }
.googlemap { width: 100%; height: auto; min-height: 500px; }
.smicon { margin: 0 3px; font-size: 27px; color: #6a8ba5; }
.smicon:hover { color: #ffffff; }
.product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); grid-gap: clamp(1rem, 1vw, 5rem); margin: 2rem auto; padding: 0 0rem; }
.menu { --menu-position: center; --menu-padding: 4px 12px; padding: 4px; position: relative; display: flex; flex-direction: column; justify-content: var(--menu-position); align-items: center; text-align: center; user-select: none; font-size: 18px; background-color: #1f415d; color: #ffffff; }
.menu label { display: none; width: 100%; cursor: pointer; line-height: 1; font-size: 22px; font-weight: bold; padding: var(--menu-padding); }
.menu ul { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; list-style: none;  }
.menu ul li { min-width: 175px; 1height: 100%; cursor: pointer; }
.menu ul li:hover { background-color: #da5743; color: #ffffff; }
.menu ul li a { display: block; text-decoration: none; padding: var(--menu-padding); color: inherit; }
.menu ul li:not(:has(a)) { padding: var(--menu-padding); }
.menu.mobile label { display: block; }
.menu.mobile ul { width: 100%; height: 100%; flex-direction: column; position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; padding-top: 30px; z-index: 9; overflow-x: hidden; overflow-y: auto; background-color: #1f415d; }
.menu.mobile ul::before { content: "✖"; margin-bottom: 15px; cursor: pointer; pointer-events: all; font-size: 25px; }
.menu.mobile ul li { padding: 6px; } 

@media (max-width: 600px) {
body { font-size: 16px; line-height: 1.3em; }
.header img { top: -20px; max-height: 100px; }
.content { margin: 10px 0px; padding: 20px; }
.bottom { gap: 5px; font-size: 14px; }
.aboutus { padding: 25px; margin: 5px; }
.social { font-size: 25px; }
.social i { padding: 1px; }
.footerbox { flex-direction: column; }
.contactinfo { padding: 15px 25px; font-size: 16px; }
.contactform {  }
.callus { width: auto; height: auto; max-width: 300px; max-height: 50px; }
.product-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.outer { padding-top: 20px; }
}