html, body {
    margin: 0;
    padding: 0;
}
body {
    background-color: black;
    height: 100%;
}
#christmas_video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}
video {
    padding:0px;
    margin:0px;
    width:100%;
    height:100vh;
    object-fit: cover;
}
nav {
    position: fixed;
    /* display: flex; */
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100vh; 
    align-items: center; 
    bottom: 0;
    width: 100%;
}
nav a {
    display:inline-block;
    padding: 50px;
    height: 100px;
    width: 100px;
    /* background-color: rgba(255, 255, 255, 0.2); */
    border-radius: 5px;
}
nav a img {
    width: 100%;
    transition: all ease-in-out 0.2s;
}
a:hover img {
    transform: scale(1.2);
    transition: all ease-in-out 0.2s;
}
#menuToggle {
    display: block;
    position: relative;
    /* top: 50px; */
    left: 50px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}
#menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}
#menuToggle a:hover {
    color: tomato;
}
#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: relative;
    top: 43px;
    left: -5px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
}
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    top: 15px;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}
#menuToggle span:first-child {
    transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}
#menu {
    position: absolute;
    height: 100vh;
    width: 200px;
    margin: -100px 0 0 -50px;
    padding: 0;
    /* padding: 25px; */
    padding-top: 175px;
    background: rgba(255,255,255,0.4);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
#menu li {
    padding: 10px 0;
    font-size: 22px;
}
#menuToggle input:checked ~ ul {
    transform: none;
}

@media (max-width: 1199px) {
    /* CSS для ширины от 992px до 1199px */
    nav a {
        height: 200px;
        width: 200px;
    }
    #menuToggle input {
        top: 193px;
        width: 75px;
        height: 60px;
    }
    #menuToggle span {
        top: 100px;
        width: 66px;
        height: 8px;
        margin-bottom: 12px;
    }
    #menu {
        padding-top: 325px; 
        width: 300px;
    }
}
@media (max-width: 991px) {
    nav a {
        height: 200px;
        width: 200px;
    }
    #menuToggle input {
        top: 193px;
        width: 75px;
        height: 60px;
    }
    #menuToggle span {
        top: 140px;
        width: 66px;
        height: 8px;
        margin-bottom: 12px;
    }
    #menu {
        padding-top: 325px;
        width: 300px; 
    }
}
@media (max-width: 767px) {
    nav a {
        height: 100px;
        width: 100px;
    }
    #menuToggle input {
        top: 93px;
    }
    #menuToggle span {
        top: 100px;
    }
    #menu {
        padding-top: 225px; 
    }
}
@media (max-width: 575px) {
    nav a {
        height: 100px;
        width: 100px;
    }
    #menuToggle input {
        top: 93px;
    }
    #menuToggle span {
        top: 100px;
    }
    #menu {
        padding-top: 225px; 
    }
}