*{
    margin: 0;
    padding: 0;
    /* <uniquifier>: Use a uniquifier for the class name
       <weight>: Use a value from 100 to 900
       .montserrat-<uniquifier> { 
        font-optical-sizing: auto; */
    font-family: "Montserrat", sans-serif;

    /* font-weight: 300;  how thick the font is */
    /* font-style: normal; */
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7),rgba(4, 9, 30, 0.7)), url(images/old_banner_1.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

/* navigation bar at the top */
nav{
    display: flex;
    padding: 1% 2%; /* padding for the logo */
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 100px;
}
.nav-links{
    flex: 1; /* occupies all space in teh row */
    text-align: right;
    padding: 30px;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 15px;
    position: relative;
}
.nav-links ul li a{
    color: #EBE3CF;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #D7887F;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
/* title page text box */
.text-box{
    width: 90%;
    color:#EBE3CF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: #EBE3CF;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #EBE3CF;
    border: 1px solid #EBE3CF;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #D7887F;
    background: #D7887F;
    transition: 1s; /* maybe make this faster */
}

/* for smaller screen display */
nav .fa-solid{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        display: none;
        position: absolute;
        background: #D7887F;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -280px; /* hide the bar */
        z-index: 2;
        text-align: left;
        transition: 1s;
    }
    .nav-links.show{
        transition: 1s;
        display: block;
        right: 0;
    }
    nav .fa-solid{
        display: block;
        color: #EBE3CF;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}

/* ---------- product features ----------- */
.features{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 30px;
    font-weight: 700;
}

p{
    color:#777;
    font-size: 14px;
    font-weight: 300;
    padding: 10px;
    line-height: 1.5;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.features-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.features-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}
@media(max-width: 700px) {
    .row{
        flex-direction: column; /* small screen it starts stacking */
    }
}

/* ---------- problems ----------- */
.problems{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.problems-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.problems-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
/* background for hovering problem elements */
.layer:hover{
    background: rgba(215, 136, 127, 0.7);
}
/* text for problem elements */
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/* ---------benefits--------- */
.benefits{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100;
}
.benefits-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.benefits-col img{
    width: 100%;
    border-radius: 10px;
}
.benefits-col p{
    padding: 0;
    line-height: 1.5;
}
.benefits-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/* ------- reviews ------- */
.reviews{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.reviews-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.reviews-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.reviews-col p{
    padding: 0;
    line-height: 1.5;
}
.reviews-col h3{
    margin-top: 15px;
    text-align: left;
}
.reviews-col .fa-solid{
    color:#f44336;
}
.reviews-col .fa-regular{
    color:#f44336;
}
