html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Reem Kufi';
    scroll-behavior: smooth;
}

body {
    color: white;
    margin: 0;
    padding: 0;
    perspective: 1px;
    transform-style: preserve-3d;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

*{
    margin: 0;
    padding: 0;
    }

header {
    box-sizing: border-box;
    min-height: 100vh;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    text-align: center;
    text-transform: uppercase;
}

header h1 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

header,
header:before {
    background: 50% 50% / cover;
}

a {
    text-decoration: none;
    color: white;
}
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    /* background-color: blueviolet; */
    background: url('./images/home-banner.jpg');
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    min-height: 100vh;
}

.container {
    z-index: 2;
    position: absolute;
    top: 100vh;
    /* background: black; */
    line-height: 30px;
    font-weight: lighter;
    /* padding: 40px; */
    color: grey;
    min-height: max-content;
}

.home-main {
    background-color: cadetblue;
    background: url('./images/home-banner-2.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    min-width: 100vw;
    display: grid;
    grid-template-columns: 400px auto auto;

}

.wrapper{
    grid-template-columns: 1/2;
    vertical-align: center;
    float: left;
    /* width: 860px;  */
    margin: 0 auto;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    margin-top: 50px;
    }
    .wrapper ul{
    list-style: none;
  
    display:flex;
    flex-direction: column;
    }
    .wrapper ul li {
    background: var(--primary-color);
    width: 170px;
    /* border: solid #000000 1px; */
    border-radius: 5px;
    /* margin-top: 20px; */
    height: 65px;
    line-height: 50px;
    text-align: center;
    float: left;
    color: white;
    font-size: 16px;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0.7;
    text-align: center;
    vertical-align: center;
    padding-top: 17px;
    /* display: flex;
    justify-content: center;
    align-items: center; */

    }

    .sub-item {
        /* visibility: hidden; */
        margin-left: 200px
    }
    .wrapper ul li:hover{
    /* background: crimson;  */
    

    }
    
    .wrapper ul ul{
    display: visible
    }
    .wrapper ul li:hover > ul{
        visibility: visible;
    display: block;
    margin-left: 170px;

    }

    .active {
        visibility: visible;
        display: block;
        /* margin-left: 170px; */
    
    }
    .wrapper ul li > ul {
        visibility: hidden;
        display: block;
        margin-left: 170px;

    }
    .wrapper ul ul ul{
    margin-left: 30px;
    margin-bottom: 50px;
    top: 0;
    position: absolute;
    }
    ul li ul.permahover {
        display: block;
    }

    .active {

    }


    .btn {
        display: inline-block;
        padding: 10px 30px;
        background: var(--primary-color);
        color: #fff;
        border-radius: 5px;
        border: solid #fff 1px;
        margin-top: 25px;
        opacity: 0.7;
    }
    
    .btn:hover {
        transform: scale(0.98);
    }

    .mobile-container {
        display: none;
    }

    @media screen and (max-width: 850px){
        body {
          width: 100%;
        }
        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: block;
            /* background-color: blueviolet; */
            background: url('./images/home-banner-cropped-2.jpg');
            background-size: cover;
            transform-origin: center center 0;
            transform: translateZ(-1px) scale(2);
            z-index: -1;
            min-height: 100vh;
        }

        header h2 {
margin-top: 90px;
        }
        .wrapper {
          display: none;
        }
    
        .home-main {
            grid-template-columns: none;
            grid-template-rows: 1fr;
            background: url('./images/home-banner-cropped.jpg');
    background-size: cover;
    background-position: center;
        }
    
        .reviews-cell {
            overflow-x: hidden;
        }

        .home-main {
            display: flex;
            align-items: flex-start;
        }
        .mobile-container {
            width: 100%;
          max-width: 100%;
          /* margin: auto; */
          /* background-color: #555; */
          background-color: transparent;
          /* height: 500px; */
          color: white;
          border-radius: 10px;
          display: block;
          margin-top: 30px;
        }
        
        .topnav {
          overflow: hidden;
          background-color: transparent;
          position: relative;
        }
        
        .topnav #myLinks {
          display: none;
        }
        
        .topnav a {
          color: white;
          padding: 14px 16px;
          text-decoration: none;
          font-size: 17px;
          display: block;
        }
        
        .topnav a.icon {
          /* background: white; */
          display: block;
          position: absolute;
          right: 0;
          top: 0;
        }
        
        .topnav a:hover {
          /* background-color: #ddd; */
          color: white;
        }
        
        .active {
          /* background-color: #04AA6D; */
          color: white;
        }

        
      }
    /* .active {
        visibility: visible;

    } */