@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600');
/* @import url("https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i|PT+Serif:400,400i,700,700i"); */
* {
    padding: 0;
    margin: 0;
}

*, *::before, *::after{
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

img {
    display: block;
    width: 100%;
    height: auto;
}
body {
    min-height: 100vh;
    justify-content: center;
    background-color: #fff;
    font: 16px/1.5 'Source Sans Pro', sans-serif; 
}

.buttons{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    margin: 1em;
}



#btn-back, #btn-next {
    padding: 0.7em 3.5em;
    background: black;
    color: white;
    font-style: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase; 
    font-style: italic;
    opacity: 0.8;
    border-radius: 1.5em;
    border: none;
    margin: 1em;
    transition-duration: 0.3s;
    text-decoration: none;
}

#btn-back:hover, #btn-next:hover{
    color: black;
    background-color: white; 
    cursor: pointer;  
} 
.header-title{
display: flex;
flex-direction: column;
  text-align: center;
  flex: 0 0 35%;
  box-shadow: 0 0.3rem 1rem 0.3rem rgba(0,0,0,0.3); 
  margin: 1em;
 background-color: lightgray;

}

.header-title h1 {
    margin-bottom: 0.5em;
    font-size: 36px;
    font-weight: 550;
    font-style: italic;
    opacity: 0.7;
     margin-top: -0.5em; 
}
.header-title p {
    font-size: 18px;
    font-weight: 100;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1em;
}

img#sagrada{
    display: block;
    width: 550px;
    height: 550px;  
    margin: 1em;
      
    
}


div .contain{
    display: flex;
    flex-direction: column;
    padding: 2em;
   
}

article {
 display: flex;
  text-align: center;
  flex: 0 0 35%;
  box-shadow: 0 0.3rem 1rem 0.3rem rgba(0,0,0,0.3); 
  margin: 1em;
 background-color: lightgray;
 padding: 2em;
justify-content: space-between;
margin-bottom: 2em;

}
.guel, .casa{
 background-color:#fff;
 
}

.contain h2{
  font-style: italic;
  opacity: 0.7;
  font-weight: 550;
  margin-bottom: 1em;
  margin-top: 3em;
}
.contain p {
    font-size: 18px;
    font-weight: 100;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 3em;
    line-height: 2;

}
#guel, #sagrada, #cathedral, #batlo{
    text-decoration: none;
}


.images{
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 2em;
  
}

img#casa{
    display: block;
    width: 350px;
    height: 350px;  
    margin: 1em; 
    
}
div.batlo, div.mila, div#map{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    

}


footer {
    background: #AD1519;
    text-align: center;
    color: white;  
    padding: 1em 0;
    margin-top: 7em;
    
}
