
* {
  box-sizing: border-box;
}

body {
  background-image: url("http://subtlepatterns.com/patterns/sativa.png");
}

.parrafo-beca {
   font-size: 15.6px;
}
.title {
  text-align: center;
  font-family: 'Oswald';
  font-weight: 100;
  font-size: 3.75rem;
  letter-spacing: 5px;
  background: linear-gradient(rgba(255, 0, 0, 0), #444, rgba(255, 0, 0, 0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}
@media screen and (min-width: 37.5em) {
  .title {
    font-size: 4.75rem;
  }
}

p {
  /*margin: 0 auto 2rem;
  text-align: center;
  font-family: 'oswald';
  font-size: 1.25rem;
  color: #444;
  font-weight: 100;
  width: 90%;*/
}
@media screen and (min-width: 37.5em) {
  p {
    /*height: 70%;*/
  }
}

.case-study-gallery {
  margin-top: 50px;
  width: 100%;
  margin: 50px auto;
  max-width: 1028px;
}

.case-study {
  position: relative;
  display: block;
  width: 100%;
  height: 250px;
  margin: 0 auto 2rem;
  background-size: cover;
  border-radius: 10px;
  box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all .4s ease;
}

.uno{
  
}

@media screen and (min-width: 37.5em) {
  .case-study {
    height: 300px;
  }
}
@media screen and (min-width: 45em) {
  .case-study {
    display: inline-block;
    width: 45%;
    margin-left: 25px;
    height: 61%
  }
}

.case-study__img {
  width: 90%;
  display: block;
  margin-top: 50%;
  transform: translateY(50%);
  margin: 0 auto;
}

.case-study__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 10;
}
.case-study__overlay:after {
  content: '';
  width: 100%;
  border-radius: 10px;
  height: 100%;
  background-color: #202020;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: -10;
  left: 0;
  transition: all .3s ease;
}

.case-study__title {
  position: relative;
  top: -200px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  font-size: 2rem;
  font-family: 'Oswald';
  font-weight: 100;
  color: white;
  text-align: center;
  letter-spacing: 5px;
  transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
}

.case-study__link {
  position: relative;
  display: block;
  width: 80%;
  /*top: 297¨*/
  top: 517px;
  padding: 10px;
  margin: 0 auto;
  font-family: 'Oswald';
  color: black;
  letter-spacing: 3px;
  text-decoration: none;
  text-align: center;
  border: 2px solid white;
  border-radius: 3px;
  font-size: 1em;
  transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
  background-color: white;
}
.case-study__link:hover {
  background-color: white;
  color: #202020;
}

.case-study:hover .case-study__title {
  top: 0;
}
.case-study:hover .case-study__link {
  top: 0;
}
.case-study:hover .case-study__overlay:after {
  opacity: .75;
}


@media only screen and (max-width: 600px) {

         .case-study__link {
          position: relative;
          display: block;
          width: 91%;
          top: 355px¨;
          top: 297px;
          padding: 0px;
          margin: 0 auto;
          font-family: 'Oswald';
          color: black;
          letter-spacing: 3px;
          text-decoration: none;
          text-align: center;
          border: 2px solid white;
          border-radius: 3px;
          font-size: 1em;
          transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
          background-color: white;
        }

        .case-study{
              background-size: contain;
    background-position-x: center;
    background-repeat: no-repeat;  
        }
}

.flipbook-menu-right {
    justify-content: flex-end;
    align-self: center;
    flex: 1;
    display: flex;
    min-width: -webkit-min-content;
    /* margin-left: auto; */
    padding-top: 66px;


}




#book1{
  display: none;
}

.uno{
  background-image: url('../Administrador/becas/uploads/<? echo $rows["nombre_archivo"];?>') ;
  background-position-x: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#bec{
 display:none ;
}

.navbar{
      background-color: #395a85;
}