
#top-nav-desk a:link{
  color: #5D5555;
  text-decoration: none;
}

#top-nav-desk a:visited{
  color: #5D5555;
  text-decoration: none;
}


#span-div {
    position: relative;
    width: 100%;
    display: block;
    background-color: white;
    z-index: 100;
}

#span-div span {
    color: #335E6A;
}

#ham-bar-span {
    font-size:30px;
    cursor:pointer;
}

#dropdown-logo {
    height: 70px;
    margin-bottom: 20px;
}


#main-menu-desktop{
  position: fixed;
  z-index: 1000;
  width: 100%;
}

#top-menu-desktop {
    display: none;
}

#bottom-menu-desktop {
    display: none;
}

#phone-logo-ham {
  height: 15px;
  margin-right: 5px;
}

#logo-link-m{
    grid-area: ham-bar-logo;
    justify-self: center;
    align-self: center;
    height: 35px;
    transition: .3s;
  }

  .nav-round-btn{
    background-color: #5D5555;
    color: white;
    font-weight: bold;
    border-radius: 25px 25px;
    width: 200px;
    text-align: center;
    padding: 5px;
    font-size: 1em;
  }

/* ********************************** */
/* DROPDOWN OVERLAY OF HAMBURGER MENU */
/* ********************************** */

.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;

}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #335E6A;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media only screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top:15px;
        right: 35px;
    }
}


/* ********************************** */
/*           MEDIA QUERIES            */
/* ********************************** */


@media only screen and (max-width: 220px) {

  #main-menu-desktop{
    display:none;
  }

    #top-menu-desktop {
        display: none;
    }

    #bottom-menu-desktop {
        display: none;
    }


    #availspace-mobile {
        grid-area: availspace-mobile;
    }

    #pnumber-mobile {
        grid-area: pnumber-mobile;
        justify-self: end;
    }

    #mag-glass-logo-ham {
        height: 15px;
        margin-left: 5px;
    }


  #ham-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "ham-bar-span ham-bar-logo ham-bar-logo ham-bar-logo ham-bar-logo";
    height: 30px;
    transition: .3s;
  }

  #ham-bar-span {
    grid-area: ham-bar-span;
    justify-self: start;
    align-self: center;
    font-size: 15px;
    padding-left: 10px;
    transition: .3s;
  }

  #ham-bar-logo {
    grid-area: ham-bar-logo;
    justify-self: center;
    padding-right: 30px;
    align-self: center;
    height: 20px;
    transition: .3s;
  }

  #span-div span {
    color: #335E6A;
  }

  #dropdown-logo {
    height: 40px;
    margin-bottom: 20px;
    transition: .3s;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 1rem;
    color: #818181;
    display: block;
    transition: 0.3s;
  }


}

@media only screen and (min-width: 220px) and (max-width: 360px) {


  #main-menu-desktop{
    display:none;
  }

  #top-menu-desktop {
    display: none;
  }

  #bottom-menu-desktop {
    display: none;
  }

  #ham-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "ham-bar-span ham-bar-logo ham-bar-logo ham-bar-logo ham-bar-logo";
    height: 40px;
    transition: .3s;
  }

  #ham-bar-span {
    grid-area: ham-bar-span;
    justify-self: start;
    align-self: center;
    font-size: 20px;
    padding-left: 10px;
    transition: .3s;
  }

  #ham-bar-logo {
    grid-area: ham-bar-logo;
    justify-self: center;
    padding-right: 70px;
    align-self: center;
    height: 25px;
    transition: .3s;
  }

  #span-div span {
    color: #335E6A;
  }

  #dropdown-logo {
    height: 40px;
    margin-bottom: 20px;
    transition: .3s;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 1rem;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
}

@media only screen and (min-width: 360px) and (max-width: 480px) {


  #main-menu-desktop{
    display:none;
  }

  #top-menu-desktop {
    display: none;
  }

  #bottom-menu-desktop {
    display: none;
  }

  #ham-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "ham-bar-span ham-bar-logo ham-bar-logo ham-bar-logo ham-bar-logo";
    height: 65px;
    transition: .3s;
  }

  #ham-bar-span {
    grid-area: ham-bar-span;
    justify-self: start;
    align-self: center;
    font-size: 30px;
    padding-left: 10px;
    transition: .3s;
  }

  #ham-bar-logo {
    grid-area: ham-bar-logo;
    justify-self: center;
    padding-right: 85px;
    align-self: center;
    height: 35px;
    transition: .3s;
  }

  #span-div span {
    color: #335E6A;
  }

  #dropdown-logo {
    height: 40px;
    margin-bottom: 20px;
    transition: .3s;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 1rem;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
}

@media only screen and (min-width: 480px) and (max-width: 900px) {


  #main-menu-desktop{
    display:none;
  }

  #top-menu-desktop {
    display: none;
  }

  #bottom-menu-desktop {
    display: none;
  }

  #ham-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "ham-bar-span ham-bar-logo ham-bar-logo ham-bar-logo ham-bar-logo";
    height: 65px;
    transition: .3s;
  }

  #ham-bar-span {
    grid-area: ham-bar-span;
    justify-self: start;
    align-self: center;
    font-size: 30px;
    padding-left: 10px;
    transition: .3s;
  }

  #ham-bar-logo {
    grid-area: ham-bar-logo;
    justify-self: center;
    padding-right: 130px;
    align-self: center;
    height: 35px;
    transition: .3s;
  }

  #span-div span {
    color: #335E6A;
  }

  #dropdown-logo {
    height: 40px;
    margin-bottom: 20px;
    transition: .3s;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 1rem;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
}

@media only screen and (min-width: 900px) and (max-width: 1025px){
  #myNav, #span-div {
    display: none;
  }

  /* ******************************** */
/* Main Nav CSS */

#top-menu-desktop {
  display: grid;
  grid-template-columns: 75% 25%;
  grid-template-areas: "top-nav-desk pnumber-desk";
  justify-items: end;
  align-items: center;
  background-color: #C5D7DC;
  color: #5D5555;
  padding: 10px 0;
  /* padding-right: 150px; */
  transition: .3s;
}

#top-menu-desktop p {
  margin: 0;
  transition: .3s;
}

#pnumber-desk {
  grid-area: pnumber-desk;
  transition: .3s;
}

#top-nav-desk {
  grid-area: top-nav-desk;
  transition: .3s;
}

#pnumber-desk p, #top-nav-desk p {
  display: inline-block;
  transition: .3s;
}

#phone-logo, #mag-glass-logo {
  display: inline-block;
  height: 15px;
  align-self: center;
  transition: .3s;
  fill: #5D5555;
}


/* Bottom menu bar */

#bottom-menu-desktop {
  display: grid;
  width: 100%;
  background-color: #4A5455;
  color: white;
  height: 95px;
  text-align: center;
  position: relative;
  transition: .3s;
}

#nested-banner {
  display: grid;
  grid-template-areas: "brickell-main-logo desktop-menu-list";
  align-items: center;
  transition: .3s;
}

#logo-link {
  justify-self: end;
  transition: .3s;
}

#brickell-main-logo {
  grid-area: brickell-main-logo;
  display: inline-block;
  height: 40px;
  margin-right: 15px;
  margin-left: 15px;
  transition: .3s;
}

#desktop-menu-list {
  grid-area: desktop-menu-list;
  display: inline-block;
  margin: 0;
  padding: 0;
  justify-self: start;
  transition: .3s;
}

#desktop-menu-list a {
  text-decoration: none;
  color: white;
  font-size: .9rem;
  font-weight: 600;
  transition: .3s;
}


#desktop-menu-list li {
  display: inline-block;
  margin: 0 10px;
  text-transform: uppercase;
  transition: .3s;
}

/* Menu drop down*/

.desktop-header-dropdown {
  position: relative;
  display: inline-block;
  transition: .3s;
}

.desktop-header-dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, .6);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
  transition: .3s;
}

#desktop-menu-list span div a {
  color: black;
  font-size: 1rem;
  text-transform: none;
  transition: .3s;
}

.desktop-header-dropdown:hover .desktop-header-dropdown-content {
  display: block;
  transition: .3s;
}

#desktop-menu-list span div a:hover {
  font-size: 1.1rem;
  transition: .3s;
}

}

@media only screen and (min-width: 1025px) {
  #myNav, #span-div {
    display: none;
    transition: .3s;
  }

  /* ******************************** */
/* Main Nav CSS */

#top-menu-desktop {
  display: grid;
  grid-template-columns: 85% 15%;
  grid-template-areas: "top-nav-desk pnumber-desk";
  justify-items: end;
  align-items: center;
  background-color: #C5D7DC;
  color: #5D5555;
  padding: 10px 0;
  /* padding-right: 150px; */
  transition: .3s;
}

#top-menu-desktop p {
  margin: 0;
  transition: .3s;
}

#pnumber-desk {
  grid-area: pnumber-desk;
  transition: .3s;
}

#top-nav-desk {
  grid-area: top-nav-desk;
  transition: .3s;
}

#pnumber-desk p, #top-nav-desk p {
  display: inline-block;
  transition: .3s;
}

#phone-logo, #mag-glass-logo {
  display: inline-block;
  height: 15px;
  align-self: center;
  transition: .3s;
}


/* Bottom menu bar */

#bottom-menu-desktop {
  display: grid;
  width: 100%;
  background-color: #4A5455;
  color: white;
  height: 95px;
  text-align: center;
  position: relative;
  transition: .3s;
}

#nested-banner {
  display: grid;
  grid-template-areas: "brickell-main-logo desktop-menu-list";
  align-items: center;
  transition: .3s;
}

#logo-link {
  justify-self: end;
  transition: .3s;
}

#brickell-main-logo {
  grid-area: brickell-main-logo;
  display: inline-block;
  height: 60px;
  margin-right: 15px;
  margin-left: 15px;
  transition: .3s;
  /* padding: 5px; */
  /* border: 1px solid white */
}

#desktop-menu-list {
  grid-area: desktop-menu-list;
  display: inline-block;
  margin: 0;
  padding: 0;
  justify-self: start;
  transition: .3s;
}

#desktop-menu-list a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  transition: .3s;
}

#desktop-menu-list li {
  display: inline-block;
  margin: 0 20px;
  text-transform: uppercase;
  transition: .3s;
}

/* Menu drop down*/

.desktop-header-dropdown {
  position: relative;
  display: inline-block;
  transition: .3s;
}

.desktop-header-dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, .6);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
  transition: .3s;
}

#desktop-menu-list span div a {
  color: black;
  font-size: 1rem;
  text-transform: none;
  transition: .3s;
}

#desktop-menu-list span div a:hover {
  font-size: 1.1rem;
  transition: .3s;
}

.desktop-header-dropdown:hover .desktop-header-dropdown-content {
  display: block;
  transition: .3s;
}

}
