@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,500;1,500&display=swap');
.rubik {
    font-family: "Rubik";
    color: white;
}

body {
    background: #3f4552;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.osnova {
    background: #323741;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    padding: 1rem;
    transition: background 0.2s linear;
}
@media (min-width: 320px) {
    .osnova {
        width: 89%;
        height: auto;
        border-radius: 19px / 15px;
        box-shadow: 0px 0px 40px -9px black;
    }
}
@media (min-width: 992px) {
    .osnova {
        width: 89%;
        min-height: 11em;
        height: auto;
        border-radius: 25px;
        box-shadow: 0px 0px 75px -12.5px black;
    }
}
@media (min-width: 1920px) {
    .osnova {
        border-radius: 35px;
        box-shadow: 0px 0px 100px -20.5px black;
    }
}
@media (min-width: 2560px) {
    .osnova {
        border-radius: 50px;
        box-shadow: 0px 0px 100px -20.5px black;
    }
}

.osnova p {
    text-align: center;
}
@media (min-width: 320px) {
    .osnova p {
        font-size: 22px;
    }
}
@media (min-width: 992px) {
    .osnova p {
        font-size: 27px;
    }
}
@media (min-width: 1920px) {
    .osnova p {
        font-size: 30px;
    }
}

.btns-wrapper {
    height: auto;
}
@media (min-width: 320px) {
    .btns-wrapper {
        margin-top: 15%;
        margin-bottom: 10%;
        width: 89%;
    }
}
@media (min-width: 997px) {
    .btns-wrapper {
        margin-top: 8%;
        width: 89%;
    }
}
@media (min-width: 1347px) {
    .btns-wrapper {
        margin-top: 6%;
        margin-bottom: 8%;
        width: 75%;
    }
}
@media (min-width: 1630px) {
    .btns-wrapper {
        width: 70%;
    }
}
@media (min-width: 1745px) {
    .btns-wrapper {
        width: 65%;
    }
}
@media (min-width: 1880px) {
    .btns-wrapper {
        width: 62%;
    }
}
@media (min-width: 2160px) {
    .btns-wrapper {
        width: 55%;
    }
}
@media (min-width: 2400px) {
    .btns-wrapper {
        width: 52%;
    }
}
@media (min-width: 2560px) {
    .btns-wrapper {
        margin-top: 5%;
        margin-bottom: 7%;
        width: 55%;
    }
}

.btns {
    display: flex;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}
@media (min-width: 320px) {
    .btns {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}
@media (min-width: 997px) {
    .btns {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 3rem;
    }
}

.btn {
    background-color: #6c5ce7da;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s linear, background-color 0.2s linear;
}
@media (min-width: 320px) {
    .btn {
        width: 100%;
        height: 3em;
        border-radius: 20px;
        box-shadow: 0px 0px 40px -9px black;
        font-size: 19px;
    }
}
@media (min-width: 997px) {
    .btn {
        width: 8.5em;
        height: 8.5em;
        box-shadow: 0px 0px 75px -12.5px black;
        font-size: 31px;
    }
}
@media (min-width: 1366px) {
    .btn {
        width: 10em;
        height: 10em;
        font-size: 27px;
    }
}
@media (min-width: 1920px) {
    .btn {
        box-shadow: 0px 0px 100px -20.5px black;
        border-radius: 35px;
        font-size: 30px;
    }
}
@media (min-width: 2560px) {
    .btn {
        width: 12em;
        height: 12em;
        box-shadow: 0px 0px 100px -20.5px black;
        border-radius: 40px;
    }
}

.btn:hover {
    transform: translateY(-0.5rem);
}

.discord.active {
    transition: background-color 0.2s linear;
    background-color: #1dd1a1;
}
.discord.active:hover {
    background-color: #1dd1a1;
}

.c_img {
    height: 1em;
    width: 1em;
    padding-right: 0.5em;
}

.vk_img {
    height: 1.1em;
    width: 1.1em; 
}

.vk:hover {
    background-color: #0077FF;
}
.tg:hover {
    background-color: #0088cc;
}
.insta:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.discord:hover {
    background-color: #5865F2;
    cursor: pointer;
}
.twitter:hover {
    background-color: #000000;
}
.github:hover {
    background-color: #24292f;
}

footer {
    background-color: #323741;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    transition: background 0.2s linear;
}
@media (min-width: 320px) {
    footer {
        padding: 0 1rem 0 1rem;
        height: 5rem;
        box-shadow: 0px 0px 20px -5px black;
    }
}
@media (min-width: 992px) {
    footer {
        height: 4rem;
        padding: 0.5rem;
    }
}
@media (min-width: 1920px) {
    footer {
        box-shadow: 0px 0px 35px -9px black;
    }
}
@media (min-width: 2560px) {
    footer {
        box-shadow: 0px 0px 35px -9px black;
    }
}

footer > a {
    margin-top: 0.4rem;
}

.f_txt {
    font-family: "Rubik";
    color: #d6d6d6;
}
@media (min-width: 320px) {
    .f_txt {
        font-size: 12px;
    }
}
@media (min-width: 992px) {
    .f_txt {
        font-size: 15px;
    }
}

.f-tg, .f-yt {
    background: #2c303a;
    transition: background 0.3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 320px) {
    .f-tg, .f-yt {
        border-radius: 10px;
        box-shadow: 0px 0px 10px -2px black;
        width: 2.5em;
        height: 2.5em;
        margin: 0.5em;
    }
}
@media (min-width: 1920px) {
    .f-tg, .f-yt {
        border-radius: 12px;
        box-shadow: 0px 0px 17px -3px black;
        margin: 0.8em;
    }
}
@media (min-width: 2560px) {
    .f-tg, .f-yt {
        border-radius: 14px;
        box-shadow: 0px 0px 17px -3px black;
        margin: 1em;
    }
}

@media (min-width: 320px) {
    .f-img {
        width: 1.2em;
        height: 1.2em;
    }
}

a:link {
    text-decoration: none;
    color: white;
}
a:hover {
    color: #ffffff;
}
a:active {
    color: #ffffff;
}
a:visited {
    color: #ffffff;
}
.f-tg:hover {
    background: #0088cc;
}
.f-yt:hover {
    background: red;
}