*{
    margin: 0;
    padding: 0;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
}

a{
    text-decoration: none;
}

.page{
    width: 800px;
}

.forload{
    transform: translateY(0px);
}

.loaded{
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100px);
}

.user_link{
	display: flex;
	align-items: center;

	cursor: pointer;
	transition: 0.2s;

    position: absolute;
    right: 0;
    margin-right: 20px;
    margin-top: 20px;
}

.username{
	font-family: 'Roboto';
	font-weight: 500;
	font-size: 20px;
	display: flex;
	align-items: center;
	color: #000000;
}


.user_link:hover{
	opacity: 0.8;
	transition: 0.2s;
}

.header_avatar_img{
	margin-left: 10px;
	height: 50px;
	width: 50px;
	border-radius: 50%;
}

h2{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    margin-top: 150px;
    align-items: center;
    text-align: center;
    color: #000000;
}

h3{
    margin-top: 20px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    align-items: center;
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
}

.line{
    margin-top: 55px;  
    border: 1px dashed rgba(0, 0, 0, 0.2);
}

.menu{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu_btns{
    width: 300px;
    display: flex;
    justify-content: space-between;
}

.menu_btn{
    position: relative;
    margin-left: 10px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: 0.2s;
}

.menu_btn > span{
    margin: 10px;
    transition: 0.2s;
}

.btn_underline{
    position: absolute;
    width: 0;
    margin-top: 10px;
    height: 3px;
    background: rgba(0, 0, 0, 0.8);
    transition: 0.2s;
}

.menu_btn.left > .btn_underline{
    right: 0;
}

.menu_btn.selected > span{
    color: #000000;
}

.menu_btn.selected > .btn_underline{
    width: 100%;
    background: #000000;
}

.menu_btn:hover > .btn_underline{
    width: 100%;
}

.search_field{
    width: 300px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
}

.search_input{
    box-sizing: border-box;
    padding-left: 20px;
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    width: 100%;
    height: 100%;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.8);
}

.search_btn{
    position: absolute;
    right: 0;
    margin-right: 10px;
    height: 25px;
    user-select: none;
    cursor: pointer;
}

.search_btn:hover{
    opacity: 0.8;
}

.tasks_field{
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 10px;
}

.task{
    box-sizing: border-box;
    padding: 10px;
    padding-left: 20px;
    width: 100%;
    height: auto;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    /* justify-content: space-between; */
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    transition: 0.2s;
    cursor: pointer;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.task_info{
    display: flex;
    flex-direction: column;
}

.author_name{
    font-size: 18px;
    color: rgba(0, 0, 0, 0.8);
}

.task:hover{
    opacity: 0.7;
}

.author{
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.author_avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}



@media screen and (max-width: 850px) {
    .page{
        width: 95%;
    }
    .menu{
        flex-direction: column;
    }
    .search_field{
        margin-top: 30px;
        height: 50px;
        width: 100%;
    }
    h2{
        font-size: 32px;
    }
    
    h3{
        font-size: 24px;
    }
}

@media screen and (max-width: 450px) {
    .menu_btns{
        width: 100%;
        flex-direction: column;
        row-gap: 30px;
        align-items: center;
    }
}