#popact {
  position:fixed;
  width:100%;
  top:10%;
  bottom: 10%;
}

#popact div {
  width:900px;
  height:500px;
  margin:0 auto;
  background: rgb(220, 220, 220);
}

body {
  font-family: 'Overlock SC', cursive;
  background: rgb(0, 0, 0, 1);
  color: rgb(33,33,33);
  overflow:hidden;
  text-decoration: none;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
  /* background-image: url(../images/logo/bg3.png);
  background-repeat:no-repeat;
  background-position: center center; */
  /* background-size: cover; */
  /* filter: blur(8px);  */
  /* Dulls the background image */
}

h1 {
  font-size: 120px;
  /*color: grey;*/
  color: rgb(220,220,220);
  /*text-align: center;*/
}

h2 {
  color: rgb(222, 222, 222);
  margin-top: -6em;
  /* margin: 0.5em; */
  /* bottom: 1em; */
  /* padding: 0; */
}

a, .fa, .fa-brands, .fa-solid {
  color: rgb(51, 102, 153);
}

#darkmode {
  background: rgb(0, 0, 0);
  color: rgb(33,33,33);
}


h1.small {
  font-size: 88px !important;
}


.ljs {
  font-size: 77px !important;
  /*color: grey;*/
  color: rgb(220,220,220);
  /*text-align: center;*/
}


img{
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}


.img_short {
  max-height: 600px;
}

/* Copyright style */
.copy {
  font-size: xx-small;
  /* line-height: 50%; */
  color: grey;
  cursor: default;
  margin-top: 1em;
}

.container {
  background-color: rgba(255, 0, 0, 0.1);
  /* width: 88%; */
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  object-fit: contain;
}

.bg_container {
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* position: fixed; */
  position: absolute;
  object-fit: contain;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 1)), url(../images/slides/rayo025.png);

  /* padding: 16%; */
  background-repeat:no-repeat;
  background-position: center center;
  background-size: cover;  
  /* filter:blur(3px); */
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  /*width: 67%;*/
  /* width: 90%; */
  /* top: 40%; */
  /* left: 50%; */
  /* transform: translate(-50%, 50%); */
  object-fit: contain;
  /*background-color: pink;*/
}

/* About container */
.about-container {
  position: fixed;
  /*width: 67%;*/
  /* width: 88%; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.8);
  /* background-image: url(../images/about.jpg);
  background-repeat: no-repeat;
  background-position: center center; */
  /* z-index: -1; */
  /*background-color: pink;*/
}

.underlay {
  position: fixed;
  top: 33.3%;
  left: 50%;
  transform: translate(-50%, -33.3%);
  z-index: -1;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 46%;
  width: auto;
  /* margin-top: -22px; */
  padding: 16px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  color: #fff;
  /*background: #000;*/
  background: rgba(33,33,33,0.69);
  z-index: 25;
  /* opacity: .8; */
}

.prev {
  /* transform: translate(-80%,0%); */
  /* border-radius: 0 3px 3px 0; */
  margin-left: 10%;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  /* border-radius: 0 3px 3px 0; */
  margin-right: 10%;
  /* border-radius: 3px 0 0 3px; */
  /* transform: translate(80%,0%); */
}



/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(51,102,153,0.7);
}

.prev:active, .next:active {
  font-size: larger ;
}

/* Caption text */
.text {
  position: relative;
  width: 16.65%;
  text-align: center;
  font-size: 1em;
  bottom: 1.5em;
  /* padding: 0.2 0 0.1em; */
  /* color: #DC052D; */
  /* color: #336699; */
  color: rgb(51, 102, 153);
  background: rgba(33,33,33,0.5);
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  font-weight: bold;
}

.services_text {
  position: relative;
  width: 88%;
  text-align: center;
  font-size: 1.2em;
  bottom: 1.0em;
  color: rgb(222, 222, 222);
  /* background: rgba(33,33,33,0.5); */
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  font-weight: bold;
}

/* Caption text */
.about_text {
  position: relative;
  width: 77%;
  text-align: center;
  text-align: inter-character;
  font-size: 1.1em;
  bottom: 1.1em;
  /* border-top: 3em; */
  padding-top: 0.6em;
  /* padding: 0 0 0.25em; */
  color: rgb(222, 222, 222);
  /* background: rgba(0,0,0,.4); */
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
}

.text a{
  color: rgb(220,220,220);    
}

/* title text */
.title_text {
  position: relative;
  width: 33.3%;
  text-align: center;
  font-size: 1.75em;
  /* top: 0.5em; */
  /* bottom: 2em; */
  /* padding: 0.4em 0 0.4em; */
  margin: 0.2em 0 -0.95em;
  /* color: grey; */
  /* color: #DC052D; */
  color: rgb(51, 102, 153);
  background: rgba(33,33,33,0.4);
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  font-variant: small-caps;
  font-weight: bold;
  z-index: 50;
  /* border: groove rgb(33, 33, 33); */
}

.about {
  position: relative;
  width: 77.7%;
  text-align: justify;
  font-size: 24px;
  /* top: 1.2em;
  right: 1.5em; */
  padding: 1.5em;
  margin: 3.3em;
  color: grey;
  background: rgba(33, 33, 33, 0.88);
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  font-weight: bold;
  letter-spacing: 3px;
  border-style: double;
  font-family: 'Overlock', cursive !important;
  z-index: 1;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #DC052D;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 750px) {
	h1 {font-size: 24px;}
	.text {width: 77%;}
  .copy {margin-top: 0em;}
  h2 {font-size: .8em;
    margin: 0.1em;}
  .services_text {font-size: 0.8em;}  
}

@media only screen and (max-width: 300px) {
  .copy {margin-top: 0em;}
  h2 {font-size: 0.8 em;
    margin: 0.1em;}
  .services_text {font-size: 0.8em;} 
}

/* 
ADD CONTACT US Styles Below
*/

/* .fa, .fa-brands, .fa-solid{
  z-index: 10;
} */

p {
  /* margin-bottom: 1.2em;
   */
   /* line-height: 80%; */
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;

}

.wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1em;

  &.page {
    padding: 4em 1em;

    p:first-of-type {
      font-weight: 700;
    }
  }
}

.contact {
  position: absolute;
  z-index: 102;
  top: 0px;
  left: 0;
  right: 0;
  padding: 2em;
  background: rgba(0, 0, 0, 0.2);
  color: grey;
  transition: all .4s;
  transform: translateY(-100%);

  &.open-form {
    transform: translateY(0);
    cursor: pointer;
  }

  p {
    font-weight: 600;

    &.close {
      text-align: right;
      cursor: pointer;
    }

    &.close:hover {
      color: #DC052D;
    }

    &.close:active {
      color: #994733;
    }

    &.thanks {
      opacity: 0;
      transition: opacity .2s;
    }

    &.thanks.visible {
      opacity: 1;
    }
  }

  input,
  textarea {
    width: 100%;
    background: black;
    border: darkgrey solid 2px;
    border-radius: .5em;
    resize: none;
    padding: .7em 1em;
    color: grey;
    /* font-family: 'Open Sans', arial, sans-serif; */
    font-size: .65em;
    font-weight: 600;
  }

  textarea {
    font-size: .6em;
    height: 20em;
  }

  input[type="submit"] {
    width: auto;
    font-size: .8em;
    font-weight: 900;
    cursor: pointer;
  }

  input[type="submit"]:hover {
    color: #DC052D;
  }
  
  input[type="submit"]:active {
  color: whitesmoke;
  }
}

.open {
  cursor: pointer;
}

.open:hover,
.text a:hover,
a:hover, .fa:hover,
.fa-brands:hover, 
.fa-solid:hover {
  color: #DC052D;
}

.open:active,
.text a:active,
.fa:active,
.fa-brands:active, 
.fa-solid:active {
  color: whitesmoke;
}
