#contenido{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows:calc(100vh) calc(20vh);
  grid-gap: 10px;
  margin: 30px 0px;
}
.button1{
  border: 1px solid #5080af;
  color: var(--light);
  cursor: pointer;
  padding: 5px 10px;
  max-width: 100%;
  border-radius: 20px;
  overflow: visible;
  text-align: center;
  margin: 5% 20%;
}
.button1:hover {
  background-color: #5080af;
}
#contenido .caja1{
  padding:10%;
  grid-column: 1/2;
  grid-row: 1/2;
  text-align: center;
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);


}
#contenido .caja2{
  grid-column: 2/3;
  grid-row: 1/2;
  padding:10%;
  text-align: center;
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);

}
#contenido .caja3{
  grid-column: 3/4;
  grid-row: 1/2;
  text-align: center;
  padding:10%;
  justify-content: center;
  box-shadow: 0 1px 5px rgba(104, 104, 104, 0.8);

}
#contenido .caja4{
  grid-column: 4/5;
  grid-row: 1/2;
  text-align: center;
  display: grid;
  justify-content: center;
}
.circle-img{
  width: 90%;
  padding-left: 15px;
}
#contenido .text1 {
  grid-column: 1/2;
  grid-row: 2/3;
  text-align: center;
  justify-content: center;
}
#contenido .text2 {
  grid-column: 2/3;
  grid-row: 2/3;
  text-align: center;
  justify-content: center;
}
#contenido .text3 {
  grid-column: 3/4;
  grid-row: 2/3;
  text-align: center;
  justify-content: center;
}
#contenido .text4 {
  grid-column: 1/5;
  grid-row: 2/3;
  text-align: center;
  justify-content: center;
}


.intro{
  text-align: justify;
  animation-duration: 3s;
  animation-name: slidein;
}
@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}
.modal-dialog {
      max-width: 800px;
      margin: 30px auto;
  }



.modal-body {
  position:relative;
  padding:0px;

}
.close {
  position:absolute;
  right:-30px;
  top:0;
  z-index:999;
  font-size:2rem;
  font-weight: normal;
  color:#fff;
  opacity:1;
}
/* Tablet Landscape */
@media screen and (max-width: 1060px) {
    #primary { width:67%; }
    #secondary { width:30%; margin-left:3%;}
    body{
      height: 80%;

    }
    #contenido{
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows:calc(100vh) calc(20vh);
      grid-gap: 10px;
      margin: 30px 0px;
    }
}

/* Tabled Portrait */
@media screen and (max-width: 768px) {
    #primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }
}
@media (min-device-width:600px) {
    img[data-src-600px] {
        content: attr(data-src-600px, url);
    }
}

@media (min-device-width:800px) {
    img[data-src-800px] {
        content: attr(data-src-800px, url);
    }
}

@media (min-width: 640px) { body {font-size:1rem;} }
@media (min-width:960px) { body {font-size:1.1rem;} }
@media (min-width:1100px) { body {font-size:1.2rem;} }

/* Popup box BEGIN */
.hover_bkgr_fricc{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
    left: 0;
}
.hover_bkgr_fricc .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.hover_bkgr_fricc > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 551px;
    min-height: 100px;
    vertical-align: middle;
    width: 60%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
}
.popupCloseButton {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton:hover {
    background-color: #ccc;
}
.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 5%;
    display: inline-block;
    border: 1px solid #5080af;
    color: var(--light);
    padding: 20px 20px;
    max-width: 100%;
    border-radius: 20px;
}
.trigger_popup_fricc:hover{
    background-color: #5080af;
}
/* Popup box BEGIN */
/* Popup box BEGIN */
.hover_bkgr_fricc1{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
    left: 0;

}
.hover_bkgr_fricc1 .helper1{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.hover_bkgr_fricc1 > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 551px;
    min-height: 100px;
    vertical-align: middle;
    width: 60%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
}
.popupCloseButton1 {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton1:hover {
    background-color: #ccc;
}
.trigger_popup_fricc1 {
    cursor: pointer;
    font-size: 20px;
    margin: 5%;
    display: inline-block;
    border: 1px solid #5080af;
    color: var(--light);
    padding: 20px 20px;
    max-width: 100%;
    border-radius: 20px;
}
.trigger_popup_fricc1:hover{
    background-color: #5080af;
}
/* Popup box BEGIN */
/* Popup box BEGIN */
.hover_bkgr_fricc2{
background:rgba(0,0,0,.4);
cursor:pointer;
display:none;
height:100%;
position:fixed;
text-align:center;
top:0;
width:100%;
z-index:10000;
left: 0;

}
.hover_bkgr_fricc2 .helper2{
display:inline-block;
height:100%;
vertical-align:middle;
}
.hover_bkgr_fricc2 > div {
background-color: #fff;
box-shadow: 10px 10px 60px #555;
display: inline-block;
height: auto;
max-width: 551px;
min-height: 100px;
vertical-align: middle;
width: 60%;
position: relative;
border-radius: 8px;
padding: 15px 5%;
}
.popupCloseButton2 {
background-color: #fff;
border: 3px solid #999;
border-radius: 50px;
cursor: pointer;
display: inline-block;
font-family: arial;
font-weight: bold;
position: absolute;
top: -20px;
right: -20px;
font-size: 25px;
line-height: 30px;
width: 30px;
height: 30px;
text-align: center;
}
.popupCloseButton2:hover {
background-color: #ccc;
}
.trigger_popup_fricc2 {
cursor: pointer;
font-size: 20px;
margin: 5%;
display: inline-block;
border: 1px solid #5080af;
color: var(--light);
padding: 20px 20px;
max-width: 100%;
border-radius: 20px;
}
.trigger_popup_fricc2:hover{
background-color: #5080af;
}

/* Popup box BEGIN */
.hover_bkgr_fricc_guerra_1{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
    left: 0;

}
.hover_bkgr_fricc_guerra_1 .helper_guerra_1{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}

.hover_bkgr_fricc_guerra_1 .obra{
  height: 850px;
  width: 600px;
}
.hover_bkgr_fricc_guerra_1 > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 800px;
    min-height: 200px;
    vertical-align: middle;
    width: 60%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
}
.popupCloseButton_guerra_1 {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton_guerra_1:hover {
    background-color: #ccc;
}
.trigger_popup_fricc_guerra_1 {
    cursor: pointer;
    font-size: 20px;
    margin: 60px;
    display: inline-block;
    border: 1px solid #5080af;
    color: var(--light);
    padding: 20px 20px;
    max-width: 100%;
    border-radius: 20px;
}
.trigger_popup_fricc_guerra_1:hover{
    background-color: #5080af;
}
/* Popup box BEGIN */
.fade-in{
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}
@keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
}
