html {
    box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}

body{
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: #282c34;
    color: #fff;
    margin:2rem;
}

.not-active { 
    pointer-events: none; 
    cursor: default; 
}

/*********************************/

.grid-container{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));    
    justify-items: center;
    grid-auto-flow: row;
    row-gap: 2rem;;  
}

/*********************************/

.card {
    width: 24rem;
    border: 1px solid #fff;
    border-radius: 0.5em;
    padding: 0 .5em;
    position:relative;
}

/*******/

.card>header>h3{
    height: 35px;
    text-align: center;
}
.card>header>p{
    height: 95px;
    font-size: .9em;
}
.card>header>a{
    height: 25px;
    display: block;
    font-size: 0.9em;
    text-decoration: none;
    color:goldenrod;
    text-align:right;
}

/*******/
.card>main{
    position:relative;
    background-color: white;
    width: 100%;
    height: 24rem;    
    border-radius: 1em;
    display:flex;
    flex-wrap: wrap;
}
.card>main>div{
    width: 50%;
    height: 50%;   
    border: 2px solid #fff;
    border-radius: 1em;
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.card>main>.numFotos{
    position:absolute;
    color: #333;
    padding: .5em;
    background-color: goldenrod;
    border-radius: 50%;
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    color: #333;
}

/*******/

.card img.route{    
    width: 100%;
    height: 20rem;    
    margin-top: 1em;
    border-radius: 1em;
    background-repeat: no-repeat;
}



/*******/
.card>footer{
	display:flex;
	justify-content: space-between
	/*
    text-align: right;
    padding-right: 1em;
    */
}


/**********/
.year {
    position: fixed; 
    right:0px; 
    bottom:0px;
    display:flex;
    color:red; 
    font-size: 14px;  
    background-color: white; 
    text-align: center;
}

#down, #up {
    cursor: pointer;
}
