@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


*{
    box-sizing: border-box;
}

body
{
    margin: 0;
    padding:0px;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    background-color: #ecf0f3;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.loginbox
{
    width: 450px;
    height: 600px;
    border-radius: 40px;
    background-color: #ecf0f3;
    box-shadow: 13px 13px 25px #cbced1,
    -13px -13px 25px #fff;
    position: absolute;
}

.logo
{
    height: 100px;
    width: 100px;
    margin:0 auto;
    top:-50px;
    left: calc(50% - 50px) ;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0px 0px 2px #5f5f5f, 0px 0px 5px #ecf0f3,
    8px 8px 15px #a7aaaf, -8px -8px 15px #fff;
}


.title
{
    text-align: center;
    margin: 0 auto;
    padding-top:70px;
    font-size:30px;
    color:black;
    
    
}


.form
{
    left:20px;
    width: 90%;
    padding: 85px 10px 0px 10px;
     
}

.form input
{
    align-items:center;
    border:none;
    outline: none;
    background: none;
    font-size: 18px;
    color:#555;
    padding:20px;
    padding-left: 50px;
    
    
}

.username, .password
{
    margin-left: 40px;
    margin-bottom: 30px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbced1,inset -8px -8px 8px #fff;
    
    
}

.usericon
{
    height:22px;
    width: 22px;
    position:absolute;
    top:34.5%;
    right:80%;
    fill:#aaa;
}
.pass
{
    height:22px;
    width: 22px;
    position:absolute;
    top:50%;
    right:80%;
    fill:#aaa;   
}

.input:focus+.usericon
{
    fill:#555;
}

.input2:focus+.pass
{
    fill:#555;
}


.buttonposs
{
    margin-left:85px;
    
}


.button
{
    outline: none;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    width: 60%;
    height: 60px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700px;
    color:#fff;
    text-align: center;
    background-color: #02c8db;
    box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #fff;
    justify-items: center;
    position: absolute;
    font-family: lato;

    
}

.button:hover
{
    background-color: #50e5b9;
}
.button:active
{
    background-color: #88ef9e ;
}

.link
{
    padding-top: 80px;
    padding-right: 10px;
    text-align: center; 
    font-size: 18px; 
    color: #aaa;
    
}
.link a
{
    text-decoration: none;
    color:#aaa;
    font-size: 18px;
    font-family: lato;
}

.link a:hover
{
    color:gray;
}

.link a:active
{
    color:black;
}


.creator
{
    color:gray;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px)
{
    .loginbox
    {
        height: 535px;
        width: 345px;
    }
    .usericon
    {
        top: 39%;
        right: 73%;
    }
    .pass
    {
        top: 56%;
        right: 73%;
    }
    .buttonposs 
    {
        margin-left: 64px;
    }
    .form input
    {
        margin-left:5px;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px)
{
    .loginbox
    {
        width: 450px;
        height: 600px;
        margin-bottom: 260px;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px)
{
    .loginbox
    {
        margin-bottom: 260px
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px)
{
    .loginbox 
    {
        margin-bottom: 600px;
        margin-right: 0px;
    }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px)
{
    .loginbox 
    {
        margin-bottom:0px;
        margin-right: 0px;
    }
}

