
.index--profile{
    /* hides the profile from the index.html page */
    /* display: none; */
}


main{
    background: url("../images/heylagostechie-kwzWjTnDPLk-unsplash.jpg");
    background-position: center;
    background-size: cover;
}
.img-overlay{
    height:100vh;
    background-color: rgba(0,0,0,0.6);
}
.container{
    display: flex;
    justify-content: center;
    flex-direction: column;
  height: 20rem;
  align-items: center;
  padding-top: 6em;
}
.container h4{
    font-size: 4em;
    color: dodgerblue;
    font-weight: 700;
}
.container p{
    color: white;
    font-size: 1.5em;
    width: 80%;
    line-height: 1.5;
    text-align: center;
}

.home-btn{
    margin: 0 auto;
    text-align: center;
    margin-top: 5em;
}
.home-btn button{
    padding: 15px 20px;
    font-size: 20px;
    outline: none;
    font-weight: 700;
    cursor: pointer;
    /* text-transform: capitalize; */
    border: none;
}



@media(max-width: 900px){

    main{
        background-position: initial;
        background-size: center;
        background-repeat: no-repeat;
    }
    .img-overlay{
        height:70vh;
        background-color: rgba(0,0,0,0.4);
    }
    .home-btn{
        margin: 0 auto;
        text-align: center;
        margin-top: 0em;
    }
    .nav-items{
        display: none;
    }
    .container h4{
        font-size: 22px;
        color: dodgerblue;
        font-weight: 700;
    }
    .container p{
        color: white;
        font-size: 16px;
        padding: 10px 10px;
        width: 100%;
        line-height: 1.5;
        text-align: center;
    }
}


@media (max-width: 860px) {
    .img-overlay{
        height: 80vh;
    }
    .home-btn .btn{
        font-size: 16px;
    }
    .container h4{
        font-size: 20px;
        color: dodgerblue;
        font-weight: 700;
    }
    .container p{
        color: white;
        font-size: 17px;
        padding: 10px 10px;
        width: 100%;
        line-height: 1.2;
        text-align: center;
    }   
}

@media (max-width: 290px) {
    .container h4{
        font-size: 15px;
        color: dodgerblue;
        font-weight: 700;
    }
    .container p{
        color: white;
        font-size: 14px;
        padding: 10px 10px;
        width: 100%;
        line-height: 1.2;
        text-align: center;
    }   
}

@media (max-width: 190px) {
    .container h4{
        font-size: 11px;
    }
}