/* Global Styles */
/*****************/
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html
{
	font-family: 'Raleway', sans-serif;
	font-size: 16px;	
	color: #555;
}

h1, h2, h3, h4, h5, h6
{
    font-family: 'Oswald', sans-serif;
}

/* Anchors */
/***********/
a
{
    color: white;
}

/* Unordered Lists*/
/******************/
ul
{
    list-style: none;
}

h3.title
{
    color: #131633;
    text-transform: capitalize;
    font-size: 32px;
    margin-bottom: 35px;
    text-align: center;
}


hr
{
    width: 150px;
    height: 2px;
    background-color: #2196f3;
    border: 0;
    margin: 40px auto;
}

/* HEADER */
/**********/
header
{
    background-color: rgba(0,0,0,.7);
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    color:#fff;
    padding: 35px 100px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header a
{
    text-decoration: none;
    color: white;
    opacity: .6;
    cursor: pointer;
}
header a:hover
{
    opacity: 2;
}
header nav ul
{
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

header nav li
{
    margin: 0px 6px;
}

header nav li:first-child
{
    margin-left: 0;
}
header nav li:last-child
{
    margin-right: 0;
}

@media(max-width:1000px)
{
    header
    {
        text-align: center;
        flex-direction: column;
        padding: 20px 50px;
    }
    header img
    {
        width: 75%;
    }
    header nav
    {
        justify-content: space-around;
    }
    header h2
    {
        margin-bottom: 15px;
    }
}


/* HERO */
/********/
#hero
{
    background: gray;
    color: white;
    text-align: center;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image:url("img/IMAG0838.jpg");
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 100vh;
}

#hero h1, #hero h3
{
    font-size: 28px;
    text-shadow: 2px 2px #000;
    margin-bottom: 40px;
}

#hero h1
{
    font-size: 60px;
    margin-bottom 15px;
}

#hero a.btn
{
    color: white;
    background-color: #131633;
    text-decoration: none;
    padding: 20px 46px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight:bold;
    text-align: center;
    opacity: 1;
    border: 2px solid white;
}

#hero a.btn:hover
{

    background-color: #2196F3;
}

#hero h5
{
    font-size: 20px;
    color:yellow;
    border: solid;
    border-color: yellow;
    background: solid;
    background-color: black;
    padding: 10px;
    
}

@media(max-width:800px)
{
    #hero
    {
        min-height: 600px;
    }

    #hero h1
    {
        font-size: 36px;
    }

    #hero h3
    {
        font-size: 18px;
    }
    #hero a.btn
    {
        padding: 15px 40px;
    }
}


/* ABOUT */
/*********/
#about
{
    padding: 10px;
    background-color: #f7f7f7;
    margin-bottom: 20px;
}
#two-cols
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.about-img
{
    border: 4px solid gray;
    background-color: gray;
}
.about-bio
{
    width: 65%;
    max-width: 800px;
    line-height: 2;
    margin-left: 20px;
}

@media(max-width:600px)
{
    #about, #two-cols
    {
        flex-direction: column;
    }

    .about-bio
    {
        margin-top: 20px;
        line-height: 1.5;
        text-align: left;
    }
}

/* GALLERY */
/***********/
#gallery
{
    background-color: #fff;
    margin-bottom: 20px;

}
#gallery .grid li
{
    padding: 20px;
    height: 350px;
    border-radius: 3px;
    background-clip: content-box;
    background-size: cover;
    background-position:  center;
    background-color: #333;
}
#gallery ul.grid
{
    width: 100%;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
}
#gallery .grid li.small
{
    flex-basis: 40%;
}
#gallery .grid li.large
{
    flex-basis: 60%;
}
#gallery p
{
    max-width: 800px;
    text-align: center;
    margin: 0 auto 35px;
    padding: 0 20px;
    line-height: 2;
}

@media(max-width:1000px)
{
    #gallery .grid li.small,
    #gallery .grid li.large
    {
        flex-basis: 100%;
    }
}

/* SERVICES / SERVICE-LIST */
/******************************/
#services
{
    background-color: #f7f7f7;
}
#service-list
{
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f7f7f7;
    margin-bottom: 20px;
    padding: 10px;
}
#service-list ul.grid
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 60px;
}
#service-list p
{
    margin-bottom: 20px;
}
#service-list ul.grid li
{
    flex-basis: 30%;
    padding 0 20px;
    margin-bottom 40px;
}
.ico
{
    font-size: 40px;
    color: #2196f3;
    margin-bottom: 20px;
}

#service-list img
{
    width: 100px;
}

#service-list ul.grid li h4
{
    color: #555;
    font-size: 20px;
    margin-bottom: 10px;
}
#service-list ul.grid li p
{
    text-align: left;
    margin: 0;
}
@media(max-width:1000px)
{
    #service-list
    {
        padding: 0 40px;
    }
    #service-list ul.grid li
    {
        flex-basis: 70%;
        margin-bottom: 65px;
    }
    #service-list ul.grid li p
    {
        text-align: center;
    }
}

/* TESTIMONIALS */
/****************/

#testimonials
{
    padding-bottom: 40px;
    text-align: center;
}
#testimonials .portrait-photos
{
    border-radius: 50%;
    border: 4px solid #2196f3;
    margin-bottom: 10px;
}
#testimonials .portrait-photos:first-child
{
    margin-top: 20px;
    
}
#testimonials .quote
{
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}

#testimonials .author
{
    margin: 20px auto;
}
#testimonials .author:last-child
{
    margin-bottom: 0;    
}

@media(max-width: 1000px)
{
    #testimonials .quote
    {
        font-size: 18px;
        padding: 0 20px;
    }
    
    #testimonials .author
    {
        font-size: 14px;
    }
    
}

/* CONTACT */
/***********/
section.flexbox-section
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

section.flexbox-section p
{
    max-width: 900px;
    text-align: center;
    margin-bottom: 35px;
    padding: 0 20px;
    line-height: 1.5;
}

#contact p.phonenum
{
    font-size: 150%;
    font-weight: bold;
    text-align: center;
    padding-bottom: 30px;
}
/* FOOTER */
/**********/
footer
{
    background-color: #131622;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, #284e7a, #000 100%);
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p
{
    text-transform: uppercase;
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-bottom: 10px;
}

footer ul
{
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
}

footer ul li
{
    margin: 0 8px;
}

footer ul li a 
{
    font-size: 36px;
    cursor: pointer;
}

@media(max-width: 800px)
{
    footer
    {
        padding: 80px 15px;
    }
}

