body {
  background-color: #8000ff;
}

#bg {
  background-image: url('../img/index.png');
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-size: cover;
  position: fixed;
  left: 0;
  top: 0;
  filter: blur(5px);
  height: 100%;
  width: 100%;
}

.content {
  position: fixed;
  z-index: 100;
  width: 100%;
  left: 0;
}

.index {
  padding: 5px;
  border: 2px solid white /* #ffd11a*/;
  text-align: center; 
  background-color: rgb(255, 255, 255, 0.3); /*rgb(255, 209, 26, 0.3);  same as ffd11a*/
  margin-left: 25%;
  margin-right: 25%;
  border-radius: 10px;
}

.buttons {
  margin-top: 10px;
  animation-duration: 0.5s;
  animation-name: animate-fade;
  animation-fill-mode: backwards;
}

/*-------------------------------------------------*/

.elem {
  display: none;
  position: fixed;
  pointer-events: none; 
  margin-top: -28px;
  width: 50%;
  height: 30px;
  animation-duration: 0.5s;
  animation-name: animate-fade;
  animation-fill-mode: backwards;
}

@keyframes animate-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.left, .right {
  width: 20%;
  margin: 0;
  border: 3px solid white /* #ffd11a*/;
}

.left {
  float: left;
  margin-left: 18%;
}
.right {
  float: right;
  margin-right: 20%;
}

/*-------------------------------------------------*/

a {
  color: rgb(7, 31, 30);
  text-decoration: none;
  font-size: 24px;
  display: block;
  padding: 10px;
  transition: 0.1s linear;
}

a:hover + .elem{
  display: block;
}
a:hover {
  color: white /* #ffd11a*/;
}

/*-------------------------------*/

button {
  text-align: center;
  height: 50px;
  background-color: #bfbfbf;
  border: 2px solid #bfbfbf;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  border: 2px solid white;
  color: white;
}

.del:hover {
  background-color: rgb(207, 32, 32);
}

h2 {
  text-align: center; 
  color: white /* #ffd11a*/;
  margin-left: 25%;
  margin-right: 25%;
  border: 5px solid white /* #ffd11a*/;
  padding: 30px;
  border-radius: 10px;
  background-color: rgb(255, 255, 255, 0.3);
}

p {
  position: relative;
  margin-top: 3px;
  margin-left: 5px;
}

.import::-webkit-file-upload-button {
  visibility: hidden;
}
.import {
  color: transparent;
}
.import::before {
  content: 'Select File';
  color: black;
  display: block;
  background: rgb(179, 179, 179);
  border-radius: 10px;
  margin: 0;
  padding: 15px;
  margin-top: 8%;
  margin-left: 30%;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  font-size: 20px;
  transition: 0.2s;
}
.import:hover::before {
  color: white /* #ffd11a*/;
}

footer {
  position: fixed;
  bottom: 0;
  z-index: 0;
}

@media only screen and (max-width: 1300px) {
  .elem {
    margin: 0;
    width: 100%;
    margin-top: -23px;
    margin-left: -5px;
  }

  .index button {
    width: 100px;
  }
  
  h2, .index {
    margin-left: 5%;
    margin-right: 5%;
  }

  a:link, h2, .import, button {
    font-size: 15px;
  }
  button {
    width: 150px;
  }
  .left {
    margin-left: 0%;
    width: 15%;
  }
  .import::before {
    width: 100px;
    font-size: 15px;
  }
  .right {
    margin-right: 10.5%;
    width: 15%;
  }
  footer {
    font-size: 7px;
    z-index: 1;
  }
}