h2{
    letter-spacing: .05rem;
    font: 1.8em 'Roboto Slab', serif;
}
#container{
    height: 100vh;
    padding: 0;
    position: relative;
}
nav {
    padding: 15px 15px 0 15px;
    position: fixed;
    top: 0;
    background-color: white;
    z-index: 1;
    width: 100%;
}
.nav-link{
    color: #495057;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: .075em;
    margin-top: 4.3vh;
}
.nav-tabs .nav-item {
    margin-top: 1.5px;
}
.nav-tabs .nav-link.active {
    color: #e5a2a2;
    border-color: #e5a2a2 #e5a2a2 #ffffff;
}
.line {
    position: fixed;
    bottom: 0;
    margin: 0 15px;
    padding: 10px 0;
    width: calc(100% - 30px);
    border-top: 1px solid #e5a2a2;
    font-size: 1em;
    letter-spacing: .05em;
    display: flex;
    justify-content: space-between;
    background-color: white;
    z-index: 1;
}
footer {
    padding: 5px;
    color: #495057;
}
.nav-tabs .nav-link:hover {
    color: #e5a2a2;
    border-color: #e5a2a2 #e5a2a2 #ffffff;
    background-color: #ffffff;
    transition: .5s ease-in-out;
}
.nav-tabs {
    border-bottom: 1px solid #e5a2a2;
}
#flex-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem auto;
    width: 100vh;
}
#about p {
    text-align: justify;
}
#bio-pic {
    border: 1px solid #e5a2a2;
    border-radius: .25rem;
    height: 30em;
    width: 20em;
    margin-bottom: 1em;
    background-image: url("../img/John  Renee Wedding-547.jpg");
    background-size: cover;
    background-position: top ;
    background-repeat: no-repeat;
}
#about-container{
    margin: 18vh auto;
    width: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 1em;
    grid-column-gap: 5em;
    grid-template-areas:
    "left right";
}
#about-left{
    height: 70vh;
    width: 100%;
    grid-area: left;
    background-image: url("../img/John  Renee Wedding-547.jpg");
    background-size: cover;
    background-position: top ;
    background-repeat: no-repeat;
    -moz-box-shadow:    inset 0 0 15px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
    box-shadow:         inset 0 0 15px rgba(0, 0, 0, 0.1);
}
#about-right{
    padding: 0.5rem 0;
    grid-area: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.btn {
    color: #495057;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: .075em;;
    text-decoration: none;
    border: 1px solid #495057;
    border-radius: .25rem;
    padding: 14px;
    text-align: center;
    grid-area: res;
    transition: transform .5s ease-in-out;
}
.btn:hover {
    border:1px solid #e5a2a2;
    color: #e5a2a2;
    transition: .25s ease-in-out;
    cursor: pointer;
    opacity: 95%;
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
}
#learn-more{
    padding:14px 18px;
    color: #495057;

}
#learn-more:hover{
    color: #e5a2a2;
}

#icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right:0;
    bottom: 7vh;
    padding: 20px;
}
#icons i {
    color: #212529;
    padding: 10px 0;
    font-size: 40px;
    transition: transform .5s ease-in-out;
}
#icons i:hover {
    color: #e5a2a2;
    transition: .25s ease-in-out;
    cursor: pointer;
    opacity: 95%;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.container {
    width:100%;
    border: 1px solid #495057;
    border-radius: .25rem;
    transition: transform 1s ease-in-out;
    text-align: center;
    box-shadow: 0 0 .5em rgba(73,80,87,.5);
}
.container:hover {
    transition: 1s ease-in-out;
    cursor: pointer;
    opacity: .6;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    box-shadow:
    0 0 0 1px rgba(0,0,0,.05),
    0 0 0 1px rgba(0,0,0,.1);
}
#work-left{
    grid-area: work-left;
    background-image: url("../img/floralist-icon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    width: 100%;
    height: 70vh;
}
#work-left:hover{
    background-image: url("../img/floralist-icon-hover.png");
}
#work-right-top{
    grid-area: work-top;
    background-image: url("../img/towers-icon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
}
#work-right-top:hover{
    background-image: url("../img/towers-icon-hover.png");
}
#work-right-mid{
    grid-area: work-middle;
    background-image: url("../img/tic-tac-toe-icon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
}
#work-right-mid:hover{
    background-image: url("../img/tic-tac-toe-hover.png");
}
#work-right-bot{
    grid-area: work-bot;
    background-image: url("../img/cart-icon.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
}
#work-right-bot:hover{
    background-image: url("../img/cart-hover.png");
}
#work-container{
    margin: 17.5vh auto 0;
    width: 90vh;
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-row-gap: 2em;
    grid-column-gap:4em;
    grid-template-areas:
    "work-left work-top"
    "work-left work-middle"
    "work-left work-bot";
}
#work{
    position: relative;
    top:0;
}
#heading{
    padding: 1vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2px;   
}
header{
    width: 225px;
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
}
#heading h1 {
    font: 1.8em 'Roboto Slab', serif;
    font-weight: lighter;
    letter-spacing: .1em;
    padding-left: .3em;
}
#heading h2{
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    letter-spacing: .075em;
    color: #495057;
}
.floralist-container{
    display: flex;
}
#floralist-1 {
    margin: 0 auto;
    padding: 16vh 0 0;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#floralist-left{
    grid-area: f-left;
    background-image: url("../img/Floralist.PNG");
    height: 72vh;
    max-width: 40vh;
    background-size: cover;
    left:0;
}
#floralist-mid{
    max-width: 65vh;
    padding: 0 3vh;
    justify-content: center;    
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: justify;
}
#floralist-intro{
    padding: 0 .5rem;
}
#floralist-welcome{
    background-image: url("../img/floralist-welcome.PNG");
    grid-area: f2-0;
}
#floralist-img-lib{
    background-image: url("../img/floralist-image-lib.PNG");
    grid-area: f2-05;
}
#floralist-btns{
    display: flex;
    justify-content: space-around;
    width:100%;
}
.floralist-img{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    width: 40vh;
    height: 25vh;
    border: 1px ;
    box-shadow: inset 0 0 10px rgba(73,80,87,.1);
    border: 0.5px solid #495057;
    border-radius: .25rem;
}
.floralist-text{
    font-size: .75rem;
    text-align: justify;
}
#f2-1{
    grid-area: f2-1;
}
#f2-2{
    grid-area: f2-2;
}
#f2-3{
    grid-area: f2-3;
}
#f2-4{
    grid-area: f2-4;
}
#floralist-2 {
    margin: 0 auto;
    padding: 16vh 0 8vh;
    max-width: 80%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
#floralist-proposals{
    background-image: url("../img/floralist-proposals.PNG");
}
#floralist-proposal-create{
    background-image: url("../img/floralist-edit-proposal.PNG");
}
#floralist-img-search{
    background-image: url("../img/floralist-search.PNG");
}
#floralist-proposal-send{
    background-image: url("../img/floralist-email.PNG");
}
.floralist-img-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 55vh;
    margin: 2vh;
}
.floralist-img-card h2{
    text-align: center;
}
.f2-img{
    height: 40vh;
    width: 55vh;
}
.f2-text{
    max-width: 55vh;
    font-size: 1rem;
}
#other-work{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    position: relative;
    padding: 8vh 0 16vh;
}
.other-work{
    padding: 0 2vh;    
    max-width: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.other-work p{
    text-align: justify;
    font-size: .9rem;
    margin-top: .5rem;
}
.other-work .btn{
    margin: 0 auto;
}
.work-img{
    height: 30vh;
    width: 40vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    border: 1px;
    box-shadow: inset 0 0 10px rgba(73,80,87,.1);
    border: 0.5px solid #495057;
    border-radius: .25rem;
}
#towers-img{
    background-image: url("../img/Towers.PNG");
}
#cart-img{
    background-image: url("../img/Provisions.PNG");
}
#ttt-img{
    background-image: url("../img/TicTacToe.PNG");
}
@media screen and (max-width: 1100px){
    #icons{
        flex-direction: row;
        align-items: center;
        bottom: 8px;
        z-index: 2;
        padding: 0;
        margin-right: 5px;
    }
    #icons i{
        padding: 0 20px;
        font-size: 30px;
    }
    #work{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #work-container{
        width: 80vh;
        grid-row-gap: 1em;
        grid-column-gap: 1em;
    }
    #about-container{
        width: 90vh;
        grid-row-gap: 1em;
        grid-column-gap: 2em;
    }
    #work-right-bot{
        background-size: cover;
    }
}
@media screen and (max-width: 800px){
    #learn-more{
        display: none;
    }
    #about-container{
        margin: 0;
        margin-top: 13vh;        
        width: auto;
        display: flex;
        flex-direction: column;
    }
    #about-left{
        width: calc(90%);
        height: 68vh;
        margin: 2.5vh 20px 0 20px;
    }
    #about-right{
        padding: 1rem 5px;
        margin: 0 15px 60px;
    }
    nav{
        padding: 0 5px;
    }
    header{
        width: 160px;
        left: auto;
    }
    #heading{
        padding: .7vh;
        margin-top: 4px;
    }
    #heading h1{
        margin:0;
        font-size: 1.35em;
        margin-bottom: .01rem;
    }
    #heading h2{
        font-size: .75em;
    }
    .nav-link{
        margin-top: 3vh;
        padding: .5rem .75rem;
    }
    .line{
        margin:0 5px;
        width: calc(100% - 10px);
    }
    #icons{
        bottom: 12px;
    }
    #icons i {
        padding: 0 14px;
        font-size: 28px;
    }
    #work-container{
        width: 50vh;
        grid-row-gap: 1em;
        grid-column-gap: 1em;
        margin-top: 15vh;
        grid-template-areas: 
        "work-left work-left work-left" 
        "work-top work-middle work-bot";
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 4fr 1fr;
    }
    #work-left{
        height: 50vh;
    }
    #floralist-left{
        height: 70vh;
        width: 55vh;
        max-width: none;
        margin-bottom: 6vh;
    }
    #floralist-mid{
        max-width: none;
        width: 55vh;
        padding: 0;
    }
    #floralist-1{
        margin-bottom: 6vh;
        align-items: flex-start;
    }
    #floralist-2{
        padding: 0;
    }
    .floralist-img-card, #floralist-2 .floralist-img-card{
        flex-direction: column;
    }
    .floralist-img, .f2-img{
        width: 55vh;
        height: 40vh;
    }
    .floralist-text {
        max-width: 55vh;
        padding:.25rem 0;
    }
    #other-work{
        display:block;
        border-top: 0.5px dotted #e5a2a2;
        padding: 0;
        width: calc(100% - 30px);
    }
    .other-work{
        padding: 6vh 2vh 12vh;    
        max-width: 55vh;
        height: auto;
        margin: 0 auto;
    }
    .work-img{
        background-position: top;
        height: 40vh;
        width: 55vh;
    }
    #towers, #ttt{
        padding: 11vh 0 0;
    }
    #cart{
        padding: 11vh 0 16vh;
    }
}
@media screen and (max-width: 500px){
    #floralist-left, #floralist-mid, .floralist-img, .f2-img, .work-img{
        width: 45vh;
    }
    #floralist-mid{
        margin-left: 0;

    }
    .floralist-img, .f2-img, .work-img{
        height:35vh;
    }
    .floralist-text {
        max-width: 45vh;
    }
    .other-work{
        max-width: 45vh;
    }    
}
@media screen and (max-width: 320px){
    #work-container{
        width: 35vh;
        margin-top: 17vh;
    }
    #floralist-left, #floralist-mid, .floralist-img, .f2-img, .work-img{
        width: 35vh;
    }
    .floralist-img, .f2-img, .work-img{
        height:25vh;
    }
    .floralist-text {
        max-width: 35vh;
    }
    .other-work{
        max-width: 35vh;
    }  
    #work-left{
        height:45vh;
    }
    #icons i {
        padding: 5px 10px;
        font-size: 25px;
    }
}
