@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

html,body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f2f6fc;
}

.background{
    width: 100%;
    height: 100vh;
    position: absolute;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(132deg, rgb(69, 69, 255), rgb(17, 3, 78));
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}
@keyframes gradient{
    0%{background-position: 0% 50%;}
    50%{background-position: 100% 50%;}
    100%{background-position: 0% 50%;}
}


header .navbar-home{
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
    /* font-weight: 500; */
}
header .navbar-home .navbar-brand{
    color: white;
    font-size: 28px;
    font-weight: 600;
}
header .navbar-home .navbar-nav .flexnav{
    display: flex;
}
header .navbar-home .navbar-nav .nav-item .nav-link{
    color: white;
    font-size: 20px;
    font-weight: 500;
}


main{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: fit-content;
    overflow-y: hidden;
    overflow-x: hidden;
    /* width: 100%; */
}

main h1{
    text-align: center;
    color: white;
    font-size: 3em;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
main p{
    text-align: center;
    color: white;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 1.4;
}
main .form-control{
    position: relative;
    left: 0;
    width: 100%;
    height: 45px;
}

main .btn-submit{
    box-sizing:border-box;
    position: relative;
    top: -41px;
    float: right;
    left: -5px;
    margin-bottom: -30px;
}

main .card-short{
    font-family: 'Poppins', sans-serif;
    background: transparent;
    color: white;
    backdrop-filter: blur(1.4);
    border-color: white;
    width: 700px;
}
main .card-short a{
    color: white;
    font-style: italic;
}
main .card-short .btn-copy{
    float: right;
}

/******************************************** LOGIN / REGISTER ********************************************/
.auth-form{
    background-color: transparent;
    padding: 20px;
    border: 1px solid #f2f6fc;
    border-radius: 20px;
    width: 450px;
    backdrop-filter: blur(1.4);
    color: white;
}
.auth-form h1{
    font-size: 30px;
    color: #f2f6fc;
}
.auth-form .form-control{
    width: 100%;
    background-color: transparent;
    color: #f2f6fc;
}
.auth-form .form-control:focus{
    box-shadow: none;
    outline: none;
}
.auth-form .btn{
    display:inline-block;
    width: 100%;
}


/********************************************** USERS **********************************************/
.navbar-auth{
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    background-color: #f2f6fc;
    border-bottom: 1px solid rgb(204, 203, 203);
}
.navbar-auth .navbar-brand{
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}
.navbar-auth a{
    font-family: 'Poppins', sans-serif;
    color: rgb(0, 0, 0);
}
.content-auth{
    margin: 90px 50px 15px 40px;
}
.content-auth .card{
    border: none;
    margin: 10px 0;
    padding: 10px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
}


.costume{
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
}

.form-field,
.costume{
    position: relative;
    margin: 10px 0;
}
.form-control-auth,
.form-control-c {
    width: 100%;
    border-width: 0 0 2px 0;
    border-color: #404dff;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
}
.form-control-auth:focus,
.form-control-c:focus,
form:focus {
    box-shadow: none;
    outline: none;
}
.form-control-auth:focus + .label,
.form-control-auth.not-empty + .label,
.form-control-auth:not(:placeholder-shown).form-control-auth:not(:focus) ~ .label, 
.form-control-c:focus + .label-c,
.form-control-c.not-empty + .label-c,
.form-control-c:not(:placeholder-shown).form-control-c:not(:focus) ~ .label-c {
    -webkit-transform: translateY(-24px);
    transform: translateY(-24px);
}

.label,
.label-c {
    position: relative;
    left: 10px;
    bottom: 30px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #000000;
    cursor: text;
    transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out, 
    -webkit-transform .2s ease-in-out;
}
.toggle-password{
    position: relative;
    top: -30px;
    float: right;
    left: -10px;
}
.costume{
    margin-top: -15px;
    transition: all 0.4s ease-in-out;
}
.example{
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    margin-top: -25px;
}



/* ALERT */
.alert-auth{
    position: relative;
    left: 10px;
    top: 10px;
    width: auto;
    height: 40px;
    z-index: 1;
}
.alert-usr{
    position: relative;
    left: 60px;
    top: 80px;
    width: 400px;
    height: 40px;
    z-index: 1;
}
.alert-usr span,
.alert-usr button,
.alert-auth span,
.alert-auth button{
    font-size: 15px;
    position: relative;
    top: calc(50% - 10px);
    box-sizing: border-box;
}

/* MY URL */
.chart-trend{
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
}
.myurl {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border-left: 4px solid #0d6efd;
    display: flex;
    justify-content: space-between;
    line-height: 15px;
}
.myurl span .btn{
    height:25px;
    width:25px;
    position: relative;
}
.myurl span i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.myurl .crt {
    text-align: right;
}

/* GENERATE PASSWORD */
.generate-password{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
}

/* FOOTER */
.copyright-home{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    color: white;
    margin: 10px;
    font-size: 10px;
    letter-spacing: 1px;
}
.copyright{
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}



@media only screen and (max-width: 425px){
    
    /* DASHBOARD USER */
    .content-auth{
        margin: 90px 10px 10px 10px;
    }
    .chart-trend{
        grid-template-columns: auto;
    }
    .costume{
        grid-template-columns: auto;
    }

    .myurl{
        display: flex;
        flex-direction: column-reverse;
        font-size: 14px;
    }
    .myurl h6{
        font-size: 14px;
    }
    .myurl .crt {
        text-align: left;
    }
    .dropdown .dropdown-menu{
        position: absolute;
    }
    .myChart{
        width: 200px;
    }
    .dateclick{
        display: flex;
        justify-content: space-between;
    }
    .alert{
        width: fit-content;
        left: 10px;
    }
}


@media only screen and (max-width: 960px){
    header .navbar-home .navbar-nav .flexnav{
        gap: 10px;
    }
    header .navbar-home .navbar-nav .nav-item .nav-link{
        font-size: 16px;
    }


    main{
        width: 100%;
        padding: 20px;
    }
    main h1{
        font-size: 24px;
    }
    main p{
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    main .card-short .card-body{
        font-size: 12px;
    }

    main .card-short{
        width: 100%;
    }

    .auth-form{
        width: 100%;
    }
    .auth-form h1{
        font-size: 24px;
    }


    .content-auth{
        margin: 90px 10px 10px 10px;
    }
    .chart-trend{
        grid-template-columns: auto;
    }
    .example{
        font-size: 10px;
    }
    .dropdown .dropdown-menu{
        position: absolute;
    }
    .alert{
        left: 30px;
    }
}

