* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #FFF;
    font-family: Arial , 'sans-serif';
}
video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    object-fit:cover;
}
nav,ul,.container,li,.main {
    display: flex;
}
.container {
    flex-wrap: wrap;
    padding: 1.5em;
}
ul {
    justify-content: space-between;
}
.ul {
    width: 50%;
    margin-left: auto;
}
.container,.containernabBar,ul,header,video,.alert,form,.button-design,.d-block {
    width: 100%;
}
.field {
    border: 1px solid #FFF;
}
.field span {
	position: relative;
	top: 5px;
}
nav {
    line-height: 50px;
    border-bottom: 1px solid #FFF;
}
li {
    line-height: 16px;
}
ul li img {
    height: 50px;
}
header {
    display: block;
    margin-bottom: 1em;
}
ul li  {
    font-size: 13px;
}
li > div {
    margin: 0 .5em;
    padding-top: .6em;
}
.containernabBar {
    width: 25%;
}
.main {
    width: 50%;
}
main,.login,form,.login form h3,.body-form,.alert div h4,.alert div p {
    margin: auto;
}
.login {
    background: rgba(0,61,121,.7);
    padding-top:2em;
    width:30%;
    border-radius: 10px;
}
.login form h3,.body-form,.alert div h4,.alert div p {
    width: 85%;
}
.alert {
    background: #FFF;
    padding: 1em 0;
    margin-top: 1em;
    margin-bottom: 1.5em;
}
.alert div h4, .alert div i {
    color: #f2994a;
}
.alert div p {
    color: rgba(0,61,121,.7);
    padding: 0 1.7em;
    font-size: 12px;
    font-weight: bold;
}
.main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#mainTitle {
    margin-bottom: 1em;
    display: inline;
}
h5 {
    font-size: 19px;
    font-weight: lighter;
    margin-bottom: .7em;
}
.body-form p {
    font-size: 12px;
    margin-bottom: 1.5em;
}
/* Reemplazar el .field original */
.field {
  height: 48px;
  padding: 0 .5em;
  margin-bottom: 1em;
  border-radius: 40px;
  border: 1px solid #FFF;
  display: flex;          /* ? flex en lugar de height fijo */
  align-items: center;
}

/* Reemplazar .field input */
.field input {
  flex: 1;               /* ? ocupa todo el espacio disponible */
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  position: static;      /* ? elimina el relative/left que desplazaba el área de toque */
  left: 0;
  font-size: 16px;       /* evita zoom en iOS */
  color: #fff;
}

::placeholder {
    color: #FFF;
    font-size: 17px;
}
.field span {
    display: inline-block;
    width: 30px ;
    line-height: 30px;
    text-align: center;
    border-radius: 30px;
    height: 30px;
}
.button-design {
    height: 40px;
    border: none;
    border-radius: 40px;
    background: #FFF;
    color: rgb(0,61,121);
}
.text-center {
    text-align:center;
    padding: 1em 0;
}
.text-center p {
    margin-bottom:0 ;
    padding: 0;
    font-size: 16px;
}
.d-block {
    display: inline-block;
    margin: auto;
    background: #00a5df;
    height: 40px;
    border-radius: 40px;
    line-height: 40px;
    position: relative;
    top: 26px;
}
@media (max-width: 580px) {
    .main {
        display: none;
    }
    .login {
        width: 100%;
    }
    .ul {
        position: absolute;
        bottom:-100px;
        width: 100%;
        left: 0;
        display: flex;
        justify-content: center;
    }
    ul {
        width: 100%;
        margin: auto;
        left: 0px;
        position: relative;
        flex-wrap: wrap;
        padding:0 10px;
        justify-content: center; !important;
    }
    li{
    	width:33.3%;
    	text-align: center !important;
    	padding: 10px;
    	text-align: center;
    }
    li img {
    	display: block;
    	margin:auto;
    }
    li > div {
        display: none;
    }
    .mb {
        margin-bottom: 10em;
    }
    .login {
        background: transparent;
    }
    video {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        height: 150%;
        object-fit:cover;
    }
    nav {
        border: none;
    }
    .containernabBar a  {
        text-align: center;
        display: inline-block;
        margin: auto;
        position: relative;
        left: 65px;
    }
}