:root {
    --bg-color-1: #000000;
    --bg-color-2: #ffffff;
    --text-color-1: #707070;
    --text-hover-3: darkgray;
    --text-hover-4: dimgray;
    --drop-down-bg: #f9f9f9;
    --drop-down-hover: #e2e0e0;
    --footer-bg-color-2: #ffffff;
    --new-steller-color: darkgray;
    --menu-bg: #ffffff;
    --input-bg: #000000;
    --filter_btn: #eeee;
}


/*========== FONT ==========*/

@font-face {
    font-family: orta;
    src: url(SanFrancisco/pro/SF-Pro-Display-Medium.otf);
    font-display: swap;
}

@font-face {
    font-family: semibold;
    src: url(SanFrancisco/pro/SF-Pro-Display-Semibold.otf);
    font-display: swap;
}

@font-face {
    font-family: regular;
    src: url(SanFrancisco/pro/SF-Pro-Text-Regular.otf);
    font-display: swap;
}

@font-face {
    font-family: light;
    src: url(SanFrancisco/pro/SF-Pro-Text-Light.otf);
    font-display: swap;
}


/*========== BASE ==========*/


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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
}

body.active {
    --bg-color-1: #ffffff;
    --bg-color-2: #000000;
    --footer-bg-color-2: #151515;
    --text-color-1: #707070;
    --text-hover-3: #ffffff;
    --new-steller-color: #000000;
    --menu-bg: #141414;
    --input-bg: rgb(190, 190, 190);
    --filter_btn: #141414;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

button,
input {
    border: none;
    outline: none;
}


/*=============== HEADER ===============*/


.header {

    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
    box-shadow: 0 0 10px -4px rgba(0, 0, 0, 0.405);
}


/*=============== NAV ===============*/


.nav {

    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--menu-bg);
    padding: 0 2rem;

}

.nav_menu .nav_list {

    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav_menu .nav_list .nav_item {

    margin-left: 3rem;
}

.nav_menu .nav_list .nav_item:after {

    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #394E73;
    margin-top: .1rem;
}

.nav_menu .nav_list .nav_item:hover::after {
    width: 100%;
}


.nav_menu .nav_list .nav_item .nav_link {

    color: var(--text-color-1);
    font-size: 16px;
    font-family: orta;
    transition: all .3s linear;
}

.nav_menu .nav_list .nav_item .nav_link:hover {

    color: #394E73;
   
}

.nav_item a {
    z-index: 10;
}

/* #menu-indicator {
    background-color: #394E73;
    position: absolute;
    display: none;
    
} */

.sub_nav {
    z-index: 10;
}

.icon-link {

    margin-right: 14px;
    transition: all .5s ease;
    opacity: .6;
    fill: var(--text-color-1);
}

.icon-link:hover {

    opacity: 1;
}

.nav_toggle {

    cursor: pointer;
}

.logo_bar {

    display: flex;
    justify-content: center;
    align-items: center;
}

.muyu {

    margin-left: .5rem;
    fill: var(--bg-color-1);
}

.muyu svg {

    margin-top: 8px;
}

.muyu_2 {

    margin: 8px 0 0 4.2rem;
    fill: var(--bg-color-1);
}

.muyu_3 {
    display: none;
    margin-top: 8px;
    fill: var(--bg-color-1);
}

.bx-menu {

    fill: var(--bg-color-1);
    transition: all .3s linear;
    opacity: 1;
}

.bx-menu:hover {

    fill: var(--text-hover-3);
    opacity: .8;
}

#theme-btn {

    opacity: .5;
    cursor: pointer;
    transition: all .3s linear;
    fill: var(--text-color-1);

}

.sun {
    display: none;
    opacity: .7;
    fill: var(--text-color-1);
    cursor: pointer;
    transition: all .3s linear;
}

.sun:hover {
    opacity: 1;
}

#theme-btn:hover {

    opacity: 1;
}



.side-nav-icon {
    display: none;
    margin-top: 5px;
}


/*=============== SIDE NAV ===============*/

.side_menu {

    position: absolute;
    width: 100% !important;
    height: 103vh;
    background: var(--menu-bg);
    top: 0%;
    left: -100%;
    transition: 0.5s;
    padding: 1rem 2rem 2rem 2rem;
    overflow: scroll;
    z-index: 100;
    box-shadow: 0 -7px 12px -5px rgba(0, 0, 0, 0.995);
}


.side_menu.active {

    left: 0% !important;
}

.side_menu .nav_list {

    display: block !important;
    text-align: left;
    width: 100%;
    margin: 0 0 2.3rem 0;
}


.side_menu .nav_list .nav_item .nav_link {

    color: var(--text-color-1);
    font-family: orta;
    transition: all .5s ease;
    font-size: 1.2rem !important;
}

.side_menu .nav_list .nav_item .nav_link:hover {

    color: var(--bg-color-2);
}

.side_menu .nav-icon {

    display: flex;
    justify-content: space-between;
}

.side_menu .nav-icon .icon-link {

    margin-right: 2px;
}


.nav-close {

    font-size: 22px;
    cursor: pointer;
    margin-top: .3rem;
    transition: all .3s linear;
    fill: var(--text-hover-3);
    margin-left: -0.3rem;
}

#plus {
    transform: rotate(45deg);
}

.nav-close:hover {

    fill: var(--bg-color-1);
    opacity: .6;
}

.side_menu .contact {
    color: var(--text-color-1);
    font-family: light;
    margin: 0 0 2.3rem 0;
}

.side_menu .contact .contact_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.side_menu .contact .contact_box p {
    display: flex;
    align-items: center;
    transition: all .5s ease;
    font-size: 12px;
    color: var(--text-color-1);
}

.message,
.phone {
    margin-right: 5px;
    fill: var(--text-color-1);
}

.side_menu .contact .contact_box p:hover {
    color: var(--text-hover-3);
    cursor: pointer;
    opacity: 1;
}

.side_menu .contact .contact_box p i {

    margin-right: 5px;
}



/*=============== SUBNAV  ===============*/


.nav_menu .nav_list .subnav_content {
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: var(--menu-bg);
    height: 0px;
    text-align: center;
}

.nav_menu .nav_list .subnav_content h4 {

    color: var(--bg-color-1);
    margin: 1.5rem 0;
    font-family: regular;
    font-size: 18px;
}

.subnav-content_flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0 8rem;
}

.subnav-content_flex img {

    width: 320px;
    height: 200px;
    border-radius: .2rem;
}

.nav_menu .nav_list .subnav_content ul {

    text-align: left;
}

.nav_menu .nav_list .subnav_content li {

    padding: 0 0 .6rem 0;
    font-family: orta;
}

.nav_menu .nav_list .subnav_content li a {

    color: var(--text-color-1);
    font-family: orta;
    transition: all .5s ease;
    font-size: 13px;
}

.nav_menu .nav_list .subnav_content li a:hover {

    color: var(--text-hover-3);
    opacity: 0.9;
}

.side_subnav_content ul button {
    margin-top: 1rem;
}

.subnav_btn {
    background-color: #394E73;
    padding: .8rem 1.2rem;
    border-radius: .2rem;
    color: #FFFFFF;
    margin-top: 0.6rem;
    transition: all .3s linear;
    font-family: regular;
    width: 165px;
}

.subnav_btn:hover {

    background-color: #6379a0;
}

.sub_img_text {
    text-align: left;
    font-family: regular;
    color: var(--bg-color-1)
}

.sub_img_text {

    margin: 2rem 0 1.8rem 0;
}

.sub_nav_img {
    margin-top: 2rem;
}


/*=============== SIDENAV 2  ===============*/


.side_subnav_content {
    display: flex;
    align-items: left;
    flex-direction: column;
    margin-top: 1.42rem;
}

.side_subnav_content .sub_nav_img img {

    width: 100%;
}

.sub_img_text_light {
    font-family: light;
    color: var(--text-color-1);
    font-size: 10px;
}

.side_menu .nav_list .side_subnav_content h4 {

    color: var(--bg-color-1);
    margin: 2rem 0 1rem 0;
    font-family: regular;
}

#side_back {
    color: var(--bg-color-1);
    font-size: 1.2rem;
    margin-bottom: .3rem;
}

.bx-chevron-left,
.bx-chevron-right {
    fill: var(--bg-color-1);
    font-size: 1.6rem;
    cursor: pointer;
    margin-left: -.8rem;
}

.bx-chevron-left {
    margin-bottom: 4px;
    margin-left: -6px;
}

.bx-chevron-right {
    margin-bottom: .2rem;
}

.side_menu .nav_list .side_subnav_content li {

    padding: 1rem 0;
    font-family: orta;
}

.side_menu .nav_list .side_subnav_content li a {

    color: var(--text-hover-4);
    font-family: orta;
    display: flex;
    align-items: center;
    transition: all .5s ease;
}

.side_menu .nav_list .side_subnav_content li a:hover {

    margin-left: 3px;
}

.side_menu .nav_list .side_nav_item .side_nav_link {
    color: var(--text-color-1);
    font-family: orta;
    transition: all .5s ease;
    margin-bottom: .3rem;
}

.side_menu .nav_list .side_nav_item .side_nav_link:hover {

    color: var(--text-hover-3);
}

.side_menu .nav_list .side_nav_item .side_nav_link {
    font-size: 1.2rem !important;
    transition: all .5s ease;
}

.side_menu .nav_list .side_nav_item {
    margin: 2rem 0;
    border-bottom: 1px solid rgb(204, 196, 196);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.min_info {
    padding: 0.20rem 0.30rem;
    background-color: #faedcd;
    font-size: 8px;
    border-radius: 1rem;
    margin-left: .4rem;
    text-transform: uppercase;
    color: #5e3023;
}

.dropbtn {
    color: black;
    padding: .6rem 2.5rem;
    font-family: semibold;
    font-size: 12px;
    min-width: 182px;
    cursor: pointer;
    border-radius: 2rem;
    transition: all .3s ease;
    border: 1px solid rgb(192, 186, 186);
    background: url(img/favicon-16x16.png) 8% / 10% no-repeat, url(img/down-keyboard-arrow-key-direction-30469.webp) 90% / 12% no-repeat rgb(235, 235, 235);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--drop-down-bg);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    outline: 1px solid rgb(173, 167, 167);
    font-family: semibold;
    outline-offset: -1.6px;
    border-radius: .5rem;
    min-width: 182px;
}

.dropdown-content a {

    color: black;
    padding: 8px 36px;
    text-decoration: none;
    display: block;
    font-size: 12px;
}

.dropdown-content a:hover {

    background-color: #e2e0e0
}

.dropdown-content.active {

    display: block;
}

.dropdown:hover .dropbtn {

    background-color: rgb(243, 241, 241);
}

.back-icon {

    border-bottom: 1px solid rgb(204, 196, 196);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 4px !important;
}

.side_subnav_content {
    display: none;
}


/*=============== HOME ===============*/


.home {

    background-image: url("img/bed.webp");
    height: 1200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.home_description {

    text-align: center;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: FFFFFF;
    white-space: nowrap;
}

.matt {

    color: #FFFFFF;
    font-size: 3rem;
    opacity: 50%;
    font-family: semibold;
}

.home_description .sleep {

    color: #FFFFFF;
    font-size: 5.2rem;
    margin-bottom: 2rem;
    font-family: semibold;
}

.details {

    font-size: 22px;
    color: #FFFFFF;
    text-shadow: 0 3px 6px #000000;
    font-family: orta;
}

.space {

    height: 700px;
}

.icon-link svg {
    width: 22px;
    height: 18px;
}


/*=============== FOOTER ===============*/


footer {

    margin: 0 8rem;
    border-radius: .3rem;
    padding: 1rem;
    background-color: var(--footer-bg-color-2);
}

.box-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    padding: 1rem 8rem;
}

.box-container h2,
h3 {

    color: var(--text-color-1);
    margin: 2rem 0 1rem 0;
    font-weight: 500;
    transition: all .5s ease;
}

.box-container h2:hover {

    cursor: pointer;
    color: var(--text-hover-3);
}

.box-container h3:hover {

    cursor: pointer;
    color: var(--text-hover-3);
}

.com {

    font-size: 22px;
}

.com-desc div {

    color: var(--text-color-1);
    font-family: orta;
    font-size: 16px;
    margin-bottom: .2rem;
}

.com-desc span {

    color: var(--text-color-1);
    font-size: 12px;
    font-family: light;
}

.com-desc .e-mail {

    font-family: regular;
    font-weight: 600;
}

.com-desc .phone {

    font-family: regular;
    font-weight: 600;
}

.box-container .box {

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 250px;
}

.box-container .box:nth-child(4) {

    max-width: 300px;
}

.box-container .box h2 {

    font-family: regular;
    font-size: 22px;
}

.box-container .box h3 {

    font-family: orta;
    font-size: 16px;
    margin-bottom: 1rem;
}

.box-container .box a {

    display: block;
    font-family: light;
    font-size: 12px;
    color: var(--text-color-1);
    margin-bottom: 1rem;
    transition: all .5s ease;
}

.box-container .box a:hover {

    opacity: 1;
    color: var(--text-hover-3);
}

.newsletter_text {

    color: var(--text-hover-4);
    margin-top: 23px;
    font-size: 12px;
    font-family: light;
}

.social-media {

    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 1rem 0;
}

.social-media svg {

    margin-right: 12px;
    transition: all .5s ease;
    fill: var(--text-color-1);
}

.social-media svg:hover {

    opacity: .7;
    cursor: pointer;
}

.newsletter_form {

    display: flex;
    margin-top: 2rem;
}

.newsletter_email {

    width: 200px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid darkgray;
    padding-left: 20px;
    border-radius: .1rem;
    color: black;

}

.newsletter_email::-webkit-input-placeholder {

    font-size: 11px;
    color: black;
    font-family: light;

}

.newsletter_email::-moz-placeholder {

    font-size: 11px;
    color: black;
    font-family: light;

}

.newsletter_email:-ms-input-placeholder {

    font-size: 11px;
    color: black;
    font-family: light;

}

.newsletter_email::-ms-input-placeholder {

    font-size: 11px;
    color: black;
    font-family: light;

}

.newsletter_email::placeholder {

    font-size: 11px;
    color: black;
    font-family: light;

}

.arrow-back {
    fill: var(--bg-color-2);
    transform: rotate(180deg);
}

.newsletter_submit {

    width: 40px;
    height: 40px;
    border: none;
    background: var(--input-bg);
    color: var(--bg-color-1);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    border-radius: .1rem;
}


.credit {

    font-size: 10px;
    text-align: center;
    margin-top: 5rem;
    font-family: light;
    color: var(--text-color-1);
}