html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

}

@media (max-width: 768px) {
    video {
        width: 98%;
    }
    .Razdels, .RazdelNavig {
        font-size: 1.2em;
    }
    .Pages, .RazdelOffice, .PageContent, .PageOffice, .b,.N{
        font-size: 1.2em;
    }
  

}

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    html {
        position: relative;
        min-height: 100%;
    }

    body {
        margin-bottom: 60px;
    }

    .form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
        color: var(--bs-secondary-color);
        text-align: end;
    }

    .form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
        text-align: start;
    }

    .Razdel:hover {
        background-color: azure;
        border-bottom: 2px solid orange;
        height: auto;
    }

    e {
        color: black;
        text-decoration: none;
    }

    a {
        text-decoration: none;
    }

    e:hover {
        height: auto;
        text-decoration: none;
    }

    .Catalog {
        display: flex;
        flex-direction: column;
        gap: 4px;
        justify-content: center;
        align-items: center;
    }

    .Razdels {
        display: flex;
        max-width: 914px;
        width: auto;
        height: auto;
        gap: 8px;
        align-items: flex-start;
        flex-wrap: wrap;
        flex-direction: row;
        border-bottom: 4px solid orange;
        padding-bottom: 20px
    }

    .Razdel {
        height: auto;
        width: 300px;
        background-color: aliceblue;
        word-wrap: break-word;
        text-align: center
    }
.RazdelOffice {
    max-width: 800px;
    width: 98%;
    min-height: 80px;
    background-color: aliceblue;
    height: auto;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
    .Pages {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .Page {
        height: auto;
       
        background-color: floralwhite;
        word-wrap: break-word;
        text-align: center;
       max-width: 600px;
       width:auto;
    }

        .Page:hover {
            background-color: azure;
            border-bottom: 2px solid orange;
            height: auto;
        }

.PageOffice {
    background-color: floralwhite;
    max-width: 800px;
    width: 98%;
}

.PostText {
    max-width: 800px;
    width: 98%;
    height: auto;
    background-color: rgb(253, 254, 241);
    border-radius: 8px;
    font-size: 1.2em;
    word-wrap: break-word;
    white-space: pre-line;
}

.PostName {
    max-width: 800px;
    width: 98%;
    height: auto;
    background-color: rgb(253, 254, 241);
    text-align: center;
    border-radius: 8px;
    word-wrap: break-word;
}

    .PageContent {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
        justify-content: center;
        align-items: center;
        background-color: floralwhite;
    }
.OfficeButton {
    display: flex;
    flex-direction:row;
    justify-content:flex-start;
  
    
    gap: 4%;
}
.ButtonEnter {
    background-color: limegreen;
  
    height: auto;
}
.ButtonEdit {
    background-color: dodgerblue;

}
.ButtonDelete {
    background-color: coral;

}

o{
    color:aliceblue;
}
.ButtonDelete:hover{
    background-color:crimson;
}
.ButtonEdit:hover{
    background-color:royalblue;
}

.ButtonEnter:hover{
    background-color:green;
}

.PostButton {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 4%;
    max-width: 800px;
    width: 98%;
    padding-top: 40px;
}

.PostAddButton {
    display: flex;
    flex-direction:column;
}
.FotoEditors {
    display: flex;
    flex-direction:row;
   padding-top:20px;
    flex-wrap: wrap;
    gap: 4px;
}


.zatem {
    height: 100%;
    width: 100%;
    background: rgba(42, 56, 136,0.3);
    position:fixed;
    bottom:0;
    display: none;
    z-index: 99;
}
.oknofon {
    z-index: 100;
    width: 98%;
    max-width: 380px;
    height: auto;
    display: block;
    font-size: 22px;
    background: rgba(47, 56, 71, 0.9);
    position: fixed;
    top: 40%;

    
    
  
    color: #fff;
    border-radius: 6px;
    border-top: 4px solid red;
    border-top: 4px solid silver;
}
.DeleteFile{

    background-color:indianred;
    color:aliceblue
}
.DeleteFile:hover{background-color:crimson;

}
.Cancel{padding:4px;
        border-radius:4px;
    background-color:cornflowerblue;
}
.Cancel:hover{
    background-color:deepskyblue;
}

.Header {
    display: flex;
    align-items: center;
    position: fixed;
    background-color: lightcyan;
    height: 60px;
    width: 98%;
    max-width: 1280px;
    z-index: 10;
    top: 0;

}
.RazdelNavig {
    z-index: 100;
    align-content: center;
    width: auto;
    position: fixed;
  margin-left:200px;
    top: 20px;
}
.NamePageRazdel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.Home {
    opacity: 0.8;
}
    .Home:hover {
        opacity: 1;
    }

.nav-item{
    margin-left:20px;
}
body {
    width: 98%;
    max-width: 1280px;
    margin-left: 1%;
    min-height: 1200px;
    background-color: mintcream;

}
.Office{
    display:flex;
    justify-content:end;
}

.Search{
    width:98%;
    display:flex;
    align-items:center;
    flex-direction:column;
}

