body {
    background: #111111; 
    font-family: Arial, sans-serif;
    color: #ffffff; 
    overflow: hidden; 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    transition: background 0.4s ease; 
}


/* вроп */
.screen-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* левая половина */
.welcome-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start;
    min-height: 100vh;
    padding-left: 10%;
    padding-top: 25vh; 
    box-sizing: border-box;
}

/* правая половина */
.info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end; 
    gap: 30px;
    padding-right: 10%;
    min-height: 100vh;
    padding-top: 25vh; 
    box-sizing: border-box;
}

.main-title {
    font-size: 5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    height: 6.5rem; 
    line-height: 6.5rem; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 25px; 
}

.subtitle {
    font-size: 1.8rem;
    margin: 0;
    padding-top: 10px; 
    opacity: 0.8;
    letter-spacing: 2px;
    height: 2.5rem;
    line-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.welcome-text-space {
    margin-top: 40px; 
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.6;
    max-width: 400px;
}

.info-block {
    background: transparent; 
    border: none; 
    border-radius: 0;
    
    padding: 10px 0; 
    width: 80%;
    max-width: 450px;
    box-sizing: border-box;
}


.info-block h2 {
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.info-block p {
    font-size: 1rem;
    margin: 0 0 20px 0;
    opacity: 0.7;
    line-height: 1.4;
}


.block-btn {
    display: inline-block;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.block-btn:hover {
    background: #e0e0e0;
}

.block-btn:active {
    transform: scale(0.98);
}


.main-title::after, .subtitle::after {
    content: '|';
    font-weight: normal;
    display: inline-block;
    animation: blink 0.7s infinite;
    margin-left: 5px;
}


@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Стили для выпадающего меню загрузок */
.dropdown {
    position: relative;
    width: 100%;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #222222;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    color: #ffffff;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown.show .dropdown-toggle .arrow {
    transform: rotate(180deg);
}




.info-block h2 {
    height: 1.6rem;
    line-height: 1.6rem;
    margin: 0 0 10px 0;
}


.info-block p {
    height: 1.4rem; 
    line-height: 1.4rem;
    margin: 0 0 20px 0;
    overflow: hidden;
}



.welcome-container .welcome-text-space {
    height: 4.8rem;
    line-height: 1.6;
}
.info-container .info-block:first-child p {
    height: 2.8rem; 
}


.info-container .block-btn {
    height: 43px;
    padding: 12px 24px;
    box-sizing: border-box;
}


@media screen and (max-width: 768px) {
    

    body {
        overflow-y: auto; 
    }

    .screen-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 40px 20px; 
        box-sizing: border-box;
        justify-content: flex-start;
    }


    .welcome-container {
        width: 100%;
        height: auto;
        min-height: auto;
        padding-left: 0;
        padding-top: 0;
        margin-right: 0;
        align-items: center; 
        text-align: center;
        margin-bottom: 50px; 
    }


    .main-title {
        font-size: 3.2rem;
        height: 4.2rem;
        line-height: 4.2rem;
        justify-content: center;
        margin-bottom: 5px;
    }

    .subtitle {
        font-size: 1.25rem;
        height: 1.8rem;
        line-height: 1.8rem;
        justify-content: center;
    }


    .welcome-text-space, 
    .welcome-text-space.second-text {
        font-size: 0.95rem; /* Уменьшили размер */
        line-height: 1.5;
        margin-top: 15px;
        max-width: 100%;
        height: auto !important;
        min-height: auto;
    }


    .info-container {
        width: 100%;
        height: auto;
        min-height: auto;
        padding-right: 0;
        padding-top: 0;
        align-items: center;
        gap: 35px;
    }


    .info-block {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }


    .info-block h2 {
        font-size: 1.35rem; 
        height: auto;
        line-height: normal;
        text-align: center;
    }

    .info-block p {
        font-size: 0.9rem; 
        height: auto !important;
        line-height: 1.4;
        text-align: center;
    }

    .info-container .block-btn {
        height: 40px;
        padding: 10px 20px;
        font-size: 0.9rem;
        line-height: 20px;
    }
}
