body {
    background-color: #111;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: red;
    color: white;
}

.topnav a.active:hover {
    background-color: #F77;
}

.topnav .icon {
    display: none;
    padding: 0;
}

.bars {
    display: block;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 20px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 6px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -6px) rotate(45deg);
}

button {
    background-color: black;
    border-color: white;
    border-radius: 5px;
    color: white;
    border-style: solid;
}
button:hover{
    background: #333;
}
input[type=radio] {
    -webkit-appearance: none;
    appearance: none;
    background-color: black;
    font: inherit;
    color: currentColor;
    width: 1.2em;
    height: 1.2em;
    border: 0.15em solid white;
    border-radius: 50%;
}
input[type=radio]:hover{
    background-color: #333;
}
input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.7em;
    border-radius: 50%;
    display: none;
    background-color: white;
    margin-top: .1325em;
    margin-left: .1325em;
}

input[type="radio"]:checked::before {
    display: block;
}

@media screen and (max-width: 995px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        width: 48px;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        width: 48px;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}