@font-face {
    font-family: 'Poppins';
    src: url('/src/fonts/Poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/src/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-background-color: #000;
    --light-green: rgb(0, 255, 0);
    --elegant-green: #0ecc47;
    --hover-elegant-green: #0bad3c;
    --medium-green: rgb(3, 206, 3);
    --white-green: rgb(92, 255, 92);
    --white: #fff;
    --black: #000;
    --gray-background: #1A1A1E;
    --orange: #ff5e00;
    --hover-orange: #e45503;
}

body {
    background-color: var(--dark-background-color);
    font-family: 'Poppins';
    background-image:linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("/src/images/background-image.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    color: white;
    outline: none;
    caret-color: transparent;
    background-attachment: fixed;
    -webkit-tap-highlight-color: transparent;
}

/* CONTROL */
.screen.active-screen {
    display: flex;
}

.teste-etp.active-etp {
    display: flex;
}

.disable {
    display: none;
}

/* HEADER */
#site-header {
    background: var(--black);
    color: var(--white-green);
    box-shadow: 0 4px 6px rgba(0,0,0,0.7);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    padding: .8rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo span {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--light-green);
    margin: 0;
}

.logo .tagline {
    font-size: 0.9rem;
    color: var(--white);
    margin-top: 4px;
}

.navigation {
    width: 100%;
    padding: 1rem;
    background-color: var(--gray-background);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navigation nav {
    width: 100%;
    max-width: 600px;
}

.navigation nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;   
}

.navigation nav li {
    list-style: none;
}

.navigation nav a {
    color: var(--white);
    font-weight: 400;
}

.navigation .list-divisor {
    width: 2px;
     align-self: stretch;
    background-color: rgb(70, 70, 70);
}

/* MAIN */
.screen {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    min-height: 100vh;
}

.card-space {
    height: 2px;
    width: 50%;
    max-width: 200px;
    background-color: var(--light-green);
    margin: 1rem auto;
    border-radius: 20px;
}

#startBtn {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    background-color: var(--light-green);
    border: 0;
    color: var(--gray-background);
    font-weight: 700;
    border-radius: 10px;
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
    cursor: pointer;
}

#startBtn:hover {
    background-color: var(--medium-green);
}

/* GLOBAL */
a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
}

/* LARGE CARD */
.large-card {
    background-color: var(--gray-background);
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    color: var(--white);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 20px;
}

.large-card-text {
    font-size: 1rem;
}

.large-card-title {
    font-size: 2rem;
}

/* TESTE */
.etp-title {
    font-size: 1.5rem;
    color: var(--white);
    text-align: center;
}

.teste-etp {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.etp-title {
    font-size: 2rem;
}

.next-button {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    background-color: var(--orange);
    border: 0;
    color: var(--white);
    border-radius: 10px;
    margin-top: 2rem;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}

.next-button:hover {
    background-color: var(--hover-orange);
}

/* ETP 01 */
#computadores-lista {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* SMALL CARD */
.small-card {
    width: 100%;
    max-width: 400px;
    background-color: var(--gray-background);
    border-radius: 20px;
    padding: .3rem .4rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.small-card:hover {
    transform: scale(1.01);
}

.small-card-image {
    width: 100%;
}

.small-card-text {
    color: var(--white);
    text-align: center;
    font-size: 1.3rem;
}

.small-card-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card-selected {
    border: 4px solid var(--orange);
}

.pc-radio {
    display: none;
}


/* ETP 02 */
.test-02-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
}

#budget-indicator {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--white-green);
}

.test-02-content .input-indicator {
    font-size: 1rem;
    font-weight: 700;
}

.money-tag {
   font-size: .9rem; 
}

#budget-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: var(--gray-background);
    border-radius: 10px;
    outline: none;
}

#input-indicators {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#budget-input::-webkit-slider-runnable-track {
    height: 10px;
    background: var(--gray-background);
    border-radius: 10px;
}

#budget-input::-moz-range-track {
    height: 10px;
    background: var(--gray-background);
    border-radius: 10px;
}

#budget-input::-ms-track {
    height: 10px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

#budget-input::-ms-fill-lower {
    background: var(--gray-background);
    border-radius: 10px;
}
#budget-input::-ms-fill-upper {
    background: var(--gray-background);
    border-radius: 10px;
}

#budget-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 20px;
    margin-top: -5px;
    background-color: var(--hover-orange);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
#budget-input::-webkit-slider-thumb:hover {
    background-color: var(--orange);
}

#budget-input::-moz-range-thumb {
    width: 30px;
    height: 20px;
    background-color: var(--hover-orange);
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
#budget-input::-moz-range-thumb:hover {
    background-color: var(--orange);
}

#budget-input::-ms-thumb {
    width: 30px;
    height: 20px;
    background-color: var(--hover-orange);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
#budget-input::-ms-thumb:hover {
    background-color: var(--orange);
}

/* ETP 03 */
#platforms {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

#platforms .small-card-image {
    width: 70%;
}

#platforms .small-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.see-suggestions-button {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    background-color: var(--orange);
    border: 0;
    color: var(--white);
    border-radius: 10px;
    margin-top: 2rem;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}

/* HELP SECTION */
#help {
    display: flex;
    width: 100%;
    gap: 1rem;
    align-items: center;
}

.help-content {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1222px;
}

/* FAQ SECTION */
.content-section {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    width: 100%;
}

.faq-title-box { 
    padding: 1rem;
}

.faq-title-box h1 {
    color: var(--white);
}

.faq-details-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
}

.faq-details-box details {
    border-top: 2px solid var(--orange);
    padding: 1rem;
    width: 80%;
    max-width: 1222px;
    text-align: center;
}

.faq-details-box summary {
    list-style: none;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: start;
    padding-left: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.faq-details-box details p {
    margin: 1rem;
    text-align: start;
}

.arrow-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.faq-details-box details[open] .arrow-icon {
    transform: rotate(180deg);
}

/* FOOTER */
footer {
    width: 100%;
    background-color: var(--gray-background);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: center;
}

/* PROGRESS BAR */
.progress-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 5.2rem;
    width: 100%;
    max-width: 550px;
    margin-bottom: 1rem;
}

.progress-level {
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gray-background);
    flex: 1;
    height: 100%;
    border-radius: 100%;
}

.progress-bar-space {
    flex: 1.5;
    height: 5px;
    background-color: var(--gray-background);
    margin: 0 10px;
    border-radius: 10px;
}

.progress-completed {
    background-color: var(--orange);
}

.space-completed {
    background-color: var(--orange);
}

/* SUGGESTIONS */
#suggestions {
    flex-direction: column;
    align-items: center;
}

.pc-details-box {
    display: flex;
    flex-direction: row;
    max-width: 900px;
    width: 90%;
}

.details-pc {
    display: flex;
    flex-direction: column;
    background-color: var(--gray-background);
    border-radius: 10px;
    gap: 2rem;
    padding: 1rem;
}

.details-image-box {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

#details-image {
    margin: 0;
}

.buy-box {
    margin: auto 0;
}

.buy-button {
    background-color: var(--elegant-green);
    padding: 1rem 2rem;
    width: 100%;
    color: var(--white);
    font-size: 1.5rem;
    border: 0;
    outline: 0;
    cursor: pointer;
}

.buy-button:hover {
    background-color: var(--hover-elegant-green);
}

.title-box .title {
    font-size: 2rem;
}

.description-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.description-box .description {
    font-size: 1rem;
}

.price-box .price {
    font-size: 1rem;
}

.price-box span.price-money {
    color: var(--elegant-green);
    font-size: 1.5rem;
    font-weight: 700;
}

.price-box span.installment-money {
    color: var(--orange);
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    #computadores-lista {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .small-card {
        max-width: 300px;
    }

    .large-card-title {
        font-size: 1.7rem;
    }

    .small-card-text {
        font-size: 1rem;
    }

    .small-card-title {
        color: var(--white);
        text-align: center;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    body {
        background-position: left;
    }

    .progress-bar {
        height: 3.4rem;
        max-width: 370px;
    }

    .faq-details-box details {
        width: 95%;
    }

    .navigation {
        display: none;
    }

    .navigation {
        display: none;
    }

    .pc-details-box {
        flex-direction: column;
        width: 95%;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .small-card {
        max-width: 350px;
    }

    #computadores-lista {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .faq-details-box details {
        width: 95%;
    }

    .navigation {
        display: none;
    }

    .pc-details-box {
        flex-direction: column;
        width: 95%;
        max-width: 600px;
    }
}

@media (min-width: 1025px) {
    
}