*{
    margin: 0;
    padding: 0;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: rgb(80, 76, 76);
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  

a{
    text-decoration: none;
}
nav{
    width: 100%;
    height: 100px;
    background-color: #ff0000;
    position: relative;
    
}

.spacer {
    height: 50px;
  }

.main-ul{
    top: 51px;
    width: 100%;
    position: absolute;
    margin-top: 50px;
    
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: none;
    width: 100%;
}

nav ul ul{
    display: none;
    
}

nav ul li a, .menu-expand{
    padding: 10px 10px;
    text-decoration: none;
    font-family: 'PT Sans', sans-serif;
    font-size: 2.0rem;
    background-color: #ffffff;
    display: block;
    margin: 0px 0;
    cursor: pointer;
    color: #9d9d9d;
    border-bottom: 0.5px solid #010c13;
}

nav ul li a:hover, .menu-expand:hover{
    background-color: #f45a5a;
    color: #f5f1bc;
}

nav ul ul li a{
    background-color: #423d3d;;
}

nav ul ul li a:hover{
    background-color: #f45a5a;
}
.menu-two-ul{
    position: relative;
    
}

.menu-two-ul li a, .menu-three-ul li a, .menu-four-ul li a{
    border-bottom-color: #175f8b;
    border-bottom-style: dashed;
}

.menu-expand-icon{
    
    color: rgb(0, 255, 30);
}


/* HAMBURGER */
.ham-menu{
    width: 70px;
    height: 50px;
    position: absolute;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    right: 0px;
    margin-top: 20px;
    display: block;
    padding-right: 40px;
}

#ham-icon span {
    display: block;
    position: absolute;
    height: 6px;
    width: 60%;
    background: #faf9f8;
    border-radius: 9px;
    opacity: 1;
    left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }
  
  #ham-icon span:nth-child(1) {
    top: 6px;
  }
  
  #ham-icon span:nth-child(2) {
    top: 18px;
  }
  
  #ham-icon span:nth-child(3) {
    top: 30px;
  }
  
  #ham-icon.open span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    background-color: rgb(255, 255, 255);
  }
  
  #ham-icon.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }
  
  #ham-icon.open span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background-color: rgb(255, 255, 255);
  }


  /****************** LOGO ******************/

  

  #logo {
    margin: auto;
    padding-left: 5%;
    float: left;
    width: 280px;
    height: 80px;
    background: url(assets/images/retain-logo1.png) no-repeat center;
  }

.search{
    padding: 8px;
    font-size: 25px;
}
  


/*responsive*/
@media (min-width: 992px) { 
    .ham-menu{
        display: none;
    }


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

    nav ul{
        display: flex;
        position: relative;
    }

    .main-ul{
        top: 0;
        width: auto;
        position: relative;
    }

    .menu-two-ul a{
        border-bottom-color:#ffffff;
        height: 100%;
    }

    nav ul li {
        margin-right: 1px;
        border-bottom: none;
        border-right: 1px solid #0e9aeb;
    }
    nav ul li a, .menu-expand{
        border-bottom-color:#290000;
    }
    .menu-two-ul, .menu-three-ul, .menu-four-ul{
        position: absolute;
        top: 51px;
        width: 250px;
    }

    .main-menu-item:first-child a{
        border-left: 1px solid #8b9297;
    }
    .main-menu-item:nth-child(5) a{
        padding-left: 15px;
        padding-right: 15px;
    }
}

h1, p, h2{
    max-width: 100%;
    margin: 40px 16px;  
  }
  
  h1 {
    color: rgb(249, 247, 247);
    font-size: 20px;
    font-family: 'PT Sans', sans-serif;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  h2 {
    color: rgb(249, 247, 247);
    font-size: 28px;
    font-family: 'PT Sans', sans-serif;
    margin-bottom: 10px;
  }
  
  p {
    color: #c9c4c4;
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    line-height: 1.5;
  }
  
  @media screen and (min-width: 320px) {
    h1 {
       font-size: 6.0vw;
       margin-bottom: 5vw;    
    }  
    p {
       font-size: 4vw;
    }
  }  
  
  @media screen and (min-width: 853px) {
    h1 {
       font-size: 64px;
    }
  }  
  
  @media screen and (min-width: 640px) {
    h1 {
       margin-bottom: 32px;  
    }
  } 
  
  @media screen and (min-width: 480px) {
    p {
       font-size: 24px;
    }
  }

  #button {
    display: inline-block;
    background-color: #f45a5a;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  #button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
  }
  #button:hover {
    cursor: pointer;
    background-color: rgb(255, 0, 0);
  }
  #button:active {
    background-color: #555;
  }
  #button.show {
    opacity: 1;
    visibility: visible;
  }

