@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap');
:root {
    --primario: #ec1c54;
    --secundario: #1a1a1a;
}
.animate__delay-1s{
    
}
html {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    background-color: #DDDDDD;
}
.pantalla {
    height: 100vh;
    text-align: center;
}
.contenedor {
    height: inherit;
    text-align: center;
    margin: 0 auto;
    max-width: 128rem;
    padding: 2rem;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
}
.logo-py {
    max-width: 40rem;
}
.logo-footer {
    max-width: 14rem;
}
.header {
    padding: 3rem;
}
.contiene-paises {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 2rem 2rem;
}
@media (max-width: 768px) {
    .contiene-paises {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 2rem 2rem;
    }
}
h1 {
    font-size: 2.3rem;
    padding-top: 2rem;
    font-weight: 300;
}
h2{
    font-size: 1,6rem;
    font-weight: 300;
    padding-bottom: 2rem;
    
}
.pais .nombre {
    font-weight: 300;
    font-size: 1.6rem;
}
.bandera {
    border-radius: .3rem;
    box-shadow: 0 .3rem .7rem -.3rem rgba(0, 0, 0, .5);
    margin-bottom: 1rem;
}
.boton {
    padding: 3rem;
    background-color: #F3F3F3;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--secundario);
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}
.boton:hover {
    transform: scale(1.1);
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    box-shadow: 0 .6rem 2rem -.2rem rgba(0, 0, 0, .2);
}
.footer {
    padding: 3rem;
}
.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    font-size: 1.6rem;
}
.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}
.modalDialog > div {
max-width: 40rem;
position: relative;
margin: 10% auto;
padding: 3rem;
border-radius: 1rem;
background: #fff;
text-align: center;
}
.close {
background: var(--primario);
color: #FFFFFF;
line-height: 2.5rem;
position: absolute;
right: -1.2rem;
text-align: center;
top: -1rem;
width: 3rem;
text-decoration: none;
font-weight: bold;
    border-radius: 1rem;
}
.close:hover {
    background: var(--secundario);
}