* {
    padding: 0;
    margin: 0;
    font-family: "Poppins";
    transition: .5s;
}

.nav {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.joke {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 30px;
}

#text {
    padding: 20px;
    background-color: rgb(123, 123, 123);
    font-size: 20px;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.joke button {
    margin: 20px;
    border: none;
    outline: none;
    padding: 10px 20px;
    background-color: transparent;
    color: rgb(123, 123, 123);
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid rgb(123, 123, 123);
}

.joke button:active {
    background-color: rgba(123, 123, 123, 0.472);
    color: white;
}

.error {
    background: red;
    color: rgba(255, 255, 255, 0.459);
}

.switch {
    border: 1px solid black;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
}

.white {
    border: 1px solid white;
}

.trans {
    transform: translateX(40px);
    background-color: white;
}

.back {
    background-color: rgb(52, 52, 52);
}

.txt {
    color: white;
}

.op {
    opacity: .7;
}

@media(max-width:600px) {
    .switch {
        padding: 5px 10px;
    }
    .switch p {
        font-size: 13px;
    }
    .nav h3 {
        font-size: 15px;
    }
}

@media(max-width:350px) {
    .switch p {
        font-size: 10px;
    }
    .nav h3 {
        font-size: 13px;
    }
}