@font-face {
    font-family: "Philosopher";
    src: url("./fonts/Philosopher-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: "Philosopher";
    src: url("./fonts/Philosopher-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal
}

:root {
    --primary-border-color: #00bcd4;
    --primary-shadow: 0 0 15px #00bcd4;
    --primary-background: radial-gradient(circle, #1e2a5a, #0a0e29);
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #0a0e29, #1c1f42);
    color: #fff;
    font-family: 'Arial', sans-serif;
    text-align: center;
    overflow-x: hidden;
}

.main, .container, .logo .magic-circle, .name {
    border: 3px solid var(--primary-border-color);
    box-shadow: var(--primary-shadow);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    background: url("./img/backgroundimg.webp");
    background-size: cover;
    border-radius: 30px;
    max-width: 1024px;
    padding: 240px 0 400px 0;
}

header {
    margin: 0 0 5px 0;
}

.logo .magic-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-background);
    margin: 0 auto 15px;
}

.logo_img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.name {
    background: var(--primary-background);
    padding: 15px;
    border-radius: 10px;
}

h1 {
    font-family: "Philosopher", sans-serif;
    font-size: 3em;
    margin: 20px 0;
}

p {
    font-family: "Philosopher", sans-serif;
    font-size: 1em;
    opacity: 0.8;
}

main {
    background: url("./img/main_background.webp") center;
    border-radius: 45px;
    width: 870px;
    height: 920px;
    position: relative;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 405px;
}

.link {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: 0.3s ease;
    width: 250px;
}

.link.youtube {
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

.link.tiktok {
    background: linear-gradient(135deg, #FF0050, #69C9D0);
    box-shadow: 0 0 15px #69C9D0;
}

.link.facebook {
    background: #3b5998;
    box-shadow: 0 0 10px #3b5998;
}

.link.linkedin {
    background: #0077b5;
    box-shadow: 0 0 10px #0077b5;
}

.link.telegram {
    background: #0088cc;
    box-shadow: 0 0 10px #0088cc;
}

.link:hover {
    transform: scale(1.1);
}

.social-icons {
    margin-top: 20px;
}

.icon {
    display: inline-block;
    margin: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    transition: 0.3s ease;
}

.icon.youtube {
    position: absolute;
    top: 175px;
    left: 85px;
    width: 100px;
    height: 100px;
    background: url("./img/youtube.webp") no-repeat center center;
    background-size: cover;
}

.icon.tiktok {
    position: absolute;
    top: 175px;
    right: 85px;
    width: 100px;
    height: 100px;
    background: url("./img/tiktok.webp") no-repeat center center;
    background-size: cover;
}

.icon.facebook {
    position: absolute;
    bottom: 170px;
    left: 85px;
    width: 100px;
    height: 100px;
    background: url("./img/facebook.webp") no-repeat center center;
    background-size: cover;
}

.icon.linkedin {
    position: absolute;
    bottom: 170px;
    right: 85px;
    width: 100px;
    height: 100px;
    background: url("./img/linkedin.webp") no-repeat center center;
    background-size: cover;
}

.icon.telegram {
    position: absolute;
    top: 85px;
    left: 388px;
    width: 75px;
    height: 75px;
    background: url("./img/telegram.webp") no-repeat center center;
    background-size: cover;
}

.icon:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px #fff;
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 1024px) {
    .container {
        padding: 220px 0 320px 0;
    }

    .logo .magic-circle {
        width: 100px;
        height: 100px;
    }

    .logo_img {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 1.8em;
    }

    p {
        font-size: 0.9em;
    }

    main {
        width: 860px;
        height: 910px;
    }

    .icon {
        width: 80px;
        height: 80px;
    }

    .icon.youtube {
        top: 170px;
        left: 80px;
    }

    .icon.tiktok {
        top: 170px;
        right: 80px;
    }

    .icon.facebook {
        bottom: 165px;
        left: 80px;
    }

    .icon.linkedin {
        bottom: 165px;
        right: 80px;
    }

    .icon.telegram {
        top: 85px;
        width: 65px;
        height: 65px;
    }

    .link {
        width: 200px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .container {
        background: url("./img/backgroundimg_720.webp")no-repeat center center;
        background-size: cover;
        padding: 160px 0 220px 0;
    }

    .logo .magic-circle {
        width: 80px;
        height: 80px;
    }

    .logo_img {
        width: 75px;
        height: 75px;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.8em;
    }

    main {
        background: url("./img/main_background_720.webp") no-repeat center;
        background-size: cover;
        width: 615px;
        height: 650px;
    }

    .icon {
        width: 60px;
        height: 60px;
    }

    .icon.youtube {
        top: 105px;
        left: 43px;
    }

    .icon.tiktok {
        top: 105px;
        right: 45px;
    }

    .icon.facebook {
        bottom: 103px;
        left: 44px;
    }

    .icon.linkedin {
        bottom: 105px;
        right: 45px;
    }

    .icon.telegram {
        top: 57px;
        left: 272px;
        width: 50px;
        height: 50px;
    }

    .links {
        margin-top: 285px;
    }

    .link {
        padding: 5px 10px;
        margin: 7px;
        width: 180px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .container {
        background: url("./img/backgroundimg_mb.webp") no-repeat center;
        background-size: cover;
        padding: 150px 10px 285px 10px;
    }

    header {
        margin: 0 0 15px 0;
    }

    .logo .magic-circle {
        width: 60px;
        height: 60px;
    }

    .logo_img {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.7em;
    }

    main {
        background: url("./img/main_background_mb.webp") no-repeat center;
        width: 350px;
        height: 375px;
        padding: 15px;
        border-radius: 25px;
    }

    .icon.youtube {
        top: 70px;
        left: 31px;
        width: 45px;
        height: 45px;
        margin: 10px;
    }

    .icon.tiktok {
        top: 70px;
        right: 31px;
        width: 45px;
        height: 45px;
        margin: 10px;
    }

    .icon.facebook {
        bottom: 68px;
        left: 32px;
        width: 45px;
        height: 45px;
        margin: 10px;
    }

    .icon.linkedin {
        bottom: 70px;
        right: 32px;
        width: 45px;
        height: 45px;
        margin: 10px;
    }

    .icon.telegram {
        top: 31px;
        left: 163px;
        width: 35px;
        height: 35px;
        margin: 10px;
    }

    .links {
        margin-top: 160px;
        flex-direction: column;
    }

    .link {
        margin: 4px;
        width: 100px;
        font-size: 0.7em;
        padding: 3px 10px;
    }
}
