﻿@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Serif', sans-serif;
}

body {
   
    height: 100vh;
    overflow: hidden;
    /*background-color: #f7d884;*/
}

.center {
    display: grid;
    grid-template-columns: repeat(1, 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 69%;
    
    
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
    -moz-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
    box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
}

.olas {
    background: url("../Content/images/olasLogin.png");
    background-repeat: no-repeat;
    padding-left: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formulario {
    padding-top: 80px;
    text-align: center;
    justify-content: center;
    align-items: center;
  
    margin-bottom: 50px;
}

.center h1 {
    text-align: center;
    padding: 10px 0;
}

.center form {
    padding: 0 40px;
    box-sizing: border-box;
}

form .txt_field {
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 30px 0;
    margin-top: 13px;
}

.txt_field input {
    width: 100%;
    padding: 0 30px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
    margin-top:20px;
   
}

.txt_field label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
    margin-top: 13px;
}

.txt_field [class~="ele"]::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #0c2c84;
    transition: .5s;
    margin-top: 20px;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label {
    top: -5px;
    color: #0c2c84;
}

.txt_field input:focus ~ [class~="ele"]::before,
.txt_field input:valid ~ [class~="ele"]::before {
    width: 100%;
}

.pass {
    margin: -5px 0 20px 5px;
    color: #a6a6a6;
    cursor: pointer;
}

    .pass:hover {
        text-decoration: underline;
    }

input[type="submit"] {
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #0c2c84;
    border-radius: 25px;
    font-size: 20px;
    color: #e9f4fb;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    font-weight: bold;
}

    input[type="submit"]:hover {
        border-color: #0c2c84;
        background: white;
        transition: .5s;
        color: #0c2c84;
    }

.signup_link {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #666666;
}

    .signup_link a {
        color: #0c2c84;
        text-decoration: none;
        font-weight: bold;
    }

        .signup_link a:hover {
            text-decoration: none;
        }


ul li {
    list-style-type: none;
    color: red;
    font-weight: bold;
}

.field-validation-error.text-danger {
    color: red;
    font-weight: bold;
}





h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 48px;
}

p {
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    font-size: 14px;
    color: #333333;
}

.header {
    position: relative;
    text-align: center;
    background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
    color: white;
}

.logo {
    width: 50px;
    fill: white;
    padding-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

.inner-header {
    height: 65vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex { /*Flexbox for containers*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: -10px; /*Fix for safari gap*/
   /* min-height: 100px;
    max-height: 150px;*/
    border-radius:10px;
    border-bottom:1px solid;
}

.content {
    position: relative;
    height: 20vh;
    text-align: center;
    background-color: white;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }

    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/


@media screen and (min-width:1024px) {

    .center {
        display: grid;
        grid-template-columns: repeat(1, 100%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /*width: 26%;*/
        height: 75%;
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
        -moz-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
        box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
    }

    .formulario {
        padding-top: 80px;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .waves {
        position: relative;
        width: 100%;
        height: 100%;
        margin-bottom: -10px; /*Fix for safari gap*/
        /*  min-height: 100px;
        max-height: 150px;*/
        border-radius: 10px;
        border-bottom: 1px solid;
    }
}

@media screen and (max-width: 1023px) and (min-width:768px) {




    .center {
        display: grid;
        grid-template-columns: repeat(1, 100%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 55%;
        height: 75%;
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
        -moz-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
        box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
    }

    .formulario {
        padding-top: 80px;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
        width:100%;
    }

    .waves {
        position: relative;
        width: 100%;
        height: 100%;
        margin-bottom: -10px; /*Fix for safari gap*/
        /*  min-height: 100px;
        max-height: 150px;*/
        border-radius: 10px;
        border-bottom: 1px solid;
    }
}

@media screen and (max-width: 767px) {




    .center {
        display: grid;
        grid-template-columns: repeat(1, 100%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 65%;
        height: 75%;
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
        -moz-box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
        box-shadow: 0px 0px 10px 7px rgba(12,44,132,1);
    }

    .formulario {
        padding-top: 80px;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
        width: 100%;
    }

    .waves {
        position: relative;
        width: 100%;
        height: 100%;
        margin-bottom: -10px; /*Fix for safari gap*/
        /*  min-height: 100px;
        max-height: 150px;*/
        border-radius: 10px;
        border-bottom: 1px solid;
    }
}






/*
h1 {
    margin-left:6%;
    font-size: 12vmin;
    position: absolute;
    letter-spacing: 2vmin;
   
    display: flex;
   text-align:center;
    align-items: center;
    justify-content: center;
}

.border {
    color: white;
    text-shadow: -2px -2px 0 rgba(12,44,132,1), 5px -2px 0 rgba(12,44,132,1), -2px 2px 12px rgba(12,44,132,1), 2px 2px 10px rgba(12,44,132,1);
}

.wave {
    color: #0c2c84;
    animation: wave 2.5s ease-in-out infinite;
}

.two {
    transform: translateY(0.9em);
}

.three {
    transform: translateY(-0.9em);
}

@keyframes wave {
    0%, 100% {
        clip-path: polygon(0% 27%, 10% 48%, 33% 54%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
    }

    50% {
        clip-path: polygon(0% 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
    }
}


@media screen and (max-width: 1920px), screen and (max-height:969px) {
    body {
        background-color: brown;
    }

    .center {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 55%;
        height: 65%;
        background: white !important;
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
        -moz-box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
        box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
    }
}

@media screen and (max-width: 1520px), screen and (max-height:969px) {
    body {
        background-color: brown;
    }

    .center {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 55%;
        height: 65%;
        background: white !important;
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
        -moz-box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
        box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
    }
}

@media screen and (max-width: 1280px), screen and (max-height:913px) {
    body {
        background-color: rgb(142, 165, 42);
    }

    .center {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 78%;
        height: 75%;
        background: white !important;
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
        -moz-box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
        box-shadow: 0px 0px 20px 7px rgba(12,44,132,1);
    }
}

@media screen and (max-width: 800px) {
    body {
        background-color: rgb(77, 165, 42);
    }
}
*/