@charset "utf-8";
/* CSS Document */

ul {
    list-style-type: none;
    overflow: hidden;
    width: 60%;
    background-color: hsla(0,0%,100%,1.00);
}
.menu-center {
    margin-left: auto;
    margin-right: auto;
    margin-top: 8%;
    margin-bottom: 8%;
}

li {
    float: left;
    margin-left: auto;
    margin-right: auto;
    width: 33%;
    text-align: center;
}

li a, .dropbtn {
    display: inline-block;
    color: hsla(0,0%,26%,1.00);
    text-align: center;
    /* [disabled]padding: 14px 16px; */
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: hsla(0,0%,53%,1.00);
    opacity: 0.5;
}
span a img {
    width: 7rem;
    min-width: 4rem;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #A4EF10;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    width: 80%;
    left: 20px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}
/*Animated*/
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,1.00);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 10%;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    color: hsla(0,0%,100%,1.00);
    line-height: 2rem;
}
.overlay-content p {
    padding-top: 3%;
    padding-right: 5rem;
    padding-left: 5rem;
    /* [disabled]padding-bottom: 2rem; */
    text-decoration: none;
    font-size: 1.2rem;
    color: #818181;
    display: block;
    line-height: 1.25rem;
}

.overlay a {
    /* [disabled]padding: 8px; */
    text-decoration: none;
    font-size: 1.1rem;
    color: #FFFDFD;
    /* [disabled]display: block; */
    transition: 0.3s;
}

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

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 65px;
    font-size: 60px;
}
@media  (max-width: 1200px) {
span a img {
    width: 6rem;
 }   
    ul {
    width: 50%;
}
    .overlay-content p {
    padding-top: 1rem;
    padding-right: 4rem;
    padding-left: 4rem;
    padding-bottom: 1rem;
    text-decoration: none;
    font-size: 0.9rem;
}
}
@media  (max-width: 768px) {
    .menu-center {
    margin-left:-2rem;
    margin-right: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    /* [disabled]float: left; */
}
ul {
    width: 100%;
}
span a img {
    width: 4rem;

 }  
.overlay-content p {
    padding-top: 1rem;
    padding-right: 3rem;
    padding-left: 3rem;
    padding-bottom: 1rem;
    text-decoration: none;

}
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}
