/* global styles */
*{
    padding:0;
    margin: 0;
    box-sizing: border-box;
}

*,::after,::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*:focus{
    outline-color:black ;
    outline-width: 2px;
}

ul{

    list-style-type: none;
}

a{
    text-decoration: none;
}

img{
    display: inline-block;
}



.wrapper{
    max-width: 1250px;
    margin-left:auto ;
    margin-right: auto;
    padding-left: 20px;
    padding-right:20px;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0d7b5;
}

/* random user styles */
.random-user-container{
    width: 100%;
    min-height: 100vh;
    display: grid;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
  
}

.random-user-center{
    width: 90vw;
    max-width: 750px;
    background-color: white;
    box-shadow: 1px 1px 11px 2px;
    border-radius: 10px;
    padding: 10px;
    /* margin-top: -100px; */
    text-align: center;
    animation-name: zoom-up;
    animation-duration:3s;
    animation-delay: 0s;
    animation-timing-function: linear;
    animation-iteration-count: 1;

    background-image: url(../assets/bg.jpg);
    background-repeat: repeat;
    background-size: cover;
    background-position:center;


}




/*        @keyframes mover {


    
0%{

background-position:left center;

}

10%{

background-position: center right;
}

25%{
background-position:right top;
}

50%{
background-position: top bottom;
}

75%{
background-position:bottom center;
}

100%{
background-position: center left;
} 

}*/






@keyframes zoom-up {

    0%{
        transform: scale(0);
        opacity: 0;
        
    }

    100%{
        transform: scale(1);
        opacity: 1;
        
    }
    
}


.random-user-center .img-container{
    width: 150px;
    height: 150px;
    border: 2px solid rgb(128, 178, 240);
    border-radius: 50%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    /* cursor: pointer; */
    overflow: hidden;
    transition: all 0.3s linear;
    margin-top: 10px;
    margin-bottom: 10px;
     
    /* animation-name: change-clr;
    animation-duration:3s;
    animation-delay: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal; */

} 


    


/* @keyframes change-clr {

   0%{

    background:linear-gradient(to bottom,#f79d00,#64f38c);
   
    
   }

   100%{

    background:linear-gradient(to bottom,#FF5F6D,#FFC371);
    


   }
    
} */

.random-user-center  .img-container #user-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding-top: -90px;
    border-radius: 50%;
    transition: all 0.3s linear;


    
    
}

/* .random-user-center  .img-container:hover #user-img {

    transform: scale(2);
} */

 /* .user-heading{
    border: 2px solid red;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}  */

.user-heading .user-title{
    /* color: gray; */
    color: white;
    font-size: 20px;
    font-weight: lighter;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 1px;
    padding-top: 10px;
    
}

.user-heading .user-info{
    color:rgb(0,0,51);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 1px;
    padding-top: 10px;
}


@media screen and (min-width:800px) {

        .random-user-center{
        margin-top: 0;
        margin: 0;
        }

        .user-heading .user-title{
            font-size: 25px;


        }
        .user-heading .user-info{

            font-size:30px;
            letter-spacing: 2px;
        }
}

.user-details{
    display: grid;
    grid-template-columns: repeat(6,1fr);
    align-items: center;
    justify-content: center;
    margin-top: 10px
}

.user-details button{
   background-color: transparent;
    border-color:transparent ;
    /* color: red; */
}






.user-icons{
    /* border: none    ; */
    font-size: 30px; 
    /* color: hsl(210, 22%, 49%); */
    color:white;
    cursor: pointer;
    padding: 5px;
    /* border: 2px solid red; */
    transition: all 0.3s linear;
}

  .user-icons:hover{
    color: rgb(39, 157, 236);
}

.user-icons:active{
    transform: scale(0.92);
}

.active{
    color:  rgb(39, 157, 236);
}   

.random-user-btn{
    color: white;
    background-color:  rgb(68, 161, 223);
    font-size: 25px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: capitalize;
    border: none;
    padding: 10px;
    margin:30px 0;
    border-radius: 5px;
    transition: all 0.5s linear;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.random-user-btn:hover {
    
    background-color:rgb(72, 110, 128) ;
    /* animation-name: shift-left;
    animation-duration:3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal; */
    
}
.random-user-btn:active{
    transform: scale(0.92);
}

.copy-right{

    /* color:hsl(209, 52%, 57%);  */
    color:white; 
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-bottom:10px ;
}


/* @keyframes shift-left {


    0%{
        transform: scale(0);
    }

    100%{
        transform: translateX(-50px);
    }
    
} */




