/* Material Design Iconic Font 2.2.0 */
@import url('./material-design-iconic-font.min.css');


* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

body {
    background-color: #dddddd;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

.fondoImg {
    position: fixed;
    height: 100%;
    width: 50%;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.container {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 7rem;
    padding: 0 2rem;
}

.img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    flex-direction: column;
}

.img img {
    width: 70%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(10px 10px 10px #9797978e);
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
    height: 100%;
    margin: 0 auto;
}

.font {
    width: 360px;
}

.formOne {
    background-color: #ebebeb;
    padding: 20px;
    box-shadow: 10px 10px 20px #c0c0c0, -10px -10px 20px #fff;
    border-radius: 20px;
}

.avatar {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conedor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;	
    border: 3px solid #dba047; /* Aparecemos el borde animado */
    animation: border-animate .5s linear infinite; /* Animación en el borde */
}

@keyframes border-animate {
    0% {
        border-color: #dba047 #7c7c7c #7c7c7c #dba047;
    }
    25% {
        border-color: #7c7c7c #7c7c7c #dba047 #dba047;
    }
    50% {
        border-color: #7c7c7c #dba047 #dba047 #7c7c7c;
    }
    75% {
        border-color: #dba047 #dba047 #7c7c7c #7c7c7c;
    }
    100% {
        border-color: #dba047 #7c7c7c #7c7c7c #dba047;
    }
}

.avatarUser{
    font-size: 50px;
    color: #838383;
}

.avatarSoft,
.nombreSoft {
    display: none;
}

.formOne h2 {
    font-size: 19px;
    text-transform: uppercase;
    margin: 15px 0 10px;
    color: #f7f4f0;
    padding: 0 5rem;
    filter: drop-shadow(3px 2px 2px rgb(0, 0, 0));
}

.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #838383;
}

.input-div::after,
.imput-div::before {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #e7aa4d;
    transition: .3s;
}

.input-div .i {
    color: #838383;
    font-size: 18px;
}

.input-div.focus .i {
    color: #db9731;
}

.input-div .eye {
    position: relative;
    color: #838383;
    height: 100%;
    align-content: center;
    float: right;
    font-size: 18px;
    width: 30px;
    cursor: pointer;
}

.input-div .pass {
    width: calc(100% - 30px);
}

.input-div.focus div h5 {
    top: -5px;
    font-size: 15px;
    color: #c0c0c0;
}

.input-div.focus:after,
.input-div.focus:before {
    width: 100%;
}

.imput-div one {
    margin-top: 0;
}

.input-div two {
    margin-bottom: 4px;
}

.i {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-div>div {
    position: relative;
    height: 45px;
}

.input-div>div h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #838383;
    font-size: 18px;
    transition: .3s;
}

.input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 16px;
    font-weight: bold;
    color: #2e2e2e;
}

a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #747474;
    font-size: 16px;
    transition: .3s;
}

a:hover {
    color: #1f1f1f;
}

.btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    margin: 1rem 0;
    font-size: 1.2rem;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #dbb376, #dbb376, #dbb376);
    color: #fff;
    text-transform: uppercase;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-size: 200%;
}

.btn:hover {
    background-image: linear-gradient(to right, #df9d3b, #df9d3b, #df9d3b);
}

.sms {
    width: 100%;
    height: 25px;
    margin-top: 5px;
    align-items: center;
}

.sms h4 {
    color: #e7504b;
    text-align: center;
    outline: none;
}

dialog {
    width: 350px;
    padding: 50px 50px;
    border: none;
    background-color: white;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0 8px 13px rgba(0, 0, 0, 0.308);
    transform: translate(-50%, -50%);
}

dialog h4 {
    color: #686868;
    font-size: 15px;
}

dialog .btn {
    width: 80%;
    margin: 0 10%;
    margin-bottom: 15px;
}

.contLoader {
    width: 100%;
    height: 7vh;
    margin-left: 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loaderDos {
    border: 9px solid rgb(219, 160, 71);
    border-bottom: 9px solid #7c7c7c;
    border-left: 9px solid #7c7c7c;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: animate 1s linear infinite;
}


@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@media screen and (max-width: 1050px) {
    .container {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1050px) {
    .form {
        width: 290px;
    }

    .form h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }
}

@media screen and (max-width: 950px) {
    .form {
        width: 250px;
    }

    .form h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }

}

@media screen and (max-width: 767px) {

    body {
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .img {
        display: none;
    }

   .container {
        grid-template-columns: 1fr;
        position: flex;
        width: 100%;
        height: 250px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #dddddd), url('../img/patronesIMG.webp');
        background-size: cover;
        background-repeat: no-repeat;
        padding-top: 14vh;
    }


    .fondoImg {
        display: none;
    }

    .avatarUser {
        display: none;
    }

    .avatarSoft {
        display: block;
        width: 60px;
        height: 60px;
    }

    .avatarSistem {
        width: 60px;
        height: 60px;
    }

    .nombreSoft {
        display: block;
        text-align: center;
        color: #72635c;
        font-size: 14px;
        font-weight: bold;
    }

    .formOne h2 {
        margin-top: 1px;
    }
}