body{
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

h1{
    font-family: 'Lemon', cursive;
    text-transform: uppercase;
    color: white;
    font-weight: normal;
}

h2{
    font-family: 'Gloria Hallelujah', cursive;
}

header,
main{
    padding: 10px 40px;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #20bf55;
    background-image: linear-gradient(315deg, #20bf55 0%, #01baef 74%);
}
header a{
    text-decoration: none;
    padding: 6px 20px;
    background: white;
    color: #444;
    border-radius: 5px;
}


ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    justify-content: space-between;
    width: 1000px;
    margin: 40px auto;
}

ul li{
    margin-bottom: 5px;
    position: relative;
}

ul li img{
    height: 150px;
    transform: rotateY(0deg);
    transition: .2s;
    backface-visibility: hidden;
}

ul li img + img{
    transform: rotateY(180deg);
    transition: .2s;
    position: absolute;
    left: 0;
    top: 0;
}

ul li.fija img,
ul li.seleccionado img{
    transform: rotateY(180deg);
}

ul li.fija img + img,
ul li.seleccionado img + img{
    transform: rotateY(0deg);
}

footer{
    height: 500px;
    background: #222;
    color: white;
    padding: 0 40px;
    text-align: center;
    border-top: 2px solid #111;
}

footer span{
    color: pink;
    font-size: 1.2em;
}



#datos{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #01baef;
    padding-top: 10px;
    padding-bottom: 5px;
}

#datos h2{
    line-height: 100%;
    margin: 0;
}

body.noscroll{
    overflow: hidden;
}

#modal{
    background:rgba(0,0,0,0.8);
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
}

#modal div{
    background: white;
    padding: 20px 50px;
    width: 60vw;
    box-sizing: border-box;
}
