* {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

/* BEGIN PORTFOLIO ===========================

MAIN COLORS:
burnt orange - #E35336
pale beige - #F5F5DC
teracotta - #F4A460
brownish - #A0522D

main text color - #630609

*/

.portfolio-body {
    background-color: #F4A460;
    font-family: verdana;
}

.portfolio-body section {
    margin-bottom: 2em;
}

.portfolio-body section h2 {
    color: #780004;
    margin-bottom: 0.5em;
    font-family: "Anton", sans-serif;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-header {
    background-color: #E35336;
    text-align: center;
    color: #F5F5DC;
}

.portfolio-header h1 {
    font-family: "Anton", sans-serif;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 3em;
}

.portfolio-header h2 {
    padding-bottom: 0.5em;
}

.portfolio-header hr {
    border: 2px solid #ff7d12;
}

.portfolio-nav {
    background-color: #b84120;
    padding-top: 1em;
    padding-bottom: 1em;
    display: flex;
    justify-content: space-evenly;
}

.portfolio-nav a {
    padding: 2px;
    text-decoration: none;
    color: #780004;
    border: 4px solid #E35336;
    background-color:#F4A460
}

.portfolio-main {
    color: #300000;
    padding: 0 1em;
}

.portfolio-intro {
    margin-top: 1em;
    font-size: 1.3em;
    text-align: justify;
}

.portfolio-goals {
    font-size: 1.3em;
}

.portfolio-goals ul {
    margin-left: 1.1em;
}

.portfolio-hobbies {
    font-size: 1.3em;
}

.portfolio-hobbies ul {
    margin-left: 1.1em;
}

.portfolio-hobbies a {
    text-decoration: none;
    color: #300000;
}

.portfolio-labs {
    font-size: 1.3em;
}

.portfolio-labs h3 {
    margin-bottom: 1em;
    margin-top: 1em;
}

.portfolio-links {
    display: flex;
    flex-flow: row wrap;
    gap: 1em;
    margin-bottom: 3em;
}

.portfolio-links a {
    flex-basis: 30%;
    padding: 10px;
    text-decoration: none;
    color:#F5F5DC;
    background-color: #E35336;
    border: 2px solid #780004;
}

.main-images {
    min-width: 70%;
    text-align: center;
    margin-right: 75px;
}

.main-images img {
    display: block;
    aspect-ratio: 1;
    max-width: 100%;
    margin-left: 50px;
    margin-bottom: 2em;
    box-shadow: 10px 8px 0px #E35336;
}

.portfolio-footer {
    background-color: #E35336;
    text-align: center;
    color: #F5F5DC;
    padding: 1em;
}

.footer-divider {
    border: 2px solid #ff7d12;
}

/* PORTFOLIO DESKTOP VIEW ===================================== */
@media screen and (min-width: 1020px) {

    .portfolio-flexbox {
        display: flex;
    }

    .portfolio-main {
        flex-basis: 63%;
        min-width: 63%;
    }

    .main-images {
        flex-basis: 20%;
        min-width: 20%;
        max-width: 20%;
        padding-top: 1.5em;
        padding-left: 2em;
    }

    .main-images img {
        max-width: 100%;
        margin-left: 10em;
        margin-bottom: 7em;
    }
}



/* BEGIN BTL ======================================== */

.btl-body {
    background-color: #EEE;
    color: rgb(67, 13, 13);
}

.btl-header h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 2.5em;
    margin-bottom: 0.2em;
    font-family: 'Times New Roman';
    font-weight: 550;
}

.btl-header h2 {
    font-size: 25px;
    font-family: 'Lucida Console';
    text-align: center;     
    margin-bottom: 1em;
    font-weight: 600;
}

div.btl-heroimage {
    background-image: url(../hobby/books.jpg);
    background-size: cover;
    max-width: 110%;
    min-height: 250px;
    margin-bottom: 1.5em;
}

.btl-main {
    text-align: justify;
    font-size: 1.2em;
    font-family: "Aref Ruqaa", verdana, serif;
    font-weight: bold;
    font-style: normal;
    margin: 1.5em;
    line-height: 1.3;
}

nav.btl-nav {
    font-size: 22px;
    text-align: center;
    display: flex;
    gap: 6px;
    margin-top: 35px;
    margin-bottom: 25px;
}

.btl-nav a {
    background-color: bisque;
    flex: 1 0 15%;
    text-decoration: none;
    color: brown;
    border: 3.5px solid brown;
    padding-bottom: 15px;
}

.desktop {
    display: none;
}

.phone {
    display: block;
}

.btl-books {
    background-color:blanchedalmond;
}

.btl-body hr {
    border: 2px solid brown;
}

.btl-flexbox {
    display: flex;
}

.btl-books :not(:first-child) {
    padding-top: 5px;
    padding-left: 15px;
    padding-right: 10px;
}

.btl-books h2 {
    font-family:'Times New Roman';
    font-size: 40px;
    margin-top: 5px;
    margin-bottom: 0.5em;
    text-align: left;
    font-weight: 550;
}

.ratings {
    font-size: 30px;
    margin-bottom: 0.3em;
}

.tomorrow3 h3 {
    font-size: 40px;
    font-family: 'Times New Roman';
    padding-left: 10px;
}

.tomorrow3 h4 {
    font-size: 20px;
    font-family: verdana;
    margin-bottom: 0.5em;
}

.tomorrow3 p {
    font-size: 1.2em;
    margin-right: 3em;
    margin-bottom: 1em;
}

footer.btl-footer {
    text-align: center;
    background-color: bisque;
}

/* BTL DESKTOP VIEW ===================================== */
@media screen and (min-width: 1020px) {
    .btl-main {
        margin: 0 8em;
    }

    .btl-intro p {
        font-size: 1.3em;
    }
    
    .btl-header h1 {
        font-size: 60px;
    }

    .btl-header h2 {
        font-size: 30px;
    }

    div.btl-heroimage {
        display: block;
        max-width: 50%;
        min-height: 450px;
        margin: auto;
        margin-bottom: 2em;
        border-radius: 5px;
        box-shadow: 7px 7px 1px saddlebrown;
    }

    .btl-images {
        position: relative;
        max-height: 500px;
    }

    .btl-images div {
        position: absolute;
        aspect-ratio: 1;
        width: 14%;
        border-radius: 50%;
        margin: 0;
    }

    .btl-images div:nth-child(1) {
        background-image: url(../images/btl-image1.jpg);
        background-size: cover;
        background-position: bottom;
        filter: sepia(25%);
        top: 140px; left: 50px;
    }

    .btl-images div:nth-child(2) {
        background-image: url(../images/btl-image2.jpg);
        background-size: 150%;
        filter: sepia(30%);
        top: 385px; left: 50px;
    }

    .btl-images div:nth-child(3) {
        background-image: url(../images/btl-image3.jpg);
        background-size: 115%;
        filter: sepia(75%);
        top: 140px; right: 50px;
    }

    .btl-images div:nth-child(4) {
        background-image: url(../images/btl-image4.jpg);
        background-size: 120%;
        background-position: 50% 65%;
        filter: sepia(55%) brightness(90%);
        top: 385px; right: 50px;
    }

    .ratings {
        font-size: 60px;
    }

    .desktop {
        display: block;
    }

    footer.btl-footer {
        margin-top: 2em;
    }
}