@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Beau+Rivage&family=Comfortaa:wght@300&family=Grape+Nuts&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
}

body{
	position: relative;
	min-height: 100vh;
	width: 100%;
	overflow: hidden;
}

.sidebar{
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 78px;
	background: #0047AB;
	padding: 6px 14px;
	transition: all 0.5s ease;
}

.sidebar.active{
	width: 240px;
}

.sidebar .logo_content .logo{
	color: #fff;
	display: flex;
	height: 50px;
	width: 100%;
	align-items: center;
	opacity: 0;
	pointer-events: none;
}

.sidebar.active .logo_content .logo{
	opacity: 1;
	pointer-events: none;
}

.logo_content .logo .logo_name{
	font-family: 'Grape Nuts', cursive;
	font-size: 30px;
}

.sidebar #btn{
	position: absolute;
	color: #fff;
	left: 90%;
	top: 6px;
	left: 50%;
	font-size: 20px;
	height: 50px;
	width: 50px;
	text-align: center;
	line-height: 50px;
	transform: translateX(-50%);
}

.sidebar.active #btn{
	left: 90%;
}

.sidebar ul{
	margin-top: 20px
}

.sidebar ul li{
	position: relative;
	height: 50px;
	width: 100%;
	margin: 0 5px;
	list-style: none;
	line-height: 50px;
}

.sidebar ul li .tooltip{
	position: absolute;
	left: 122px;
	top: 0;
	transform: translate(-50%, -50%);
	border-radius: 6px;
	height: 35px;
	width: 122px;
	background: #fff;
	line-height: 35px;
	text-align: center;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	transition: 0s;
	opacity: 0;
	pointer-events: none;
	display: block;
	z-index: 100;
}

.sidebar ul li .view{
	position: absolute;
	left: 122px;
	top: 0;
	transform: translate(-50%, -50%);
	border-radius: 6px;
	height: 70px;
	width: 122px;
	background: #fff;
	line-height: 35px;
	text-align: center;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	transition: 0s;
	opacity: 0;
	pointer-events: none;
	display: block;
}

.sidebar.active ul li .tooltip{
	display: none;
}

.sidebar ul li:hover .tooltip{
	transition: all 0.5s ease;
	opacity: 1;
	top: 50%;
}

.sidebar ul li a{
	color: #bdb8d7;
	display: flex;
	align-items: center;
	transition: all 0.4s ease;
	border-radius: 12px;
	white-space: nowrap;
}

.sidebar ul li a:hover{
	color: #fff;
	background: #6495ED;
}

.sidebar ul li a i{
	height: 50px;
	min-width: 50px;
	border-radius: 12px;
	line-height: 50px;
	text-align: center;
}

.sidebar .links_name{
	opacity: 0;
	pointer-events: none;
	transition: all 0.5s ease;
}

.sidebar.active .links_name{
	opacity: 1;
	pointer-events: auto;
}

.sidebar .profile_content{
	position: absolute;
	color: #bdb8d7;
	bottom: 0;
	left: 0;
	width: 100%;
}

.sidebar.active .profile_content .profile:hover{
	color: #fff;
	background: #6495ED;
	cursor: pointer;
}

.sidebar .profile_content .profile{
	position: relative;
	padding: 10px 6px;
	height: 60px;
	background: none;
	transition: all 0.5s ease;
}

.sidebar .profile_content .profile a{
	color: #bdb8d7;
}

.sidebar.active .profile_content .profile{
	background: #0a58c5;
}

.sidebar .profile_content .profile_details{
	display: flex;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
}

.sidebar.active .profile_content .profile_details{
	opacity: 1;
	pointer-events: auto;
}

.profile_content .profile_details .name_role{
	margin-left: 30px;
	margin-top: 11px;
}

.profile_content .profile_details .logout{
	font-size: 21px;
}

.profile #log_out{
	position: absolute;
	left: 50%;
	bottom: 5px;
	transform: translateX(-50%);
	min-width: 50px;
	line-height: 50px;
	font-size: 20px;
	border-radius: 12px;
	text-align: center;
	transition: all 0.5 ease;
	background: #0a58c5;
}

.profile #log_out:hover{
	color: #fff;
	background: #6495ED;
	cursor: pointer;
}

.sidebar.active .profile #log_out{
	left: 88%;
	background: none;
}

.wallpaper{
	position: absolute;
	background-image: url("../img/wallpaper.jpg");
	z-index: -5;
	height: 100%;
	width: calc(100% - 78px);
	left: 78px;
	transition: all 0.5s ease;
}

.sidebar.active ~ .wallpaper{
	width: calc(100% - 240px);
	left: 240px;
}

.home_content{
	position: absolute;
	height: 100%;
	width: calc(100% - 78px);
	left: 78px;
	transition: all 0.5s ease;
}

form{
	margin-top: 2%;
	margin-left: 15%;
	margin-right: 15%;
	max-width: 800px;
	font-size: 25px;
    font-weight: 500;
}


.sidebar.active ~ .home_content{
	width: calc(100% - 240px);
	left: 240px;
}

.avatar{
    width: 150px;
	margin-bottom: 30px;
}

form .user-details{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 30px 0;
    max-height: 300px;
    overflow-y: scroll;
	border: 1px solid;
	padding: 20px;
	/* box-shadow: 5px 10px; */
	z-index: 1;
}

form .user-details .input-box{
    margin-bottom: 15px;
    width: calc(100% / 2 - 20px);
}

form .input-box .details{
    display: block;
    margin-bottom: 5px;
}

form .user-details text{
	font-size: 25px;
}

.user-details .input-box input{
    height: 45px;
    width: 100%;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 16px;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid{
    border-color: #9b59b6;
}

form .button{
    display: block;
    height: 45px;
    margin: 25px 0;
    width: 20%;
    outline: none;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .5s;
    background-image: linear-gradient(to right, #303ce0, #8990f1, #303ce0);
    background-size: 200%;
}

form .button:hover{
    /* transform: scale(0.99); */
    background-position: right;
}

@media(max-height:650px){
    form{
    	margin-top: 4%;
    }
    
    .avatar{
        width: 130px;
    	margin-bottom: 30px;
    }
    
    form .user-details{
        margin: 10px 0 20px 0;
        max-height: 200px;
    }
}