body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}   

.opcoes {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 30px;
}

.opcoes a {
    text-decoration: none;
    font-size: large;
    padding: 8px;
    border: #333 solid 2px;
    border-radius: 20px;
    transition: all 0.5s;
}

.opcoes a:hover {
    border: #087abf solid 2px;
    color: white;
    background-color: #087abf;
    transition: all 0.5s;
}

.opcoes-left {
    text-align: left;
    margin-top: 60px;
    margin-left: 300px;
    font-size: large;
    animation-name: left-effect;
    animation-duration: 1s;
}

@keyframes left-effect {
    from {
        opacity: 0;
        margin-left: 800px;
        filter: blur(8px);
    }

    to {
        margin-left: 300px;
    }
}

.opcoes-right {
    text-align: right;
    margin-top: 20px;
    margin-right: 300px;
    font-size: large;
    animation-name: right-effect;
    animation-duration: 1s;
}

@keyframes right-effect {
    from {
        opacity: 0;
        margin-right: 800px;
        filter: blur(8px);
    }

    to {
        margin-right: 300px;
    }
}

.intro {
    padding: 10px;
    background-color: #ccc;
    border: #333 solid 2px;
    border-radius: 20px;
    font-size: large;
}

.intro:hover {
    background-color: white;
}

.intro-login {
    margin: 20px;
}

.button {
    margin: 0 200px;
    padding: 4px 20px;
    width: 120px;
    color: white;
    background-color: #087abf;
    border: #333 solid 2px;
    border-radius: 20px;
    font-size: large;
}

#codigo, #username, #password {
    text-align: center;
}

#search {
    border: #087abf solid 3px;
    border-radius: 3px;
}

#search tr, #search td {
    border: #087abf solid 1px;
    padding: 5px 10px;
}

.msg-error {
    color: red;
}

.msg-confirm {
    color: green;
}

.rodape {
    position: absolute;
    bottom: 0;
    background-color: #087abf;
    color: #FFF;
    width: 100%;
    height: 10%;
    text-align: center;
    line-height: 20px;
}

.rodape a {
    text-decoration: none;
    color: #ccc;
}

/* ========================================================================== */



@media screen and (max-width: 980px) {
    
    header {
        padding: 1px;
    }

    header p {
        margin: 10px;
    }

    .opcoes {
        display: grid;
    }

    .opcoes p {
        margin: 12px auto;
    }

    .opcoes a {
        display: flex;
        text-align: center;
    }

    .opcoes-left {
        margin-left: 4%;
    }

    .opcoes-right {
        margin-right: 30px;
    }

    @keyframes left-effect {
        from {
            opacity: 0;
            margin-left: 80px;
            filter: blur(8px);
        }

        to {
            margin-left: 30px;
        }
    }

    @keyframes right-effect {
        from {
            opacity: 0;
            margin-right: 80px;
            filter: blur(8px);
        }

        to {
            margin-right: 30px;
        }
    }

    .button {
        margin: 0;
    }

    .rodape {
        position: relative;
        margin-top: 50px;
        line-height: 40px;
    }

}