html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}
body{
    font-family: "Poppins", sans-serif;
    background-color: rgba(238, 240, 242, 1);
    margin: auto;
    max-width: 1300px;
}
#container{
    display: grid;
    grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
    grid-template-rows: auto;
    column-gap: 0vw;
    row-gap: 0vh;
    width: 100%;
}
a:link, a:visited, a:active {
    text-decoration: none;
}

/*MAIN*/
main{
    grid-column: 1 / span 10;
    background-color: rgba(238, 240, 242, 1);;
    padding-bottom: 3vh;
    width: 100%;
}
main h3, main h4{
    color:#0d2b68;
}
main h3{
    padding-left: 1vw;
}
main h2{
    color: #0d2b68;
    font-size: 3em;
    margin-left: 2vw;
    text-decoration: underline ;
    font-style: italic;
    font-weight: 900;
    margin: 3vh 40% 1vh;
}
.flexCentrador{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
}
section>.flexCentrador{
    border-bottom: 2px solid #0d2b68;
}
section>.flexCentrador:last-of-type{
    border-bottom: none;
}
#DiaEuropa h3{
    padding-left: 0px;
}
#DiaEuropa iframe{
    width: 600px; 
    height: 380px; 
    max-width: 100%;
}
main article{
    padding: 1vh 2vw 1vh 1vw;
    font-size: larger;
}
main article.border{
    border:3px solid #0d2b68;
    border-radius: 10px;
    margin: 20px 5px 20px 5px;
}
#Aside-DiaEuropa{
    position: relative;
    float: right;
    margin-top: 50px;
    margin-right:30px;
    background-color: #0d2b68;
    width: 200px;
    border-radius: 25px;
    text-align: center;
}
#Aside-DiaEuropa *{
    color: white;
    padding-right: 7%;
}
#Aside-DiaEuropa-content{
    position: absolute;
    display:none;
    background-color: white;
    border: 3px solid #0d2b68;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top: none;
    top: 45px;
    left: -3px;
    width: 200px;
}
#Aside-DiaEuropa-content a{
    color:#0d2b68;
    padding-left: 40px;
}
#Aside-DiaEuropa:hover #Aside-DiaEuropa-content{
    display:block;
}
#Aside-DiaEuropa:hover{
    background-color: white;
    border: 3px solid #0d2b68;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
#Aside-DiaEuropa:hover h3{
    color: #0d2b68;
}
#C20-21,#C21-22,#C22-23{
    margin-right: 15%;
    margin-left: 15%;
    font-size: 2em;
}
#IP{
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
#IP>h3{
    font-size: 2em;
    margin-bottom: 0em;
}
#IPtxt{
    grid-column: 1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
#IPenlace{
    grid-column: 1;
    grid-row: 3;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
#IPenlace>a{
    background-color: #0d2b68;
    border: 3px solid #0d2b68;
    border-radius: 30px;
    color: white;
    padding: 1vw;
}
#IPenlace>a:hover{
    background-color: white;
    color: #0d2b68;
}
#IPimg{
    grid-column: 2;
    grid-row: 1/span 3;
    margin: auto;
    width: 100%;
}
#IPimg>img{
    width: 100%;
}
#container2{  
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: 1fr 1fr 1fr;
    display: grid;
    width: 100%;
    font-weight: bolder;
}

/*MOVIL*/
@media (max-width: 720px){
    
    #container2{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr auto;
    }
    #IPimg{
        grid-column: 1;
        grid-row: 4;
    }
}