@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Exo 2';
    margin: 0;
    box-sizing: border-box;
}

::selection {
    color: white;
    background-color: #6c82ff;
}

._global_container {
    margin-right: 30px;
    margin-left: 30px;
}

p {
    margin: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 30px;
    box-sizing: border-box;
}

body {
    padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
}

.btn-primary {
    padding: 12px 24px;
    background-color: #0E1A4D;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.header-container {
    background: rgba(80, 106, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 10px;
}

.header-title {
    color: white;
    font-weight: 400;
    font-size: 20px;
    margin-left: 10px;
}

.navbar-toggler {
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    background: transparent;
    z-index: 1100;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar-toggler span {
    display: block;
    background-color: white;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.navbar-toggler span:nth-child(1) {
    transform: translateY(-10px);
}

.navbar-toggler span:nth-child(3) {
    transform: translateY(10px);
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

#navbarMenu {
    background: rgba(80, 106, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin-top: 10px;
}

.nav-link {
    color: white;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
    text-align: center;
    font-size: 18px;
}

.nav-link:hover,
.nav-link:focus {
    color: #c0c6ff;
    text-decoration: none;
}

.footer-container {
    background-color: #506AFF;
    color: white;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
}

.contacts-container {
    margin-left: 30px;
    padding-top: 30px;
    width: 50%;
}

.contacts-footer-title {
    font-size: 64px;
    font-weight: 600;
}

.contacts-subtitle {
    font-size: 36px;
    font-weight: 400;
    margin-top: 20px;
}

.contact-text {
    font-size: 32px;
    font-weight: 400;
}

.contact-footer-link {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.contact-footer-link:hover {
    color: #A7B4FF;
    text-decoration-color: currentColor;
    text-shadow: 0 0 10px rgba(80, 106, 255, 0.4);
}

@media (min-width: 1200px) {
    #navbarMenu {
        position: static;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        display: flex !important;
        min-width: auto;
        top: auto;
        margin-top: 0;
    }

    #navbarMenu ul {
        flex-direction: row !important;
        align-items: center;
        gap: 20px;
    }

    .nav-link {
        padding: 0 15px;
        display: inline;
    }

    .navbar-toggler {
        display: none;
    }
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon ion-icon {
    font-size: 28px;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.telegram:hover ion-icon {
    color: #0088cc;
}

.vk:hover ion-icon {
    color: #0077FF;
}

.instagram:hover ion-icon {
    color: #E4405F;
}

.whatsapp:hover ion-icon {
    color: #25D366;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-links-container {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.branding-container {
    width: 50%;
    margin-right: 30px;
}

.branding-title {
    padding-top: 30px;
    font-size: 64px;
    font-weight: 600;
}

.author {
    color: #E0E0E0;
    margin-top: 10px;
}

.author-link {
    position: relative;
    color: #E0E0E0;
    text-decoration: underline;
    text-decoration-color: rgba(224, 224, 224, 0.3);
    text-underline-offset: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 500;
}

.author-link:hover {
    color: #FFFFFF;
    text-decoration-color: #4FC3F7;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.3);

    animation: textGlow 1.5s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(79, 195, 247, 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(79, 195, 247, 0.5);
    }
}


@media (max-width: 576px) {
    .contacts-footer-title {
        font-size: 48px;
    }

    .branding-title {
        font-size: 48px !important;
    }

    .contacts-subtitle {
        font-size: 32px;
    }

    .contact-footer-link {
        font-size: 28px;
    }
}

@media (max-width: 1200px) {
    .footer-container {
        flex-direction: column;
    }

    .contacts-container {
        width: 100%;
    }

     .branding-container {
        margin-left: 30px;
        width: 100%;
     }
}

/* Добавьте это в ваши медиа-запросы */
@media (max-width: 768px) {
    ._global_container {
        margin-right: 15px;
        margin-left: 15px;
    }
    
    .contacts-container {
        margin-left: 15px;
    }
    
    .branding-container {
        margin-right: 15px;
        margin-left: 15px;
    }
    
    /* Можно также уменьшить размеры шрифтов для мобильных */
    .contacts-footer-title,
    .branding-title {
        font-size: 36px !important;
    }
    
    .contacts-subtitle {
        font-size: 24px;
    }
    
    .contact-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .contacts-container,
    .branding-container {
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
    }
}

