*,body {
    margin: 0;
    padding: 0;
}
#text-heder{
    color: rgb(106, 18, 115);
    display: grid;
    place-items: top;
    height: 15vh;
    font-size: 25px;
    text-align: center;
}

#heder{
    background-image: url('upscale.png');
    width: 100%;
    height: 100px;
    border-bottom: 3px solid;
    border-bottom-color: dimgray;
    float: left;
    background-attachment: fixed;
    position: relative;
    background-size: contain;
}

#nav{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    box-sizing: border-box;
    float: left;
}

#nav, a{
    text-decoration: none;
    color: rgb(232, 194, 232);
}

#nav li{
    display: inline;
    margin: 0 15px;
}

#nav li:not(:last-of-type){
    margin-right: 15px;
}

.text-button{
    color: black;
}

#midle{
    background-color: rgb(37, 37, 38);
    background-attachment: fixed;
    height: 1500px;
}

.notebook-cell {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    height: 100%;
    overflow: auto;
}

.anekdot {
    color: rgb(255, 255, 255);
    padding: 20px;
}

#midle input {
    margin-bottom: 10px; 
    width: 100%;
    box-sizing: border-box;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    padding: 25px; 
    float: left;
}

.grid-item {
    border: 3px solid dimgray; 
    background-color: rgb(186, 186, 186);
    float: left;
}

.vvod-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.vvod-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

#midle h3{
    color: rgb(255, 255, 255);
    font-size: 20px;
    text-align: center;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: fit-content;
    margin: 20px auto;
}

.example, .examplered{
    border: none;
    border-radius: 25px;
    padding: 15px 0;
    color: black;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    width: 200px;
}

.example .left-color {
    background-color: rgb(255, 166, 0);
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.example .right-color {
    background-color: #f3f3f3;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.example .button-text, .examplered{
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 45px;
}

.examplered {
    background-color: red;
    margin-top: 10px;
}

#bottom{
    background-image: url('upscale.png');
    width: 100%;
    height: 100px;
    border-top: 3px solid;
    border-top-color: dimgray;
    float: left;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 100%;
    background-size: cover;
}