/*   ---   POPUP   ---   */
#fondo-pop{
    position: fixed;
    background: rgba(0,0,0,.6);
    height: 100%;
    width: 100%;
    z-index: 100000000000;
    backdrop-filter: blur(5px);
}

#fondo-pop .closebtn{
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    transition: .3s ease-in-out;
    border-radius: 40px;
    background: rgba(255,255,255, 0.2);
    height: 80px;
    width: 80px;
    display: block;
    line-height: 80px;
    text-align: center;
}

#fondo-pop .closebtn:hover{
    background: rgba(255,255,255, 0.4);
    color: red;
}

#fondo-pop .img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  /*
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.6);
    */
}

@media (max-width: 767px){
	#fondo-pop .img{
	    width: 80%;
	}
	
	#fondo-pop .img img{
	    width: 100%;
	}
}
/*   ---   POPUP   ---   */

/* #152d74  */
* {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 0;
  text-align: center;
  transition: .4s ease;
}

header.affix {
  background: #fff;
}

header #logo {
  display: block;
  width: 100%;
  height: 80px;
  background: url('../img/logo-fester-b.png') center no-repeat;
  background-size: contain;
  transition: .4s ease;
}

header.affix #logo {
  background: url('../img/logo-fester.png') center no-repeat;
  background-size: contain;
  height: 60px;
}

header .llama {
  color: #fff;
  height: 80px;
  font-size: 18px;
  padding-top: 12px;
  transition: .4s ease;
}

header.affix .llama {
  background: #001b6f;
  height: 60px;
  padding-top: 4px;
}

header .llama p {
  margin: 0;
}

header .llama a {
  color: #fff;
}

header nav {
  line-height: 80px;
  transition: .4s ease;
}

header.affix nav {
  line-height: 60px;
}

header nav a {
  font-size: 16px;
  font-weight: 600;
  margin: 0 5px;
  text-decoration: none !important;
  color: #fff;
  transition: .4s ease;
}

header.affix nav a {
  color: #c9362b;
}

header nav a:hover {
  color: #c9362b;
}

#whatsapp {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background: #25d366;
    text-align: center;
    padding: 5px 10px;
    z-index: 1000000;
    border-radius: 20px;
    font-size: 20px;
}

#whatsapp a {
    color: #fff;
    font-size: 18px;
}

#whatsapp i {
    margin-right: 8px;
    font-size: 20px;
}

#home {
  height: 75vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-size: cover;
  position: relative;
  background-attachment: fixed;
}
/*#home {
  height: 100vh;
  background: linear-gradient(45deg, rgba(0, 11, 45, 0.8), rgba(0, 27, 111, 0.8)), url('../img/home.jpg') center no-repeat;
  background-size: cover;
  position: relative;
}*/

#home h1 {
  font-size: 30px;
  font-weight: 60px;
  font-weight: 600;
  position: absolute;
  margin: 0;
  left: 50%;
  top: 60%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  color: #fff;
}

#home .video-full {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -100;
}

#home .video-full .full-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

#productos {
  padding: 100px 0;
}

.row.display-flex {
  display: flex;
  flex-wrap: wrap;
  padding-top: 50px;
}

.row.display-flex>[class*='col-'] {
  display: flex;
  flex-direction: column;
}

#productos h2 {
  font-weight: 600;
  color: #123193;
}

#productos figure {
  background: #123193;
  color: #fff;
  margin-bottom: 30px;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

#productos figure img {
  height: 170px;
}

#productos figure figcaption {
  padding: 20px;
}

#productos figure figcaption h3 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
}

#productos figure figcaption p {
  font-weight: 300;
  font-size: 14px;
}

#contacto {
  padding: 100px 0;
  background: #123193;
  color: #fff;
}

#contacto h2 {
  margin: 0;
  margin-bottom: 30px;
  font-weight: 600;
}

#contacto input, #contacto textarea {
  width: 100%;
  margin-bottom: 30px;
  padding: 15px;
  border: none;
  font-size: 16px;
  border-radius: 10px;
  resize: none;
  color: #222;
}

#contacto textarea {
  height: 120px;
}

#contacto button {
  background: #fff;
  color: #123193;
  padding: 8px 30px;
  border: none;
  border-radius: 10px;
  margin-top: 30px;
}

.ubicaciones{
    padding: 70px 0;
    background: #123193;
    color: #fff;
    font-size: 18px;
}

.ubicaciones h2{
    margin-top: 0;
    margin-bottom: 40px;
}

footer {
  padding: 25px 0;
  color: #fff;
  background: #000b2d;
  text-align: center;
}

footer img {
  height: 30px;
}

@media (max-width: 992px) {
  #home h1 {
    font-size: 30px;
    width: 80%
  }

  header {
    padding: 5px 0;
  }

  header.affix {
    background: #fff;
  }

  header #logo {
    height: 60px;
  }

  header.affix #logo {
    height: 50px;
  }

  header .llama {
    height: 60px;
    padding-top: 4px;
  }

  header.affix .llama {
    background: #001b6f;
    height: 50px;
    padding-top: 3px;
  }

  header.affix .llama p, header.affix .llama a {
    font-size: 14px;
  }

  header nav {
    line-height: 40px;
  }

  header.affix nav {
    line-height: 30px;
  }

  header nav a {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  
  #home {
  height: 150vh !important;
  background: linear-gradient(45deg, rgba(0, 11, 45, 0.8), rgba(0, 27, 111, 0.8)), url('../img/home.jpg') center no-repeat;
  background-size: cover;
  position: absolute;
}
  
  #home h1 {
    font-size: 21px;
    font-weight: 600;
    position: absolute;
    margin: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    color: #fff;

  }
    #pop{ width: 600px;
    height: 800
    border:; 0px solid gray;
    bottom: 50%;
    right: 30%;
    position: fixed;
    border-radius: 15px;
    box-shadow: inset -4px -4px rgba80,0,0,0.9);
    background-color: rgba(0,0,0,0.9);
    
    }
    #close{ right: 5;
    top: 5;
    float: right; 
    
   }