:root {
    --dark-red: rgb(148, 1, 1);
    --full-height: calc(100vh - 90px);    
}
*{
    margin: 0;
    padding: 0;
}
a{
    color: white;
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
.inner-container{
    height: inherit;
    background: rgba(0, 0, 0, 0.6);
}
.fix-padding{
    /* padding-top: 60px;
    padding-bottom: 60px; */
    padding-left: 10px;
    padding-right: 10px;
}
/********************** Navbar ************************/
#navbar{
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;    
}
#navbar-header{ 
    display: flex;
}
#navbar-short{
    border-top: 1px solid white;
    background: var(--dark-red);
    width: 100%;
    display: none;
    text-align: center;
}
#navbar-short ul li a{
    padding: 40px;
    display: block;
}
.navbar-red{
    background: var(--dark-red);
}
#navbar-left{
    padding: 25px 15px;
}
.navbar-brand{
    padding: 30px 15px;
    font-weight: bold;
    font-size: 30px;
    letter-spacing: 0.03em;
}
#navbar-right{
    flex: 1;
    text-align: right;
    font-size: 18px;    
}
#menu-icon{
    display: none;
    width: 50px;
    padding: 15px;
    cursor: pointer;
}
#navbar-right ul{
    list-style: none;
}
#navbar-right ul li{
    display: inline-block;
}
#navbar-right ul li a{
    padding: 35px 15px;
    display: block;
}
/******************************************************/

/********************** Hero ************************/
#hero{
    height: 100vh;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: white;
    background: url('../images/hero.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 24px;
}

#hero-text{
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    width: 400px;
}
#hero-text span:first-of-type{
    margin-top: 50px;
    font-size: 2em;
}
#hero-text span:last-of-type{
    font-size: 2.5em;
    letter-spacing: 0.05em;
}
#hero-text a{
    box-sizing: border-box;
    margin-top: 30px;
    background: var(--dark-red);
    width: 50%;
    text-align: center;
    padding: 10px;
}
/******************************************************/


/********************** About ************************/
section{
    font-family: Arial, Helvetica, sans-serif;
}
#container{
    width: 95%;
    margin: auto;
}
/* #about{
    box-sizing: border-box;
    min-height: var(--full-height);
    width: 100%;
    text-align: center;
    font-size: 1.8em;
} */
.section{
    box-sizing: border-box;
    min-height: var(--full-height);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
    width: 100%;
    text-align: center;
    font-size: 1.8em;
    padding-top: 60px;
    padding-bottom: 60px;
}
.section h2{
    border-bottom: 2px solid var(--dark-red);
    display: inline-block;
    padding: 10px;
}
.section h3{
    margin-top: 30px;
}
.row{
    margin-top: 30px;
    display: flex;
}
.row-image,.row-text{
    flex: 1;
}
.row-image{
    padding-left: 10px;
}
.row-image img{
    width: 100%;
}
.row-text{
    text-align: center;
    padding-right: 10px; 
}
.list{
    margin-top: 20px;
    padding-left: 10px;
    /* padding-right: 10px;     */
    text-align: left;
    font-size: 20px;
    list-style-position: inside;
}
.list-item{
    padding: 20px;
    border-bottom: 1px solid white;
    background: var(--dark-red);
    color: white;
}
.text-center{
    text-align: center;
}
/******************************************************/

/********************** Portfolio ************************/

.project-row{
    display: flex;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.project-row:first-of-type{
    margin-top: 30px;
}
.project-col{
    flex: 1;
    height: 312px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-col:first-of-type{
    padding-left: 10px;
}
.project-col:last-of-type{
    padding-right: 10px;
}
.project-col img{
    width: 100%;
    height: 312px;
}
figcaption{
    background: red;
    display: inline-block;
    width: calc(100% - 10px);
    position: absolute;
    bottom: -60px;
    left: 0;
    height: 60px;
    opacity: 0;
    line-height: 60px;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}
.project-col:first-of-type figcaption{
    left: 10px;
}
.project-col:hover > a > figcaption{
    opacity: 1;
    bottom: 0;
}

/******************************************************/


/********************** Contact ************************/
/******************************************************/


/********************** Footer ************************/
footer{
    height: 100px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
}
/******************************************************/


/********** For Device 768px or less (Tablet) ***********/
@media (max-width: 768px){
    #menu-icon{
        display: inline-block;
    }
    #navbar-right ul{
        display: none;
    }
    #navbar-right ul li{
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .row,.project-row{
        flex-direction: column;
    }
    .row-image{
        padding-left: 0px;
    }
    .row-text{
        margin-top: 20px;
        padding-right: 0px;
    }
    .list{
        padding-left: 0px;
        padding-right: 0px;        
    }
    .list-item{
        padding: 30px;
    }

    .project-col{
        padding: 0px !important;
    }
    .project-col figcaption{
        left: 0px !important;
        width: 100% !important;
        opacity: 1 !important;
        bottom: 0 !important;
    }
}
/******************************************************/


/********** For Device 425px or less (Mobile) ***********/
@media (max-width: 425px){
    #hero{
        font-size: 18px;
    }
    #hero-text{
        box-sizing: border-box;
        width: 100%;
        text-align: center;
        padding-left: 0;
    }
    #hero-text a{
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;        
    }
    #container{
        width: 100%;
    }
    .section{
        box-sizing: border-box;
        min-height: var(--full-height);
        width: 100%;
        text-align: center;
        font-size: 1.2em;
    }
    .section h2{
        border-bottom: 2px solid var(--dark-red);
        display: inline-block;
        padding: 10px;
    }
    .section h3{
        margin-top: 30px;
    }
    .list{
        font-size: 16px;
    }
    .list-item{
        padding: 20px;
    }
}
/******************************************************/
