* {
    margin: 0;
    padding: 0;
}

header {
    height: 170px;
    background-color: blue;

}
.menu-wrap {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

.menu-icon {
    font-size: 3em;
    color: #ffffff;
    line-height: 40px;
    padding-top: 20px;
}
nav {
    position: absolute;
    background-color: blue;
    top:70px;
    left:0;
    width: 100%;
}
nav ul {
    list-style-type: none;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s;
}
nav ul li {
    padding: 0 15px;
}

nav ul li:hover {
    background-color: red;
}

nav ul li a {
    display: inline-block;
    padding: 10px;
    padding-top: 10px;
    color: white;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: retroica, sans-serif;
    font-size: 15px;

}
nav ul li a:hover, nav ul li a:focus {
    color: white;
    letter-spacing: 0.5em;
    font-size: 20px;
    text-shadow: 3px 3px blue;
}
#checkbox {
    display: none;
}
#checkbox:checked ~ nav ul {
    max-height: 200px;
    padding: 15px 0;
    transition: all 0.5s;
}

@media (min-width: 758px) { 
    .menu-icon {
     display: none;
  }
    nav {
        position: relative;
        top: -10px;
        background-color: transparent;
    }
    nav ul {
        max-height: 70px;
        padding: 15px 0;
        text-align: right;
    }
    nav ul li {
        display: inline-flex;
        padding-left: 20px;
    }
    
    nav ul li a {
        letter-spacing: 0.05em;


    }
}

