html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: Helvetica;
    }
    .wrapper {
    height: 100vh;
    width: 100%;
    }
    .pattern {
    position: absolute;
    left: 20%;
    width: 60%;
    height: 100vh;
    background: url(BG_Pattern.png) no-repeat 50% 50%;
    z-index: -1;
    opacity: 0.4;
    }
    .nav {
    width: 100%;
    height: 80px;
    position: absolute;
    }
    .logo {
    font-size: 18px;
    margin: 0.2em 2em;
    line-height: 80px;
    position: absolute;
    }
    body {
        background-image: url('Institute-of-Technology-University-of-Moratuwa-ITUM-2.png');
        background-size: cover;
        background-repeat: no-repeat;
    }

    .nav-item.active {
      border-bottom: 2px solid #1f1f1f; }
    
    .navbar-brand {
      padding: 0; }
    .start{
      padding-top: 40px;
    }
    .batn{
      margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
      padding-top: 0;
      padding-bottom: 0;
      height: 50px;
      line-height: 50px; }
    
    .navbar-toggler {
      border: none;
      outline: none; }
      .navbar-toggler:hover {
        outline: none; }

    /* Style for dropdown menu */
      .dropdown-menu {
        display: none;
        position:absolute;
        margin-left: 235px;
        margin-top: -20px;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      }

      .dropdown-menu a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
      }

      .dropdown-menu a:hover {
        background-color: #f1f1f1;
      }

      /* Show dropdown on hover */
      .nav-item:hover .dropdown-menu {
        display: block;
      }

      .logoutbtn{
        padding: 10px, 10px, 10px, 10px;
        color: #cc923b;
        
      }
      .logoutdiv{
        padding-left: 10px;
        padding-right: 10px;
        padding-top:5px;
        padding-bottom: 5px;
        border-radius: 8px;
        background-color: #ffcd8246;
      }
    
    .menu {
    position: absolute;
    height: 80px;
    right: 120px;
    }
    .menu ul {
    list-style: none;
    }
    .menu ul li {
    display: inline-block;
    margin: 1em 0;
    padding: 0 30px;
    font-size: 15px;
    }

    .text center{
      text-align: center;
    }

    


    .cart {
    position: fixed;
    font-size: 16px;
    margin: 0.2em 1em;
    line-height: 80px;
    right: 20px;
    }
    .box-1 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: none;
    border: 2px solid rgb(81, 54, 4);
    top: 10%;
    left: 15%;
    z-index: -1;
    transform: rotate(60deg);
    }
    .box-2 {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgb(255,165,0);
    /* border: 2px solid orange; */
    top: 54%;
    left: 28%;
    z-index: -1;
    transform: rotate(-110deg);
    }
    .box-3 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: none;
    border: 2px solid rgb(81, 54, 4);
    top: 34%;
    left: 78%;
    z-index: -1;
    transform: rotate(30deg);
    }
    .runner img {
    position: absolute;
    top: 20%;
    left: -2%;
    width: 100%;
    z-index: 2;
    }
    .title-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Anton;
    font-size: 90px;
    color: rgba(0,0,0,0);
    font-style: italic;
    text-transform: uppercase;
    z-index: -1;
    -webkit-text-stroke: 2px rgb(255,165,0);
    opacity: 0;
    }
    .title-1 {
    position: absolute;
    top: 38%;
    left: 30%;
    transform: translate(-50%, -50%);
    font-family: Anton;
    font-size: 90px;
    color: rgb(255,165,0);
    padding-right: 20px;
    font-style: italic;
    text-transform: uppercase;
    z-index: 1;
    opacity: 0;
    /* -webkit-text-stroke: 2px orange; */
    }
    .content {
    position: absolute;
    top: 54%;
    left: 54%;
    width: 39%;
    color: rgb(32, 34, 1);
    font-weight: lighter;
    font-size: 14px;
    line-height: 24px;
    }



    
    body {
        font-family: sans-serif;
        background-color: rgba(248, 242, 242, 0.922);
        
        
      }
      
      .tile-box {
        width: 400px;
        height: 500px;
        background-color: rgb(255, 255, 255);
        margin: 10px;
        display: inline-block;
        -moz-box-direction: reverse;
        border: 0.5px solid black;
        animation: forwards;
        transition: none;
      }
      
      .tile-box img {
        width: 100%;
        height: 50%;
        
      }
      
      .tile-box p {
        text-align: center;
        font-size: 14px;
      }
      .new{
        display: flex;
        flex-direction: row;
        
      }
      .wrapper1{
        display: flex;
        flex-direction: column;
        width: 100px;
        margin: 80px auto;
        
       

        
      }

      


    button {
    margin-top: 6px;
    background: orange;
    color: #fff;
    padding: 20px 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 10px;
    border: none;
    }
    .media {
    position: absolute;
    bottom: 210px;
    }
    .media ul {
    position: absolute;
    list-style: none;
    }
    .media ul li {
    color: grey;
    padding: 10px 0;
    }
    @media(max-width: 900px) {
    .wrapper {
    background: url(BG.jpg) no-repeat 50% 50%;
    background-size: cover;
    }
    .pattern {
    display: none;
    }
    .runner img {
    display: none;
    }
    .title-1, .title-2 {
    font-size: 50px;
    }
    .title-1 {
    left: 20%;
    top: 40%;
    }
    .title-2 {
    left: 50%;
    z-index: 1;
    }
    .menu {
    display: none;
    }
    .content p {
    display: none;
    }

    .content h1{
        display: none;

    }
    .box-2 {
    top: 70%;
    }
    .content button {
    position: fixed;
    right: 3em;
    bottom: 4em;
    z-index: 1;
    }
    }