.btn {
    width: 76%;
    margin-top: 1rem;
    margin-bottom: 1.6rem;
}

.hero-btn {
    width: 300px;
}

p.wide-text {
    max-width: 90vw;
}
p.narrow-text, #hfd p.narrow-text {
    max-width: 49ch;
    font-size: .9em;
    margin-left: auto;
    margin-right: auto;
}

.portals {
    margin-bottom: 3rem;
}

.portals .entry {
    padding-left: 1.6rem;
    padding-right: 1.6rem;    
}

.portals .circle {
    width: 7rem;
    height: 7rem;
    margin-top: 3rem;
}

.portals h3 {
    font-size: 1.6em;
}

#circle-img-7 {
    background-color: green;
    background-image: url("../media/three-portals/frog.jpg");
}
#circle-img-8 {
    background-color: aqua;
    background-image: url("../media/three-portals/rocks.jpg");
}
#circle-img-9 {
    background-color: magenta;
    background-image: url("../media/three-portals/tree.jpg");
}

#hfd p {
    margin-left: 2.2rem;
    margin-right: 2.2rem;
}

.table-formatted, .table-formatted th, .table-formatted td {
    border: 1px solid var(--color-black);
    padding: 1rem 2rem;
}

.table-formatted th {
    background-color: var(--color-secondary);
    color: var(--color-white);
}


.table-formatted {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 720px) {

    #peak, #integrated-edge, #tension {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    #peak .base-layer, #integrated-edge .base-layer, #tension .base-layer {
        transform: translateX(-15vw);
        z-index: 0;
        width: 45vw;
        margin: 0 0;
    }

    #peak .mid-layer, #integrated-edge .mid-layer, #tension .mid-layer {
        z-index: 10;
        max-width: 55vw;
        margin: 0 0;
    }
    

    
    #peak .responsive-bg, #integrated-edge .responsive-bg, #tension .responsive-bg {
        max-height: 80vh;
        width: 75vw;
        margin-left: 0;
    }

    .btn {
        padding-left: 4em;
        padding-right: 4em;
        width: auto;
        max-width: 600px;
    }



}



@media only screen and (min-width: 900px) {


    #operational {
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-direction: row-reverse;
        overflow: hidden;
        margin-bottom: 3rem;
    }

    #op-right, #op-left {
        width: 44%;
    }




    #about {
        background-color: var(--color-light-grey);
    }

    #about .subsection {
        width: 100vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 4rem;
    }

    #about .subsection:nth-child(even) {
        flex-direction: row-reverse;
    }

    #about > .subsection > div {
        max-width: 40%;
    }

    #about > .subsection > div.img {
        max-width: 57%;
        /* max-height: 600px; */
        overflow: hidden;
    }

    #about > .subsection > div.img > img {
        width: auto;
        max-width: 66vw;
        /* height: 100%; */
        transform: translateX(-12%);

    }

        #about .subsection:nth-child(5) > div.img > img {
        transform: translateX(-7%);

    }



}


/* FOR TINY SCREENS */
/* ******************** */

@media only screen and (max-width: 420px) {
    #hfd p {
        margin-left: 1.1rem;
        margin-right: 1.1rem;
    }
    
    .table-formatted, .table-formatted th, .table-formatted td {
        border: 1px solid var(--color-black);
        padding: 1rem 1rem;
    }


}