*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #c9c4c4;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #4682B4 black;
  }

.back{
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
    background: black; 
    opacity: 0.85
}

.wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
}

.main_block{
    display: flex;
    height: 100vh;
  
}


.block_left{
    border: 1.5px solid #1E90FF;
    width: 60%;
}

.block_left_box{
    margin: auto; 
    margin-top: 50px;
    width:80%; 
}

.left_box_title{
    font-size: 36px;
}
.left_box_text{
    border: 1.5px solid #1E90FF; 
    margin-top: 15px;
    padding: 20px;
    max-height: 70vh;
    overflow: auto;
}

.avatar_box{
    display: flex;
}

.avatar{
    box-shadow: 1px 1px 5px #1E90FF;
    width: 20%;
    float: left;
    margin-right: 15px;
}

.avatar_title{
    font-size: 34px;
    margin-left: 15px;
    color: #1E90FF;
    
}

.box_text{
    font-size: 18px;
    margin-top: 10px;
    line-height: 25px;
}

.block_right{
    border: 1.5px solid #1E90FF;  
    width: 40%;
}

.block_right_box{
    margin: auto; 
    margin-top: 50px;
    width:80%; 
}


.right_box_title{
    font-size: 36px;
}

.right_box_text{
    border: 1.5px solid #1E90FF; 
    margin-top: 15px;
    padding: 20px;
    max-height: 70vh;
    overflow: auto;
}

.subject_box{
    margin-bottom: 15px;
}

.subject_box_title{
    font-size: 20px;
    margin-bottom: 10px;
    color: #1E90FF;
}

.subject_box_text{
    margin-top: 5px;

}

.footer{
    border: 1.5px solid #1E90FF; 
    position: absolute; 
    width: 100%;
    height: 50px;
    left: 0;
    bottom: 0;
    background: black;
    opacity: 0.9;
    z-index: 3000;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.buutons_block{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.tasks_button{
    border: 1.5px solid #1E90FF;
    color: #1E90FF;
    width: 100%;
    height: 50px;
    background: none;
    font-size: 18px;
    transition: 0.5s;
}

.tasks_button:hover{
    cursor: pointer;
    box-shadow: 1px 1px 10px #1E90FF;
}

.cert_button{
    border: 1.5px solid #1E90FF;
    color: #1E90FF;
    width: 100%;
    height: 50px;
    background: none;
    font-size: 18px;
    margin-top: 20px;
    transition: 0.5s;
}

.cert_button:hover{
    cursor: pointer;
    box-shadow: 1px 1px 10px #1E90FF;
}

.tasks_box{
    margin-top: 20px;
    padding: 20px;
    border: 1.5px solid #1E90FF;
    /* display: flex; */
    flex-direction: column;
    gap: 10px;
    display: none;
}
.task_link{
    text-decoration: none;
    font-size: 20px;
}
.task_link:hover{
    color: #1E90FF;
    transition: .2s;
}

.email{
    text-decoration: none;
}

.email:hover{
    color: #1E90FF;
    transition: .2s;
}

.cmd{
    position: absolute;
    left: 20px;
    bottom: 60px;
    /* z-index: 5000; */
}

.numbers{
    margin-top: 10px;
}

.numbers span{
    color: rgb(139, 138, 138);
}

.modal_block{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    align-content: center;
    z-index: 6000;
}
.modal_over{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.9;
    z-index: 7000;
}
.modal{
    width: 600px;
    padding: 50px;
    border: 1px solid #1E90FF;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #070719;
    position: relative;
    text-align: center;
    z-index: 8000;
}
.close{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
}
.close:hover{
    cursor: pointer;
    text-shadow: 1px 1px 10px white;
    transition: 0.2s;
}

.links_block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.w3-animate-fading{animation:fading 10s infinite}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}
.w3-animate-top{animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
.w3-animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
.w3-animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
.w3-animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
.w3-animate-input{transition:width 0.4s ease-in-out}.w3-animate-input:focus{width:100%!important}
.animate_back{animation:opac 1s}@keyframes opac{from{opacity:1} to{opacity:0.85}}

@media(max-width: 1300px){
    .tasks_button{
        font-size: 16px;
    }
}

@media(max-width: 946px){
    .main_block{
       flex-direction: column;
        height: auto;
        align-items: center;
    }
    .block_left{
        width: 100%;
        padding-bottom: 40px;
    }
    .block_right{
        width: 100%;
        padding-bottom: 40px;
    }
    .footer{
        position: relative;
    }
    .left_box_title, .right_box_title{
        font-size: 32px;
    }
    .avatar_title{
        font-size: 30px;
    }
    .tasks_button{
        width: 100%;
        font-size: 18px;
    }

    .cmd{
        display: none;
    }

    .modal{
        width: 100%;
        height: 100%;
    }
    .buutons_block{
        flex-direction: column;
    }
}

@media(max-width: 420px){
    .left_box_title, .right_box_title{
        font-size: 26px;
    }
    .avatar_title{
        font-size: 24px;
    }
    .box_text{
    font-size: 16px
    }
}
