/* Globals */

p{
  font-size: 15px !important;  
  font-family: 'Roboto', sans-serif !important;
}

/* Links */
a.nav-link,
a.nav-link:focus,
a.nav-link:hover {
  color: #fff;
}

header > div.inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px;
}

main{
  margin-top:250px
}


.imagen {
  cursor: pointer;
}

#parrafo{
  font-family: 'Roboto', sans-serif !important;
  margin-bottom: 10px;
  color: #fff;
}

/* Base structure */

body {
  overflow-x: hidden;
  z-index: -2;
  position: relative;
  text-shadow: none !important;
}

.cover-container {
  max-width: 100%;
  max-height: 100%;
}

/* Header */
.masthead {
  margin-bottom: 2rem;
}

.navbar-nav {
  flex: 1;
  justify-content: flex-end !important;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgb(255, 255, 255);
  color: #fff;
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

a.fab{
  font-size: 30px;
}

a.fa-facebook:hover{
  color:  #3b5998;
}
a.fa-linkedin:hover{
  color: #0e76a8;
}

/* responsive navbar */
@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

/* sticky header */
.fullMenu{
  background-color: black;
  transition: all 2s ease;

}

/* Cover */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

div#background {
  height: 100vh;
  width: 100%;
}

@keyframes fadeInOut {
  20% {
    opacity:1;
  }
  40% {
    opacity:0;
  }
  60% {
    opacity:0;
  }
  80% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

.back img{
  object-fit: cover;
  position:absolute;
  left:0;
  width: 100%;
  height: 100vh;
  top: 0;
  filter: brightness(0.5);
  animation-name: fadeInOut;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 15s;
  
}

.back img:nth-of-type(1) {
  animation-delay: 12s;
}
.back img:nth-of-type(2) {
  animation-delay: 9s;
}
.back img:nth-of-type(3) {
  animation-delay: 6s;
}
.back img:nth-of-type(4) {
  animation-delay: 3s;
}
.back img:nth-of-type(5) {
  animation-delay: 0;
}


/* Footer */
.mastfoot {
  color: rgb(255, 255, 255);
}

footer{
  overflow-y: hidden;
}

.contenedor{
  background-color: black;
  color: white;
  height: 35vh;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

div#alineacion{
  align-self: center;
  text-align: center;
}

footer>div{
padding: 1%;
}

div#acomodo{
  height: 80%;
  align-content: flex-end;
  padding-bottom: 15px;
  
}

#footer{
  font-size: 12px;
}



#contenedor{
  max-width: 1250px;
  z-index: -1;
  position: relative;
}

/* CAROUSEL */
ol>li{
  border-radius: 50%;
  height: 10px !important;
  width: 10px !important;
}

/* ZOOM IMG CON MODAL */


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000 !important; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: unset !important; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  
}

.modal #image-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Modal Content (image) */
.modal-content {
  display: block;
  width: 60%;
  max-width: 900px;
}

/* Caption of Modal Image */
#caption {
  color: #ccc;
}

/* Add Animation */
.modal-content, #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)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/*RESPONSIVE PARA CEL*/

@media (max-width: 575px){
  main{
    margin-top: 240px !important;
  }
  ul>li>a{
    margin: 0px 100px 0px 100px;
  }
  div#acomodo{
    height: 45%;
  }
  #footer{
    display: table;
    text-align: center;
  }
}

/*ALERT DEL FORMULARIO*/
div.alert{
  width: 100%;
  height: auto;
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 14px;
  font-family: "Roboto", Arial, sans-serif, helvetica;
}

div.error{
  color: rgba(196, 0, 0, 0.76);
  border: solid red 1px;
  background: rgba(255, 0, 0, 0.2);
}

div.succes{
  color: rgba(14, 144, 14, 0.81);
  border: solid green 1px;
  background: rgba(0, 255, 0, 0.2);
}