html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    background-image: url('../img/trailer001.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    
}
.lg-top-nav {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    border-bottom: 1px rgba(255, 255, 255, .3) solid;
    height: 160px;
}
.lg-top-nav .logo {
    text-align: center;
    padding: 30px;
}
.lg-top-nav .main-menu {
    flex: 1;
    padding: 20px;
}
.lg-top-nav nav.menu, .lg-top-nav div.menu {
    background-color: transparent!important;
    margin-top: 0!important;
}
.lg-top-nav nav.menu .item.mobile {
    display: none;
}
nav {
    
}

nav .item.header {
    display: none!important;
}
nav .item.header img {
    width: 170px!important;
}
nav.fixed .item.header {
    display: block!important;
}
nav:not(.fixed) .item.dropdown .menu {
    background-color: rgba(255, 255, 255, .8)!important;
    border-radius: 0 4px 4px 4px!important;
}
nav:not(.fixed) .item.dropdown.active {
    border-radius: 4px 4px 0px 0px!important;
}
nav.fixed .item.dropdown .menu {
    background-color: rgba(255, 255, 255, 1)!important;
}

.lg-top-nav .menu.fixed {
    background-color: white!important;
    z-index: 999;
}
.lg-form input::placeholder, .lg-form textarea::placeholder {
    color: rgba(0, 0, 0, .7)!important;
}
header {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
header::before {
    content:'';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 1;
}
#myVideo {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
}
header .container {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 160px;
    bottom: 0;
    z-index: 2;
    flex-direction: row;
}
.lg-top-nav .logo .ui.small.image {
    width: 100px;
    display: inline-block;
}
.lg-top-nav .logo .ui.medium.image {
    width: 230px;    
}


header .container .lg-titles {
    width: 50%;
    position: relative;
}
header .container .lg-form {
    display: flex;
    flex: 1;
}
header .container .lg-form .lg-form-container {
    margin: auto;
    width: 80%;
    background-color: rgba(255, 255, 255, .7);
    padding: 50px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px black;
}
header .container .titles {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 2;
    text-align: center;
    flex-direction: column;
}
header .lg-form.services .cont {
    margin: auto;
    padding: 30px;
}
header .lg-form.services .ui.list {
    color: white!important;
    font-size: 1.6em;
}
header .lg-form .ui.list {
    color: white!important;
    font-size: 2.5em;
    margin: auto;    
}
header .titles  h1 {
    text-shadow: 2px 2px 6px gray;
    font-size: 4em;
    color: white;
}
header .titles  h2 {
    text-shadow: 2px 2px 6px gray;
    font-size: 2em;
    color: white;
}
header .titles  .titles-container {
    margin: auto;
    max-width: 90%;
}

.main-container {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
}
article {
    font-size: 1.7em!important;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #e4e2e2;
}
article .segment.tab {
    padding: 30px;
}
article.middle-content.about .boton-left {
    position: absolute;
    top: 50%;
    left: 30px;
    margin-top: -25px;
    z-index: 5;
}
article.middle-content.about .boton-right {
    position: absolute;
    top: 50%;
    right: 30px;
    margin-top: -25px;
    z-index: 5;
}
article.middle-content.about .botones {
    margin-top: 80px;
    position: relative;
    text-align: center;
    z-index: 5;
}
article.middle-content.about .botones i:hover {
    color: black!important;
}
article.middle-content div {
    position: relative;
    z-index: 5;
}
article.middle-content.contact-all .contact-data{
    width: 50%;
}

article.middle-content {
    background-color: transparent;
    padding: 100px;
    text-align: center;
    position: relative;
}
article.middle-content p {
    color: white;
    font-size: 1.4em;
}
article.middle-content .header {
    width: 100%;
    margin-bottom: 40px;
}

article.middle-content::before {
    content:'';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.6);
    z-index: 1;
}
article.middle-content .ui.container {
    position: relative;
    z-index: 2;
}
article.middle-content div.inverted.header img {
    margin-bottom: 20px;
}
article.middle-content div.inverted.header .header {
    margin-bottom: 10px;
}
article.middle-content div.inverted.header .sub.header {
    display: block;
    height: 40px;
}

article h2 {
    font-size: 2em!important;
    text-shadow: 2px 2px 5px gray;
}

article .ui.list {
    padding-left: 20px;
}
article .ui.card {
    height: 100%;
}
.ui.relaxed.list {
    max-width: 600px; /* Ajusta el ancho de la lista para tu diseño */
}

.ui.relaxed.list {
    max-width: 700px; /* Ajusta el ancho de acuerdo a tu diseño */
    margin: 0 auto;
}

.ui.relaxed.list {
    max-width: 700px; /* Ajusta el ancho si necesitas */
    margin: 0 auto;
}


footer {
    background-color: #1b1c1d;
    padding: 30px;
    padding-top: 50px;
    color: white;
    font-size: 1.3em;
}
footer .header {
    color: white!important;
}
footer a {
    color: white;
}
footer a:hover {
    text-decoration: underline;
}
footer .sixteen {
    font-size: .7em;
}

.carousel {
    height: 250px;
    width: 60%;
    position: relative;
    overflow: hidden;
    word-wrap: normal;
}
.carousel img {
    display: inline-block;
}

.outerWrapper {
	text-align: left;
	position:relative;
	margin:20px auto 20px auto;
	width:60%;
}

.outerWrapper .item {
	float:left;
	margin-right:12px;
	width:162px;
	padding:3px;
	height:162px;
        display: flex;
}

.outerWrapper .item img {
	background:#ddd;
	width:99%;
	height:auto;
	margin: auto;
        border-radius: 5px;
}

.outerWrapper .left-nav-btn, .right-nav-btn {
	position:absolute;
	width:37px;
	height:37px;
	top:80px;
	cursor:pointer;
	opacity: 0.8;
	background:transparent url('../img/arrows.png') top left no-repeat;
	-webkit-transition:opacity 0.2s linear;
  	-moz-transition:opacity 0.2s linear;
  	-o-transition:opacity 0.2s linear;
  	transition:opacity 0.2s linear;
}

.outerWrapper .left-nav-btn {
	left:-80px;
}

.outerWrapper .right-nav-btn {
	right:-80px;
	background-position: top right;
}

.outerWrapper .left-nav-btn:hover, .right-nav-btn:hover {
	opacity: 1;
}

/* Pager */

.pager {
	line-height: 100px;
	text-align: center;
}


.pager > span {
	cursor: pointer;
	border-radius:8px;
	display: inline-block;
	width:16px;
	height:16px;
	background: #DDDDDD;
	border:1px solid #B3B3B3;
	margin:0 4px;
	overflow: none;
}

.pager > span.active {
	background: #B3B3B3;
}

.pager > span > span {
	display: none;
}

/* Counter (See Example 7) */

#counter {
    margin-top:-30px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding-bottom: 20px;
}
@media screen and (max-width: 500px) {
    .main-menu div.menu {
        display: none;
    }
    .main-menu nav .item.header {
        opacity: 1!important;
        display: block!important;
    }
    .lg-top-nav nav.menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        border-radius: 0!important;
        z-index: 101;
        margin: 0!important;
        width: 100%;
        background-color: white!important;
        border: 1px solid rgba(34,36,38,.15);
    }
    .lg-top-nav nav.menu .item.mobile {
        display: block!important;
    }
    .lg-top-nav nav.menu .right.menu {
        display: none!important;
    }
    .lg-top-nav nav.menu .item.mobile {
        display: block;
    }
    .lg-top-nav .logo {
        display: none;
    }
    .lg-top-nav {
        position: absolute;
        border-bottom: 0;
    }
    header .container { 
        top: 58px;
    }
    header .lg-form {
        display: none!important;
    }
    header .lg-titles {
        width: 100%!important;
        max-width: none;
    }
    header .lg-titles h1 {
        font-size: 2em;
        text-align: center;
    }
    header .lg-titles h2 {
        font-size: 1em;
    }
    nav .header.item img {
        width: 120px!important;
    }
    .middle-content .ui.container {
        width: 100%;
        margin: 0;
    }
    .middle-content {
        padding: 10px!important;
    }
}