body {
    text-align: center;
    height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
}

main {
    display: block;
    margin: auto;
    width: 420px;
}

img.dolbozilla_logo,
img.dolbozilla_name {
    display: block;
    margin: 10px auto 15px; 
    height: auto;
}

img.dolbozilla_logo {
    margin-top: 13px;
    width: 100%;
    max-width: 85px; 
    height: auto;
    margin-bottom: 13px;
}

img.dolbozilla_name {
    width: 420px;
    height: auto;
    margin-bottom: 15px; /* увеличено */
    margin-top: 35px;    /* увеличено */
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

img.dolbozilla_name:hover {
    animation: shake 0.5s;
}

.reel {
    position: relative;
    width: 420px;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    overflow: hidden; 
    margin-bottom: 20px; /* увеличено */
}

.reel iframe {
    position: center;
    top: 0;
    left: 0;
    width: 97%;
    height: 97%;
    border: none;
    
    mask-image: url('/static/svg/black_frame_mask.svg');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    
    -webkit-mask-image: url('/static/svg/black_frame_mask.svg');
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;

    object-fit: cover; 
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/svg/frame.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none; 
}


.links {
    display: flex;
    flex-direction: column;
    max-width: 420px;
    margin: 15px auto; /* увеличено */
}

.links a {
    display: block;
    width: 420px;
    height: fit-content;
    margin: auto;
}

.links img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 5px;
}


.info img {
    width: 100%;
    max-width: 40px; 
    height: auto;
    margin: 5px;
}

.notfound {
    font-family: 'Slimamif', sans-serif;
}