@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&display=swap');

* {
    box-sizing: border-box
}

.navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: none;
    overflow: auto;
    text-transform: uppercase;
    font-family: 'Tilt Warp', sans-serif;
}

.navbar a {
    float: left;
    padding: 12px;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    text-decoration: none;
    font-size: 26px;
    width: 25%; /* Four links of equal widths */
    text-align: center;
}

.navbar a:hover {
    cursor: url('../media/cursors/middle.cur'), auto;
    text-decoration: underline;
}

.navbar a.active {
    font-style: oblique;
}

.nav-icon {
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 10px;
    left: 42%;
    background: none;
    overflow-x: hidden;
    padding: 8px 0;
    color: #fff;
}

.nav-icon img {
    width: 15%;
    height: auto;
}

.icon {
    padding: 5px;
    width: 30px;
    color: #fff;
    display: inline-block;
    border-spacing: 0;
    border: none;
    outline: none;
}

@media screen and (max-width: 900px) {
    .navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: none;
        overflow: auto;
        text-transform: uppercase;
        font-family: 'Tilt Warp', sans-serif;
    }
    
    .navbar a {
        float: left;
        padding: 12px;
        color: #fff;
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        text-decoration: none;
        font-size: 26px;
        width: 25%; /* Four links of equal widths */
        text-align: center;
    }



    .nav-icon {
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 10px;
        left: 30%;
        background: none;
        overflow-x: hidden;
        padding: 8px 0;
    }

    .navbar a {
      display: inline-block;
      width: 100%;
      font-size: 20px;
      text-align: center;
    }
  
    .nav-icon img {
      width: 45%;
      height: auto;
    }
  }