@import url('colors.css');

.how-to {
    position: fixed;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(rgba(var(--color-how-to-background-RGB-values), 0.96) 50px,
            rgba(var(--color-how-to-background-RGB-values), 0.4) 15%);

    border: 1px solid var(--color-how-to-header-border);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.479);
    z-index: 1000;
    width: 900px;
    max-height: 85%;
    overflow-y: auto;
    box-sizing: border-box;
    text-align: center;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.how-to-header {
    background-color: var(--color-how-to-header);
    color: white;
    margin: -30px -20px 0px -20px;
    padding: 0px;
    text-align: center;
}

.how-to-step-header {
    background-color: var(--color-how-to-header-step);
    border: 1px solid var(--color-how-to-header-border);

    padding: 0px 30px;
    margin: 40px 0px 15px 0px;
    max-width: 750px;

    border-radius: 8px;
    display: inline-block;
    color: #ffffff;
    box-sizing: border-box;
}

.how-to-step-header h2{
    font-size: 1.25rem;
}

.how-to h3 {
    padding-bottom: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.how-to-step {
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background-color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
    color: rgb(87, 87, 87);
}

.how-to-step p {
    margin-bottom: 20px;
}


/* Section 6 - Hide parts B and C into other locations - config */

.example-sections-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 20px;
    max-width: 800px;
}

.setup-section {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    position: relative;
    justify-items: center;

}

.setup-section.cloud {
    grid-column: span 3;
    background-color: #e8f4fc;
    align-items: center;
}

.setup-section.house {
    grid-column: span 3;
    background-color: #f0f8e0;
}

.setup-section.hiding-spot {
    grid-column: span 1;
    background-color: #fdf1e4;
}

.setup-section.bank-safe {
    grid-column: span 1;
    background-color: #fdf1e4;
}

.setup-section.entrusted-person {
    grid-column: span 1;
    background-color: #fdf1e4;
}

ul {
    list-style-type: disc;
    text-align: left;
}


@media screen and (max-width: 900px) {
    .how-to {
        width: 100%;
        margin-top: 10px;
    }

    .how-to-header {
        width: 100%;
    }

    .how-to-step-header {
        width: 80%;
    }

    .how-to-image {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 700px) {
    .example-sections-container {
        display: flex;
        flex-direction: column;
    }

    .how-to {
        height: 100%;
        max-height: 100%;
    }


    .how-to h2 {
        font-size: 1.2rem;
    }

    .how-to h5 {
        font-size: 1.2rem;
    }

    .how-to-step-header {
        width: calc(100%);
    }

}