@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
    box-sizing: border-box;
    scroll-behavior: smooth;    
  }
  
body {
    background-color: #f1f1f1;
    color: #0f141e;
    overflow: hidden;
    font-size: 16px;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
}

a {
    color: #000;
    text-decoration: none;
}
 
.avatar {
    width: 200px;
    border-radius: 28px;
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 025);
    transition: 1s;
}

.avatar:hover {
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 025);
    transition: 1s;
}

.info {
    display: flex;
    margin-bottom: 20px;
    
}

.info-text {
    margin-left: 40px;
}

.info-text h4 {
    margin-bottom: 10px;
}

.info p {
    color: #86898f;
    margin: 0;
    font-style: italic;
    font-weight: bold;
    text-decoration: none;
}

.container {
    max-width: 750px;
    margin: auto;    
   
}

.bg-yellow {
    background: #fff9dc;
}

.bg-green {
    background: #e5ffe7;
}

.bg-red {
    background: #fdeded;
}

.bg-blue {
    background: #caecf5;
    z-index: 10;
}

.card {
    padding: 15px;   
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 025); 
    position: relative;  
    z-index: 10; 
}

.card.bg-yellow {
    height: 65vh;

}

.duty {
    display: none;
    color: #fff;
    transition: 1s;
}

.duty.appear {
    display: block;
    position: absolute;
    bottom: 40px;
    border-radius: 10px;
    background-color: #479c8e;
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 025);
    transition: 1s;
    z-index: 15;
}

.card h2 {
    margin-bottom: 10px;
}

.list {
    padding: 0 20px;
   
}

.important{
    color: #a00404
}

.list li {
    color: #86898f;
    margin-bottom: 10px;
    list-style-type: none;
}

.table {
    width: 100%;
}

.table td {
    padding-bottom: 10px;    
}

tbody tr:hover {
    background: #479c8e; /* Цвет фона при наведении */
    color: #fff; /* Цвет текста при наведении */
    position: relative;
    transition: 0.5s;
}

.table td:nth-child(1),
.table td:nth-child(3){
    text-align: center;
}

.link-list {
margin-bottom: 10px;
padding-bottom: 5px;   
border-bottom: 1px solid #ccc;
}

.btn {    
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 025);
    margin: 10px;
}

.btn:active {
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 025);
    
}

.screen {    
    height: 100vh;   
    padding: 0 0 50px;
    position: relative;
}


.navi {
  position: fixed;
  margin-left: -80px;
} 

.icons {
    width: 40px;
    height: 40px;
}


/*-------Хобби-----------------*/

.sliderHobby {
    height: 80%;
    position: relative;
    display: block;
    overflow: hidden;
    }

 .sidebar {
    height: 100%;
    width: 35%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
  }
  
  .sidebar > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff9dc;
  }
   
  .main-slide {
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 35%;
    width: 65%;
    z-index: 0;
    transition: transform 0.5s ease-in-out;
  }
  
  .main-slide > div {
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center center;
    height: 100%;
    width: 100%;
  }
  
  button {
    background-color: #fff;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
  }
  
  button:hover {
    color: #222;
  }
  
  button:focus {
    outline: none;
  }
  
  .container .controls button {
    position: absolute;
    left: 35%;
    top: 50%;
    z-index: 100;
  }
  
  .container .controls .down-button {
    transform: translateX(-100%);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  
  .container .controls .up-button {
    transform: translateY(-100%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  } 
  