@charset "UTF-8";

* {
  box-sizing: border-box;
}

/*
@font-face {
    font-family: hwt-mardell,sans-serif;
    font-weight: 400;
    font-style: normal;
}
*/

@font-face {
    font-family: 'quicksandregular';
    src: url('../fonts/quicksand/quicksand-regular-webfont.woff2') format('woff2'),
         url('../fonts/quicksand/quicksand-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'quicksandbold';
    src: url('../fonts/quicksand/quicksand-bold-webfont.woff2') format('woff2'),
         url('../fonts/quicksand/quicksand-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html{
/*    font-family: 'quicksandregular', 'Arial Black', 'Arial Bold', 'Gadget', sans-serif;*/
}

#bodyBox {
/*    background: red;*/
    max-width: 1200px;
    margin: auto;
}

header{
    width:100%;
    height:auto;
    background: url(../images/headerBack.jpg);
    background-position: center;
    margin-bottom: 0%;
    margin-top: 0%;
    padding-top:20px;
    padding-bottom:20px;
/*    background-attachment: fixed;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

header > h1{
    text-align: center;
    color: white;
    font-family: hwt-mardell, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 6em;
}

nav{
    border: 4px solid black;
    width: 100%;
/*    height: 50px;*/
    display: flex;
    flex-direction: row; 
    justify-content: space-around;
    position:sticky;
    top:0px;
    background-color: white;
    font-family: 'quicksandbold', sans-serif;

    
}

.container > div {
    padding: 10px;
    text-align: center; 
    font-size: 1em;
    color: #000000;

}

#overview {
    display: flex;
    width: 100%;
/*    height: 100px;*/
    border: 2px solid black;
    font-family: quicksandregular, sans-serif;

    
    
}

#overviewText {
    font-size: 1.3em;
/*    border: 2px solid black;*/
    width: 70%;
    float: left;
    padding: 20px;
    
}

#overviewImg {
    float: left;
    background-image:url(../images/ritLogos.jpg);
    background-size: cover;
    background-position: center;
    width: 30%;
/*    height: inherit;*/
/*    border: 2px solid black;*/
    
}

#categories {
    height:300px;
/*    border: 2px solid black;*/
    display: flex;
    justify-content: space-around;
    font-family: 'Heebo', sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 3.5em;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5);
}

/*
.hoverer {
    height: inherit;
    width: inherit;
    background: red;
}
*/


.subCat > h3 {
    padding-bottom: 33px;
}

.subCat {
    overflow:hidden;
}

.subCat:hover {
    height: 800px;
    
}

h3:hover + .hidden{
    display:block;
}

.hidden {
    font-family: "quicksandregular", sans-serif;
    font-size: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.47);
    margin: 10px;
}

.subCat {
/*    border: 2px solid black;*/
    flex: 1 1 100px;
    text-align: center;
    padding: 40px 0
}

@media (max-width:700px) {
    #categories {
        flex-wrap: wrap;
    }
}

#photo {
    background: url(../images/photoBack.jpg);
    background-size: cover;
    background-position:center;
}

#design {
    background: url(../images/design.jpg);
    background-size: cover;
    background-position:center;
}

#business {
    background: url(../images/business.jpg);
    background-size: cover;
    background-position:center;
}

footer {
    width: 100%;
    clear: both;
    height: 800px;
    background: white;
/*    border: 2px solid black;*/
    
}
