﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body,
html {
    font-family: 'Poppins', sans-serif;
    /*background: #83c2f1;*/
    padding: 0;
    margin: 0;
}

.content-login {
    margin: 0;
    position: absolute;
    top: 60%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    background: linear-gradient(-180deg, #2d529f 3%,#08c2e9);
    border-radius: 9px;
    border-top: 10px solid #2d529f;
    border-bottom: 10px solid #2d529f;
    width: 22rem;
    box-shadow: 1px 1px 100px 18px rgb(0 0 0 / 75%);
    z-index: 10;
    padding-bottom: 2rem;
    transition: all .4s;
}

.box h4 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 18px;
    text-align: start;
    margin-left: 34px;
    margin-top: 2rem;
}

.box h5 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-top: -15px;
    margin-left: 34px;
    text-align: start;
    margin-bottom: 1.5rem;
}

.box input[type="text"],
.box input[type="password"] {
    display: block;
    margin: 20px auto;
    background: #2d529f;
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    width: 82%;
    outline: none;
    color: #d6d6d6;
    box-sizing: border-box;
}

::-webkit-input-placeholder {
    color: #ffffff45;
}

.box input[type="text"]:focus,
.box input[type="password"]:focus {
    outline: 2px solid #83C2F1;
}

.btn {
    border: 0;
    background: #00095f;
    color: #dfdeee;
    border-radius: 100px;
    width: 80%;
    height: 50px;
    font-size: 15px;
    transition: 0.3s;
    cursor: pointer;
}

    .btn:hover {
        background: #2d529f;
    }


.box-img {
    background-color: #fff;
    width: 80%;
    margin: 1.5rem auto;
    height: 115px;
    overflow: hidden;
    position: relative;
}

    .box-img img {
        width: 100%;
        position: absolute;
        left: 0;
        top: -10px;
    }

.content-img {
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: -5;
    overflow: hidden;
}


    .content-img img {
        position: absolute;
        width: 128%;
        right: 0%;
        transition: all .2s;
        top: -150px;
        bottom: 0;
    }

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}


.content-onda {
    position: absolute;
    width: 100vw;
    height: 100vh;
    right: 0;
    top: 0;
    transform: translate(0, 0);
    overflow: hidden;
    z-index: -10;
    display: none;
}

    .content-onda::before,
    .content-onda::after {
        content: "";
        position: absolute;
        width: 180vh;
        height: 180vh;
        border-top-left-radius: 40%;
        border-top-right-radius: 45%;
        border-bottom-left-radius: 35%;
        border-bottom-right-radius: 40%;
        z-index: -1;
    }

    .content-onda::before {
        right: 45%;
        bottom: -85%;
        background-color: rgb(16 153 185 / 12%);
        animation: wawes 12s infinite linear;
    }

    .content-onda::after {
        right: 45%;
        bottom: -90%;
        background-color: rgb(16 153 185 / 12%);
        animation: wawes 15s infinite;
    }



@keyframes wawes {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}



@media (min-width : 700px) {
    .content-img img {
        width: 80%;
        bottom: 0;
        top: initial;
    }

    .content-login {
        top: 50%;
        left: 25%;
        transform: translate(-25%, -50%);
    }

    .content-onda {
        display: block;
    }

    .content-login {
        box-shadow: 1px 1px 100px 18px rgba(0, 0, 0, 0.3);
    }
}

@media (min-width : 900px) {

    .content-img img {
        width: 40rem;
    }

    .content-login {
        top: 50%;
        left: 10%;
        transform: translate(-5%, -50%);
        width: 25rem;
    }

    .content-onda::before {
      
        right: 65%;
        bottom: -60%;
    }

    .content-onda::after {
        right: 55%;
        bottom: -70%;
    }
}
