body {
  background-image: url('industrial-port-and-container-yard.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Button */
.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  color: rgb(0, 95, 173) !important;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  
  font-family: Arial;
  text-decoration: none;
  font-size: 20px;
}
.button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0cf;
  border-radius: 10rem;
  z-index: -2;
}
.button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #008fb3;
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}
.button:hover {
  color: #fff !important;
}
.button:hover:before {
  width: 100%;
}

/*  */

#header {
  color: black;
  position: absolute;
  left: 25%;
  display: table-cell; 
  vertical-align: middle;
}

#headernew {
  position: absolute;
}

/* */
.textbox {
  background-color: rgba(255,255,255,0.80);
  color: black;
  position: absolute;
  margin-top: 30px;
  left: 15%;
  right: 15%;
  border-radius: 25px;
  padding: 25px;
  min-height: 70%;
}

/* Page: Index */
#pageIndex #login {
  position: absolute;
  top: 50%;
  left: 50%;
}

#pageIndex #cargocockpit {
  position: absolute;
  top: 100%;
  left: 30%;
  margin-top: 2%;
}

#pageIndex #registration {
  position: absolute;
  top: 100%;
  left: 40%;
  margin-top: 2%;
}

.toplink {
  font-family: Arial;
  text-decoration: none;
  font-size: 16px !important;
  margin-left: 2.5em;
  color: white !important;
}

#pageImprint {
  margin-top: 0% !important;
  margin-left: 0% !important;
}

a {
  box-shadow: inset 0 0 0 0 #646464;
  border-radius: 0.5rem;
  color: #000000;
  /* margin: 0 -.25rem; */
  padding: 0 .25rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}
a:hover {
  box-shadow: inset 100pc 0 0 0 #008fb3;
  color: white;
}

a:active {
  box-shadow: inset 100pc 0 0 0 #008fb3;
  color: rgb(248, 150, 2);
}

.welcome{
  box-shadow:inset 0pc 80px 95pc 1px #2c2c2c;
  border-radius: 2rem;
  color: rgb(0, 95, 173);
  letter-spacing: 0.15rem;
  position: relative;
  overflow: hidden;
  /* z-index: 1; */
  font-family: Arial;
  width: 70%;
}

.textboxnew {
  background-color: rgba(255,255,255,0.80);
  border-radius: 8px;
  min-height: 5%;
  position: relative;
  width: 70%;
  left: 15%;
  right: 15%;
  padding-left: 15px;
  padding-right: 15px;
}

#footer {
  position: fixed;
  padding: 10px 10px 0px 10px;
  bottom: 0;
  width: 100%;
  /* Height of the footer*/ 
  height: 20px;
  background: grey;
}

#dialog {
  display: none;
  position: fixed;
  top : 50%;
  left : 50%;
  transform : translate(-50%,-50%);
  padding : 20px;
  border : 1px solid black;
  border-radius : 8px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba (0,0,0,0,2);
  width : 300px;
  text-align : center;
  z-index : 1000;
}

#closeButton {

  margin-top: 10px;
  padding : 8px 16px;
  left: 35%;
  border : none;
  border-radius:  4px;
  transition: background-color 0.3s;
}

#closeButton:hover{
  background-color: #0056b3;
}

#overlay{
  display: none;
  position: fixed;
  top : 0;
  left : 0;
  width : 100%;
  height : 100%;
  background: rgba (0,0,0,0.5);
  backdrop-filter: blur(3px);
  z-index: 999;
}

#message{
  font-size: medium;
}