*{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body{
    margin: 0;
    background-color: #e7eaee;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0ab6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.carregar{
    width: 150px;
    animation: blink 1.5s infinite;
}

header{
    background-image: url(../Imagens/img-paises/main.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
}

.cab{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo{
    display: flex;
    color:white;
}

.filtros{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    color: white;
}

.barra-busca{
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.buscar{
    width: 300px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    transition: width 0.4s ease-in-out;
}

main{
    background-color: #e7eaee;
    position: absolute;
    top: 350px;
    width: 100%;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0px -9px 10px 0px rgba(0, 0, 0, 0.589);
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
}

.todosPaises{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
    gap: 15px;
}

.pais{
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.3);
    min-width: 200px;
    max-width: 400px;
    min-height: 200px;
    max-height: 400px;
    transition: 1s;
}

.pais > p{
    width: 210px;
    height: 20px;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pais > img{
    width: 214px;
    height: 150px;
}

.pais:hover{
    box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.9);
    transition: 1s;
}

 /* Animação de carregamento */

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}