/*Navigation CSS*/
body{
    background-color: #333333;
    margin: 0px;
}

nav{
    z-index: 3;
    position: fixed;
    top: 0px;
    opacity: .95;
    background-color: rgb(30, 30, 30);
    width: 100%;
    text-align: center;
    display: block;
    padding-top: 0px;
}

nav:hover{
    transition: all .25s;
    opacity: 1;
}

nav ul{
    margin-left: 0;
    padding-left: 0;
    display: inline;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    font-size: 18px;
}

nav ul li{
    display: inline;
}

nav ul li a{
    padding: 1em;
    padding-left: 22px;
    padding-right: 22px;
    color: RGB(175,156,37);
    text-decoration: none;
    float: right;
}
nav ul li a:visited{
    color: RGB(175,156,37);
}
nav ul li a:link{
    color: RGB(175,156,37);
}
nav .logo{
    float: left;
    color: RGB(175,156,37);
    text-decoration: none;
    margin-left: 0;
    padding-left: 0;
}
.logo a:hover{
    background-color: RGB(175,156,37);
    color: #333333;
    transition: all .5s;
    text-decoration: none;
}
nav ul li a:hover{
    background-color: RGB(175,156,37);
    color: #333333;
    transition: all .5s;
    text-decoration: none;
}
nav ul li a.current{
    background-color: RGB(175,156,37);
    color: #333333;
}
nav li a.current{
    background-color: RGB(175,156,37);
    color: #333333;
}


// Prevent button to be the safari button for mobile
textarea, 
input.text,
input[type="text"],
input[type="button"],
input[type="submit"]
.input-checkbox{
  -webkit-appearance: none;
  -webkit-border-radius: 0;
    border-radius: 0;
}

/*Content CSS*/
/*Headers*/
h1{
    color: RGB(175,156,37);
    text-align: center;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    font-size: 600%;
    font-weight: bold;
    padding-top: 20vh;
}
h2{
    color: RGB(175,156,37);
    text-align: center;
    font-size: 175%;
    font-weight: bold;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    text-decoration: underline;
    margin-top: 0px;
    padding-top: 30px;
    padding-bottom: 20px;
    z-index: 1;
}

/* CSS Across multiple Pages */
main{
    background-color: white;
}


/* Other Pages CSS */
section{
    padding-bottom:50px;
    padding-top:20px;
}
section p{
    color: #DDDDDD;
    font-size: 16px;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0px;
}
table{
    margin-left: 10%;
}

/* Project Card CSS*/
.card{
    position: relative;
    width: 50%;
    float: left;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.card img{ 
    display: block;
    width: 100%;
}
.overlay{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #333333;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.card:hover .overlay{
    opacity: .8;
}

/* Text for Cards */
summary{
    color: white;
    text-align: left;
    position: absolute;
    width: 100%;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
summary p{
    margin: 0px;
    margin-left: 10px;
    margin-top: .5vh;
    margin-bottom: .5vh;
    padding: 0px;
    font-size: .9em;
    font-family: 'Cabin', arial, helvetica, sans-serif;
}
h3{
    color: RGB(230,200,37);
    margin-top: 0px;
    margin-left: 10px;
    margin-bottom: 0px;
    font-size: 2em;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    text-align: left;
}
h4{
    color: RGB(175,156,37);
    margin-top: 0px;
    margin-left: 10px;
    margin-bottom: .5vh;
    font-size: 1em;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    text-align: left;
}
h5{
    margin-top: 0px;
    margin-left: 10px;
    margin-bottom: 0px;
    font-size: .9em;
    font-family: 'Cabin', arial, helvetica, sans-serif;
    text-align: left;
}


/*Top Section CSS*/
.opener{
    background-image: url(media/BackgroundIntroDark.png);
    background-repeat:no-repeat;
	background-size:cover;
    background-attachment: fixed;
    min-height: 90vh;
    margin-top: 58px;
}

.topsection{
    padding-top: 58px;
}
.topsection2{
    padding-top: 58px;
}

.aboutme{
    min-height: 70vh;
    padding-top: 0px;
    padding-bottom: 0px;
}
.aboutme p{
    color: RGB(175,156,37);
    padding-bottom: 20px;
}

/*Footer CSS*/
footer{
    position: relative;
    float: left;
    background-color: #222222;
    color: RGB(175,156,37);
	width:100%;
	text-align:center;
    height: 70px;
}
footer p{
    margin-top: 25px;
    margin-left: 22px;
    padding-bottom: 10px;
    float: left;
}

/*Media CSS*/
#overlay{
    background-color: rgba(0,0,0,.9);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0px;
}
.slideshow-container{
    text-align: center;
    width: 100%;
}

img.icon{
    width: 50px; 
    padding: 10px 10px 10px 10px;
    float: right;
}
.icons{
    margin-right: 10px;
}
img.mainpic{
    float: right;
    clear: left;
    max-height: 70vh;
    margin-left: 10px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.slide img{
    max-height: 90vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.slide video{
    max-height: 90vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.prev{
    z-index: 1;
    position: absolute;
    left: 10px;
    top: 50vh;
    width: 20px;
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px 3px 3px 3px;
}
.next{
    z-index: 1;
    position: absolute;
    right: 10px;
    top: 50vh;
    width: 20px;
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;;
    border-radius: 3px 3px 3px 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    text-decoration: none;
}
a:link{
    font-style: normal;
    text-decoration: none;
    color: cyan;
}
a:visited{
    font-style: normal;
    color: RGB(0,200,200);
}
a:active{
    color: cyan;
    text-decoration: underline;
}
a:hover{
    color: cyan;
    text-decoration: underline;
}




/*Custom Design CSS*/
/*Index*/
body.index section{
    padding-bottom: 250px;
}

/* Media Queries */
.mobile{
    display: none;
}


/* Mobile Phones and tablet CSS (common phones) */
@media only screen and (max-width: 1080px){
    .card{
        position: relative;
        width: 100%;
        float: left;
    }
    .topsection2{
    padding-top: 0px;
    }
    
    /* Image and Video CSS */
    .slide video, .slide img{
        width: 100%;
        max-height: none;
    }
    .next, .prev{
        top: 25vw;
    }
    
    /* Navigation CSS */
    nav #hamburger{
        color: RGB(175,156,37);
        background-color: RGBA(0,0,0,0);
        font-size: 39px;
        margin: 0px;
        padding-left: 10px;
        padding-right: 10px;
        float: right;
        width: 50px;
        height: 58px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    nav #hamburger:hover{
        transition: all .5s;
        text-decoration: none;
    }
    nav ul{
        margin-left: 0;
        padding-left: 0;
        display: inline;
        font-family: 'Cabin', arial, helvetica, sans-serif;
        font-size: 18px;
    }
    nav ul li{
        margin: 0;
        display: block;
        text-align: center;
    }
    nav ul li a{
        display: block;
        padding-left: 0;
        padding-right: 0;
        padding-top: 18px;
        padding-bottom: 18px;
        text-align: center;
        float: left;
        clear: left;
        margin: 0 0 0px;
        width: 100%;
    }
    nav ul li.logo a{
        padding-left: 10px;
        padding-right: 10px;
    }
    nav.desktop{
        display: none;
    }
    nav.mobile{
        display: block;
    }
    summary p{
        font-size: 3vw;
        font-family: 'Cabin', arial, helvetica, sans-serif;
    }
    h3{
        font-size: 5vw;
        font-family: 'Cabin', arial, helvetica, sans-serif;
        text-align: left;
    }
    h4{
        font-size: 2.5vw;
        font-family: 'Cabin', arial, helvetica, sans-serif;
        text-align: left;
    }
    h5{
        font-size: 3vw;
        font-family: 'Cabin', arial, helvetica, sans-serif;
        text-align: left;
    }
    
}


@media only screen and (max-width: 700px){
    /* Main Page Image Change*/
    img.mainpic{
        display: block;
        text-align: center;
        margin: auto;
        float: none;
        width: 100%;
        max-height: none;
    }
    
}

/* Very Small Screens Mobile (iPhone 5 size and smaller)*/
@media only screen and (max-width: 640px){
    /* Main Page */
    h1{
        color: RGB(175,156,37);
        text-align: center;
        font-family: 'Cabin', arial, helvetica, sans-serif;
        font-size: 600%;
        font-weight: bold;
        padding-top: 10vh;
    }
    
    
    /* Image change */
    img.mainpic{
        display: block;
        text-align: center;
        margin: auto;
        float: none;
        width: 100%;
        max-height: none;
    }
    
    /* Project Card CSS*/
    .card{
        position: relative;
        width: 100%;
        float: left;
    }
    .topsection2{
    padding-top: 0px;
    }
    
    .slide img{
        width: 100%;
        max-height: none;
        
    }
    .slide video{
        width: 100%;
        max-height: none;
    }
    footer p{
        margin-left: 10px;
    }
    img.icon{
        width: 25px;
        margin-top: 10px;
    }
}
