body {
  background-color: white;
  color: black;
  margin: 0;
  padding: 25px;
  font-family: Tahoma;
  font-size: 17.5px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

#webContainer {
    max-width: 1125px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);

    border-radius: 6.25px 6.25px 0 0;
}

#topHeader {
    background: linear-gradient(180deg, rgba(153, 198, 241) 0%, rgba(44, 85, 177));
    border-left: 1.25px solid rgb(50, 98, 189);
    border-top: 1.25px solid rgb(50, 98, 189);
    border-right: 1.25px solid rgb(50, 98, 189);
    border-radius: 6.25px 6.25px 0 0;
    padding: 12.5px;

    text-shadow: 0 1.25px 0 black;
    color: white;
    font-family: Tahoma;
    font-size: 16.25px;
}

#backgroundHeader {
    background-color: rgb(44, 85, 177);
    border-left: .25px solid rgb(50, 98, 189);
    border-bottom: 1.25px solid rgb(50, 98, 189);
    border-right: 1.25px solid rgb(50, 98, 189);
    padding: 6.25px;
}

#middleHeader {
    background-color: white;
    border: 1.25px solid rgb(37, 67, 148);
    padding: 0px;
    
    display: flex;
    flex-direction: row;

    height: 750px;
}

#leftBar {
    background-color: rgb(97, 159, 231);
    width: 300px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-right: 1.25px solid rgb(37, 67, 148);
}

#rightContent {
    background-color: white;
    flex: 1;
    padding: 18.75px;
    min-height: 375px;
}

#insideFileHeader {
    background: linear-gradient(180deg, rgba(151, 199, 240), rgba(49, 95, 183));
    border-left: 1.25px solid rgb(50, 98, 189);
    border-top: 1.25px solid rgb(50, 98, 189);
    border-right: 1.25px solid rgb(50, 98, 189);
    border-radius: 3.75px 3.75px 0 0;
    padding: 6.25px;
    color: white;
    font-family: Tahoma;
    font-size: 16.25px;
    
    border-bottom: none;
    margin-bottom: 0;
}

#insideFileHeaderCounter {
    background: linear-gradient(180deg, rgba(151, 199, 240), rgba(49, 95, 183));
    border-left: 1.25px solid rgb(50, 98, 189);
    border-top: 1.25px solid rgb(50, 98, 189);
    border-right: 1.25px solid rgb(50, 98, 189);
    border-radius: 3.75px;
    padding: 6.25px;
    color: white;
    font-family: Tahoma;
    font-size: 16.25px;

    display: flex;
    
    width: fit-content;

    text-shadow: 0 1.25px 0 black;
    
    border-bottom: none;
    margin-bottom: 0;
}


#insideFileHeaderDark {
    background: linear-gradient(180deg, rgba(81, 116, 168), rgba(12, 51, 123));
    border-left: 1.25px solid rgb(13, 53, 123);
    border-top: 1.25px solid rgb(13, 53, 123);
    border-right: 1.25px solid rgb(13, 53, 123);
    border-radius: 3.75px 3.75px 0 0;
    padding: 6.25px;
    color: white;
    font-family: Tahoma;
    font-size: 16.25px;
    
    border-bottom: none;
    margin-bottom: 0;
}

#insideFileHeaderWhite {
    background-color: white;
    border: 1.25px solid rgb(37, 67, 148);
    border-top: none;
    padding: 10px;
    color: rgb(0, 34, 128);
    font-size: 15px;
    
    display: flex;
    flex-direction: column;
    gap: 7.5px;
}

#insideFileHeaderWhiteDark {
    background-color: white;
    border: 1.25px solid rgb(13, 53, 123);
    border-top: none;
    padding: 10px;
    color: rgb(0, 34, 128);
    font-size: 15px;
    
    display: flex;
    flex-direction: column;
    gap: 7.5px;
}

.file-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.xp-link {
    display: flex;
    align-items: center;
    gap: 6.25px;
    font-family: Tahoma;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}

/* straight line */

.straightLine {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
}

.straightLine::before, .straightLine::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid gray;
}

.straightLine::before {
    margin-right: 10px;
}

.straightLine::after {
    margin-left: 10px;
}

.straightLine span {
    font-size: 16px;
    color: gray;
}

@keyframes swing {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}

#narkoHead {  /* Добавлена решетка для id */
    animation: swing 3s ease-in-out infinite;
}