﻿.page {
    margin: 0;
    padding: 0;
    /* Прибираємо горизонтальний скролінг */
    overflow-x: hidden;
    /* Відносне позиціонування для контенту */
    position: relative;
    /* Секція займає 100% висоти екрану */
    min-height: 100vh;
    /* Закріплення фону */
    background-attachment: fixed;
    /* Центрування фону */
    background-position: center;
    /* Заборона повторення фону */
    background-repeat: no-repeat;
    /* Масштабування фону для покриття секції */
    background-size: cover;
    /* Використання флексбоксу для центрування тексту */
    /* display: flex;  */
    align-items: center;
    justify-content: center;
    /* color: white; */
    /* text-align: center; */
}

/*.btn:hover {
    border-color: #FF8A00 !important;
    color: white !important;
}*/

.text-light:hover {
    color: #FF8A00 !important;
}

.text-secondary:hover {
    color: #FF8A00 !important;
}


.fontstylemenu {
    font-size: 18px;
    font-family: 'Segoe UI';
    font-weight: bold;
}

.buttoncolor, .borderbuttoncolor {
    background-color: #FF8A00;
}

.fontcolor {
    color: #FF8A00;
}

/* Налаштування фону для кожної секції */

/* Перше зображення*/
#page-1 {
    background-image: url(/images/Bitcoin4.jpg);
}

/*Друге зображення*/
#page-graf {
    background-image: url(/images/Bitcoin777.jpg);
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/*Третє зображення*/
#page-2 {
    background-image: url(/images/Bitcoin3.jpg);
    padding-top: 10px; 
    padding-bottom: 80px;
    box-sizing: border-box;
    overflow-y: visible !important;
    min-height: auto !important;
}

#page-2 > .d-flex {
    padding-top: 60px;  
}

#page-2 .content {
    width: 100%;
}

#page-2 a.position-absolute {
    z-index: 2;
}

#page-2 a.top-0 {
    top: 20px; 
}

#page-2 a.bottom-0 {
    bottom: 20px; 
}




/*Четверте зображення*/
#page-3 {
    background-image: url(/images/Bitcoin2.jpg);
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/*П'яте зображення*/
#page-4 {
    background-image: url(/images/Bitcoin1.jpg);
    padding-top: 50px;
    padding-bottom: 500px;
    box-sizing: border-box;
}

/* Напівпрозорий чорний фон для тексту */
.content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Відсутність відступу під меню */
.navbar {
    margin-bottom: 0;
}

.pointc-info-left-svg1 {
    color: #FF8A00; /*Встановлює основний колір */
    fill: #FF8A00; /*Змінює колір заливки SVG */
}


/*$$$$$*/

.text-reset:hover {
    background-color: transparent;
    border: 1px solid #FF8A00;
    color: #FF8A00 !important;
}

.nav-link:hover {
    background-color: transparent;
}

.accordion-button .bi-chevron-down {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.fixed-arrow {
    right: 10px;
}

.accordion-button::after {
    background-image: none !important;
}

.larger-arrow {
    font-size: 4rem;
}

.custom-opacity {
    opacity: 0.85;
}


.navbar-orline {
    position: fixed;
    top: 0;
    min-width: 100%;
    display: flex;
    box-shadow: 0 2px 4px rgba(255,138,0,1);
}

/*---------*/
#page-1 .flex-grow-1 {
    padding-top: 85px;
    padding-left: 20px;
    padding-right: 20px;
}

.text-center h1 {
    font-size: 2.2rem;
    color: #FF8A00;
    font-weight: 600;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


#page-1 p.text-white.custom-opacity {
    font-size: 1.3rem !important;
}

#page-1 .text-center p:not(.custom-opacity) {
    font-size: 1.2rem !important;
}



@media (min-width: 768px) and (max-width: 1366px) {
    #page-1 .text-center h1 {
        font-size: 2.6rem !important; 
    }

    #page-1 p.text-white.custom-opacity {
        font-size: 2.0rem !important; 
    }

    #page-1 .text-center p:not(.custom-opacity) {
        font-size: 1.6rem !important; 
    }
}

@media (min-width: 850px) and (max-width: 860px) and (orientation: portrait) {
    .text-center h1 {
        font-size: 2.6rem !important;
    }

    p.text-white.custom-opacity {
        font-size: 1.8rem !important;
    }

    .text-center p:not(.custom-opacity) {
        font-size: 1.6rem !important;
    }

    #page-2 {
        padding-top: 60px;
        padding-bottom: 80px;
    }
}

@media (max-width: 767px) {
    #page-1 .flex-grow-1 {
        padding-top: 100px;
    }


    .text-center h1 {
        font-size: 2.2rem !important;
    }

    .text-center p {
        font-size: 1.4rem !important;
    }

    #page-2 {
        padding-top: 40px;
        padding-bottom: 55px;
    }
    #page-2 .content > div {
        margin-bottom: 30px; 
    }
    #page-2 .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    #page-1 .flex-grow-1 {
        padding-top: 85px;
    }

    .text-center h1 {
        font-size: 1.8rem !important;
    }

    .text-center p {
        font-size: 1.1rem !important;
    }

    #page-2 {
        padding-top: 25px;
        padding-bottom: 30px;
    }
    #page-2 .content > div {
        margin-bottom: 25px;
    }
    #page-2 .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .text-center h1 {
        font-size: 1.5rem !important;
    }

    .text-center p {
        font-size: 0.9rem !important;
    }

    #page-2 {
        padding-top: 20px;
        padding-bottom: 25px;
    }
    #page-2 .content > div {
        margin-bottom: 20px;
    }
    #page-2 .btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

/*
@media (max-width: 1023px) {
    .px-md-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
*/

/*------*/

#page-graf .content {
    padding-left: 10px;
    padding-right: 10px;
}

#page-graf .chart-container {
    padding-left: 10px;
    padding-right: 10px;
}


#cryptoChart {
    width: 100% !important;
    height: auto !important;
}


@media (max-width: 768px) {
    #page-graf .header-text {
        font-size: 1.8rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }


    .time-controls {
        display: none !important;
    }

    .chart-container {
        display: none !important;
    }

    .crypto-table {
        font-size: 0.9rem;
        padding: 5px;
    }

    .crypto-row > div {
        padding: 5px 3px !important;
        word-break: break-word;
    }

    .crypto-row img {
        width: 25px;
        height: 25px;
        margin-right: 5px;
    }

    .crypto-table .col-2 {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .crypto-table .col-4 {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .crypto-table .col-2.text-end {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .crypto-table .col-4.bitcoin-price,
    .crypto-table .col-4.eth-price,
    .crypto-table .col-4.doge-price,
    .crypto-table .col-4.ada-price {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 420px) {
    #page-graf .header-text {
        font-size: 1.5rem !important;
    }

    .crypto-table {
        font-size: 0.8rem;
        padding: 3px;
    }


    .chart-container {
        display: none !important;
    }


    .time-controls {
        display: none !important;
    }

    .crypto-row img {
        width: 20px;
        height: 20px;
    }

    .crypto-row > div {
        padding: 3px 2px !important;
    }

    .crypto-table .col-2 {
        flex: 0 0 28%;
        max-width: 28%;
    }


    .crypto-table .col-4 {
        flex: 0 0 28%;
        max-width: 28%;
    }

    .crypto-table .col-2.text-end {
        flex: 0 0 16%;
        max-width: 16%;
    }

    .crypto-table .col-4.bitcoin-price,
    .crypto-table .col-4.eth-price,
    .crypto-table .col-4.doge-price,
    .crypto-table .col-4.ada-price {
        flex: 0 0 28%;
        max-width: 28%;
    }
}



/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    color: #ddd;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizelegibility;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 64px;
    line-height: 1.328125;
    font-weight: 900;
}

body {
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.57142857;
}

section {
    height: 100vh;
    width: 100%;
    background: #000;
    background-position: center;*/
/*    &.over*/

/*position: relative;
    z-index: 10;
}

.over-inner {
    position: relative;
}

.under-inner {
    color: white;
    height: 100vh;
    position: relative;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.one {
    background-image: url(/images/Bitcoin2.jpg);
}

.two {
    background-image: url(/images/Bitcoin3.jpg);
}

.three {
    background-image: url(/images/Bitcoin4.jpg);
}

.centered {
    position: absolute;
    top: 50%;
    left: 0;
    padding: 0 10%;
    transform: translateY(-50%);
}*/

/*waypoints*/
/*.fixed {
    position: absolute;
    top: -100%;
    left: -100%;
    opacity: 0;
    transition: opacity 100ms linear;
    z-index: 0;
    margin: 0;
}

.locked {
    position: fixed;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: opacity 100ms linear;
}*/
