@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --gray: rgb(206, 206, 206);
    --blue: #315BA3;
    --orange: #ff8201;
    --darkgray: rgb(96 96 96);
}

.page_container {
    margin: 0;
    min-height: 100vh;
    min-width: 100vw;
    background: linear-gradient(180deg, #00629B 0%, #6BA4B8 74.48%) no-repeat;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    /* font-style: italic; */
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.flex_container {
    display: flex;
    /* flex-direction: row; */
    flex-wrap: wrap;
    column-gap: 10%;
    row-gap: 5%;
    align-items: center !important;
    justify-content: center;
    transition: all 200ms;
    align-items: start;
}

.flex_container:not(.show-publicacoes) {
    gap: 0;
}

.publicacoes_container {
    align-self: center;
    background-color: white;
    transition: all 200ms;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 400ms ease, opacity 400ms ease, padding 400ms ease;
    flex-grow: 1;
    border-radius: 0.5rem;
    box-shadow: 0 .5rem 1rem rgba(137, 132, 171, 0.15) !important;
    & h4 {
        display: block;
        padding: 0.75rem 20px;
        margin-bottom: 5px;
        margin-top: 0;
        font-size: 1rem;
        font-weight: 500;
        background-color: var(--blue);
        color: white;
    }    
}

.publicacoes_list {
    margin: 10px;
    color: rgb(41, 41, 41);
    text-decoration: none;
    list-style: none;
    padding: 0;

    & li {
        display: flex;
        flex-direction: row;
        text-decoration: none;
        gap: 25px;
        text-align: left;
        white-space: wrap;
        padding: 0.75rem;
        color: var(--darkgray);
    }
    
    & li .edital_symbol {
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--darkgray);
    }

    & li{
        /* border-bottom: 1px solid var(--gray); */
        /* border: 1px solid rgb(250, 250, 250); */
        border-radius: 0.5rem;
        background-color: #F1F1F1;
    }

    & li+li {
        margin-top: 10px;
    }

    & li .edital_group {
        display: flex;
        flex-direction: column;
    }

    & li .edital_group div:last-child{
        display: flex;
        flex-direction: row;
        margin-top: 10px;
        gap: 0.25rem;
    }

    .badge {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-radius: 0.5rem;
        gap: 0.5rem;
        color: white;
        text-decoration: none;
    }

    .badge-blue {
        background-color: var(--blue);
    }
    .badge-orange {
        background-color: var(--orange);
    }
}

.flex_container.show-publicacoes .publicacoes_container {
    max-width: calc(100% - 20px);
    opacity: 1;
    /* overflow: visible; */
}

.flex_container.show-publicacoes .credenciar_container {
    transform: translateX(-20px);
}

.credenciar_container {
    margin-top: 1.5rem;
    padding: 10px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    transition: transform 400ms ease;
}

.cred-title {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
    color: white;
    text-align: right;
    text-shadow: 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
    margin-bottom: 4rem;
    cursor: default;
}

.credenciar_container form {
    display: flex;
    flex-direction: column;
}

.logo_wrapper {
    max-width: 100%;
}

.credenciar_container form {
    margin-bottom: 2rem;
}

.credenciar_container form img {
    max-width: 100%;
    object-fit: cover;
}

.credenciar_container form input::placeholder {
    font-family: "Poppins", sans-serif;
}

.credenciar_container form input {
    font-family: "Poppins", sans-serif;
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    border: none;
    outline: none;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    color: rgb(85, 85, 85);
}

.cred-button {
    font-family: "Poppins", sans-serif;
    padding: 0.65rem 1.3rem;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transform: translate(0px, 0px);
    box-shadow: 0 4px 4px 0px rgb(0 0 0 / 0.25);
    transition: 200ms;
}

.cred-button:hover {
    filter: brightness(0.95);
    transform: translate(-1px, -1px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.cred-button:active {
    filter: brightness(1);
    transform: translate(0px, 0px);
    box-shadow: 0 4px 4px 0px rgb(0 0 0 / 0.25);
}

.cred-button--orange {
    background-color: #FF8201;
}

.cred-button--blue {
    background-color: #315BA3;
}

.credenciar_container a:visited {
    color: white;
}

.credenciar_container a {
    margin-top: 3rem;
    color: white;
    /* text-shadow: ; */
    text-align: center;
}


@media (min-width: 768px) {
    .credenciar_container {
        margin-top: 0;
        max-width: 350px;
    }

    .flex_container {
        flex-wrap: nowrap;
        margin-inline: 25px;
        align-items: center;
        max-height: 100vh;
    }

    .publicacoes_table {
        & td {
            white-space: nowrap;
        }
    }
}