*, *:before, *:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --bg-color:#00518C;
    --secondary: #FFF;
}

html, body{
    min-height: 100%;
}

.principal{
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
}

header, footer{
    background-color: var(--bg-color);
    color: var(--secondary);
    width: 100%;
}

header{
    min-height: 80px;
    padding: 5px;
    position: fixed;
    z-index: 10;
}

.fixed__header{
    width: 100%;
    min-height: 85px;
}

img{
    width: 100%;
    max-width: 370px;
}

main{
    padding: 20px 10px;
    flex-grow: 1;
}

h2, h3{
    margin-bottom: 20px;
}

.img__link{
    all: unset;
    display: inline-block;
    cursor: pointer;
}

p{
    white-space: break-spaces;
}

.frm__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.filter{
    height: 32px;
    border-radius: 5px;
    padding: 5px;
    width: 100%;
    font-weight: bold;
}

.btn{
    min-height: 43px;
    width: 154px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1rem;
}


.primary{
    background-color: var(--bg-color);
    color: var(--secondary);
}

.primary:hover{
    filter: brightness(1.3);
}

.card__result{
    display: flex;
    padding: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0,0,0,.3);
    font-size: .8rem;
    min-height: 140px;
    max-width: 350px;
}

.card__result:hover{
    box-shadow: 0px 0px 10px rgba(0,81,140,.5);
}

.icon{
    width: 38px;
    height: 38px;
}

.alert{
    color: #e67e23;
}

.back{
    color: var(--bg-color);
    font-weight: bold;
    cursor: pointer;
}

.back__container
, section
, .section_container
, .section_title
{
    margin-bottom: 10px;
}

footer{
    text-align: center;
    padding: 15px 5px;
    font-size: 0.8rem;
}

.section_container{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}

.section_title{
    color: var(--bg-color);
}

.btn__panel{
    width: 100%;
    padding: 15px;
    text-align: center;
}
/*Loader styles*/
.loader__container{
    display: none;
    padding: 10px;
    justify-content: center;
    align-content: center;
    width: 100%;
    margin-top: 30px;
}

.show{
    visibility: visible;
    display: flex;
}

.loader {
    padding: 5px;
    margin: 0 30px;
    width: 64px;
    height: 64px;
    border: solid 10px;
    border-color: lightblue #f1f1f1;
    border-radius: 50%;
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 800px){

    .frm__container{
        max-width: 1150px;
        width: 90%;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin: 0 auto;
    }
}
