.header {
  /* The image used */
  background-image: url("img_nature.jpg");

  min-height: 380px;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Needed to position the navbar */
  position: relative;
}

a {
  color: white;
  transition: all .5s;
}

a:hover {
  color: red;
  transition: all .5s;
}

body{
      
     
}

.floating-input {
 & + .floating-label {
   transition: transform .25s, opacity .25s ease-in-out;
   transform-origin: 0 0;
   opacity: .5;
 }
}

.floating-label {
  &:focus,
  &:not(:placeholder-shown) {
    border-color: rgba(white, .1);
    & + .floating-label {
      transform: translate(1%, -30%) scale(.8);
      opacity: .25;
    }
  }
}

.floating-input {
  &,
  & + .floating-label {
    line-height: 1;
    font: inherit;
    padding: 1.5em;
    height: 4em;
  }
}

.floating-label-field {
  & + .floating-label {
    position: absolute;
    top: 0;
    left: 0;
    user-select: none;
  }
}

/* Hide the browser-specific focus styles */
.floating-input {
  border-width: 0;
  color: rgba(#2c3e50, .75);
  &:focus {
    outline: 0;
    box-shadow: 0;
  }

  &::placeholder {
    color: transparent;
  }
}



/* Position the navbar container inside the image */
.container {
  /*position: absolute; */
  margin-top: 0px;
  width: 100%;
  height: 70vh;
  background-image: url("pics/banner_orginal.jpeg"); /*#35586C: */
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*
.container-dice {
  
  position: relative; 
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
  /*margin-top: 0px;
  width: 100%;
  height: 500px;
  content: "";
}*/

.box {
  background-color: black;
  align-items: center;
  justify-content: center;
  width: 70%;
  height: 70%;
  padding: 10px
}

.box-about{
  opacity: 75%;
}

.inside-box{
  display: inline-block
  
}
.container-dice::before {    
    content: "";
    background-image: url('pics/banner_orginal.jpeg');
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.1;
}

 /* 
 .container-dice::before {
      background-image: url("pics/banner_orginal.jpeg"); /*#35586C: 
      background-size: cover;
      opacity: .3;
      position: absolute;
      top: 0px;
      right: 0px;
      bottom: 0px;
      left: 0px;
    }
}
*/
/* The navbar */
.main-nav {
  overflow: hidden;
  background-color: #333;
}

/* Style the hamburger menu */
.main-nav fa.fa-bars {
  background: black;
  display: inline-block;
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  
}

.nav {
  display: block;
  max-height: 0px; /* set the sub menu height to `0` */
  transition:all .75s ease-in-out;
  
}

.nav.toggled {
        max-height: 1000px;
        transition: max-height 400ms ease-in-out;
    }

/* Navbar links */
.nav a {
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  
 
}

#current-view {
  color: lightblue;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
 
}

.main-nav span {
  float: right;
  color: lightblue;
  text-align: auto;
  padding: 7px 9px; 
  text-decoration: none;
  font-size: 25px;
  display: inline-block;
}

.main-nav a:hover {
  color: lightblue;
}

.nav a {
  transition: all .5s;
  
}

.nav a:hover {
  color: lightblue;
}

.nav div:hover {
  color: lightblue;
}

footer { 
	text-align: center;
	padding: 2em 0;
	background: #d9e4ea;
}

input[type="number"].error {
    border: 2px solid red;
}

input[type=number] { 
  width: 70%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-image: url('pics/Dice2.png');
/*  background-position: 10px 10px; */
  background-repeat: no-repeat;
  padding: 6px 20px 6px 40px;
  transition: width 0.4s ease-in-out;
  &:focus { & + label { opacity: 0; } } 
}

/* Section Styles */


.about-text{
  color:white;
  opacity: 100%;
  text-align: center;
  

  
}

.roll-button {
  background-color: #6C7B8B; /*#C0D9D9; */
  border: 2px solid #35586C;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition-duration: 0.4s;
  border-radius: 8px;
}


.roll-button:hover {
  background-color: #35586C;
  color: #6C7B8B; 
  border: 2px solid #6C7B8B;
}


.error {
  color: red;
  font: italic bold 12px/30px Georgia, serif;
  vertical-align: top;
  display: inline-block;
}
/*
#dice {
  color:black;
  background-color:white;
  padding: 5px;
}
*/

.dice-div   {
  text-align: center;
}

.dice {
  
   margin: auto;
  display: inline-block
}

.dice div{
  float: left; 
  height: 20px;
  width: 20px;
  margin: 10px;
  
  border: 1px solid black;
/*  clear: both; */
  background-color: white;
/*  position: absolute; */
 
  
/*  left: 50%; margin-left: 225px; */
}

#sum {
  color: white;
  text-align: left;
}

.form-div {  
  text-align: center;
}

.button-div{
  margin:10px;
}


.input-div {
  margin:15px;
}

.fa {
  padding: 20px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  transition: all .5s;
  border: solid 1px #d9e4ea;
}



@media (min-width: 796px){ /* was 796PX 528*/

.fa {
  width: 50px;
}

.nav {
  display: inline-block;
}

.nav a,
#current-view {
  display: inline-block;
}
  
  .wrap {
    min-height: calc(100vh - 81.77px);
  }
input[type=number]:focus {
  width: 25%;
  }
  
.fa.fa-bars {
  display: none;
  /* visiility: hidden; */
}
  
input[type=number] {
width: 150px;  
}
  
.box {
    width: 50%;
    height: 50%;
    padding: 25px;  
  }  

.form-div {  
  padding: 15px 32px;

}
}