body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
}

.title {
  font-family: "Candara";
  font-size: 24px;
  font-weight: 700;
  color: #5D4037;
  text-align: center;
}

h1+p, p+p {
  margin-top: 10px;
}


.conatiner {
  width: 100%;
  height: 500px;
}
.wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.box {
  margin: 10px;
  width: 300px;
  height: 490px;
  text-align: center;
  border-radius: 3px;
  -webkit-transition: 200ms ease-in-out;
  -o-transition: 200ms ease-in-out;
  transition: 200ms ease-in-out;
  -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.3);
          box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.box:hover {
  margin-bottom: -10px;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.7);
          box-shadow: 0 0 5px rgba(0,0,0,0.7);
}
.box h1 {
  color: #fff;
  padding: 30px;
  margin-top: 100px;
  text-align: center;
  font-weight: 100;
  font-size: 25px;
  background: rgba(0,0,0,0.8);
  -webkit-box-shadow: 0 0 30px rgba(0,0,0,0.7);
          box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.date h4 {
  color: #fff;
  font-weight: 300;
  text-align: center;
  letter-spacing: 3px;
  text-shadow: 0 0 3px rgba(0,0,0,0.9);
}
.poster {
  width: 130px;
  height:130px;
  margin: 120px auto;
  position: relative;
  border-radius: 100px;
}
.poster h4 {
  top: 16px;
  color: #fff;
  position: relative;
  font-size: 80px;
  text-align: center;
  font-weight: 100;
}

.one {
  background: url('/pages/imgvg/diseño.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.two {
  background: url('/pages/imgvg/fundamentos.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.three {
  background: url('/pages/imgvg/motores.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.four {
  background: url('/pages/imgvg/optimización.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.five {
  background: url('/pages/imgvg/metodo.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.six {
  background: url('/pages/imgvg/ia.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


 /* background: url('https://source.unsplash.com/550x520');*/





/*  Cookie */
.Follow {	  background:url("https://p7.hiclipart.com/preview/577/999/597/chocolate-chip-cookie-clip-art-biscuits-christmas-cookie-bakery-biscuit.jpg")no-repeat center / contain;
  width: 50px;
  height: 50px;
  bottom: 9px;
  left: 20px;
  display:block;
  position:fixed;
  border-radius:50%;
  z-index:999;
  animation:  rotation 10s infinite linear;
  }

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}


/* Botones con pop-up*/

.simplePopup {
 width: 50%;
}

.adimage {
  width: 100%;
}

.adimage img { 
  width: 100%;
  height: auto;
}
/*
.modal-content {
   /*position: fixed;*
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: max-content;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 2.3rem;
    /* outline: 0; *
  height:auto;
  margin:10vh auto;
}
*/

/*inicio*/

.modal-vg {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(209, 31, 31); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity*/
}


/* Modal Content (image) */
.modal-content-vg {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content-vg, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* Modal Content (image) */
.modal-content-vg {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
/* The Close Button */
.close-vg {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

 /* fin */


.pop-up {
  height:auto;
  width:60%;
  margin:10vh auto;
  background:red;
  position:relative;
  z-index:1;
  border-radius:5px;
  box-shadow:0 0 20px #000;
}

.pop-up-container{
  height:100vh;
  width:100%;
  background:blue;
  opacity:.5;
  position:relative;
  z-index:-1;
  margin-top:-500px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.h1c{
  float: none;
  margin-left: 46%;
  margin-right: 50%;
  PADDING-TOP: 3%;
  color:white;
}

.h1d{
  float: none;
  margin-left: 40%;
  margin-right: 50%;
  PADDING-TOP: 3%;
  color:white;
}