@font-face {
    font-family: 'Poppins';
    src: url('Poppins.ttf') format('truetype');
}

aside {
    background-color: #f9bbe9;
    position: fixed;
    margin: -8px;
    width: 216px;
    height: 100%;
    p {
        font-weight: bold;
        margin-left: 16px;
        img {
            width: 20px;
            height: 20px;
            margin-right: 12px;
            filter: invert(34%) sepia(85%) saturate(7186%) hue-rotate(352deg) brightness(97%) contrast(100%);
        }
    }
    .salva { margin-left: 80%; }
}

.right {
    position: relative;
    margin-left: 2em;
    padding-left: 2em;
    width: 30em;
    p {
        font-weight: normal;
        font-size: 18px;
        margin-left: 0;
    }
}

.rimg {
    position: relative;
    margin-left: 2em;
    padding-left: 2em;
    width: 30em;
    background-color: white;
    img { height: 100%; }
}

@media screen and (orientation: portrait),
    screen and (max-width: 768px) {
    .right {
        position: absolute;
        height: 16em;
        top: 24em;
        left: 12em;
        margin-left: 1em;
        width: 20em;
    }
    #aba-dados > div {
        flex-direction: column;
        :nth-child(2) { margin-left: 0 !important; }
    }
}

body, button, select, input, textarea {
    display: flex;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #050e25;
    line-height: 1.8em;
}

input {
    margin-bottom: 1em;
}

input:disabled {
    background-color: #ffffff;
    border: 0px;
}

input[type="checkbox"] {
    margin-right: 1em;
}

input[type="time"] {
    margin-left: 2.5em;
}

button {
    font-size: 1em;
    font-weight: bold;
    justify-content: center;
    border-radius: 8px;
    background-color: #ceef32;
    margin-top: 1em;
}

p {
    display: flex;
    align-items: stretch
}

h1 { font-size: 2em; }

form {
    input {
        border-radius: .5em;
        height: 2em;
        padding-left: 2em;
        width: 20em;
    }
    button {
        margin-left: 0 !important;
        background-color: #ceef32;
        width: 20em;
        height: 2em;
        align-items: center;
    }
}

table {
    font-size: 1em;
    width: 70%;
    text-align: center;
}

tr > td { line-height: 1.2em; }

.titulo {
    position: absolute;
    left: 42%;
    font-size: 1.5em;
    text-align: center;
}

.banner {
    margin-left: 388px;
    padding: 54px;
    width: 100%;
    p {
        margin-block-start: 0;
        margin-block-end: 0;
    }
}

.card {
    margin-left: 232px;
    width: 100%;
}

#busca {
    border-radius: 4px;
    margin-left: 1em;
}

#nome, #comp, #dia, #periodo, #taxa, #media, #quant {
    margin-left: 1em;
    margin-right: 1em;
    font-weight: bold;
}

#img1,.inv { transform: scaleX(-1); }

.deleteAcc {
    margin-left: 70%;
    margin-top:  50%;
    font-size: 0.7em;
    font-weight: 700;
    color: #971a1c;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    div {
        background-color: white;
        width: 50%;
        border-radius: 2em;
        padding: 2em;
        padding-top: 1em;
        width: 15em;
        p {
            display: flex;
            justify-content: space-between;
            input, select { width: 6em; margin-bottom: 0; }
        }
        h2 { margin-left: 1.6em; }
        textarea {
            font-size: 16px;
            width: 100%;
            margin-top: .5em;
            resize: none;
        }
    }
}

#valor { margin-right: 1.5em; }

.mensagem {
    position: absolute;
    background-color: red;
    border-radius: .5em;
    padding: .5em;
    opacity: 1;
    visibility: hidden;
    z-index: 1000;
    transition: opacity .5s ease, visibility .5s ease;
}

.botao {
    margin-left: 1em;
    filter: contrast(100%);
}

.abas {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2em;
    width: 70%;
    button {
        background-color: #ffffff;
        border: none;
    }
}

.salva {
    margin-left: 80%;
    margin-bottom: 2em;
}

.zero {
    width: 0;
    height: 0;
}

.preview {
    max-width: 15em;
    margin: .5em;
    display: none;
}

.info {
    margin-block-start: 0;
    margin-block-end: 0;
}

table {
    font-size: 1em;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
}

#detalhes-conteudo {
    > p {
        margin-block-start: .5em;
        margin-block-end:   .5em;
    }
}