@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");

* {
    margin: 0;
    top: 0;
    left: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

nav {
    background-color: #fb7c47 !important;
}

.navbar-brand img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    background-color: #fafafa;
    border-radius: 1000px;
    padding: 5px;
}

.loader {
    background-color: #fafafa;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.loader svg {
    width: 3.25em;

    transform-origin: center;

    animation: rotate4 2s linear infinite;
}

circle {
    fill: none;

    stroke: #201e1f;

    stroke-width: 2;

    stroke-dasharray: 1, 200;

    stroke-dashoffset: 0;

    stroke-linecap: round;

    animation: dash4 1.5s ease-in-out infinite;
}

.svg-error {
    width: 200px;
    height: 20vh;
}

/*TABLA RESULTADOS*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.table__head {
    width: 100% !important;

    & img {
        display: block;
        width: 120px;
        height: 120px;
        object-fit: contain;
    }
}

.table tbody th {
    white-space: nowrap;
    width: 1%;
    text-align: justify;
}

.table tbody tr td:first-child {
    text-align: justify;
}

.table tbody tr td:last-child {
    font-weight: 800;
    text-align: justify;
    text-decoration: underline;
}

/*? footer containers */
footer {
    background-color: #383838;
    color: #fafafa;
    width: 100%;
    min-width: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 80rem;
    width: 100%;
    padding: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 4;
    gap: 3rem 1rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem 0.5rem 2.25rem 0.5rem;
}

.footer-columns section,
.footer-columns .footer-logo {
    display: flex;
    flex-direction: column;
    flex: 1 0 10rem;
    max-width: 10rem;
}

.footer-columns ul {
    display: flex;
    gap: 0.75rem;
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    font-weight: 600;
}

.footer-columns ul a {
    color: var(--text-color);
    text-decoration: none;
}

.footer-columns ul a:hover {
    text-decoration: underline;
}

.footer-columns h3 {
    color: var(--text-heading-gray);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;

    & img {
        background-color: #fafafa;
        border-radius: 1000px;
        padding: 5px;
        width: 100px;
        height: 100px;
        object-fit: contain;
    }
}

/*? Footer bottom */
.footer-bottom {
    margin-top: 1rem;
    display: flex;
    align-items: end;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0px;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #fafafa;
    border-top: 1px solid #fafafa;

    & p {
        font-size: 0.8rem;
    }

    & a {
        color: #fafafa;
        font-weight: 600;
        text-decoration: none;
    }
}

.footer-bottom>small {
    margin: 0 0.25rem;
}

.footer-headline>h2 {
    margin: 0;
    font-size: 1rem;
    color: #fafafa;
}

.footer-headline>p {
    color: #fafafa;
    margin: 0.25rem 0 1.25rem 0;
}

.footer-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-description h3 {
    margin-bottom: 0.5rem;
}

/*? socials */

.social-wrapper {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    padding: 0.5rem 0;
    justify-content: end;
    margin-bottom: 1rem;
    align-items: center;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-links img {
    width: 1.5rem;
    height: 1.5rem;
    transition: all 0.2s ease-in-out;
}

.social-links img:hover {
    transform: scale(1.1);
}

.social-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style-type: none;
}

/*? mobile */
@media (min-width: 926px) {
    .footer-logo {
        margin-right: auto;
    }
}

@media (max-width: 800px) {
    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 0.5rem 2rem 0.5rem;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        text-align: center;
    }

    .social-wrapper {
        justify-content: center;
    }
}


@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;

        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;

        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}