/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #555;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #555;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}


/*
* NAV TEST
*/

nav ul li a, nav ul li:hover ul, nav ul li ul li{
  display:block;
}
nav ul{
  list-style: none;
  padding: 0;
}
nav ul li{
  display: inline-block;
  position: relative;
  padding: 0 10px;
}

nav ul ul{
  position: absolute;
  padding:0;
  opacity:.9;
  z-index:999;
}

nav ul li ul{
  min-width: 100%;
  opacity: 0.9;
  display: none;
  position: absolute;
}

nav{
  padding: 0px;
}

nav ul li ul li a{
  text-align: center;
  padding: 0px;
}
nav ul li a{
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:before{
  content:"";
  position: absolute;
  width:100%;
  height: 2px;
  bottom: 0;
  left: 0;
  visibility: hidden;

}
nav ul li a:hover:before{
  visibility: visible;
  transform: scaleX(1);
}

/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
  color: aquamarine;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: aquamarine;
  border-bottom-color: aquamarine;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}
.btn-myresume{
  background-color: aquamarine;
  border-color: aquamarine;
  border-radius: 4px;
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.proj{
  color: aquamarine;

  padding-bottom: 10px;
}
.projlist{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.projlist li{
  padding-bottom: 10px;
}
.projlist li a:hover{
  text-decoration: none;
  color: aquamarine;
  border-bottom: .25rem solid transparent;
  border-bottom-color: aquamarine;
  padding: .25rem 0;
}

/* Gallery
 * 
 */

 .banner{
  width: 100%;
  height: 538px;
  position: relative;
}
#slider{
  width: 100%;
  height: 538px;
  position: absolute;
  overflow: hidden;
}
#next{
  text-align: center;
  line-height:50px;
  color: #ffffff;
  width:50px;
  height:50px;
  background-color:aquamarine;
  position: absolute;
  top:205px;
  right:0;
  z-index:99;
  cursor: pointer;
  opacity:.4;
}
#pre{
  text-align: center;
  line-height: 50px;
  color: #ffffff;
  width:50px;
  height:50px;
  background-color: aquamarine;
  position: absolute;
  top:205px;
  left:0;
  z-index:99;
  cursor: pointer;
  opacity:.4;
}
.banner:hover #next{
  opacity:1;
  transition: all .5s ease-out;
  -webkit-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
}
.banner:hover #pre{
  opacity:1;
  transition: all .5s ease-out;
  -webkit-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
}
  /*------------------------Image slider---------------------------*/

#curtain{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background-color: rgba(0,0,0,0.4);
}
#light{
  max-width: 80%;
  max-height: 80%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  margin: auto;
}
#close{
  height: 50px;
  width: 50px;
  top:0;
  right: 0;
  position: absolute;
  z-index: 990;
}

/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}
